Hi Tim, 

You need to use CampaignCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201702/CampaignCriterionService>
 to 
add negative Vertical 
<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.Vertical>
 criteria 
using the set of category IDs listed here 
<https://developers.google.com/adwords/api/docs/appendix/verticals> to 
exclude a particular topic. You can also use this service to retrieve the 
topic exclusions at the campaign level. You can refer the 
GetCampaignTargetingCriteria 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/targeting/GetCampaignTargetingCriteria.java>
 Java 
example which shows how to retrieve campaign criteria. You need to modify 
the predicate 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/targeting/GetCampaignTargetingCriteria.java#L79>
 to 
get VERTICAL criteria. The AddCampaignTargetingCriteria 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/targeting/AddCampaignTargetingCriteria.java>
 Java 
example shows how to add different targeting criteria to a campaign. 
Example code in other languages is provided here 
<https://developers.google.com/adwords/api/docs/clientlibraries>.

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12f3f4b1-ea10-418d-b690-ff1215b2ce3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Topic exclusion... 'Tim Tsai' via AdWords API Forum
    • Re: Topic ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to