Skip to content

Commit

Permalink
fix(admob): update the API
Browse files Browse the repository at this point in the history
#### admob:v1beta
The following keys were changed:
- resources.accounts.resources.mediationReport.methods.generate.scopes
- resources.accounts.resources.networkReport.methods.generate.scopes

#### admob:v1
The following keys were changed:
- resources.accounts.resources.mediationReport.methods.generate.scopes
- resources.accounts.resources.networkReport.methods.generate.scopes
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 17, 2020
1 parent b13b831 commit f6682b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
4 changes: 3 additions & 1 deletion discovery/admob-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"$ref": "GenerateMediationReportResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admob.readonly",
"https://www.googleapis.com/auth/admob.report"
],
"streamingType": "SERVER_SIDE"
Expand Down Expand Up @@ -228,6 +229,7 @@
"$ref": "GenerateNetworkReportResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admob.readonly",
"https://www.googleapis.com/auth/admob.report"
],
"streamingType": "SERVER_SIDE"
Expand All @@ -237,7 +239,7 @@
}
}
},
"revision": "20201112",
"revision": "20201114",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"Date": {
Expand Down
4 changes: 3 additions & 1 deletion discovery/admob-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
"$ref": "GenerateMediationReportResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admob.readonly",
"https://www.googleapis.com/auth/admob.report"
],
"streamingType": "SERVER_SIDE"
Expand Down Expand Up @@ -310,6 +311,7 @@
"$ref": "GenerateNetworkReportResponse"
},
"scopes": [
"https://www.googleapis.com/auth/admob.readonly",
"https://www.googleapis.com/auth/admob.report"
],
"streamingType": "SERVER_SIDE"
Expand All @@ -319,7 +321,7 @@
}
}
},
"revision": "20201112",
"revision": "20201114",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
Expand Down
10 changes: 8 additions & 2 deletions src/apis/admob/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,10 @@ export namespace admob_v1 {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/admob.report'],
* scopes: [
* 'https://www.googleapis.com/auth/admob.readonly',
* 'https://www.googleapis.com/auth/admob.report',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down Expand Up @@ -975,7 +978,10 @@ export namespace admob_v1 {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/admob.report'],
* scopes: [
* 'https://www.googleapis.com/auth/admob.readonly',
* 'https://www.googleapis.com/auth/admob.report',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down
10 changes: 8 additions & 2 deletions src/apis/admob/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,10 @@ export namespace admob_v1beta {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/admob.report'],
* scopes: [
* 'https://www.googleapis.com/auth/admob.readonly',
* 'https://www.googleapis.com/auth/admob.report',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down Expand Up @@ -1397,7 +1400,10 @@ export namespace admob_v1beta {
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/admob.report'],
* scopes: [
* 'https://www.googleapis.com/auth/admob.readonly',
* 'https://www.googleapis.com/auth/admob.report',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
Expand Down

0 comments on commit f6682b8

Please sign in to comment.