Close httplib2 connections.
Retrieves a list of cities, possibly filtered.
close()
Close httplib2 connections.
list(profileId, countryDartIds=None, dartIds=None, namePrefix=None, regionDartIds=None, x__xgafv=None)
Retrieves a list of cities, possibly filtered. Args: profileId: string, User profile ID associated with this request. (required) countryDartIds: string, Select only cities from these countries. (repeated) dartIds: string, Select only cities with these DART IDs. (repeated) namePrefix: string, Select only cities with names starting with this prefix. regionDartIds: string, Select only cities from these regions. (repeated) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # City List Response "cities": [ # City collection. { # Contains information about a city that can be targeted by ads. "countryCode": "A String", # Country code of the country to which this city belongs. "countryDartId": "A String", # DART ID of the country to which this city belongs. "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city". "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs. "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs. "name": "A String", # Name of this city. "regionCode": "A String", # Region code of the region to which this city belongs. "regionDartId": "A String", # DART ID of the region to which this city belongs. }, ], "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#citiesListResponse". }