Set audience targetAll Python

15 views
Skip to first unread message

Green Leaf

unread,
Jun 22, 2020, 1:27:40 AM6/22/20
to AdWords API and Google Ads API Forum
Hi

I'm trying to set an ad group audience targeting to observation or target and I just can't work out how to do it - https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupService.TargetingSettingDetail.

I'm using Python.

Can anyone help with a snippet of code?

Many thanks

Google Ads API Forum Advisor Prod

unread,
Jun 22, 2020, 10:02:13 AM6/22/20
to cfc.d...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out. Please see this example for how to set the settings of a specific ad group. For audience targeting, you would set the criterionTypeGroup to USER_INTEREST_AND_LIST.

Regards,
Mitchell
Google Ads API Team

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