Could we change the target roas at ad group level via api?

403 views
Skip to first unread message

Congchong Liu

unread,
Oct 31, 2019, 12:34:58 PM10/31/19
to AdWords API and Google Ads API Forum
We try to change the target roas at ad group level. But the api respond that OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE. We also find a note in this doc https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupService.BiddingStrategyConfiguration.html
Note: Starting with v201705, bidding strategies can only be set on campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad group criteria.
Does it mean that we can only change the target roas at ad group level via UI? Anyone has successfully changed the target roas at ad group level via api?

cliu

unread,
Oct 31, 2019, 12:45:05 PM10/31/19
to AdWords API and Google Ads API Forum
We can change the target roas at ad group level via UI

cliu

unread,
Oct 31, 2019, 2:19:55 PM10/31/19
to AdWords API and Google Ads API Forum
Actually, you can override the target roas at adgroup level by setting targetRoasOverride in the BiddingStrategyConfiguration.


On Thursday, October 31, 2019 at 9:34:58 AM UTC-7, cliu wrote:

Google Ads API Forum Advisor Prod

unread,
Oct 31, 2019, 4:15:19 PM10/31/19
to cl...@system1.com, adwor...@googlegroups.com

Hi Cliu,

Yes, you are right. You could set the value for the targetRoasOverride field of BiddingStrategyConfiguration to override the target roas specified in the campaign's bidding strategy. Please note, this target can only be set on ad groups. Let us know if you need any further clarifications.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UKPC11:ref

Congchong Liu

unread,
Oct 31, 2019, 4:19:15 PM10/31/19
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thank you for the clarification. 

Kevin Weitzner

unread,
Nov 5, 2019, 2:21:43 PM11/5/19
to AdWords API and Google Ads API Forum
For anybody who needs to know how to do this via Python:

ad_group_service = client.GetService(
'AdGroupService', version='v201809')

# Construct operations and update an ad group.
operations = [{
'operator': 'SET',
'operand': {
'id': adgroup_id,
'biddingStrategyConfiguration': {
'targetRoasOverride': target
}
}
}]

ad_groups = ad_group_service.mutate(operations)


To note: If you use ad group service selector the value does not show, which is odd.. but in the UI everything will reflect the correct ROAS. 
Reply all
Reply to author
Forward
0 new messages