I asked a question at StackOverflow (here
<http://stackoverflow.com/questions/42378567/python-adwords-api-suds-sudsobject-parse-response-containing-empty-indexed-key>).
I am using Python.
I'm trying to set ad group bids using AdGroupService and mutate.
My suds response object looks like:
(AdGroupPage){
totalNumEntries = 1
Page.Type = "AdGroupPage"
entries[] =
(AdGroup){
id = 38496562285
campaignId = 759990659
campaignName = "Some Campaign #1"
name = "Second group"
status = "ENABLED"
biddingStrategyConfiguration =
(BiddingStrategyConfiguration){
biddingStrategyType = "MANUAL_CPC"
bids[] =
(CpcBid){
Bids.Type = "CpcBid"
bid =
(Money){
ComparableValue.Type = "Money"
microAmount = 1230000
}
cpcBidSource = "ADGROUP"
},
}
},
}
My operations object looks like:
operations = [{
'operator': 'SET',
'operand': {
'id': 38496562285,
'biddingStrategyConfiguration': {
'bids': [{
'bid': {
'microAmount': 4560000
}
}]
}
}
}]
I then do something like:
service = client.adwords_client.GetService('AdGroupService', version=
'v201609')
service.mutate(operations)
It returns an error:
suds.TypeNotFound: Type not found: 'bid'
My question is, am I using the right service to update ad group bids?
If yes, how do I modify my above operations object if the goal is changing
the ad group level bid?
If no, what service should I be using?
I couldn't find any examples of changing ad group level default bids.
Thanks
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 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/45b2d553-b258-4771-b96b-0bb8aab70e52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.