[][src]Struct google_adexchangebuyer2_v2_beta1::FilterSet

pub struct FilterSet {
    pub name: Option<String>,
    pub seller_network_ids: Option<Vec<i32>>,
    pub relative_date_range: Option<RelativeDateRange>,
    pub publisher_identifiers: Option<Vec<String>>,
    pub breakdown_dimensions: Option<Vec<String>>,
    pub realtime_time_range: Option<RealtimeTimeRange>,
    pub deal_id: Option<String>,
    pub environment: Option<String>,
    pub platforms: Option<Vec<String>>,
    pub absolute_date_range: Option<AbsoluteDateRange>,
    pub formats: Option<Vec<String>>,
    pub creative_id: Option<String>,
    pub time_series_granularity: Option<String>,
}

A set of filters that is applied to a request for data. Within a filter set, an AND operation is performed across the filters represented by each field. An OR operation is performed across the filters represented by the multiple values of a repeated field, e.g., "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR seller_network_id=56)".

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

name: Option<String>

A user-defined name of the filter set. Filter set names must be unique globally and match one of the patterns:

  • bidders/*/filterSets/* (for accessing bidder-level troubleshooting data)
  • bidders/*/accounts/*/filterSets/* (for accessing account-level troubleshooting data)

This field is required in create operations.

seller_network_ids: Option<Vec<i32>>

For Authorized Buyers only. The list of IDs of the seller (publisher) networks on which to filter; may be empty. The filters represented by multiple seller network IDs are ORed together (i.e., if non-empty, results must match any one of the publisher networks). See seller-network-ids file for the set of existing seller network IDs.

relative_date_range: Option<RelativeDateRange>

A relative date range, defined by an offset from today and a duration. Interpreted relative to Pacific time zone.

publisher_identifiers: Option<Vec<String>>

For Open Bidding partners only. The list of publisher identifiers on which to filter; may be empty. The filters represented by multiple publisher identifiers are ORed together.

breakdown_dimensions: Option<Vec<String>>

The set of dimensions along which to break down the response; may be empty. If multiple dimensions are requested, the breakdown is along the Cartesian product of the requested dimensions.

realtime_time_range: Option<RealtimeTimeRange>

An open-ended realtime time range, defined by the aggregation start timestamp.

deal_id: Option<String>

The ID of the deal on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, i.e., one whose name matches the bidders/*/accounts/*/filterSets/* pattern.

environment: Option<String>

The environment on which to filter; optional.

platforms: Option<Vec<String>>

The list of platforms on which to filter; may be empty. The filters represented by multiple platforms are ORed together (i.e., if non-empty, results must match any one of the platforms).

absolute_date_range: Option<AbsoluteDateRange>

An absolute date range, defined by a start date and an end date. Interpreted relative to Pacific time zone.

formats: Option<Vec<String>>

The list of formats on which to filter; may be empty. The filters represented by multiple formats are ORed together (i.e., if non-empty, results must match any one of the formats).

creative_id: Option<String>

The ID of the creative on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, i.e., one whose name matches the bidders/*/accounts/*/filterSets/* pattern.

time_series_granularity: Option<String>

The granularity of time intervals if a time series breakdown is desired; optional.

Trait Implementations

impl ResponseResult for FilterSet[src]

impl RequestValue for FilterSet[src]

impl Default for FilterSet[src]

impl Clone for FilterSet[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for FilterSet[src]

impl Serialize for FilterSet[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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