Struct google_adexchangebuyer2_v2_beta1::api::FilterSet[][src]

pub struct FilterSet {
    pub absolute_date_range: Option<AbsoluteDateRange>,
    pub breakdown_dimensions: Option<Vec<String>>,
    pub creative_id: Option<String>,
    pub deal_id: Option<String>,
    pub environment: Option<String>,
    pub format: Option<String>,
    pub formats: Option<Vec<String>>,
    pub name: Option<String>,
    pub platforms: Option<Vec<String>>,
    pub publisher_identifiers: Option<Vec<String>>,
    pub realtime_time_range: Option<RealtimeTimeRange>,
    pub relative_date_range: Option<RelativeDateRange>,
    pub seller_network_ids: Option<Vec<i32>>,
    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

absolute_date_range: Option<AbsoluteDateRange>

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

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.

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.

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.

format: Option<String>

Creative format bidded on or allowed to bid on, can be empty.

formats: Option<Vec<String>>

Creative formats bidded on or allowed to bid on, can be empty. Although this field is a list, it can only be populated with a single item. A HTTP 400 bad request error will be returned in the response if you specify multiple items.

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.

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).

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.

realtime_time_range: Option<RealtimeTimeRange>

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

relative_date_range: Option<RelativeDateRange>

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

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.

time_series_granularity: Option<String>

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

Trait Implementations

impl Clone for FilterSet[src]

impl Debug for FilterSet[src]

impl Default for FilterSet[src]

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

impl RequestValue for FilterSet[src]

impl ResponseResult for FilterSet[src]

impl Serialize for FilterSet[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> Instrument 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.