update dependencies

This commit is contained in:
Sebastian Thiel
2023-01-25 11:39:00 +01:00
parent 37ccd2238d
commit 3edefb7f01
357 changed files with 128026 additions and 16259 deletions

View File

@@ -134,6 +134,32 @@
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"getAdBlockingRecoveryTag": {
"description": "Gets the ad blocking recovery tag of an account.",
"flatPath": "v2/accounts/{accountsId}/adBlockingRecoveryTag",
"httpMethod": "GET",
"id": "adsense.accounts.getAdBlockingRecoveryTag",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the account to get the tag for. Format: accounts/{account}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}/adBlockingRecoveryTag",
"response": {
"$ref": "AdBlockingRecoveryTag"
},
"scopes": [
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"list": {
"description": "Lists all accounts available to this user.",
"flatPath": "v2/accounts",
@@ -203,6 +229,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",
@@ -270,6 +322,34 @@
"resources": {
"adunits": {
"methods": {
"create": {
"description": "Creates an ad unit. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the [AdClient resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, this method can only be used to create `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits",
"httpMethod": "POST",
"id": "adsense.accounts.adclients.adunits.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Ad client to create an ad unit under. Format: accounts/{account}/adclients/{adclient}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/adunits",
"request": {
"$ref": "AdUnit"
},
"response": {
"$ref": "AdUnit"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
},
"get": {
"description": "Gets an ad unit from a specified account and ad client.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}",
@@ -297,7 +377,7 @@
]
},
"getAdcode": {
"description": "Gets the AdSense code for a given ad unit.",
"description": "Gets the ad unit code for a given ad unit. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634) and [Where to place the ad code in your HTML](https://support.google.com/adsense/answer/9190028).",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}/adcode",
"httpMethod": "GET",
"id": "adsense.accounts.adclients.adunits.getAdcode",
@@ -395,11 +475,98 @@
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"patch": {
"description": "Updates an ad unit. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product. For now, this method can only be used to update `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}",
"httpMethod": "PATCH",
"id": "adsense.accounts.adclients.adunits.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+/adunits/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to update. If empty, a full update is performed.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
"request": {
"$ref": "AdUnit"
},
"response": {
"$ref": "AdUnit"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
}
}
},
"customchannels": {
"methods": {
"create": {
"description": "Creates a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels",
"httpMethod": "POST",
"id": "adsense.accounts.adclients.customchannels.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/customchannels",
"request": {
"$ref": "CustomChannel"
},
"response": {
"$ref": "CustomChannel"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
},
"delete": {
"description": "Deletes a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}",
"httpMethod": "DELETE",
"id": "adsense.accounts.adclients.customchannels.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
},
"get": {
"description": "Gets information about the selected custom channel.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}",
@@ -499,11 +666,71 @@
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"patch": {
"description": "Updates a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}",
"httpMethod": "PATCH",
"id": "adsense.accounts.adclients.customchannels.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}",
"location": "path",
"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to update. If empty, a full update is performed.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
"request": {
"$ref": "CustomChannel"
},
"response": {
"$ref": "CustomChannel"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
}
}
},
"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",
@@ -667,6 +894,7 @@
"MONTH",
"ACCOUNT_NAME",
"AD_CLIENT_ID",
"HOSTED_AD_CLIENT_ID",
"PRODUCT_NAME",
"PRODUCT_CODE",
"AD_UNIT_NAME",
@@ -715,6 +943,7 @@
"Month dimension in YYYY-MM format (e.g. \"2010-02\").",
"Account name. The members of this dimension match the values from Account.display_name.",
"Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.",
"Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).",
"Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").",
"Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.",
"Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.",
@@ -779,7 +1008,7 @@
"type": "integer"
},
"filters": {
"description": "Filters to be run on the report.",
"description": "A list of [filters](/adsense/management/reporting/filtering) to apply to the report. All provided filters must match in order for the data to be included in the report.",
"location": "query",
"repeated": true,
"type": "string"
@@ -864,7 +1093,7 @@
"Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.",
"Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.",
"Number of ad views per impression.",
"Total earnings.",
"Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.",
"Number of results pages."
],
"location": "query",
@@ -975,6 +1204,7 @@
"MONTH",
"ACCOUNT_NAME",
"AD_CLIENT_ID",
"HOSTED_AD_CLIENT_ID",
"PRODUCT_NAME",
"PRODUCT_CODE",
"AD_UNIT_NAME",
@@ -1023,6 +1253,7 @@
"Month dimension in YYYY-MM format (e.g. \"2010-02\").",
"Account name. The members of this dimension match the values from Account.display_name.",
"Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.",
"Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).",
"Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").",
"Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.",
"Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.",
@@ -1087,7 +1318,7 @@
"type": "integer"
},
"filters": {
"description": "Filters to be run on the report.",
"description": "A list of [filters](/adsense/management/reporting/filtering) to apply to the report. All provided filters must match in order for the data to be included in the report.",
"location": "query",
"repeated": true,
"type": "string"
@@ -1172,7 +1403,7 @@
"Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.",
"Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.",
"Number of ad views per impression.",
"Total earnings.",
"Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.",
"Number of results pages."
],
"location": "query",
@@ -1227,6 +1458,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": {
@@ -1567,7 +1824,7 @@
}
}
},
"revision": "20220304",
"revision": "20230124",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
@@ -1586,7 +1843,8 @@
"type": "string"
},
"name": {
"description": "Resource name of the account. Format: accounts/pub-[0-9]+",
"description": "Output only. Resource name of the account. Format: accounts/pub-[0-9]+",
"readOnly": true,
"type": "string"
},
"pendingTasks": {
@@ -1602,6 +1860,23 @@
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. State of the account.",
"enum": [
"STATE_UNSPECIFIED",
"READY",
"NEEDS_ATTENTION",
"CLOSED"
],
"enumDescriptions": [
"State unspecified.",
"The account is open and ready to serve ads.",
"There are some issues with this account. Publishers should visit AdSense in order to fix the account.",
"The account is closed and can't serve ads."
],
"readOnly": true,
"type": "string"
},
"timeZone": {
"$ref": "TimeZone",
"description": "The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725)."
@@ -1609,16 +1884,32 @@
},
"type": "object"
},
"AdBlockingRecoveryTag": {
"description": "Representation of an ad blocking recovery tag. See https://support.google.com/adsense/answer/11575177.",
"id": "AdBlockingRecoveryTag",
"properties": {
"errorProtectionCode": {
"description": "Error protection code that can be used in conjunction with the tag. It'll display a message to users if an [ad blocking extension blocks their access to your site](https://support.google.com/adsense/answer/11575480).",
"type": "string"
},
"tag": {
"description": "The ad blocking recovery tag. Note that the message generated by the tag can be blocked by an ad blocking extension. If this is not your desired outcome, then you'll need to use it in conjunction with the error protection code.",
"type": "string"
}
},
"type": "object"
},
"AdClient": {
"description": "Representation of an ad client. An ad client represents a user's subscription with a specific AdSense product.",
"id": "AdClient",
"properties": {
"name": {
"description": "Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}",
"description": "Output only. Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}",
"readOnly": true,
"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"
},
@@ -1626,6 +1917,23 @@
"description": "Output only. Unique ID of the ad client as used in the `AD_CLIENT_ID` reporting dimension. Present only if the ad client supports reporting.",
"readOnly": true,
"type": "string"
},
"state": {
"description": "Output only. State of the ad client.",
"enum": [
"STATE_UNSPECIFIED",
"READY",
"GETTING_READY",
"REQUIRES_REVIEW"
],
"enumDescriptions": [
"State unspecified.",
"The ad client is ready to show ads.",
"Running some checks on the ad client before it is ready to serve ads.",
"The ad client hasn't been checked yet. There are tasks pending before AdSense will start the review."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
@@ -1658,14 +1966,15 @@
"properties": {
"contentAdsSettings": {
"$ref": "ContentAdsSettings",
"description": "Settings specific to content ads (AFC)."
"description": "Required. Settings specific to content ads (AFC)."
},
"displayName": {
"description": "Display name of the ad unit, as provided when the ad unit was created.",
"description": "Required. Display name of the ad unit, as provided when the ad unit was created.",
"type": "string"
},
"name": {
"description": "Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}",
"description": "Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}",
"readOnly": true,
"type": "string"
},
"reportingDimensionId": {
@@ -1691,11 +2000,11 @@
"type": "object"
},
"AdUnitAdCode": {
"description": "Representation of the AdSense code for a given ad unit.",
"description": "Representation of the ad unit code for a given ad unit. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634) and [Where to place the ad code in your HTML](https://support.google.com/adsense/answer/9190028).",
"id": "AdUnitAdCode",
"properties": {
"adCode": {
"description": "Output only. The AdSense code snippet to add to the body of an HTML page.",
"description": "Output only. The code snippet to add to the body of an HTML page.",
"readOnly": true,
"type": "string"
}
@@ -1712,7 +2021,8 @@
"type": "string"
},
"name": {
"description": "Resource name of the alert. Format: accounts/{account}/alerts/{alert}",
"description": "Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}",
"readOnly": true,
"type": "string"
},
"severity": {
@@ -1756,11 +2066,11 @@
"id": "ContentAdsSettings",
"properties": {
"size": {
"description": "Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).",
"description": "Required. Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).",
"type": "string"
},
"type": {
"description": "Type of the ad unit.",
"description": "Required. Type of the ad unit.",
"enum": [
"TYPE_UNSPECIFIED",
"DISPLAY",
@@ -1786,12 +2096,17 @@
"description": "Representation of a custom channel.",
"id": "CustomChannel",
"properties": {
"active": {
"description": "Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.",
"type": "boolean"
},
"displayName": {
"description": "Display name of the custom channel.",
"description": "Required. Display name of the custom channel.",
"type": "string"
},
"name": {
"description": "Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}",
"description": "Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}",
"readOnly": true,
"type": "string"
},
"reportingDimensionId": {
@@ -1824,6 +2139,12 @@
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
},
"Header": {
"description": "The header information of the columns requested in the report.",
"id": "Header",
@@ -2111,7 +2432,8 @@
"readOnly": true
},
"name": {
"description": "Resource name of the payment. Format: - accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. - accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings. ",
"description": "Output only. Resource name of the payment. Format: - accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. - accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings.",
"readOnly": true,
"type": "string"
}
},
@@ -2185,7 +2507,8 @@
"id": "SavedReport",
"properties": {
"name": {
"description": "Resource name of the report. Format: accounts/{account}/reports/{report}",
"description": "Output only. Resource name of the report. Format: accounts/{account}/reports/{report}",
"readOnly": true,
"type": "string"
},
"title": {
@@ -2208,7 +2531,8 @@
"type": "string"
},
"name": {
"description": "Resource name of a site. Format: accounts/{account}/sites/{site}",
"description": "Output only. Resource name of a site. Format: accounts/{account}/sites/{site}",
"readOnly": true,
"type": "string"
},
"reportingDimensionId": {
@@ -2227,10 +2551,10 @@
],
"enumDescriptions": [
"State unspecified.",
"The site hasn't been checked yet.",
"Running some checks on the site. This usually takes a few days, but in some cases can take up to 2 weeks.",
"The site is ready to show ads.",
"Publisher needs to fix some issues before the site is ready to show ads."
"Either: * The site hasn't been checked yet. * The site is inactive and needs another review before it can show ads again. Learn how to [request a review for an inactive site](https://support.google.com/adsense/answer/9393996).",
"Google is running some checks on the site. This usually takes a few days, but in some cases it can take two to four weeks.",
"The site is ready to show ads. Learn how to [set up ads on the site](https://support.google.com/adsense/answer/7037624).",
"Publisher needs to fix some issues before the site is ready to show ads. Learn what to do [if a new site isn't ready](https://support.google.com/adsense/answer/9061852)."
],
"readOnly": true,
"type": "string"
@@ -2258,7 +2582,8 @@
"id": "UrlChannel",
"properties": {
"name": {
"description": "Resource name of the URL channel. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}",
"description": "Output only. Resource name of the URL channel. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}",
"readOnly": true,
"type": "string"
},
"reportingDimensionId": {