pub struct Creative {
Show 26 fields pub account_id: Option<String>, pub ad_choices_destination_url: Option<String>, pub ad_technology_providers: Option<AdTechnologyProviders>, pub advertiser_name: Option<String>, pub agency_id: Option<String>, pub api_update_time: Option<String>, pub attributes: Option<Vec<String>>, pub click_through_urls: Option<Vec<String>>, pub corrections: Option<Vec<Correction>>, pub creative_id: Option<String>, pub deals_status: Option<String>, pub declared_click_through_urls: Option<Vec<String>>, pub detected_advertiser_ids: Option<Vec<String>>, pub detected_domains: Option<Vec<String>>, pub detected_languages: Option<Vec<String>>, pub detected_product_categories: Option<Vec<i32>>, pub detected_sensitive_categories: Option<Vec<i32>>, pub html: Option<HtmlContent>, pub impression_tracking_urls: Option<Vec<String>>, pub native: Option<NativeContent>, pub open_auction_status: Option<String>, pub restricted_categories: Option<Vec<String>>, pub serving_restrictions: Option<Vec<ServingRestriction>>, pub vendor_ids: Option<Vec<i32>>, pub version: Option<i32>, pub video: Option<VideoContent>,
}
Expand description

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

account_id: Option<String>

The account that this creative belongs to. Can be used to filter the response of the creatives.list method.

ad_choices_destination_url: Option<String>

The link to AdChoices destination page.

ad_technology_providers: Option<AdTechnologyProviders>

Output only. The detected ad technology providers.

advertiser_name: Option<String>

The name of the company being advertised in the creative.

agency_id: Option<String>

The agency ID for this creative.

api_update_time: Option<String>

Output only. The last update timestamp of the creative via API.

attributes: Option<Vec<String>>

All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.

click_through_urls: Option<Vec<String>>

The set of destination URLs for the creative.

corrections: Option<Vec<Correction>>

Output only. Shows any corrections that were applied to this creative.

creative_id: Option<String>

The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.

deals_status: Option<String>

Output only. The top-level deals status of this creative. If disapproved, an entry for ‘auctionType=DIRECT_DEALS’ (or ‘ALL’) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.

declared_click_through_urls: Option<Vec<String>>

The set of declared destination URLs for the creative.

detected_advertiser_ids: Option<Vec<String>>

Output only. Detected advertiser IDs, if any.

detected_domains: Option<Vec<String>>

Output only. The detected domains for this creative.

detected_languages: Option<Vec<String>>

Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.

detected_product_categories: Option<Vec<i32>>

Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.

detected_sensitive_categories: Option<Vec<i32>>

Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.

html: Option<HtmlContent>

An HTML creative.

impression_tracking_urls: Option<Vec<String>>

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

native: Option<NativeContent>

A native creative.

open_auction_status: Option<String>

Output only. The top-level open auction status of this creative. If disapproved, an entry for ‘auctionType = OPEN_AUCTION’ (or ‘ALL’) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.

restricted_categories: Option<Vec<String>>

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

serving_restrictions: Option<Vec<ServingRestriction>>

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

vendor_ids: Option<Vec<i32>>

All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.

version: Option<i32>

Output only. The version of this creative.

video: Option<VideoContent>

A video creative.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more