The DCM/DFA Reporting and Trafficking API v2.7 is deprecated and will be sunset on November 30th, 2017. All users must migrate to a newer API version by that date.

Cities: list

Requires authorization

Retrieves a list of cities, possibly filtered.

Request

HTTP request

GET https://www.googleapis.com/dfareporting/v2.8/userprofiles/profileId/cities

Parameters

Parameter name Value Description
Path parameters
profileId long User profile ID associated with this request.
Optional query parameters
countryDartIds long Select only cities from these countries.
dartIds long Select only cities with these DART IDs.
namePrefix string Select only cities with names starting with this prefix.
regionDartIds long Select only cities from these regions.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/dfatrafficking

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "dfareporting#citiesListResponse",
  "cities": [
    cities Resource
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#citiesListResponse".
cities[] list City collection.

Send feedback about...

DoubleClick Campaign Manager
DoubleClick Campaign Manager