Is there another ID associated with a campaign than campaign-ID?
I'm attempting to change only the budget of a campaign.
The response indicates errors about 'id' being required, even though
it's been supplied and confirmed to be within the generated XML.
The actual error is:
RequiredError.REQUIRED @ operations[0].operand.id
operations = [{
'operator':'SET',
'operand':{
'id': campaignId,
'budget':{
'period':'DAILY',
'amount':{'microAmount':"1001000000"}
}
}
}]
campaign_service = client.GetCampaignService('https://
adwords.google.com', 'v201008')
campaigns = campaign_service.Mutate(operations)
I've tried with/without clientCustomerId and clientEmail headers
corresponding to the campaign since this is an MCC account. (Using
those values or anything else that might potentially be considered an
ID and inserting into that structure gets filtered-out by the Python
client library, adwords_api_python_13.2.0.)
These failures were with requestId e0201bbbda932424b673c622ff448f0d
which had ten operations and 9863a3e78ab2ccaa797277b8bb1fc414 with
just one. If someone at Google has access to review logs, that would
be much appreciated!
The above code was based upon samples:
- examples/adspygoogle/adwords/v201008/update_campaign.py
- examples/adspygoogle/adwords/v201008/check_campaigns.py
- http://code.google.com/apis/adwords/docs/callguide.html
Any ideas? Pointers to specific manual pages? Sample code?
Thanks!
-Daniel
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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