Struct google_adexchangebuyer2_v2_beta1::api::Creative
source · [−]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).
- creatives create accounts (request|response)
- creatives get accounts (response)
- creatives update accounts (request|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
sourceimpl<'de> Deserialize<'de> for Creative
impl<'de> Deserialize<'de> for Creative
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Creative
impl ResponseResult for Creative
Auto Trait Implementations
impl RefUnwindSafe for Creative
impl Send for Creative
impl Sync for Creative
impl Unpin for Creative
impl UnwindSafe for Creative
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more