You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
How to target location across campaigns adwords api? I am creating my campaign using campaignService.. The newly created campaign location is always
All countries and territories, I want it to be United States.
Bharani Cherukuri (AdWords API Team)
unread,
Oct 12, 2017, 3:03:36 PM10/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hello Roger,
You can target campaigns to a specific region, which can be a geographical region based on the location targeting. Each targetable location is uniquely identified by the Criterion ID. You will have to use the CampaignCriterionService with the criterion type as Location. In the Location object, you can set the ID of the criteria (for USA, the location ID is 2840) based on the targeting table. To exclude geo targets, you can use NegativeCampaignCriterion. You may refer to this guide and the code snippet for additional guidance. You can also refer to the code sample in Java here. Code samples in other languages are available here.