[][src]Struct google_displayvideo1::AssignedTargetingOption

pub struct AssignedTargetingOption {
    pub exchange_details: Option<ExchangeAssignedTargetingOptionDetails>,
    pub proximity_location_list_details: Option<ProximityLocationListAssignedTargetingOptionDetails>,
    pub language_details: Option<LanguageAssignedTargetingOptionDetails>,
    pub url_details: Option<UrlAssignedTargetingOptionDetails>,
    pub keyword_details: Option<KeywordAssignedTargetingOptionDetails>,
    pub day_and_time_details: Option<DayAndTimeAssignedTargetingOptionDetails>,
    pub app_details: Option<AppAssignedTargetingOptionDetails>,
    pub browser_details: Option<BrowserAssignedTargetingOptionDetails>,
    pub geo_region_details: Option<GeoRegionAssignedTargetingOptionDetails>,
    pub environment_details: Option<EnvironmentAssignedTargetingOptionDetails>,
    pub authorized_seller_status_details: Option<AuthorizedSellerStatusAssignedTargetingOptionDetails>,
    pub parental_status_details: Option<ParentalStatusAssignedTargetingOptionDetails>,
    pub carrier_and_isp_details: Option<CarrierAndIspAssignedTargetingOptionDetails>,
    pub digital_content_label_exclusion_details: Option<DigitalContentLabelAssignedTargetingOptionDetails>,
    pub category_details: Option<CategoryAssignedTargetingOptionDetails>,
    pub negative_keyword_list_details: Option<NegativeKeywordListAssignedTargetingOptionDetails>,
    pub inheritance: Option<String>,
    pub device_type_details: Option<DeviceTypeAssignedTargetingOptionDetails>,
    pub third_party_verifier_details: Option<ThirdPartyVerifierAssignedTargetingOptionDetails>,
    pub on_screen_position_details: Option<OnScreenPositionAssignedTargetingOptionDetails>,
    pub video_player_size_details: Option<VideoPlayerSizeAssignedTargetingOptionDetails>,
    pub content_instream_position_details: Option<ContentInstreamPositionAssignedTargetingOptionDetails>,
    pub audience_group_details: Option<AudienceGroupAssignedTargetingOptionDetails>,
    pub targeting_type: Option<String>,
    pub device_make_model_details: Option<DeviceMakeModelAssignedTargetingOptionDetails>,
    pub app_category_details: Option<AppCategoryAssignedTargetingOptionDetails>,
    pub assigned_targeting_option_id: Option<String>,
    pub inventory_source_details: Option<InventorySourceAssignedTargetingOptionDetails>,
    pub regional_location_list_details: Option<RegionalLocationListAssignedTargetingOptionDetails>,
    pub content_outstream_position_details: Option<ContentOutstreamPositionAssignedTargetingOptionDetails>,
    pub gender_details: Option<GenderAssignedTargetingOptionDetails>,
    pub name: Option<String>,
    pub channel_details: Option<ChannelAssignedTargetingOptionDetails>,
    pub age_range_details: Option<AgeRangeAssignedTargetingOptionDetails>,
    pub inventory_source_group_details: Option<InventorySourceGroupAssignedTargetingOptionDetails>,
    pub operating_system_details: Option<OperatingSystemAssignedTargetingOptionDetails>,
    pub sub_exchange_details: Option<SubExchangeAssignedTargetingOptionDetails>,
    pub household_income_details: Option<HouseholdIncomeAssignedTargetingOptionDetails>,
    pub user_rewarded_content_details: Option<UserRewardedContentAssignedTargetingOptionDetails>,
    pub sensitive_category_exclusion_details: Option<SensitiveCategoryAssignedTargetingOptionDetails>,
    pub viewability_details: Option<ViewabilityAssignedTargetingOptionDetails>,
}

A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.

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

exchange_details: Option<ExchangeAssignedTargetingOptionDetails>

Exchange details. This field will be populated when the TargetingType is TARGETING_TYPE_EXCHANGE.

proximity_location_list_details: Option<ProximityLocationListAssignedTargetingOptionDetails>

