This is what I've got so far. I just don't know how to set the bidCeiling
or how to structure the operations object.
STRATEGY_ID = '1855829761'
def main(client, strategy_id):
# Initialize appropriate service.
campaign_service = client.GetService('BiddingStrategyService', version=
'v201809')
# Construct operations and update campaign.
operations = [{
'operator': 'SET',
'operand': {
'id': strategy_id,
'name': 'TEST ' + strategy_id,
'biddingScheme': {
'TargetRoasBiddingScheme': {
'bidCeiling': {
'microAmount': '1000000'
}
}
# Optionally set additional bidding scheme parameters.
}
}
}]
campaigns = campaign_service.mutate(operations)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/76f38c40-e94a-464c-9140-f7a9a257edb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.