I'm using python and suds to make calls to the AdWords API, and I'm running into an error that I'm not sure how to fix. I've included the request and response below. Can someone see what I'm doing wrong? (I've masked some of the information in the request, but the response is exactly what I received.
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:ns0="https://adwords.google.com/api/adwords/ cm/v201002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://adwords.google.com/api/adwords/cm/v201002" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header> <tns:RequestHeader> <tns:authToken>xxxxxxxxxxxxxxxxxxxxxxx</tns:authToken> <tns:clientEmail>xxxxxxxxxxxxxxx</tns:clientEmail> <tns:developerToken>xxxxxxxxxxxxxx</tns:developerToken> <tns:userAgent>xxxxxxxxxxxxxxxxxx</tns:userAgent> </tns:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns0:mutate> <ns0:operations xsi:type="ns0:CampaignOperation"> <ns0:operator>ADD</ns0:operator> <ns0:operand> <ns0:name>Sherry Loccer - Geo #2</ns0:name> <ns0:status>PAUSED</ns0:status> <ns0:budget> <ns0:period>MONTHLY</ns0:period> <ns0:amount xsi:type="ns0:Money"> <ns0:microAmount>75000000</ns0:microAmount> </ns0:amount> <ns0:deliveryMethod>ACCELERATED</ns0:deliveryMethod> </ns0:budget> <ns0:biddingStrategy xsi:type="ns0:ManualCPC"> <ns0:BiddingStrategy.Type>ManualCPC</ ns0:BiddingStrategy.Type> </ns0:biddingStrategy> </ns0:operand> </ns0:operations> </ns0:mutate> </SOAP-ENV:Body> </SOAP-ENV:Envelope> <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/ cm/v201002"> <requestId>d470ac2c98147d5b71dc344fe06d3f5d</requestId> <operations>1</operations> <responseTime>522</responseTime> <units>1</units> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[BudgetError.BUDGET_PERIOD_NOT_AVAILABLE @ operations[0].operand.budget]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/ api/adwords/cm/v201002"> <message>[BudgetError.BUDGET_PERIOD_NOT_AVAILABLE @ operations[0].operand.budget]</message> <ApplicationException.Type>ApiException</ ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance" xsi:type="BudgetError"> <fieldPath>operations[0].operand.budget</ fieldPath> <trigger/> <ApiError.Type>BudgetError</ApiError.Type> <reason>BUDGET_PERIOD_NOT_AVAILABLE</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
