GoogleApi.DFAReporting.V4.Model.Ad (google_api_dfa_reporting v0.31.0)
View SourceContains properties of a Campaign Manager ad.
Attributes
-
advertiserIdDimensionValue
(type:GoogleApi.DFAReporting.V4.Model.DimensionValue.t
, default:nil
) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. -
sslRequired
(type:boolean()
, default:nil
) - Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated. -
name
(type:String.t
, default:nil
) - Name of this ad. This is a required field and must be less than 256 characters long. -
compatibility
(type:String.t
, default:nil
) - Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard. -
lastModifiedInfo
(type:GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t
, default:nil
) - Information about the most recent modification of this ad. This is a read-only field. -
geoTargeting
(type:GoogleApi.DFAReporting.V4.Model.GeoTargeting.t
, default:nil
) - Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
campaignIdDimensionValue
(type:GoogleApi.DFAReporting.V4.Model.DimensionValue.t
, default:nil
) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field. -
audienceSegmentId
(type:String.t
, default:nil
) - Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD. -
advertiserId
(type:String.t
, default:nil
) - Advertiser ID of this ad. This is a required field on insertion. -
kind
(type:String.t
, default:nil
) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad". -
technologyTargeting
(type:GoogleApi.DFAReporting.V4.Model.TechnologyTargeting.t
, default:nil
) - Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
active
(type:boolean()
, default:nil
) - Whether this ad is active. When true, archived must be false. -
createInfo
(type:GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t
, default:nil
) - Information about the creation of this ad. This is a read-only field. -
clickThroughUrlSuffixProperties
(type:GoogleApi.DFAReporting.V4.Model.ClickThroughUrlSuffixProperties.t
, default:nil
) - Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative. -
targetingTemplateId
(type:String.t
, default:nil
) - Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD. -
keyValueTargetingExpression
(type:GoogleApi.DFAReporting.V4.Model.KeyValueTargetingExpression.t
, default:nil
) - Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
size
(type:GoogleApi.DFAReporting.V4.Model.Size.t
, default:nil
) - Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. -
deliverySchedule
(type:GoogleApi.DFAReporting.V4.Model.DeliverySchedule.t
, default:nil
) - Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD. -
startTime
(type:DateTime.t
, default:nil
) - -
creativeRotation
(type:GoogleApi.DFAReporting.V4.Model.CreativeRotation.t
, default:nil
) - Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment . -
placementAssignments
(type:list(GoogleApi.DFAReporting.V4.Model.PlacementAssignment.t)
, default:nil
) - Placement assignments for this ad. -
archived
(type:boolean()
, default:nil
) - Whether this ad is archived. When true, active must be false. -
eventTagOverrides
(type:list(GoogleApi.DFAReporting.V4.Model.EventTagOverride.t)
, default:nil
) - Event tag overrides for this ad. -
dynamicClickTracker
(type:boolean()
, default:nil
) - Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert. -
remarketingListExpression
(type:GoogleApi.DFAReporting.V4.Model.ListTargetingExpression.t
, default:nil
) - Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
creativeGroupAssignments
(type:list(GoogleApi.DFAReporting.V4.Model.CreativeGroupAssignment.t)
, default:nil
) - Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments. -
campaignId
(type:String.t
, default:nil
) - Campaign ID of this ad. This is a required field on insertion. -
type
(type:String.t
, default:nil
) - Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource). -
sslCompliant
(type:boolean()
, default:nil
) - Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. -
idDimensionValue
(type:GoogleApi.DFAReporting.V4.Model.DimensionValue.t
, default:nil
) - Dimension value for the ID of this ad. This is a read-only, auto-generated field. -
endTime
(type:DateTime.t
, default:nil
) - -
defaultClickThroughEventTagProperties
(type:GoogleApi.DFAReporting.V4.Model.DefaultClickThroughEventTagProperties.t
, default:nil
) - Default click-through event tag properties for this ad. -
clickThroughUrl
(type:GoogleApi.DFAReporting.V4.Model.ClickThroughUrl.t
, default:nil
) - Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER. -
dayPartTargeting
(type:GoogleApi.DFAReporting.V4.Model.DayPartTargeting.t
, default:nil
) - Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
id
(type:String.t
, default:nil
) - ID of this ad. This is a read-only, auto-generated field. -
comments
(type:String.t
, default:nil
) - Comments for this ad. -
accountId
(type:String.t
, default:nil
) - Account ID of this ad. This is a read-only field that can be left blank. -
languageTargeting
(type:GoogleApi.DFAReporting.V4.Model.LanguageTargeting.t
, default:nil
) - Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. -
subaccountId
(type:String.t
, default:nil
) - Subaccount ID of this ad. This is a read-only field that can be left blank.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DFAReporting.V4.Model.Ad{ accountId: String.t() | nil, active: boolean() | nil, advertiserId: String.t() | nil, advertiserIdDimensionValue: GoogleApi.DFAReporting.V4.Model.DimensionValue.t() | nil, archived: boolean() | nil, audienceSegmentId: String.t() | nil, campaignId: String.t() | nil, campaignIdDimensionValue: GoogleApi.DFAReporting.V4.Model.DimensionValue.t() | nil, clickThroughUrl: GoogleApi.DFAReporting.V4.Model.ClickThroughUrl.t() | nil, clickThroughUrlSuffixProperties: GoogleApi.DFAReporting.V4.Model.ClickThroughUrlSuffixProperties.t() | nil, comments: String.t() | nil, compatibility: String.t() | nil, createInfo: GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t() | nil, creativeGroupAssignments: [GoogleApi.DFAReporting.V4.Model.CreativeGroupAssignment.t()] | nil, creativeRotation: GoogleApi.DFAReporting.V4.Model.CreativeRotation.t() | nil, dayPartTargeting: GoogleApi.DFAReporting.V4.Model.DayPartTargeting.t() | nil, defaultClickThroughEventTagProperties: GoogleApi.DFAReporting.V4.Model.DefaultClickThroughEventTagProperties.t() | nil, deliverySchedule: GoogleApi.DFAReporting.V4.Model.DeliverySchedule.t() | nil, dynamicClickTracker: boolean() | nil, endTime: DateTime.t() | nil, eventTagOverrides: [GoogleApi.DFAReporting.V4.Model.EventTagOverride.t()] | nil, geoTargeting: GoogleApi.DFAReporting.V4.Model.GeoTargeting.t() | nil, id: String.t() | nil, idDimensionValue: GoogleApi.DFAReporting.V4.Model.DimensionValue.t() | nil, keyValueTargetingExpression: GoogleApi.DFAReporting.V4.Model.KeyValueTargetingExpression.t() | nil, kind: String.t() | nil, languageTargeting: GoogleApi.DFAReporting.V4.Model.LanguageTargeting.t() | nil, lastModifiedInfo: GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t() | nil, name: String.t() | nil, placementAssignments: [GoogleApi.DFAReporting.V4.Model.PlacementAssignment.t()] | nil, remarketingListExpression: GoogleApi.DFAReporting.V4.Model.ListTargetingExpression.t() | nil, size: GoogleApi.DFAReporting.V4.Model.Size.t() | nil, sslCompliant: boolean() | nil, sslRequired: boolean() | nil, startTime: DateTime.t() | nil, subaccountId: String.t() | nil, targetingTemplateId: String.t() | nil, technologyTargeting: GoogleApi.DFAReporting.V4.Model.TechnologyTargeting.t() | nil, type: String.t() | nil }