Campaign Manager 360 API . metros

Instance Methods

close()

Close httplib2 connections.

list(profileId, x__xgafv=None)

Retrieves a list of metros.

Method Details

close()
Close httplib2 connections.
list(profileId, x__xgafv=None)
Retrieves a list of metros.

Args:
  profileId: string, User profile ID associated with this request. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Metro List Response
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse".
  "metros": [ # Metro collection.
    { # Contains information about a metro region that can be targeted by ads.
      "countryCode": "A String", # Country code of the country to which this metro region belongs.
      "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
      "dartId": "A String", # DART ID of this metro region.
      "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
      "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
      "name": "A String", # Name of this metro region.
    },
  ],
}