google_api_ad_sense_host v0.9.0 GoogleApi.AdSenseHost.V41.Model.AdUnit View Source

Attributes

  • code (type: String.t, default: nil) - Identity code of this ad unit, not necessarily unique across ad clients.
  • contentAdsSettings (type: GoogleApi.AdSenseHost.V41.Model.AdUnitContentAdsSettings.t, default: nil) - Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
  • customStyle (type: GoogleApi.AdSenseHost.V41.Model.AdStyle.t, default: nil) - Custom style information specific to this ad unit.
  • id (type: String.t, default: nil) - Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
  • kind (type: String.t, default: adsensehost#adUnit) - Kind of resource this is, in this case adsensehost#adUnit.
  • mobileContentAdsSettings (type: GoogleApi.AdSenseHost.V41.Model.AdUnitMobileContentAdsSettings.t, default: nil) - Settings specific to WAP mobile content ads (AFMC - deprecated).
  • name (type: String.t, default: nil) - Name of this ad unit.
  • status (type: String.t, default: nil) - Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.

    ACTIVE: Indicates that there has been activity on this ad unit in the last seven days.

    INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.AdSenseHost.V41.Model.AdUnit{
  code: String.t(),
  contentAdsSettings:
    GoogleApi.AdSenseHost.V41.Model.AdUnitContentAdsSettings.t(),
  customStyle: GoogleApi.AdSenseHost.V41.Model.AdStyle.t(),
  id: String.t(),
  kind: String.t(),
  mobileContentAdsSettings:
    GoogleApi.AdSenseHost.V41.Model.AdUnitMobileContentAdsSettings.t(),
  name: String.t(),
  status: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.