GoogleApi.DFAReporting.V34.Model.Ad (google_api_dfa_reporting v0.31.0)

View Source

Contains properties of a Campaign Manager ad.

Attributes

  • defaultClickThroughEventTagProperties (type: GoogleApi.DFAReporting.V34.Model.DefaultClickThroughEventTagProperties.t, default: nil) - Default click-through event tag properties for this ad.
  • advertiserId (type: String.t, default: nil) - Advertiser ID of this ad. This is a required field on insertion.
  • size (type: GoogleApi.DFAReporting.V34.Model.Size.t, default: nil) - Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
  • subaccountId (type: String.t, default: nil) - Subaccount ID of this ad. This is a read-only field that can be left blank.
  • lastModifiedInfo (type: GoogleApi.DFAReporting.V34.Model.LastModifiedInfo.t, default: nil) - Information about the most recent modification of this ad. This is a read-only field.
  • 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.V34.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.
  • startTime (type: DateTime.t, default: nil) -
  • advertiserIdDimensionValue (type: GoogleApi.DFAReporting.V34.Model.DimensionValue.t, default: nil) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
  • deliverySchedule (type: GoogleApi.DFAReporting.V34.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.
  • audienceSegmentId (type: String.t, default: nil) - Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
  • creativeRotation (type: GoogleApi.DFAReporting.V34.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 .
  • createInfo (type: GoogleApi.DFAReporting.V34.Model.LastModifiedInfo.t, default: nil) - Information about the creation of this ad. This is a read-only field.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
  • eventTagOverrides (type: list(GoogleApi.DFAReporting.V34.Model.EventTagOverride.t), default: nil) - Event tag overrides for this ad.
  • keyValueTargetingExpression (type: GoogleApi.DFAReporting.V34.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.
  • campaignId (type: String.t, default: nil) - Campaign ID of this ad. This is a required field on insertion.
  • geoTargeting (type: GoogleApi.DFAReporting.V34.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.
  • name (type: String.t, default: nil) - Name of this ad. This is a required field and must be less than 256 characters long.
  • campaignIdDimensionValue (type: GoogleApi.DFAReporting.V34.Model.DimensionValue.t, default: nil) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
  • dayPartTargeting (type: GoogleApi.DFAReporting.V34.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.
  • comments (type: String.t, default: nil) - Comments for this ad.
  • clickThroughUrlSuffixProperties (type: GoogleApi.DFAReporting.V34.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.
  • archived (type: boolean(), default: nil) - Whether this ad is archived. When true, active must be false.
  • idDimensionValue (type: GoogleApi.DFAReporting.V34.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) -
  • 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).
  • 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.
  • active (type: boolean(), default: nil) - Whether this ad is active. When true, archived must be false.
  • 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.
  • id (type: String.t, default: nil) - ID of this ad. This is a read-only, auto-generated field.
  • technologyTargeting (type: GoogleApi.DFAReporting.V34.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.
  • creativeGroupAssignments (type: list(GoogleApi.DFAReporting.V34.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.
  • 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.
  • 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.
  • remarketingListExpression (type: GoogleApi.DFAReporting.V34.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.
  • 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.
  • clickThroughUrl (type: GoogleApi.DFAReporting.V34.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.
  • placementAssignments (type: list(GoogleApi.DFAReporting.V34.Model.PlacementAssignment.t), default: nil) - Placement assignments for this ad.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V34.Model.Ad{
  accountId: String.t() | nil,
  active: boolean() | nil,
  advertiserId: String.t() | nil,
  advertiserIdDimensionValue:
    GoogleApi.DFAReporting.V34.Model.DimensionValue.t() | nil,
  archived: boolean() | nil,
  audienceSegmentId: String.t() | nil,
  campaignId: String.t() | nil,
  campaignIdDimensionValue:
    GoogleApi.DFAReporting.V34.Model.DimensionValue.t() | nil,
  clickThroughUrl: GoogleApi.DFAReporting.V34.Model.ClickThroughUrl.t() | nil,
  clickThroughUrlSuffixProperties:
    GoogleApi.DFAReporting.V34.Model.ClickThroughUrlSuffixProperties.t() | nil,
  comments: String.t() | nil,
  compatibility: String.t() | nil,
  createInfo: GoogleApi.DFAReporting.V34.Model.LastModifiedInfo.t() | nil,
  creativeGroupAssignments:
    [GoogleApi.DFAReporting.V34.Model.CreativeGroupAssignment.t()] | nil,
  creativeRotation: GoogleApi.DFAReporting.V34.Model.CreativeRotation.t() | nil,
  dayPartTargeting: GoogleApi.DFAReporting.V34.Model.DayPartTargeting.t() | nil,
  defaultClickThroughEventTagProperties:
    GoogleApi.DFAReporting.V34.Model.DefaultClickThroughEventTagProperties.t()
    | nil,
  deliverySchedule: GoogleApi.DFAReporting.V34.Model.DeliverySchedule.t() | nil,
  dynamicClickTracker: boolean() | nil,
  endTime: DateTime.t() | nil,
  eventTagOverrides:
    [GoogleApi.DFAReporting.V34.Model.EventTagOverride.t()] | nil,
  geoTargeting: GoogleApi.DFAReporting.V34.Model.GeoTargeting.t() | nil,
  id: String.t() | nil,
  idDimensionValue: GoogleApi.DFAReporting.V34.Model.DimensionValue.t() | nil,
  keyValueTargetingExpression:
    GoogleApi.DFAReporting.V34.Model.KeyValueTargetingExpression.t() | nil,
  kind: String.t() | nil,
  languageTargeting:
    GoogleApi.DFAReporting.V34.Model.LanguageTargeting.t() | nil,
  lastModifiedInfo: GoogleApi.DFAReporting.V34.Model.LastModifiedInfo.t() | nil,
  name: String.t() | nil,
  placementAssignments:
    [GoogleApi.DFAReporting.V34.Model.PlacementAssignment.t()] | nil,
  remarketingListExpression:
    GoogleApi.DFAReporting.V34.Model.ListTargetingExpression.t() | nil,
  size: GoogleApi.DFAReporting.V34.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.V34.Model.TechnologyTargeting.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.