google_api_ad_sense v0.3.0 GoogleApi.AdSense.V14.Model.AdUnit View Source

Attributes

  • code (String.t): Identity code of this ad unit, not necessarily unique across ad clients. Defaults to nil.
  • contentAdsSettings (GoogleApi.AdSense.V14.Model.AdUnitContentAdsSettings.t): Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). Defaults to nil.
  • customStyle (GoogleApi.AdSense.V14.Model.AdStyle.t): Custom style information specific to this ad unit. Defaults to nil.
  • feedAdsSettings (GoogleApi.AdSense.V14.Model.AdUnitFeedAdsSettings.t): Settings specific to feed ads (AFF) - deprecated. Defaults to nil.
  • id (String.t): 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. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#adUnit. Defaults to adsense#adUnit.
  • mobileContentAdsSettings (GoogleApi.AdSense.V14.Model.AdUnitMobileContentAdsSettings.t): Settings specific to WAP mobile content ads (AFMC) - deprecated. Defaults to nil.
  • name (String.t): Name of this ad unit. Defaults to nil.
  • savedStyleId (String.t): ID of the saved ad style which holds this ad unit's style information. Defaults to nil.
  • status (String.t): 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. Defaults to nil.

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.AdSense.V14.Model.AdUnit{
  code: String.t(),
  contentAdsSettings: GoogleApi.AdSense.V14.Model.AdUnitContentAdsSettings.t(),
  customStyle: GoogleApi.AdSense.V14.Model.AdStyle.t(),
  feedAdsSettings: GoogleApi.AdSense.V14.Model.AdUnitFeedAdsSettings.t(),
  id: String.t(),
  kind: String.t(),
  mobileContentAdsSettings:
    GoogleApi.AdSense.V14.Model.AdUnitMobileContentAdsSettings.t(),
  name: String.t(),
  savedStyleId: 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.