Proximity location list details. This field will be populated when the TargetingType is TARGETING_TYPE_PROXIMITY_LOCATION_LIST.

language_details: Option<LanguageAssignedTargetingOptionDetails>

Language details. This field will be populated when the TargetingType is TARGETING_TYPE_LANGUAGE.

url_details: Option<UrlAssignedTargetingOptionDetails>

URL details. This field will be populated when the TargetingType is TARGETING_TYPE_URL.

keyword_details: Option<KeywordAssignedTargetingOptionDetails>

Keyword details. This field will be populated when the TargetingType is TARGETING_TYPE_KEYWORD.

A maximum of 5000 direct negative keywords can be assigned to a line item. No limit on number of positive keywords that can be assigned.

day_and_time_details: Option<DayAndTimeAssignedTargetingOptionDetails>

Day and time details. This field will be populated when the TargetingType is TARGETING_TYPE_DAY_AND_TIME.

app_details: Option<AppAssignedTargetingOptionDetails>

App details. This field will be populated when the TargetingType is TARGETING_TYPE_APP.

browser_details: Option<BrowserAssignedTargetingOptionDetails>

Browser details. This field will be populated when the TargetingType is TARGETING_TYPE_BROWSER.

geo_region_details: Option<GeoRegionAssignedTargetingOptionDetails>

Geographic region details. This field will be populated when the TargetingType is TARGETING_TYPE_GEO_REGION.

environment_details: Option<EnvironmentAssignedTargetingOptionDetails>

Environment details. This field will be populated when the TargetingType is TARGETING_TYPE_ENVIRONMENT.

authorized_seller_status_details: Option<AuthorizedSellerStatusAssignedTargetingOptionDetails>

Authorized seller status details. This field will be populated when the TargetingType is TARGETING_TYPE_AUTHORIZED_SELLER_STATUS.

You can only target one authorized seller status option per line item.

If a line item doesn't have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default.

parental_status_details: Option<ParentalStatusAssignedTargetingOptionDetails>

Parental status details. This field will be populated when the TargetingType is TARGETING_TYPE_PARENTAL_STATUS.

carrier_and_isp_details: Option<CarrierAndIspAssignedTargetingOptionDetails>

Carrier and ISP details. This field will be populated when the TargetingType is TARGETING_TYPE_CARRIER_AND_ISP.

digital_content_label_exclusion_details: Option<DigitalContentLabelAssignedTargetingOptionDetails>

Digital content label details. This field will be populated when the TargetingType is TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION.

Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren't visible in line item settings). Line item settings can exclude content labels in addition to advertiser exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded.

category_details: Option<CategoryAssignedTargetingOptionDetails>

Category details. This field will be populated when the TargetingType is TARGETING_TYPE_CATEGORY.

Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence.

negative_keyword_list_details: Option<NegativeKeywordListAssignedTargetingOptionDetails>

Keyword details. This field will be populated when the TargetingType is TARGETING_TYPE_NEGATIVE_KEYWORD_LIST.

A maximum of 4 negative keyword lists can be assigned to a line item.

inheritance: Option<String>

Output only. The inheritance status of the assigned targeting option.

device_type_details: Option<DeviceTypeAssignedTargetingOptionDetails>

Device Type details. This field will be populated when the TargetingType is TARGETING_TYPE_DEVICE_TYPE.

third_party_verifier_details: Option<ThirdPartyVerifierAssignedTargetingOptionDetails>

Third party verification details. This field will be populated when the TargetingType is TARGETING_TYPE_THIRD_PARTY_VERIFIER.

on_screen_position_details: Option<OnScreenPositionAssignedTargetingOptionDetails>

On screen position details. This field will be populated when the TargetingType is TARGETING_TYPE_ON_SCREEN_POSITION.

video_player_size_details: Option<VideoPlayerSizeAssignedTargetingOptionDetails>

Video player size details. This field will be populated when the TargetingType is TARGETING_TYPE_VIDEO_PLAYER_SIZE.

content_instream_position_details: Option<ContentInstreamPositionAssignedTargetingOptionDetails>

