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

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

The metrics of the network 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 ad requests. The value is an integer.

Warning: The metric is incompatible with AD_TYPE dimension.

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.

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.

ImpressionRpm

The estimated earnings per thousand ad impressions. The value is in micros. For example, $1.03 would be represented as 1030000.

Warning: The metric is incompatible with AD_TYPE dimension.

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.

Warning: The metric is incompatible with AD_TYPE dimension.

ShowRate

The ratio of ads that are displayed over ads that are returned, defined as impressions / matched requests. The value is a double precision (approximate) decimal value.

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]