I asked a question at StackOverflow (
here). 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