-
Notifications
You must be signed in to change notification settings - Fork 509
Closed
Labels
P0Serious breaking issue affecting many/all usersSerious breaking issue affecting many/all usersbugSomething isn't workingSomething isn't working
Description
The get_type() method with a 'StringValue' argument is throwing an error for me in all the code examples
def map_locations_to_string_values(client, location_ids):
gtc_service = client.get_service('GeoTargetConstantService', version='v2')
locations = []
for location_id in location_ids:
location = client.get_type('StringValue', version='v2')
location.value = gtc_service.geo_target_constant_path(location_id)
locations.append(location)
return locations
The error:
get_type raise ValueError(f'Specified type "{name}" does not exist in Google Ads ' ValueError: Specified type "StringValue" does not exist in Google Ads API v2
Metadata
Metadata
Assignees
Labels
P0Serious breaking issue affecting many/all usersSerious breaking issue affecting many/all usersbugSomething isn't workingSomething isn't working