[−][src]Struct google_dfareporting3d2::Ad
Contains properties of a Campaign Manager ad.
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).
- patch ads (request|response)
- list ads (none)
- insert ads (request|response)
- get ads (response)
- update ads (request|response)
Fields
click_through_url_suffix_properties: Option<ClickThroughUrlSuffixProperties>
Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
campaign_id: Option<String>
Campaign ID of this ad. This is a required field on insertion.
language_targeting: Option<LanguageTargeting>
Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
advertiser_id: Option<String>
Advertiser ID of this ad. This is a required field on insertion.
geo_targeting: Option<GeoTargeting>
Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
comments: Option<String>
Comments for this ad.
delivery_schedule: Option<DeliverySchedule>
Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
advertiser_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
event_tag_overrides: Option<Vec<EventTagOverride>>
Event tag overrides for this ad.
id: Option<String>
ID of this ad. This is a read-only, auto-generated field.
size: Option<Size>
Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
archived: Option<bool>
Whether this ad is archived. When true, active must be false.
targeting_template_id: Option<String>
Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.
technology_targeting: Option<TechnologyTargeting>
Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
creative_rotation: Option<CreativeRotation>
Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
click_through_url: Option<ClickThroughUrl>
Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
creative_group_assignments: Option<Vec<CreativeGroupAssignment>>
Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
remarketing_list_expression: Option<ListTargetingExpression>
Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
id_dimension_value: Option<DimensionValue>
Dimension value for the ID of this ad. This is a read-only, auto-generated field.
account_id: Option<String>
Account ID of this ad. This is a read-only field that can be left blank.
type_: Option<String>
Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
ssl_required: Option<bool>
Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
audience_segment_id: Option<String>
Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
key_value_targeting_expression: Option<KeyValueTargetingExpression>
Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
campaign_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
default_click_through_event_tag_properties: Option<DefaultClickThroughEventTagProperties>
Default click-through event tag properties for this ad.
create_info: Option<LastModifiedInfo>
Information about the creation of this ad. This is a read-only field.
start_time: Option<String>
Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
active: Option<bool>
Whether this ad is active. When true, archived must be false.
compatibility: Option<String>
Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
subaccount_id: Option<String>
Subaccount ID of this ad. This is a read-only field that can be left blank.
name: Option<String>
Name of this ad. This is a required field and must be less than 256 characters long.
day_part_targeting: Option<DayPartTargeting>
Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD.
last_modified_info: Option<LastModifiedInfo>
Information about the most recent modification of this ad. This is a read-only field.
ssl_compliant: Option<bool>
Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
end_time: Option<String>
Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
dynamic_click_tracker: Option<bool>
Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
placement_assignments: Option<Vec<PlacementAssignment>>
Placement assignments for this ad.
Trait Implementations
impl Resource for Ad
[src]
impl ResponseResult for Ad
[src]
impl RequestValue for Ad
[src]
impl Default for Ad
[src]
impl Clone for Ad
[src]
fn clone(&self) -> Ad
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Ad
[src]
impl Serialize for Ad
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Ad
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,