Oh and the error is that it can't find the key TargetRoasBiddingScheme On Friday, January 11, 2019 at 5:37:11 PM UTC-10, Skyler Christensen wrote: > > 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/0ac89303-92de-47e2-8cdf-73671d4e03be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.