API - Unable to set aggressive automated targeting and custom bid

23 views
Skip to first unread message

Jérémie - SEPM

unread,
Feb 13, 2019, 11:27:06 AM2/13/19
to AdWords API and Google Ads API Forum
Hello everybody.

I use the API to automatically create ads on search and display network.
No problem with that.

But for my display campaigns, I want to enable
1) the aggressive automated targeting

2) the custom bid to "Keywords"
These both options could be find in the settings of an AdGroup of the UI.
But my searches for these options in the API failed.
I tried to set the CriterionTypeGroup::KEYWORD of TargetingSettingDetail but I got an exception :

Caught exception: [SettingError.TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP @ operations[0].operand.settings[0]; trigger:'KEYWORD']

Someone can help me ?

Thanks a lot.

googleadsapi...@google.com

unread,
Feb 13, 2019, 5:05:48 PM2/13/19
to AdWords API and Google Ads API Forum
Hello, 

Please find my response below:

But for my display campaigns, I want to enable
1) the aggressive automated targeting
The aggressive automated targeting is not yet supported through the API. You will be able to pull the metrics using the criteria ID of 3000006 which represents stats associated with aggressive auto-targeting.

2) the custom bid to "Keywords"
These both options could be find in the settings of an AdGroup of the UI.
But my searches for these options in the API failed.
I tried to set the CriterionTypeGroup::KEYWORD of TargetingSettingDetail but I got an exception :
Could you please share the API SOAP logs where you're receiving this exception, so I can take a look? Please refer to the readMe section of the client library for guidance on how to enable logging. You can reply back via Reply privately to author option.

Regards,
Bharani, AdWords 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages