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

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


  • 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".

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.AdMob.V1.Model.App{
  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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.