Enum gapi_grpc::google::ads::admob::v1::mediation_report_spec::Dimension[][src]

#[repr(i32)]pub enum Dimension {
    Unspecified,
    Date,
    Month,
    Week,
    AdSource,
    AdSourceInstance,
    AdUnit,
    App,
    MediationGroup,
    Country,
    Format,
    Platform,
}

The dimensions of the mediation report. Dimensions are data attributes to break down or refine the quantitative measurements (metrics) by certain attributes, such as the ad format or the platform an ad was viewed on.

Variants

Unspecified

Default value for an unset field. Do not use.

Date

A date in the YYYY-MM-DD format (for example, “2018-12-21”). Requests can specify at most one time dimension.

Month

A month in the YYYY-MM format (for example, “2018-12”). Requests can specify at most one time dimension.

Week

The date of the first day of a week in the YYYY-MM-DD format (for example, “2018-12-21”). Requests can specify at most one time dimension.

AdSource

The unique ID of the ad source (for example, “5450213213286189855” and “AdMob Network” as label value).

AdSourceInstance

The unique ID of the ad source instance (for example, “ca-app-pub-1234#5678” and “AdMob (default)” as label value).

AdUnit

The unique ID of the ad unit (for example, “ca-app-pub-1234/8790”). If AD_UNIT dimension is specified, then APP is included automatically.

App

The unique ID of the mobile application (for example, “ca-app-pub-1234~1234”).

MediationGroup

The unique ID of the mediation group (for example, “ca-app-pub-1234:mg:1234” and “AdMob (default)” as label value).

Country

CLDR country code of the place where the ad views/clicks occur (for example, “US” or “FR”). This is a geography dimension.

Format

Format of the ad unit (for example, “banner”, “native”), an ad delivery dimension.

Platform

Mobile OS platform of the app (for example, “Android” or “iOS”).

Implementations

impl Dimension[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Dimension.

pub fn from_i32(value: i32) -> Option<Dimension>[src]

Converts an i32 to a Dimension, or None if value is not a valid variant.

Trait Implementations

impl Clone for Dimension[src]

impl Copy for Dimension[src]

impl Debug for Dimension[src]

impl Default for Dimension[src]

impl Eq for Dimension[src]

impl From<Dimension> for i32[src]

impl Hash for Dimension[src]

impl Ord for Dimension[src]

impl PartialEq<Dimension> for Dimension[src]

impl PartialOrd<Dimension> for Dimension[src]

impl StructuralEq for Dimension[src]

impl StructuralPartialEq for Dimension[src]

Auto Trait Implementations

impl RefUnwindSafe for Dimension

impl Send for Dimension

impl Sync for Dimension

impl Unpin for Dimension

impl UnwindSafe for Dimension

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]