Class Creative
A creative and its classification data.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.AdExchangeBuyer.v1_4.Data
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class Creative : IDirectResponseSchema
Properties
AccountId
Account id.
Declaration
[JsonProperty("accountId")]
public virtual int? AccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
AdChoicesDestinationUrl
The link to the Ad Preferences page. This is only supported for native ads.
Declaration
[JsonProperty("adChoicesDestinationUrl")]
public virtual string AdChoicesDestinationUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AdTechnologyProviders
Declaration
[JsonProperty("adTechnologyProviders")]
public virtual Creative.AdTechnologyProvidersData AdTechnologyProviders { get; set; }
Property Value
| Type | Description |
|---|---|
| Creative.AdTechnologyProvidersData |
AdvertiserId
Detected advertiser id, if any. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("advertiserId")]
public virtual IList<long?> AdvertiserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int64>> |
AdvertiserName
The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.
Declaration
[JsonProperty("advertiserName")]
public virtual string AdvertiserName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AgencyId
The agency id for this creative.
Declaration
[JsonProperty("agencyId")]
public virtual long? AgencyId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
ApiUploadTimestamp
System.DateTime representation of ApiUploadTimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTime? ApiUploadTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
ApiUploadTimestampRaw
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).
Declaration
[JsonProperty("apiUploadTimestamp")]
public virtual string ApiUploadTimestampRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Attribute
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.
Declaration
[JsonProperty("attribute")]
public virtual IList<int?> Attribute { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int32>> |
BuyerCreativeId
A buyer-specific id identifying the creative in this ad.
Declaration
[JsonProperty("buyerCreativeId")]
public virtual string BuyerCreativeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ClickThroughUrl
The set of destination urls for the snippet.
Declaration
[JsonProperty("clickThroughUrl")]
public virtual IList<string> ClickThroughUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
Corrections
Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("corrections")]
public virtual IList<Creative.CorrectionsData> Corrections { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<Creative.CorrectionsData> |
CreativeStatusIdentityType
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.
Declaration
[JsonProperty("creativeStatusIdentityType")]
public virtual string CreativeStatusIdentityType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DealsStatus
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.
Declaration
[JsonProperty("dealsStatus")]
public virtual string DealsStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DetectedDomains
Detected domains for this creative. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("detectedDomains")]
public virtual IList<string> DetectedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FilteringReasons
The filtering reasons for the creative. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("filteringReasons")]
public virtual Creative.FilteringReasonsData FilteringReasons { get; set; }
Property Value
| Type | Description |
|---|---|
| Creative.FilteringReasonsData |
Height
Ad height.
Declaration
[JsonProperty("height")]
public virtual int? Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
HTMLSnippet
The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
Declaration
[JsonProperty("HTMLSnippet")]
public virtual string HTMLSnippet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ImpressionTrackingUrl
The set of urls to be called to record an impression.
Declaration
[JsonProperty("impressionTrackingUrl")]
public virtual IList<string> ImpressionTrackingUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
Kind
Resource type.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Languages
Detected languages for this creative. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("languages")]
public virtual IList<string> Languages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
NativeAd
If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
Declaration
[JsonProperty("nativeAd")]
public virtual Creative.NativeAdData NativeAd { get; set; }
Property Value
| Type | Description |
|---|---|
| Creative.NativeAdData |
OpenAuctionStatus
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.
Declaration
[JsonProperty("openAuctionStatus")]
public virtual string OpenAuctionStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ProductCategories
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.
Declaration
[JsonProperty("productCategories")]
public virtual IList<int?> ProductCategories { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int32>> |
RestrictedCategories
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.
Declaration
[JsonProperty("restrictedCategories")]
public virtual IList<int?> RestrictedCategories { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int32>> |
SensitiveCategories
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.
Declaration
[JsonProperty("sensitiveCategories")]
public virtual IList<int?> SensitiveCategories { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int32>> |
ServingRestrictions
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.
Declaration
[JsonProperty("servingRestrictions")]
public virtual IList<Creative.ServingRestrictionsData> ServingRestrictions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<Creative.ServingRestrictionsData> |
VendorType
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.
Declaration
[JsonProperty("vendorType")]
public virtual IList<int?> VendorType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Nullable<System.Int32>> |
Version
The version for this creative. Read-only. This field should not be set in requests.
Declaration
[JsonProperty("version")]
public virtual int? Version { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
VideoURL
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.
Declaration
[JsonProperty("videoURL")]
public virtual string VideoURL { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
VideoVastXML
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.
Declaration
[JsonProperty("videoVastXML")]
public virtual string VideoVastXML { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Width
Ad width.
Declaration
[JsonProperty("width")]
public virtual int? Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |