How to create dynamic ad target for Dynamic Search Ads Adgroup using Google Ads API Python?

30 views
Skip to first unread message

Ameya Linge

unread,
Jun 15, 2020, 9:20:02 AM6/15/20
to AdWords API and Google Ads API Forum
dsa-question.png

Google Ads API Forum Advisor Prod

unread,
Jun 15, 2020, 3:28:46 PM6/15/20
to am...@keywordio.com, adwor...@googlegroups.com

Hi Ameya,

Thanks for reaching out.  You can use the AdGroupCriterionService.MutateAdGroupCriterion using AdgrouCriterionOpration for adding ad group criterion. We do not have an exact sample code example but you may refer to this code example to add targeting criterion but replacing it with the AdGroupCriterionopration instead of CampaignCriterionOperation.

Let me know if you have any questions.

Thanks,
Nirmita Patel Google Ads Team
 

ref:_00D1U1174p._5004Q20YvOg:ref
Reply all
Reply to author
Forward
0 new messages