google_api_ad_exchange_buyer v0.11.0 GoogleApi.AdExchangeBuyer.V14.Model.Creative View Source
A creative and its classification data.
Attributes
- HTMLSnippet (String.t): The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set. Defaults to:
null
. - accountId (integer()): Account id. Defaults to:
null
. - adChoicesDestinationUrl (String.t): The link to the Ad Preferences page. This is only supported for native ads. Defaults to:
null
. - advertiserId ([String.t]): Detected advertiser id, if any. Read-only. This field should not be set in requests. Defaults to:
null
. - advertiserName (String.t): The name of the company being advertised in the creative. The value provided must exist in the advertisers.txt file. Defaults to:
null
. - agencyId (String.t): The agency id for this creative. Defaults to:
null
. - apiUploadTimestamp (DateTime.t): The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp). Defaults to:
null
. - attribute ([integer()]): List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt. Defaults to:
null
. - buyerCreativeId (String.t): A buyer-specific id identifying the creative in this ad. Defaults to:
null
. - clickThroughUrl ([String.t]): The set of destination urls for the snippet. Defaults to:
null
. - corrections ([CreativeCorrections]): Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests. Defaults to:
null
. - creativeStatusIdentityType (String.t): Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole. Defaults to:
null
. - dealsStatus (String.t): Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly. Defaults to:
null
. - detectedDomains ([String.t]): Detected domains for this creative. Read-only. This field should not be set in requests. Defaults to:
null
. - filteringReasons (CreativeFilteringReasons): Defaults to:
null
. - height (integer()): Ad height. Defaults to:
null
. - impressionTrackingUrl ([String.t]): The set of urls to be called to record an impression. Defaults to:
null
. - kind (String.t): Resource type. Defaults to:
null
. - languages ([String.t]): Detected languages for this creative. Read-only. This field should not be set in requests. Defaults to:
null
. - nativeAd (CreativeNativeAd): Defaults to:
null
. - openAuctionStatus (String.t): Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly. Defaults to:
null
. - productCategories ([integer()]): Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests. Defaults to:
null
. - restrictedCategories ([integer()]): All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt. Defaults to:
null
. - sensitiveCategories ([integer()]): Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests. Defaults to:
null
. - servingRestrictions ([CreativeServingRestrictions]): The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details. Defaults to:
null
. - vendorType ([integer()]): List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt. Defaults to:
null
. - version (integer()): The version for this creative. Read-only. This field should not be set in requests. Defaults to:
null
. - videoURL (String.t): The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above. Defaults to:
null
. - videoVastXML (String.t): The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set. Defaults to:
null
. - width (integer()): Ad width. Defaults to:
null
.
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()
View Source
t() :: %GoogleApi.AdExchangeBuyer.V14.Model.Creative{
HTMLSnippet: any(),
accountId: any(),
adChoicesDestinationUrl: any(),
advertiserId: [any()],
advertiserName: any(),
agencyId: any(),
apiUploadTimestamp: DateTime.t(),
attribute: [any()],
buyerCreativeId: any(),
clickThroughUrl: [any()],
corrections: [GoogleApi.AdExchangeBuyer.V14.Model.CreativeCorrections.t()],
creativeStatusIdentityType: any(),
dealsStatus: any(),
detectedDomains: [any()],
filteringReasons:
GoogleApi.AdExchangeBuyer.V14.Model.CreativeFilteringReasons.t(),
height: any(),
impressionTrackingUrl: [any()],
kind: any(),
languages: [any()],
nativeAd: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAd.t(),
openAuctionStatus: any(),
productCategories: [any()],
restrictedCategories: [any()],
sensitiveCategories: [any()],
servingRestrictions: [
GoogleApi.AdExchangeBuyer.V14.Model.CreativeServingRestrictions.t()
],
vendorType: [any()],
version: any(),
videoURL: any(),
videoVastXML: any(),
width: any()
}
t() :: %GoogleApi.AdExchangeBuyer.V14.Model.Creative{ HTMLSnippet: any(), accountId: any(), adChoicesDestinationUrl: any(), advertiserId: [any()], advertiserName: any(), agencyId: any(), apiUploadTimestamp: DateTime.t(), attribute: [any()], buyerCreativeId: any(), clickThroughUrl: [any()], corrections: [GoogleApi.AdExchangeBuyer.V14.Model.CreativeCorrections.t()], creativeStatusIdentityType: any(), dealsStatus: any(), detectedDomains: [any()], filteringReasons: GoogleApi.AdExchangeBuyer.V14.Model.CreativeFilteringReasons.t(), height: any(), impressionTrackingUrl: [any()], kind: any(), languages: [any()], nativeAd: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAd.t(), openAuctionStatus: any(), productCategories: [any()], restrictedCategories: [any()], sensitiveCategories: [any()], servingRestrictions: [ GoogleApi.AdExchangeBuyer.V14.Model.CreativeServingRestrictions.t() ], vendorType: [any()], version: any(), videoURL: any(), videoVastXML: any(), width: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.