Hi,
When I create a campaign I use the below to set my target to the US and
language to English. But I also want to use what in the UI is
called Presence: People in or regularly in your targeted locations in the
Location options in settings. How do I do with the python API?
Thanks
united_states = {
*'xsi_type'*: *'Location'*,
*'id'*: *'2840'*
}
english = {
*'xsi_type'*: *'Language'*,
*'id'*: *'1000'*
}
criteria = [united_states, english]
operations = []
for criterion in criteria:
operations.append({
*'operator'*: *'ADD'*,
*'operand'*: {
*'campaignId'*: campaign_id,
*'criterion'*: criterion
}
})
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1d9f18b3-f135-44ec-8f17-63f9f9b73aban%40googlegroups.com.