I'm having a problem where I'm trying to create an asset_set through the
API using Python.
The code looks like this:
business_profile_location_set =
client.get_type("BusinessProfileLocationSet")
business_profile_location_set.http_authorization_token = 'OMITTED'
business_profile_location_set.email_address = 'OMITTED'
location_set.business_profile_location_set.CopyFrom(business_profile_location_set)
asset_set.location_set.CopyFrom(location_set)
The error I get:
errors {
error_code {
field_error: REQUIRED
}
message: "The required field was not present."
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "location_set"
}
field_path_elements {
field_name: "business_profile_location_set"
}
}
}
Although business_profile_location_set clearly is set.
Is there anything to do about this?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/adwords-api/c74adced-b860-4324-82fd-b02c60d5e615n%40googlegroups.com.