[][src]Struct google_dfareporting3::TargetingTemplate

pub struct TargetingTemplate {
    pub kind: Option<String>,
    pub subaccount_id: Option<String>,
    pub name: Option<String>,
    pub day_part_targeting: Option<DayPartTargeting>,
    pub key_value_targeting_expression: Option<KeyValueTargetingExpression>,
    pub list_targeting_expression: Option<ListTargetingExpression>,
    pub language_targeting: Option<LanguageTargeting>,
    pub advertiser_id: Option<String>,
    pub geo_targeting: Option<GeoTargeting>,
    pub advertiser_id_dimension_value: Option<DimensionValue>,
    pub technology_targeting: Option<TechnologyTargeting>,
    pub id: Option<String>,
    pub account_id: Option<String>,
}

Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.

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

kind: Option<String>

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

subaccount_id: Option<String>

Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.

name: Option<String>

Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.

day_part_targeting: Option<DayPartTargeting>

Time and day targeting criteria.

key_value_targeting_expression: Option<KeyValueTargetingExpression>

Key-value targeting criteria.

list_targeting_expression: Option<ListTargetingExpression>

Remarketing list targeting criteria.

language_targeting: Option<LanguageTargeting>

Language targeting criteria.

advertiser_id: Option<String>

Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.

geo_targeting: Option<GeoTargeting>

Geographical targeting criteria.

advertiser_id_dimension_value: Option<DimensionValue>

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

technology_targeting: Option<TechnologyTargeting>

Technology platform targeting criteria.

id: Option<String>

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

account_id: Option<String>

Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.

Trait Implementations

impl Clone for TargetingTemplate[src]

impl Debug for TargetingTemplate[src]

impl Default for TargetingTemplate[src]

impl<'de> Deserialize<'de> for TargetingTemplate[src]

impl RequestValue for TargetingTemplate[src]

impl Resource for TargetingTemplate[src]

impl ResponseResult for TargetingTemplate[src]

impl Serialize for TargetingTemplate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any