Learn more about migrating to the Google Ads API by watching our latest webinar

GeoTargetConstantService

Service to fetch geo target constants.

GetGeoTargetConstant

rpc GetGeoTargetConstant(GetGeoTargetConstantRequest) returns (GeoTargetConstant)

Returns the requested geo target constant in full detail.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.

SuggestGeoTargetConstants

rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse)

Returns GeoTargetConstant suggestions by location name or by resource name.

List of thrown errors: AuthenticationError AuthorizationError GeoTargetConstantSuggestionError HeaderError InternalError QuotaError RequestError

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.