View Source GoogleApi.AdSense.V14.Model.AdUnit (google_api_ad_sense v0.16.1)

Attributes

  • code (type: String.t, default: nil) - Identity code of this ad unit, not necessarily unique across ad clients.

  • contentAdsSettings (type: GoogleApi.AdSense.V14.Model.AdUnitContentAdsSettings.t, default: nil) - Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

  • customStyle (type: GoogleApi.AdSense.V14.Model.AdStyle.t, default: nil) - Custom style information specific to this ad unit.

  • feedAdsSettings (type: GoogleApi.AdSense.V14.Model.AdUnitFeedAdsSettings.t, default: nil) - Settings specific to feed ads (AFF) - deprecated.

  • 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: adsense#adUnit) - Kind of resource this is, in this case adsense#adUnit.

  • mobileContentAdsSettings (type: GoogleApi.AdSense.V14.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.

  • savedStyleId (type: String.t, default: nil) - ID of the saved ad style which holds this ad unit's style information.

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdSense.V14.Model.AdUnit{
  code: String.t() | nil,
  contentAdsSettings:
    GoogleApi.AdSense.V14.Model.AdUnitContentAdsSettings.t() | nil,
  customStyle: GoogleApi.AdSense.V14.Model.AdStyle.t() | nil,
  feedAdsSettings: GoogleApi.AdSense.V14.Model.AdUnitFeedAdsSettings.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  mobileContentAdsSettings:
    GoogleApi.AdSense.V14.Model.AdUnitMobileContentAdsSettings.t() | nil,
  name: String.t() | nil,
  savedStyleId: String.t() | nil,
  status: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.