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.
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
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.