dfareporting.cities.list

GET {{baseUrl}}/userprofiles/:profileId/cities?countryDartIds=<string>&countryDartIds=<string>&dartIds=<string>&dartIds=<string>&namePrefix=<string>&regionDartIds=<string>&regionDartIds=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Retrieves a list of cities, possibly filtered.

Request Params

KeyDatatypeRequiredDescription
countryDartIdsstringSelect only cities from these countries.
countryDartIdsstringSelect only cities from these countries.
dartIdsstringSelect only cities with these DART IDs.
dartIdsstringSelect only cities with these DART IDs.
namePrefixstringSelect only cities with names starting with this prefix.
regionDartIdsstringSelect only cities from these regions.
regionDartIdsstringSelect only cities from these regions.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;cities&quot;:[{&quot;countryCode&quot;:&quot;ad consequat&quot;,&quot;countryDartId&quot;:&quot;veniam do dolor&quot;,&quot;dartId&quot;:&quot;sed c&quot;,&quot;kind&quot;:&quot;ad incididunt aliqua deserunt&quot;,&quot;metroCode&quot;:&quot;dolore&quot;,&quot;metroDmaId&quot;:&quot;eiusmod tempor&quot;,&quot;name&quot;:&quot;sit dolor voluptate&quot;,&quot;regionCode&quot;:&quot;adipisicing ad&quot;,&quot;regionDartId&quot;:&quot;reprehenderit mollit&quot;},{&quot;countryCode&quot;:&quot;aute minim&quot;,&quot;countryDartId&quot;:&quot;eiusmod offici&quot;,&quot;dartId&quot;:&quot;nostrud&quot;,&quot;kind&quot;:&quot;quis anim consequat velit&quot;,&quot;metroCode&quot;:&quot;in aliqua ex&quot;,&quot;metroDmaId&quot;:&quot;dolor culpa ipsum nisi&quot;,&quot;name&quot;:&quot;dolor ali&quot;,&quot;regionCode&quot;:&quot;enim&quot;,&quot;regionDartId&quot;:&quot;sed culpa incididunt in&quot;}],&quot;kind&quot;:&quot;Duis dolo&quot;}