Struct google_adexchangebuyer1d3::api::Creative
source · pub struct Creative {Show 25 fields
pub html_snippet: Option<String>,
pub account_id: Option<i32>,
pub ad_technology_providers: Option<CreativeAdTechnologyProviders>,
pub advertiser_id: Option<Vec<i64>>,
pub advertiser_name: Option<String>,
pub agency_id: Option<i64>,
pub api_upload_timestamp: Option<DateTime<Utc>>,
pub attribute: Option<Vec<i32>>,
pub buyer_creative_id: Option<String>,
pub click_through_url: Option<Vec<String>>,
pub corrections: Option<Vec<CreativeCorrections>>,
pub disapproval_reasons: Option<Vec<CreativeDisapprovalReasons>>,
pub filtering_reasons: Option<CreativeFilteringReasons>,
pub height: Option<i32>,
pub impression_tracking_url: Option<Vec<String>>,
pub kind: Option<String>,
pub native_ad: Option<CreativeNativeAd>,
pub product_categories: Option<Vec<i32>>,
pub restricted_categories: Option<Vec<i32>>,
pub sensitive_categories: Option<Vec<i32>>,
pub status: Option<String>,
pub vendor_type: Option<Vec<i32>>,
pub version: Option<i32>,
pub video_url: Option<String>,
pub width: Option<i32>,
}
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).
- get creatives (response)
- insert creatives (request|response)
- list creatives (none)
Fields§
§html_snippet: Option<String>
The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.
account_id: Option<i32>
Account id.
ad_technology_providers: Option<CreativeAdTechnologyProviders>
no description provided
advertiser_id: Option<Vec<i64>>
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.
agency_id: Option<i64>
The agency id for this creative.
api_upload_timestamp: Option<DateTime<Utc>>
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>>
All attributes for the ads that may be shown from this snippet.
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.
disapproval_reasons: Option<Vec<CreativeDisapprovalReasons>>
The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. 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.
native_ad: Option<CreativeNativeAd>
If nativeAd is set, HTMLSnippet and videoURL should not be set.
product_categories: Option<Vec<i32>>
Detected product categories, if any. 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.
sensitive_categories: Option<Vec<i32>>
Detected sensitive categories, if any. Read-only. This field should not be set in requests.
status: Option<String>
Creative serving status. Read-only. This field should not be set in requests.
vendor_type: Option<Vec<i32>>
All vendor types for the ads that may be shown from this snippet.
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 and the nativeAd should not be set.
width: Option<i32>
Ad width.