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

#[repr(i32)]pub enum Metric {
    Unspecified,
    AdRequests,
    Clicks,
    EstimatedEarnings,
    Impressions,
    ImpressionCtr,
    MatchedRequests,
    MatchRate,
    ObservedEcpm,
}

The metrics of the mediation report. Metrics are quantitative measurements indicating how the publisher business is performing. They are aggregated from the individual ad events and grouped by the report dimensions. The metric value is either integer, or decimal (without rounding).

Variants

Unspecified

Default value for an unset field. Do not use.

AdRequests

The number of requests. The value is an integer.

Clicks

The number of times a user clicks an ad. The value is an integer.

EstimatedEarnings

The estimated earnings of the AdMob publisher. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $6.50 would be represented as 6500000.

Estimated earnings per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated earnings will show 0 for dates prior to October 20, 2019.

Impressions

The total number of ads shown to users. The value is an integer.

ImpressionCtr

The ratio of clicks over impressions. The value is a double precision (approximate) decimal value.

MatchedRequests

The number of times ads are returned in response to a request. The value is an integer.

MatchRate

The ratio of matched ad requests over the total ad requests. The value is a double precision (approximate) decimal value.

ObservedEcpm

The third-party ad network’s estimated average eCPM. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $2.30 would be represented as 2300000.

The estimated average eCPM per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated average eCPM will show 0 for dates prior to October 20, 2019.

Implementations

impl Metric[src]

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

Returns true if value is a variant of Metric.

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

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

Trait Implementations

impl Clone for Metric[src]

impl Copy for Metric[src]

impl Debug for Metric[src]

impl Default for Metric[src]

impl Eq for Metric[src]

impl From<Metric> for i32[src]

impl Hash for Metric[src]

impl Ord for Metric[src]

impl PartialEq<Metric> for Metric[src]

impl PartialOrd<Metric> for Metric[src]

impl StructuralEq for Metric[src]

impl StructuralPartialEq for Metric[src]

Auto Trait Implementations

impl RefUnwindSafe for Metric

impl Send for Metric

impl Sync for Metric

impl Unpin for Metric

impl UnwindSafe for Metric

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]