Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 4, 2022
1 parent 5ba22f1 commit 43a3732
Show file tree
Hide file tree
Showing 34 changed files with 2,042 additions and 219 deletions.
82 changes: 80 additions & 2 deletions adsense/v2/adsense-api.json
Expand Up @@ -203,6 +203,32 @@
"resources": {
"adclients": {
"methods": {
"get": {
"description": "Gets the ad client from the given resource name.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}",
"httpMethod": "GET",
"id": "adsense.accounts.adclients.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "AdClient"
},
"scopes": [
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"getAdcode": {
"description": "Gets the AdSense code for a given ad client. This returns what was previously known as the 'auto ad code'. This is only supported for ad clients with a product_code of AFC. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634).",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adcode",
Expand Down Expand Up @@ -504,6 +530,32 @@
},
"urlchannels": {
"methods": {
"get": {
"description": "Gets information about the selected url channel.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels/{urlchannelsId}",
"httpMethod": "GET",
"id": "adsense.accounts.adclients.urlchannels.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the url channel to retrieve. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+/urlchannels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "UrlChannel"
},
"scopes": [
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"list": {
"description": "Lists active url channels.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels",
Expand Down Expand Up @@ -1227,6 +1279,32 @@
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"getSaved": {
"description": "Gets the saved report from the given resource name.",
"flatPath": "v2/accounts/{accountsId}/reports/{reportsId}/saved",
"httpMethod": "GET",
"id": "adsense.accounts.reports.getSaved",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the saved report to retrieve. Format: accounts/{account}/reports/{report}",
"location": "path",
"pattern": "^accounts/[^/]+/reports/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}/saved",
"response": {
"$ref": "SavedReport"
},
"scopes": [
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
}
},
"resources": {
Expand Down Expand Up @@ -1567,7 +1645,7 @@
}
}
},
"revision": "20220420",
"revision": "20220503",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -1635,7 +1713,7 @@
"type": "string"
},
"productCode": {
"description": "Output only. Product code of the ad client. For example, \"AFC\" for AdSense for Content.",
"description": "Output only. Reporting product code of the ad client. For example, \"AFC\" for AdSense for Content. Corresponds to the `PRODUCT_CODE` dimension, and present only if the ad client supports reporting.",
"readOnly": true,
"type": "string"
},
Expand Down

0 comments on commit 43a3732

Please sign in to comment.