Skip to content

Commit

Permalink
feat(admob): update the API
Browse files Browse the repository at this point in the history
#### admob:v1beta

The following keys were added:
- schemas.App.properties.appApprovalState.description
- schemas.App.properties.appApprovalState.enum
- schemas.App.properties.appApprovalState.enumDescriptions
- schemas.App.properties.appApprovalState.readOnly
- schemas.App.properties.appApprovalState.type

#### admob:v1

The following keys were added:
- schemas.App.properties.appApprovalState.description
- schemas.App.properties.appApprovalState.enum
- schemas.App.properties.appApprovalState.enumDescriptions
- schemas.App.properties.appApprovalState.readOnly
- schemas.App.properties.appApprovalState.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 374bc14 commit fcf0cc7
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
19 changes: 18 additions & 1 deletion discovery/admob-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
}
}
},
"revision": "20221027",
"revision": "20230201",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
Expand Down Expand Up @@ -362,6 +362,23 @@
"description": "Describes an AdMob app for a specific platform (For example: Android or iOS).",
"id": "App",
"properties": {
"appApprovalState": {
"description": "Output only. The approval state for the app.",
"enum": [
"APP_APPROVAL_STATE_UNSPECIFIED",
"ACTION_REQUIRED",
"IN_REVIEW",
"APPROVED"
],
"enumDescriptions": [
"Default value for an unset field. Do not use.",
"The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.",
"The app is pending review.",
"The app is approved and can serve ads."
],
"readOnly": true,
"type": "string"
},
"appId": {
"description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789",
"type": "string"
Expand Down
19 changes: 18 additions & 1 deletion discovery/admob-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
}
}
},
"revision": "20221027",
"revision": "20230201",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdSource": {
Expand Down Expand Up @@ -419,6 +419,23 @@
"description": "Describes an AdMob app for a specific platform (For example: Android or iOS).",
"id": "App",
"properties": {
"appApprovalState": {
"description": "Output only. The approval state for the app.",
"enum": [
"APP_APPROVAL_STATE_UNSPECIFIED",
"ACTION_REQUIRED",
"IN_REVIEW",
"APPROVED"
],
"enumDescriptions": [
"Default value for an unset field. Do not use.",
"The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.",
"The app is pending review.",
"The app is approved and can serve ads."
],
"readOnly": true,
"type": "string"
},
"appId": {
"description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/admob/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export namespace admob_v1 {
* Describes an AdMob app for a specific platform (For example: Android or iOS).
*/
export interface Schema$App {
/**
* Output only. The approval state for the app.
*/
appApprovalState?: string | null;
/**
* The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789
*/
Expand Down
4 changes: 4 additions & 0 deletions src/apis/admob/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ export namespace admob_v1beta {
* Describes an AdMob app for a specific platform (For example: Android or iOS).
*/
export interface Schema$App {
/**
* Output only. The approval state for the app.
*/
appApprovalState?: string | null;
/**
* The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789
*/
Expand Down

0 comments on commit fcf0cc7

Please sign in to comment.