View Source GoogleApi.AdSense.V2.Model.AdUnit (google_api_ad_sense v0.16.0)
Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.
Attributes
-
contentAdsSettings
(type:GoogleApi.AdSense.V2.Model.ContentAdsSettings.t
, default:nil
) - Required. Settings specific to content ads (AFC). -
displayName
(type:String.t
, default:nil
) - Required. Display name of the ad unit, as provided when the ad unit was created. -
name
(type:String.t
, default:nil
) - Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit} -
reportingDimensionId
(type:String.t
, default:nil
) - Output only. Unique ID of the ad unit as used in theAD_UNIT_ID
reporting dimension. -
state
(type:String.t
, default:nil
) - Required. State of the ad unit.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AdSense.V2.Model.AdUnit{ contentAdsSettings: GoogleApi.AdSense.V2.Model.ContentAdsSettings.t() | nil, displayName: String.t() | nil, name: String.t() | nil, reportingDimensionId: String.t() | nil, state: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.