pub struct FirstAndThirdPartyAudience {
Show 18 fields pub active_display_audience_size: Option<i64>, pub app_id: Option<String>, pub audience_source: Option<String>, pub audience_type: Option<String>, pub contact_info_list: Option<ContactInfoList>, pub description: Option<String>, pub display_audience_size: Option<i64>, pub display_desktop_audience_size: Option<i64>, pub display_mobile_app_audience_size: Option<i64>, pub display_mobile_web_audience_size: Option<i64>, pub display_name: Option<String>, pub first_and_third_party_audience_id: Option<i64>, pub first_and_third_party_audience_type: Option<String>, pub gmail_audience_size: Option<i64>, pub membership_duration_days: Option<i64>, pub mobile_device_id_list: Option<MobileDeviceIdList>, pub name: Option<String>, pub youtube_audience_size: Option<i64>,
}
Expand description

Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.

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

§active_display_audience_size: Option<i64>

Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.

§app_id: Option<String>

The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type CUSTOMER_MATCH_DEVICE_ID

§audience_source: Option<String>

Output only. The source of the audience.

§audience_type: Option<String>

The type of the audience.

§contact_info_list: Option<ContactInfoList>

Input only. A list of contact information to define the initial audience members. Only applicable to audience_type CUSTOMER_MATCH_CONTACT_INFO

§description: Option<String>

The user-provided description of the audience. Only applicable to first party audiences.

§display_audience_size: Option<i64>

Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.

§display_desktop_audience_size: Option<i64>

Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.

§display_mobile_app_audience_size: Option<i64>

Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.

§display_mobile_web_audience_size: Option<i64>

Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.

§display_name: Option<String>

The display name of the first and third party audience.

§first_and_third_party_audience_id: Option<i64>

Output only. The unique ID of the first and third party audience. Assigned by the system.

§first_and_third_party_audience_type: Option<String>

Whether the audience is a first or third party audience.

§gmail_audience_size: Option<i64>

Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.

§membership_duration_days: Option<i64>

The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * CUSTOMER_MATCH_CONTACT_INFO * CUSTOMER_MATCH_DEVICE_ID

§mobile_device_id_list: Option<MobileDeviceIdList>

Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type CUSTOMER_MATCH_DEVICE_ID

§name: Option<String>

Output only. The resource name of the first and third party audience.

§youtube_audience_size: Option<i64>

Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.

Trait Implementations§

source§

impl Clone for FirstAndThirdPartyAudience

source§

fn clone(&self) -> FirstAndThirdPartyAudience

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 FirstAndThirdPartyAudience

source§

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

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

impl Default for FirstAndThirdPartyAudience

source§

fn default() -> FirstAndThirdPartyAudience

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

impl<'de> Deserialize<'de> for FirstAndThirdPartyAudience

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 FirstAndThirdPartyAudience

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 RequestValue for FirstAndThirdPartyAudience

source§

impl Resource for FirstAndThirdPartyAudience

source§

impl ResponseResult for FirstAndThirdPartyAudience

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> 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> ToOwned for T
where T: Clone,

§

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

§

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

§

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