Struct google_dfareporting2d4::Ad [] [src]

pub struct Ad {
    pub click_through_url_suffix_properties: Option<ClickThroughUrlSuffixProperties>,
    pub campaign_id: Option<String>,
    pub advertiser_id: Option<String>,
    pub geo_targeting: Option<GeoTargeting>,
    pub comments: Option<String>,
    pub delivery_schedule: Option<DeliverySchedule>,
    pub advertiser_id_dimension_value: Option<DimensionValue>,
    pub event_tag_overrides: Option<Vec<EventTagOverride>>,
    pub id: Option<String>,
    pub size: Option<Size>,
    pub archived: Option<bool>,
    pub technology_targeting: Option<TechnologyTargeting>,
    pub creative_rotation: Option<CreativeRotation>,
    pub click_through_url: Option<ClickThroughUrl>,
    pub creative_group_assignments: Option<Vec<CreativeGroupAssignment>>,
    pub remarketing_list_expression: Option<ListTargetingExpression>,
    pub id_dimension_value: Option<DimensionValue>,
    pub account_id: Option<String>,
    pub type_: Option<String>,
    pub ssl_required: Option<bool>,
    pub audience_segment_id: Option<String>,
    pub key_value_targeting_expression: Option<KeyValueTargetingExpression>,
    pub campaign_id_dimension_value: Option<DimensionValue>,
    pub default_click_through_event_tag_properties: Option<DefaultClickThroughEventTagProperties>,
    pub create_info: Option<LastModifiedInfo>,
    pub start_time: Option<String>,
    pub active: Option<bool>,
    pub compatibility: Option<String>,
    pub kind: Option<String>,
    pub subaccount_id: Option<String>,
    pub name: Option<String>,
    pub day_part_targeting: Option<DayPartTargeting>,
    pub last_modified_info: Option<LastModifiedInfo>,
    pub ssl_compliant: Option<bool>,
    pub end_time: Option<String>,
    pub dynamic_click_tracker: Option<bool>,
    pub placement_assignments: Option<Vec<PlacementAssignment>>,
}

Contains properties of a DCM 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).

Fields

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 of this ad. This is a required field on insertion.

Advertiser ID of this ad. This is a required field on insertion.

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 for this ad.

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.

Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.

Event tag overrides for this ad.

ID of this ad. This is a read-only, auto-generated field.

Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.

Whether this ad is archived.

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 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 for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.

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

Dimension value for the ID of this ad. This is a read-only, auto-generated field.

Account ID of this ad. This is a read-only field that can be left blank.

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

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 that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.

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.

Dimension value for the ID of the campaign. This is a read-only, auto-generated field.

Default click-through event tag properties for this ad.

Information about the creation of this ad. This is a read-only field.

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.

Whether this ad is active.

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.

Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".

Subaccount ID of this ad. This is a read-only field that can be left blank.

Name of this ad. This is a required field and must be less than 256 characters long.

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.

Information about the most recent modification of this ad. This is a read-only field.

Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.

Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.

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 for this ad.

Trait Implementations

impl Default for Ad
[src]

[src]

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

impl Clone for Ad
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Ad
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for Ad
[src]

impl Resource for Ad
[src]

impl ResponseResult for Ad
[src]