Struct google_youtube3::ActivityContentDetailsPromotedItem [] [src]

pub struct ActivityContentDetailsPromotedItem {
    pub cta_type: Option<String>,
    pub ad_tag: Option<String>,
    pub destination_url: Option<String>,
    pub forecasting_url: Option<Vec<String>>,
    pub impression_url: Option<Vec<String>>,
    pub creative_view_url: Option<String>,
    pub video_id: Option<String>,
    pub description_text: Option<String>,
    pub custom_cta_button_text: Option<String>,
    pub click_tracking_url: Option<String>,
}

Details about a resource which is being promoted.

This type is not used in any activity, and only used as part of another schema.

Fields

The type of call-to-action, a message to the user indicating action that can be taken.

The URL the client should fetch to request a promoted item.

The URL the client should direct the user to, if the user chooses to visit the advertiser's website.

The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.

The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.

The URL the client should ping to indicate that the user was shown this promoted item.

The ID that YouTube uses to uniquely identify the promoted video.

The text description to accompany the promoted item.

The custom call-to-action button text. If specified, it will override the default button text for the cta_type.

The URL the client should ping to indicate that the user clicked through on this promoted item.

Trait Implementations

impl Default for ActivityContentDetailsPromotedItem
[src]

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

impl Clone for ActivityContentDetailsPromotedItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ActivityContentDetailsPromotedItem
[src]

Formats the value using the given formatter.

impl Part for ActivityContentDetailsPromotedItem
[src]