Creative class

A creative and its classification data.

Constructors

Creative()
Creative.fromJson(Map _json)

Properties

accountId ↔ int
Account id.
read / write
adChoicesDestinationUrl ↔ String
The link to the Ad Preferences page. This is only supported for native ads.
read / write
advertiserId ↔ List<String>
Detected advertiser id, if any. Read-only. This field should not be set in requests.
read / write
advertiserName ↔ String
The name of the company being advertised in the creative. The value provided must exist in the advertisers.txt file.
read / write
agencyId ↔ String
The agency id for this creative.
read / write
apiUploadTimestamp ↔ DateTime
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).
read / write
attribute ↔ List<int>
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.
read / write
buyerCreativeId ↔ String
A buyer-specific id identifying the creative in this ad.
read / write
clickThroughUrl ↔ List<String>
The set of destination urls for the snippet.
read / write
corrections ↔ List<CreativeCorrections>
Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
read / write
creativeStatusIdentityType ↔ String
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.
read / write
dealsStatus ↔ String
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.
read / write
detectedDomains ↔ List<String>
Detected domains for this creative. Read-only. This field should not be set in requests.
read / write
filteringReasons CreativeFilteringReasons
The filtering reasons for the creative. Read-only. This field should not be set in requests.
read / write
height ↔ int
Ad height.
read / write
HTMLSnippet ↔ String
The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
read / write
impressionTrackingUrl ↔ List<String>
The set of urls to be called to record an impression.
read / write
kind ↔ String
Resource type.
read / write
languages ↔ List<String>
Detected languages for this creative. Read-only. This field should not be set in requests.
read / write
nativeAd CreativeNativeAd
If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
read / write
openAuctionStatus ↔ String
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.
read / write
productCategories ↔ List<int>
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.
read / write
restrictedCategories ↔ List<int>
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.
read / write
sensitiveCategories ↔ List<int>
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.
read / write
servingRestrictions ↔ List<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.
read / write
vendorType ↔ List<int>
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.
read / write
version ↔ int
The version for this creative. Read-only. This field should not be set in requests.
read / write
videoURL ↔ String
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.
read / write
videoVastXML ↔ String
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.
read / write
width ↔ int
Ad width.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited