Struct google_adexchangebuyer1d4::Creative [] [src]

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

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

The agency id for this creative.

All attributes for the ads that may be shown from this snippet.

All restricted categories for the ads that may be shown from this snippet.

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

Ad height.

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

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

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.

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

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.

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

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

Account id.

The name of the company being advertised in the creative.

Resource type.

The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.

The set of destination urls for the snippet.

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.

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

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

Ad width.

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

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

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

All vendor types for the ads that may be shown from this snippet.

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

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

Trait Implementations

impl Debug for Creative
[src]

Formats the value using the given formatter.

impl Clone for Creative
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Creative
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Creative
[src]

impl Resource for Creative
[src]

impl ResponseResult for Creative
[src]