Opt out of showing the Ads on Games content using Adwords API.

32 views
Skip to first unread message

vibhesh kaul

unread,
Mar 22, 2019, 4:46:30 PM3/22/19
to AdWords API and Google Ads API Forum
Hi,

I would like to exclude games from the campaigns I create using the API, as most of the games place the ads where people click them by mistake. I am able to do it from the UI but would like to know how to do it from the API. Please refer to the attached image to better understand what I want to achieve. 
I would like to opt out of  showing my Ad campaigns on Games content type. Would greatly appreciate your help. Thank you!

games.png

I'm using C# language to make API calls. It'd be really great if I could get the help to make it possible in the campaigns I create using the API.  

googleadsapi...@google.com

unread,
Mar 24, 2019, 11:50:09 PM3/24/19
to adwor...@googlegroups.com
Hi Vibhesh,

You can add a ContentLabel criterion of contentLabelType = GAMES as a NegativeCampaignCriterion to exclude them from your campaign's ads. We currently have no C# code to directly add a ContentLabel negative criterion, however, you can refer to this example on how to add criteria (includes negative criteria) into your campaigns.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
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/14b29054-7977-4d8a-b05f-fc9bbc4048a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages