|
203 | 203 | "resources": { |
204 | 204 | "adclients": { |
205 | 205 | "methods": { |
| 206 | + "get": { |
| 207 | + "description": "Gets the ad client from the given resource name.", |
| 208 | + "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}", |
| 209 | + "httpMethod": "GET", |
| 210 | + "id": "adsense.accounts.adclients.get", |
| 211 | + "parameterOrder": [ |
| 212 | + "name" |
| 213 | + ], |
| 214 | + "parameters": { |
| 215 | + "name": { |
| 216 | + "description": "Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient}", |
| 217 | + "location": "path", |
| 218 | + "pattern": "^accounts/[^/]+/adclients/[^/]+$", |
| 219 | + "required": true, |
| 220 | + "type": "string" |
| 221 | + } |
| 222 | + }, |
| 223 | + "path": "v2/{+name}", |
| 224 | + "response": { |
| 225 | + "$ref": "AdClient" |
| 226 | + }, |
| 227 | + "scopes": [ |
| 228 | + "https://www.googleapis.com/auth/adsense", |
| 229 | + "https://www.googleapis.com/auth/adsense.readonly" |
| 230 | + ] |
| 231 | + }, |
206 | 232 | "getAdcode": { |
207 | 233 | "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).", |
208 | 234 | "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adcode", |
|
504 | 530 | }, |
505 | 531 | "urlchannels": { |
506 | 532 | "methods": { |
| 533 | + "get": { |
| 534 | + "description": "Gets information about the selected url channel.", |
| 535 | + "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels/{urlchannelsId}", |
| 536 | + "httpMethod": "GET", |
| 537 | + "id": "adsense.accounts.adclients.urlchannels.get", |
| 538 | + "parameterOrder": [ |
| 539 | + "name" |
| 540 | + ], |
| 541 | + "parameters": { |
| 542 | + "name": { |
| 543 | + "description": "Required. The name of the url channel to retrieve. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}", |
| 544 | + "location": "path", |
| 545 | + "pattern": "^accounts/[^/]+/adclients/[^/]+/urlchannels/[^/]+$", |
| 546 | + "required": true, |
| 547 | + "type": "string" |
| 548 | + } |
| 549 | + }, |
| 550 | + "path": "v2/{+name}", |
| 551 | + "response": { |
| 552 | + "$ref": "UrlChannel" |
| 553 | + }, |
| 554 | + "scopes": [ |
| 555 | + "https://www.googleapis.com/auth/adsense", |
| 556 | + "https://www.googleapis.com/auth/adsense.readonly" |
| 557 | + ] |
| 558 | + }, |
507 | 559 | "list": { |
508 | 560 | "description": "Lists active url channels.", |
509 | 561 | "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels", |
|
1227 | 1279 | "https://www.googleapis.com/auth/adsense", |
1228 | 1280 | "https://www.googleapis.com/auth/adsense.readonly" |
1229 | 1281 | ] |
| 1282 | + }, |
| 1283 | + "getSaved": { |
| 1284 | + "description": "Gets the saved report from the given resource name.", |
| 1285 | + "flatPath": "v2/accounts/{accountsId}/reports/{reportsId}/saved", |
| 1286 | + "httpMethod": "GET", |
| 1287 | + "id": "adsense.accounts.reports.getSaved", |
| 1288 | + "parameterOrder": [ |
| 1289 | + "name" |
| 1290 | + ], |
| 1291 | + "parameters": { |
| 1292 | + "name": { |
| 1293 | + "description": "Required. The name of the saved report to retrieve. Format: accounts/{account}/reports/{report}", |
| 1294 | + "location": "path", |
| 1295 | + "pattern": "^accounts/[^/]+/reports/[^/]+$", |
| 1296 | + "required": true, |
| 1297 | + "type": "string" |
| 1298 | + } |
| 1299 | + }, |
| 1300 | + "path": "v2/{+name}/saved", |
| 1301 | + "response": { |
| 1302 | + "$ref": "SavedReport" |
| 1303 | + }, |
| 1304 | + "scopes": [ |
| 1305 | + "https://www.googleapis.com/auth/adsense", |
| 1306 | + "https://www.googleapis.com/auth/adsense.readonly" |
| 1307 | + ] |
1230 | 1308 | } |
1231 | 1309 | }, |
1232 | 1310 | "resources": { |
|
1567 | 1645 | } |
1568 | 1646 | } |
1569 | 1647 | }, |
1570 | | - "revision": "20220420", |
| 1648 | + "revision": "20220503", |
1571 | 1649 | "rootUrl": "https://adsense.googleapis.com/", |
1572 | 1650 | "schemas": { |
1573 | 1651 | "Account": { |
|
1635 | 1713 | "type": "string" |
1636 | 1714 | }, |
1637 | 1715 | "productCode": { |
1638 | | - "description": "Output only. Product code of the ad client. For example, \"AFC\" for AdSense for Content.", |
| 1716 | + "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.", |
1639 | 1717 | "readOnly": true, |
1640 | 1718 | "type": "string" |
1641 | 1719 | }, |
|
0 commit comments