Struct google_adexchangebuyer1d4::api::Creative[][src]

pub struct Creative {
    pub html_snippet: Option<String>,
    pub account_id: Option<i32>,
    pub ad_choices_destination_url: Option<String>,
    pub ad_technology_providers: Option<CreativeAdTechnologyProviders>,
    pub advertiser_id: Option<Vec<String>>,
    pub advertiser_name: Option<String>,
    pub agency_id: Option<String>,
    pub api_upload_timestamp: Option<String>,
    pub attribute: Option<Vec<i32>>,
    pub buyer_creative_id: Option<String>,
    pub click_through_url: Option<Vec<String>>,
    pub corrections: Option<Vec<CreativeCorrections>>,
    pub creative_status_identity_type: Option<String>,
    pub deals_status: Option<String>,
    pub detected_domains: Option<Vec<String>>,
    pub filtering_reasons: Option<CreativeFilteringReasons>,
    pub height: Option<i32>,
    pub impression_tracking_url: Option<Vec<String>>,
    pub kind: Option<String>,
    pub languages: Option<Vec<String>>,
    pub native_ad: Option<CreativeNativeAd>,
    pub open_auction_status: Option<String>,
    pub product_categories: Option<Vec<i32>>,
    pub restricted_categories: Option<Vec<i32>>,
    pub sensitive_categories: Option<Vec<i32>>,
    pub serving_restrictions: Option<Vec<CreativeServingRestrictions>>,
    pub vendor_type: Option<Vec<i32>>,
    pub version: Option<i32>,
    pub video_url: Option<String>,
    pub video_vast_xml: Option<String>,
    pub width: Option<i32>,
}

A creative and its classification data.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

html_snippet: Option<String>

The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.

account_id: Option<i32>

Account id.

ad_choices_destination_url: Option<String>

The link to the Ad Preferences page. This is only supported for native ads.

ad_technology_providers: Option<CreativeAdTechnologyProviders>

no description provided

advertiser_id: Option<Vec<String>>

Detected advertiser id, if any. Read-only. This field should not be set in requests.

advertiser_name: Option<String>

The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.

agency_id: Option<String>

The agency id for this creative.

api_upload_timestamp: Option<String>

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).

attribute: Option<Vec<i32>>

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.

buyer_creative_id: Option<String>

A buyer-specific id identifying the creative in this ad.

click_through_url: Option<Vec<String>>

The set of destination urls for the snippet.

corrections: Option<Vec<CreativeCorrections>>

Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.

creative_status_identity_type: Option<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.

deals_status: Option<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.

detected_domains: Option<Vec<String>>

Detected domains for this creative. Read-only. This field should not be set in requests.

filtering_reasons: Option<CreativeFilteringReasons>

The filtering reasons for the creative. Read-only. This field should not be set in requests.

height: Option<i32>

Ad height.

impression_tracking_url: Option<Vec<String>>

The set of urls to be called to record an impression.

kind: Option<String>

Resource type.

languages: Option<Vec<String>>

Detected languages for this creative. Read-only. This field should not be set in requests.

native_ad: Option<CreativeNativeAd>

If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)

open_auction_status: Option<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.

product_categories: Option<Vec<i32>>

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.

restricted_categories: Option<Vec<i32>>

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.

sensitive_categories: Option<Vec<i32>>

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.

serving_restrictions: Option<Vec<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.

vendor_type: Option<Vec<i32>>

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.

version: Option<i32>

The version for this creative. Read-only. This field should not be set in requests.

video_url: Option<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.

video_vast_xml: Option<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.

width: Option<i32>

Ad width.

Trait Implementations

impl Clone for Creative[src]

impl Debug for Creative[src]

impl Default for Creative[src]

impl<'de> Deserialize<'de> for Creative[src]

impl RequestValue for Creative[src]

impl Resource for Creative[src]

impl ResponseResult for Creative[src]

impl Serialize for Creative[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.