Hi,
Thanks for reaching out to the Google Ads API Forum.
There is no separate limits for using GeoTargetConstantService.SuggestGeoTargetConstants
POST https://googleads.googleapis.com/v12/geoTargetConstants:suggest
You may see this guide for the limits on API operations, such as the number of operations that can be sent in a single mutate request. A Search or SearchStream request counts as one operation against the user's daily operation quota. One SearchStream request counts as one API operation irrespective of the number of batches.
Note that for the search stream API calls, you may send 15,000 API operations per day for Operations with Basic Access, and unlimited operations for Standard access.
However, you can also dynamically look up some constants using the Google Ads Query Language. You may use GoogleAdsService.Search or GoogleAdsService.SearchStream to get any report. You may use this code example for reporting examples. Also, you may see how to look up a location by its resource name or by its display name.
Look up Mountain View, CA, by its resource name geoTargetConstants/1014044.
SELECT geo_target_constant.canonical_name,
geo_target_constant.country_code,
geo_target_constant.status,
geo_target_constant.target_type
FROM geo_target_constant
WHERE geo_target_constant.resource_name = 'geoTargetConstants/1014044'
Look up "Mountain View" as a city name in the United States.
SELECT geo_target_constant.canonical_name,
geo_target_constant.country_code,
geo_target_constant.status,
geo_target_constant.target_type
FROM geo_target_constant
WHERE geo_target_constant.country_code = 'US'
AND geo_target_constant.target_type = 'City'
AND geo_target_constant.name = 'Mountain View'
AND geo_target_constant.status = 'ENABLED'
Following are the two endpoints to fetch the objects from Google Ads:
|
POST /v12/customers/{customerId}/googleAds:search Returns all rows that match the search query. |
|
|
POST /v12/customers/{customerId}/googleAds:searchStream Returns all rows that match the search stream query. |
Let us know if you have any questions.
Regards,
|
||||||