Struct google_dfareporting3::api::TargetingTemplate[][src]

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

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

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.

advertiser_id: Option<String>

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

advertiser_id_dimension_value: Option<DimensionValue>

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

day_part_targeting: Option<DayPartTargeting>

Time and day targeting criteria.

geo_targeting: Option<GeoTargeting>

Geographical targeting criteria.

id: Option<String>

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

key_value_targeting_expression: Option<KeyValueTargetingExpression>

Key-value targeting criteria.

kind: Option<String>

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

language_targeting: Option<LanguageTargeting>

Language targeting criteria.

list_targeting_expression: Option<ListTargetingExpression>

Remarketing list targeting criteria.

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.

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.

technology_targeting: Option<TechnologyTargeting>

Technology platform targeting criteria.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.