Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: customers.geographicViews

Resource: GeographicView

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.

JSON representation
{
  "resourceName": string,
  "locationType": enum (GeoTargetingType),
  "countryCriterionId": string
}
Fields
resourceName

string

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

customers/{customerId}/geographicViews/{countryCriterionId}~{locationType}

locationType

enum (GeoTargetingType)

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

countryCriterionId

string (int64 format)

Output only. Criterion Id for the country.

GeoTargetingType

The possible geo targeting types.

Enums
UNSPECIFIED Not specified.
UNKNOWN The value is unknown in this version.
AREA_OF_INTEREST Location the user is interested in while making the query.
LOCATION_OF_PRESENCE Location of the user issuing the query.

Methods

get

Returns the requested geographic view in full detail.