Hi,

I would like to remotely update CpvBid of an AdGroup but I can't find a way 
in the API to do it.
I'm working with Python Client and have already tried with:

# Initialize appropriate service.
ad_group_service = client.GetService('AdGroupService', version='v201802')

# Construct operations and update an ad group.
operations = [{
    'operator': 'SET',
    'operand': {
        'id': ad_group_id,
        'biddingStrategyConfiguration' : {
        'bids': {
            'xsi_type': 'CpvBid',
            'bid': {
                'microAmount': data,
            }
        }
        }
    }
}]

print("Trying to update adGroupId: {} \n with params: \n 
{}".format(ad_group_id, operations))

ad_groups = ad_group_service.mutate(operations)



# Getting the following error:
[2018-11-26 18:36:12,072: ERROR/Worker-2] (CpvBid) not-found
[2018-11-26 18:36:12,073: ERROR/Worker-2] path: "CpvBid", not-found
[2018-11-26 18:36:12,073: ERROR/Worker-2] (ns0:CpvBid) not-found
[2018-11-26 18:36:12,073: ERROR/Worker-2] path: "ns0:CpvBid", not-found

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f48b6288-2bf0-47c2-9f7e-809d98c84446%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... jorge . ronchel
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... jorge . ronchel
        • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to