Struct gapi_grpc::google::ads::googleads::v4::resources::GeographicView[][src]

pub struct GeographicView {
    pub resource_name: String,
    pub location_type: i32,
    pub country_criterion_id: Option<i64>,
}

A geographic view.

Geographic View includes all metrics aggregated at the country level, one row per country. It reports metrics at either actual physical location of the user or an area of interest. If other segment fields are used, you may get more than one row per country.

Fields

resource_name: String

Output only. The resource name of the geographic view. Geographic view resource names have the form:

customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}

location_type: i32

Output only. Type of the geo targeting of the campaign.

country_criterion_id: Option<i64>

Output only. Criterion Id for the country.

Implementations

impl GeographicView[src]

pub fn location_type(&self) -> GeoTargetingType[src]

Returns the enum value of location_type, or the default if the field is set to an invalid enum value.

pub fn set_location_type(&mut self, value: GeoTargetingType)[src]

Sets location_type to the provided enum value.

Trait Implementations

impl Clone for GeographicView[src]

impl Debug for GeographicView[src]

impl Default for GeographicView[src]

impl Message for GeographicView[src]

impl PartialEq<GeographicView> for GeographicView[src]

impl StructuralPartialEq for GeographicView[src]

Auto Trait Implementations

impl RefUnwindSafe for GeographicView

impl Send for GeographicView

impl Sync for GeographicView

impl Unpin for GeographicView

impl UnwindSafe for GeographicView

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> 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]