Thanks Eric!

What's the meaning of n? just send a number between 1 and 5? can I use
always the same? does it affect something?

On Sep 2, 1:48 pm, AdWords API Advisor <[email protected]>
wrote:
> Hi Gervasio,
>
> The clientEmail you specified is not in a valid format for the
> sandbox.  As stated on the Using the Sandbox page 
> (http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo...
> ), the clientEmail header must be in the form "client_n+login_id".
>
> Best,
> - Eric
>
> On Sep 1, 7:37 pm, Gervasio Marchand <[email protected]> wrote:
>
> > Hi Eric! Thanks for your reply.
>
> > I'm using the sandbox, should I call any method to create a client? or
> > just send any email different than the one I used to log in?
>
> > I've just done that and got the same error... here's the 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>DQAAAIwAAACCIFgI01KZFld1ga01jnXDgkc_8Udva9MyC_BIv4VTPchKY6axWUXA 
> > fcLuXI_lcIp8nh2QQKSg4fBWLS21FzyOl2u5uBHLVqEQvqxNzP5iVgJke_mTVu-
> > au13SQQgq3zdOdBbSWBhq7qbxtV0LRhCAqmxQZNE9yjS-dp5-
> > HcrJ_ukIN7NStoutO3VxrinLx74</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>
>
> > and here's the response
>
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> >   <soap:Header>
> >     <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > v200906">
> >       <requestId>0313169f6c4d6d0d071eb6098f7c1bed</requestId>
> >       <operations>1</operations>
> >       <responseTime>186</responseTime>
> >       <units>1</units>
> >     </ResponseHeader>
> >   </soap:Header>
> >   <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>
>
> > it was generated at 20:36 in -3 GMT
>
> > thanks!
>
> > On Sep 1, 7:12 pm, AdWords API Advisor <[email protected]>
> > wrote:
>
> > > Hi TCM Soluciones,
>
> > > Although the error message is the same, your error has a different
> > > cause.  When working with campaigns, ad groups, etc you must specify
> > > which clienEmail header that specifies which client account to work
> > > with, as MCC accounts cannot have their own campaigns.  You can read
> > > more about the required headers 
> > > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo....
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Sep 1, 10:07 am, "[email protected]"
>
> > > <[email protected]> wrote:
> > > > Hi, I'm having this issue too
>
> > > > headers:
>
> > > > <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>DQAAAIwAAACF1GWD_50-nSe0HxcKlFR5Xb-pe2Hj7znqCDG_a-tgmIk2F-
> > > > Mp8QlOyQGwM422WskB2g-
> > > > dAAs4FqcGCvJjH7VlEMQ7iSBTdWB8Fy9skaI1c9U4bnlLgz3aB-
> > > > CmaReq3YIZzxOoTBs1sFE51AyKKb93NRlXcZS_FJlcJFZh4ujky4Wewc9vQ8UxqZxcSmlxfmE</
> > > > authToken>
> > > >   <developerToken>[email protected]++usd</developerToken>
> > > >   <userAgent>Test Company</userAgent>
> > > > </h:RequestHeader>
>
> > > > 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>DQAAAIwAAACF1GWD_50-nSe0HxcKlFR5Xb-pe2Hj7znqCDG_a-
> > > > tgmIk2F-Mp8QlOyQGwM422WskB2g-
> > > > dAAs4FqcGCvJjH7VlEMQ7iSBTdWB8Fy9skaI1c9U4bnlLgz3aB-
> > > > CmaReq3YIZzxOoTBs1sFE51AyKKb93NRlXcZS_FJlcJFZh4ujky4Wewc9vQ8UxqZxcSmlxfmE</
> > > > authToken>
> > > >       <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>
> > > >         <operand>
> > > >           <name>Test campaign</name>
> > > >           <status>PAUSED</status>
> > > >           <endDate>20100101</endDate>
> > > >           <budget>
> > > >             <period>DAILY</period>
> > > >             <amount>
> > > >               <microAmount>1</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>
>
> > > > thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to