Struct TargetingOption

Source
pub struct TargetingOption {
Show 36 fields pub age_range_details: Option<AgeRangeTargetingOptionDetails>, pub app_category_details: Option<AppCategoryTargetingOptionDetails>, pub audio_content_type_details: Option<AudioContentTypeTargetingOptionDetails>, pub authorized_seller_status_details: Option<AuthorizedSellerStatusTargetingOptionDetails>, pub browser_details: Option<BrowserTargetingOptionDetails>, pub business_chain_details: Option<BusinessChainTargetingOptionDetails>, pub carrier_and_isp_details: Option<CarrierAndIspTargetingOptionDetails>, pub category_details: Option<CategoryTargetingOptionDetails>, pub content_duration_details: Option<ContentDurationTargetingOptionDetails>, pub content_genre_details: Option<ContentGenreTargetingOptionDetails>, pub content_instream_position_details: Option<ContentInstreamPositionTargetingOptionDetails>, pub content_outstream_position_details: Option<ContentOutstreamPositionTargetingOptionDetails>, pub content_stream_type_details: Option<ContentStreamTypeTargetingOptionDetails>, pub device_make_model_details: Option<DeviceMakeModelTargetingOptionDetails>, pub device_type_details: Option<DeviceTypeTargetingOptionDetails>, pub digital_content_label_details: Option<DigitalContentLabelTargetingOptionDetails>, pub environment_details: Option<EnvironmentTargetingOptionDetails>, pub exchange_details: Option<ExchangeTargetingOptionDetails>, pub gender_details: Option<GenderTargetingOptionDetails>, pub geo_region_details: Option<GeoRegionTargetingOptionDetails>, pub household_income_details: Option<HouseholdIncomeTargetingOptionDetails>, pub language_details: Option<LanguageTargetingOptionDetails>, pub name: Option<String>, pub native_content_position_details: Option<NativeContentPositionTargetingOptionDetails>, pub omid_details: Option<OmidTargetingOptionDetails>, pub on_screen_position_details: Option<OnScreenPositionTargetingOptionDetails>, pub operating_system_details: Option<OperatingSystemTargetingOptionDetails>, pub parental_status_details: Option<ParentalStatusTargetingOptionDetails>, pub poi_details: Option<PoiTargetingOptionDetails>, pub sensitive_category_details: Option<SensitiveCategoryTargetingOptionDetails>, pub sub_exchange_details: Option<SubExchangeTargetingOptionDetails>, pub targeting_option_id: Option<String>, pub targeting_type: Option<String>, pub user_rewarded_content_details: Option<UserRewardedContentTargetingOptionDetails>, pub video_player_size_details: Option<VideoPlayerSizeTargetingOptionDetails>, pub viewability_details: Option<ViewabilityTargetingOptionDetails>,
}
Expand description

Represents a single targeting option, which is a targetable concept in DV360.

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

§age_range_details: Option<AgeRangeTargetingOptionDetails>

Age range details.

§app_category_details: Option<AppCategoryTargetingOptionDetails>

App category details.

§audio_content_type_details: Option<AudioContentTypeTargetingOptionDetails>

Audio content type details.

§authorized_seller_status_details: Option<AuthorizedSellerStatusTargetingOptionDetails>

Authorized seller status resource details.

§browser_details: Option<BrowserTargetingOptionDetails>

Browser details.

§business_chain_details: Option<BusinessChainTargetingOptionDetails>

Business chain resource details.

§carrier_and_isp_details: Option<CarrierAndIspTargetingOptionDetails>

Carrier and ISP details.

§category_details: Option<CategoryTargetingOptionDetails>

Category resource details.

§content_duration_details: Option<ContentDurationTargetingOptionDetails>

Content duration resource details.

§content_genre_details: Option<ContentGenreTargetingOptionDetails>

Content genre resource details.

§content_instream_position_details: Option<ContentInstreamPositionTargetingOptionDetails>

Content instream position details.

§content_outstream_position_details: Option<ContentOutstreamPositionTargetingOptionDetails>

Content outstream position details.

§content_stream_type_details: Option<ContentStreamTypeTargetingOptionDetails>

Content stream type resource details.

§device_make_model_details: Option<DeviceMakeModelTargetingOptionDetails>

Device make and model resource details.

§device_type_details: Option<DeviceTypeTargetingOptionDetails>

Device type details.

§digital_content_label_details: Option<DigitalContentLabelTargetingOptionDetails>

Digital content label details.

§environment_details: Option<EnvironmentTargetingOptionDetails>

Environment details.

§exchange_details: Option<ExchangeTargetingOptionDetails>

Exchange details.

§gender_details: Option<GenderTargetingOptionDetails>

Gender details.

§geo_region_details: Option<GeoRegionTargetingOptionDetails>

Geographic region resource details.

§household_income_details: Option<HouseholdIncomeTargetingOptionDetails>

Household income details.

§language_details: Option<LanguageTargetingOptionDetails>

Language resource details.

§name: Option<String>

Output only. The resource name for this targeting option.

§native_content_position_details: Option<NativeContentPositionTargetingOptionDetails>

Native content position details.

§omid_details: Option<OmidTargetingOptionDetails>

Open Measurement enabled inventory details.

§on_screen_position_details: Option<OnScreenPositionTargetingOptionDetails>

On screen position details.

§operating_system_details: Option<OperatingSystemTargetingOptionDetails>

Operating system resources details.

§parental_status_details: Option<ParentalStatusTargetingOptionDetails>

Parental status details.

§poi_details: Option<PoiTargetingOptionDetails>

POI resource details.

§sensitive_category_details: Option<SensitiveCategoryTargetingOptionDetails>

Sensitive Category details.

§sub_exchange_details: Option<SubExchangeTargetingOptionDetails>

Sub-exchange details.

§targeting_option_id: Option<String>

Output only. A unique identifier for this targeting option. The tuple {targeting_type, targeting_option_id} will be unique.

§targeting_type: Option<String>

Output only. The type of this targeting option.

§user_rewarded_content_details: Option<UserRewardedContentTargetingOptionDetails>

User rewarded content details.

§video_player_size_details: Option<VideoPlayerSizeTargetingOptionDetails>

Video player size details.

§viewability_details: Option<ViewabilityTargetingOptionDetails>

Viewability resource details.

Trait Implementations§

Source§

impl Clone for TargetingOption

Source§

fn clone(&self) -> TargetingOption

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TargetingOption

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TargetingOption

Source§

fn default() -> TargetingOption

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

impl<'de> Deserialize<'de> for TargetingOption

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for TargetingOption

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl ResponseResult for TargetingOption

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,