View Source GoogleApi.AdMob.V1.Model.App (google_api_ad_mob v0.10.0)

Describes an AdMob app for a specific platform (For example: Android or iOS).

Attributes

  • appApprovalState (type: String.t, default: nil) - Output only. The approval state for the app. The field is read-only.
  • appId (type: String.t, default: nil) - 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
  • linkedAppInfo (type: GoogleApi.AdMob.V1.Model.AppLinkedAppInfo.t, default: nil) - 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.
  • manualAppInfo (type: GoogleApi.AdMob.V1.Model.AppManualAppInfo.t, default: nil) - 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.
  • name (type: String.t, default: nil) - Resource name for this app. Format is accounts/{publisher_id}/apps/{app_id_fragment} Example: accounts/pub-9876543210987654/apps/0123456789
  • platform (type: String.t, default: nil) - Describes the platform of the app. Limited to "IOS" and "ANDROID".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdMob.V1.Model.App{
  appApprovalState: String.t() | nil,
  appId: String.t() | nil,
  linkedAppInfo: GoogleApi.AdMob.V1.Model.AppLinkedAppInfo.t() | nil,
  manualAppInfo: GoogleApi.AdMob.V1.Model.AppManualAppInfo.t() | nil,
  name: String.t() | nil,
  platform: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.