Resource: App
Describes an AdMob app for a specific platform (For example: Android or iOS).
JSON representation |
---|
{ "name": string, "appId": string, "platform": string, "manualAppInfo": { object ( |
Fields | |
---|---|
name |
Resource name for this app. Format is accounts/{publisherId}/apps/{app_id_fragment} Example: accounts/pub-9876543210987654/apps/0123456789 |
appId |
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 |
platform |
Describes the platform of the app. Limited to "IOS" and "ANDROID". |
manualAppInfo |
The information for an app that is not linked to any app store. After an app is linked, this information is still retrivable. If no name is provided for the app upon creation, a placeholder name will be used. |
linkedAppInfo |
Immutable. The information for an app that is linked to an app store. This field is present if and only if the app is linked to an app store. |
appApprovalState |
Output only. The approval state for the app. The field is read-only. |
ManualAppInfo
Information provided for manual apps which are not linked to an application store (Example: Google Play, App Store).
JSON representation |
---|
{ "displayName": string } |
Fields | |
---|---|
displayName |
The display name of the app as shown in the AdMob UI, which is provided by the user. The maximum length allowed is 80 characters. |
LinkedAppInfo
Information from the app store if the app is linked to an app store.
JSON representation |
---|
{
"appStoreId": string,
"displayName": string,
"androidAppStores": [
enum ( |
Fields | |
---|---|
appStoreId |
The app store ID of the app; present if and only if the app is linked to an app store. If the app is added to the Google Play store, it will be the application ID of the app. For example: "com.example.myapp". See https://developer.android.com/studio/build/application-id. If the app is added to the Apple App Store, it will be app store ID. For example "105169111". Note that setting the app store id is considered an irreversible action. Once an app is linked, it cannot be unlinked. |
displayName |
Output only. Display name of the app as it appears in the app store. This is an output-only field, and may be empty if the app cannot be found in the store. |
androidAppStores[] |
Optional. The app store information for published Android apps. This field is only used for apps on the Android platform and will be ignored if the PLATFORM is set to iOS. The default value is the Google Play App store. This field can be updated after app is created. If the app is not published, this field will not be included in the response. |
AndroidAppStore
Android app stores.
Enums | |
---|---|
ANDROID_APP_STORE_UNSPECIFIED |
Default value for an unset field. Do not use. |
GOOGLE_PLAY_APP_STORE |
Google Play Store. |
AMAZON_APP_STORE |
Amazon Appstore. |
OPPO_APP_STORE |
Oppo App Market. |
SAMSUNG_APP_STORE |
Samsung Galaxy Store. |
VIVO_APP_STORE |
VIVO App Store. |
XIAOMI_APP_STORE |
Xiaomi GetApps. |
AppApprovalState
The app approval states for a mobile app.
Enums | |
---|---|
APP_APPROVAL_STATE_UNSPECIFIED |
Default value for an unset field. Do not use. |
ACTION_REQUIRED |
The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps. |
IN_REVIEW |
The app is pending review. |
APPROVED |
The app is approved and can serve ads. |
Methods |
|
---|---|
|
Creates an app under the specified AdMob account. |
|
List the apps under the specified AdMob account. |