Skip to content

Commit aef8159

Browse files
yoshi-automationsofisl
authored andcommitted
fix(adsense): update the API
#### adsense:v2 The following keys were changed: - resources.accounts.resources.reports.methods.generate.parameters.dimensions.enum - resources.accounts.resources.reports.methods.generate.parameters.dimensions.enumDescriptions - resources.accounts.resources.reports.methods.generateCsv.parameters.dimensions.enum - resources.accounts.resources.reports.methods.generateCsv.parameters.dimensions.enumDescriptions - schemas.TimeZone.properties.id.description - schemas.TimeZone.properties.version.description
1 parent 0d7f4e7 commit aef8159

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

discovery/adsense-v2.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@
971971
"AD_UNIT_SIZE_CODE",
972972
"CUSTOM_CHANNEL_NAME",
973973
"CUSTOM_CHANNEL_ID",
974+
"HOSTED_CUSTOM_CHANNEL_ID",
974975
"OWNED_SITE_DOMAIN_NAME",
975976
"OWNED_SITE_ID",
976977
"PAGE_URL",
@@ -1021,6 +1022,7 @@
10211022
"The size code of an ad unit (e.g. \"728x90\", \"responsive\").",
10221023
"Custom channel name. The members of this dimension match the values from CustomChannel.display_name.",
10231024
"Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.",
1025+
"Unique ID of a hosted client's custom channel.",
10241026
"Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.",
10251027
"Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.",
10261028
"URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).",
@@ -1291,6 +1293,7 @@
12911293
"AD_UNIT_SIZE_CODE",
12921294
"CUSTOM_CHANNEL_NAME",
12931295
"CUSTOM_CHANNEL_ID",
1296+
"HOSTED_CUSTOM_CHANNEL_ID",
12941297
"OWNED_SITE_DOMAIN_NAME",
12951298
"OWNED_SITE_ID",
12961299
"PAGE_URL",
@@ -1341,6 +1344,7 @@
13411344
"The size code of an ad unit (e.g. \"728x90\", \"responsive\").",
13421345
"Custom channel name. The members of this dimension match the values from CustomChannel.display_name.",
13431346
"Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.",
1347+
"Unique ID of a hosted client's custom channel.",
13441348
"Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.",
13451349
"Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.",
13461350
"URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).",
@@ -1912,7 +1916,7 @@
19121916
}
19131917
}
19141918
},
1915-
"revision": "20240530",
1919+
"revision": "20241211",
19161920
"rootUrl": "https://adsense.googleapis.com/",
19171921
"schemas": {
19181922
"Account": {
@@ -2786,11 +2790,11 @@
27862790
"id": "TimeZone",
27872791
"properties": {
27882792
"id": {
2789-
"description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".",
2793+
"description": "IANA Time Zone Database time zone. For example \"America/New_York\".",
27902794
"type": "string"
27912795
},
27922796
"version": {
2793-
"description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".",
2797+
"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".",
27942798
"type": "string"
27952799
}
27962800
},

src/apis/adsense/v2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -694,11 +694,11 @@ export namespace adsense_v2 {
694694
*/
695695
export interface Schema$TimeZone {
696696
/**
697-
* IANA Time Zone Database time zone, e.g. "America/New_York".
697+
* IANA Time Zone Database time zone. For example "America/New_York".
698698
*/
699699
id?: string | null;
700700
/**
701-
* Optional. IANA Time Zone Database version number, e.g. "2019a".
701+
* Optional. IANA Time Zone Database version number. For example "2019a".
702702
*/
703703
version?: string | null;
704704
}

0 commit comments

Comments
 (0)