Google_Service_Dfareporting_Cities_Resource

The "cities" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Dfareporting.php  
  1. class Google_Service_Dfareporting_Cities_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves a list of cities, possibly filtered. (cities.listCities) 
  5. * @param string $profileId User profile ID associated with this request. 
  6. * @param array $optParams Optional parameters. 
  7. * @opt_param string dartIds Select only cities with these DART IDs. 
  8. * @opt_param string namePrefix Select only cities with names starting with this 
  9. * prefix. 
  10. * @opt_param string regionDartIds Select only cities from these regions. 
  11. * @opt_param string countryDartIds Select only cities from these countries. 
  12. * @return Google_Service_Dfareporting_CitiesListResponse 
  13. */ 
  14. public function listCities($profileId, $optParams = array()) 
  15. $params = array('profileId' => $profileId); 
  16. $params = array_merge($params, $optParams); 
  17. return $this->call('list', array($params), "Google_Service_Dfareporting_CitiesListResponse");