Hi Gervasio, The first I can see is you didn't specify a required start date.
The API response is really fluent on some errors, and very annoying on some others (InternalApiError) ! Saludos! Mauro On Sep 2, 2:55 pm, Gervasio Marchand <[email protected]> wrote: > Here you can see I have clients > > Request: > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Header> > <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ > ws/2005/05/addressing/none" /> > <h:developerToken xmlns="https://adwords.google.com/api/adwords/ > v13" xmlns:h="https://adwords.google.com/api/adwords/ > v13">[email protected]++usd</h:developerToken> > <h:email xmlns="https://adwords.google.com/api/adwords/v13" > xmlns:h="https://adwords.google.com/api/adwords/ > v13">[email protected]</h:email> > <h:password xmlns="https://adwords.google.com/api/adwords/v13" > xmlns:h="https://adwords.google.com/api/adwords/v13">asdf1234</ > h:password> > <h:useragent xmlns="https://adwords.google.com/api/adwords/v13" > xmlns:h="https://adwords.google.com/api/adwords/v13">test app</ > h:useragent> > </s:Header> > <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <getClientAccounts xmlns="https://adwords.google.com/api/adwords/ > v13" /> > </s:Body> > </s:Envelope> > > Response: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Header> > <responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">12</responseTime> > <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">5</operations> > <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">5</units> > <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">00027475c935b822b41d3b42f18d6bc2</requestId> > </soapenv:Header> > <soapenv:Body> > <getClientAccountsResponse xmlns="https://adwords.google.com/api/ > adwords/v13"> > <getClientAccountsReturn>[email protected]</ > getClientAccountsReturn> > <getClientAccountsReturn>[email protected]</ > getClientAccountsReturn> > <getClientAccountsReturn>[email protected]</ > getClientAccountsReturn> > <getClientAccountsReturn>[email protected]</ > getClientAccountsReturn> > <getClientAccountsReturn>[email protected]</ > getClientAccountsReturn> > </getClientAccountsResponse> > </soapenv:Body> > </soapenv:Envelope> > > But... when I try to use the account, here's what I get > > Request: > > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Header> > <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ > ws/2005/05/addressing/none" /> > <h:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/ > v200906" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="https:// > adwords.google.com/api/adwords/cm/v200906"> > > <authToken>DQAAAI0AAABNw88JUxd0coSdVNVz7Zxt5yVsx4Zbj2mYrCtDsVCTSlCc5_UZD5fm > tlafVfOlx8-8uPG3Qk4q1vpYrc8gRAvZVYIPozAjo2zWrT5R4kx6xGqEmD4D4hOGcD6Mh_NlIHF > 27JFG9A6n29e_4JKEfAFfwfOPdeasmzJINNdQDAtMGds8j7STClu- > bv654GA68_Y</authToken> > <clientEmail>[email protected]</clientEmail> > <developerToken>[email protected]++usd</developerToken> > <userAgent>Test Company</userAgent> > </h:RequestHeader> > </s:Header> > <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906"> > <operations> > <operator>ADD</operator> > <operand> > <name>Test campaign</name> > <status>ACTIVE</status> > <endDate>20100101</endDate> > <budget> > <period>DAILY</period> > <amount> > <ComparableValue.Type>Money</ComparableValue.Type> > <microAmount>10000</microAmount> > </amount> > <deliveryMethod>STANDARD</deliveryMethod> > </budget> > <biddingStrategy xsi:type="ManualCPC" /> > </operand> > </operations> > </mutate> > </s:Body> > </s:Envelope> > > Response > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" /> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </ > faultstring> > <detail> > <ApiExceptionFault xmlns="https://adwords.google.com/api/ > adwords/cm/v200906"> > <message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </ > message> > <ApplicationException.Type>ApiException</ > ApplicationException.Type> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="InternalApiError"> > <fieldPath> > </fieldPath> > <trigger> > </trigger> > <ApiError.Type>InternalApiError</ApiError.Type> > <reason>UNEXPECTED_INTERNAL_API_ERROR</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > can you please tell me what's wrong here and how to fix? it's becoming > really frustrating... made 20 different types of mistakes and all > return the same error message... unexpected internal api error --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