Content instream position details. This field will be populated when the TargetingType is TARGETING_TYPE_CONTENT_INSTREAM_POSITION.

audience_group_details: Option<AudienceGroupAssignedTargetingOptionDetails>

Audience targeting details. This field will be populated when the TargetingType is TARGETING_TYPE_AUDIENCE_GROUP. You can only target one audience group option per line item.

targeting_type: Option<String>

Output only. Identifies the type of this assigned targeting option.

device_make_model_details: Option<DeviceMakeModelAssignedTargetingOptionDetails>

Device make and model details. This field will be populated when the TargetingType is TARGETING_TYPE_DEVICE_MAKE_MODEL.

app_category_details: Option<AppCategoryAssignedTargetingOptionDetails>

App category details. This field will be populated when the TargetingType is TARGETING_TYPE_APP_CATEGORY.

assigned_targeting_option_id: Option<String>

Output only. The unique ID of the assigned targeting option. The ID is only unique within a given line item and targeting type. It may be reused in other contexts.

inventory_source_details: Option<InventorySourceAssignedTargetingOptionDetails>

Inventory source details. This field will be populated when the TargetingType is TARGETING_TYPE_INVENTORY_SOURCE.

regional_location_list_details: Option<RegionalLocationListAssignedTargetingOptionDetails>

Regional location list details. This field will be populated when the TargetingType is TARGETING_TYPE_REGIONAL_LOCATION_LIST.

content_outstream_position_details: Option<ContentOutstreamPositionAssignedTargetingOptionDetails>

Content outstream position details. This field will be populated when the TargetingType is TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION.

gender_details: Option<GenderAssignedTargetingOptionDetails>

Gender details. This field will be populated when the TargetingType is TARGETING_TYPE_GENDER.

name: Option<String>

Output only. The resource name for this assigned targeting option.

channel_details: Option<ChannelAssignedTargetingOptionDetails>

Channel details. This field will be populated when the TargetingType is TARGETING_TYPE_CHANNEL.

age_range_details: Option<AgeRangeAssignedTargetingOptionDetails>

Age range details. This field will be populated when the TargetingType is TARGETING_TYPE_AGE_RANGE.

inventory_source_group_details: Option<InventorySourceGroupAssignedTargetingOptionDetails>

Inventory source group details. This field will be populated when the TargetingType is TARGETING_TYPE_INVENTORY_SOURCE_GROUP.

operating_system_details: Option<OperatingSystemAssignedTargetingOptionDetails>

Operating system details. This field will be populated when the TargetingType is TARGETING_TYPE_OPERATING_SYSTEM.

sub_exchange_details: Option<SubExchangeAssignedTargetingOptionDetails>

Sub-exchange details. This field will be populated when the TargetingType is TARGETING_TYPE_SUB_EXCHANGE.

household_income_details: Option<HouseholdIncomeAssignedTargetingOptionDetails>

Household income details. This field will be populated when the TargetingType is TARGETING_TYPE_HOUSEHOLD_INCOME.

user_rewarded_content_details: Option<UserRewardedContentAssignedTargetingOptionDetails>

User rewarded content details. This field will be populated when the TargetingType is TARGETING_TYPE_USER_REWARDED_CONTENT.

sensitive_category_exclusion_details: Option<SensitiveCategoryAssignedTargetingOptionDetails>

Sensitive category details. This field will be populated when the TargetingType is TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION.

Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible in line item settings). Line item settings can exclude sensitive categories in addition to advertiser exclusions, but can't override them.

viewability_details: Option<ViewabilityAssignedTargetingOptionDetails>

Viewability details. This field will be populated when the TargetingType is TARGETING_TYPE_VIEWABILITY.

You can only target one viewability option per line item.

Trait Implementations

impl Clone for AssignedTargetingOption[src]

impl Debug for AssignedTargetingOption[src]

impl Default for AssignedTargetingOption[src]

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

impl RequestValue for AssignedTargetingOption[src]

impl ResponseResult for AssignedTargetingOption[src]

impl Serialize for AssignedTargetingOption[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