getting targeting settings via API

16 views
Skip to first unread message

roi

unread,
Sep 3, 2015, 8:56:19 AM9/3/15
to AdWords API Forum
Hi,
I'm trying to programatically get the targeting setting ("target and bid" or "bid only") for criterias (age,placement...) via the API.
I get it from the AdGroup.settings field.
I manage to get the settings only if I edit the targeting settings in the UI.
Any ides what to look for?

Thanks,


This e-mail, as well as any attached document, may contain material which is confidential and privileged and may include trademark, copyright and other intellectual property rights that are proprietary to Kenshoo Ltd,  its subsidiaries or affiliates ("Kenshoo"). This e-mail and its attachments may be read, copied and used only by the addressee for the purpose(s) for which it was disclosed herein. If you have received it in error, please destroy the message and any attachment, and contact us immediately. If you are not the intended recipient, be aware that any review, reliance, disclosure, copying, distribution or use of the contents of this message without Kenshoo's express permission is strictly prohibited.

Anthony Madrigal

unread,
Sep 3, 2015, 11:53:11 AM9/3/15
to AdWords API Forum
Hi,

You could use the field targetAll located in the field TargetingSettingDetail using the AdGroupService. You should set targetAll to true for "Target and bid" and false for "Bid only".

Cheers,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages