Nope the setting in my auth.ini looks like:
clientId = "[email protected]"

On Jul 23, 1:59 pm, AdWords API Advisor <[email protected]>
wrote:
> Hi John,
>
> If you look in the trigger field of the error, you'll see that your
> clientEmail header contains some extra information:
>
> <trigger>[email protected]<client_1%[email protected]
> m></trigger>
>
> It looks like the email is being repeated in brackets.  Does it look
> this way in the configuration file too?
>
> Best,
> - Eric
>
> On Jul 22, 10:56 am, John Wright <[email protected]> wrote:
>
> > Here is the request_info.log information:
>
> > [Jul 22 2010 09:50:09.000000 - INFO] 
> > [email protected]=
> > [email protected]
> > <client_1%[email protected]>service=CampaignService
> > method=mutate operators={ADD: 1} responseTime=311
> > requestId=8515499a097f1b0bd8e8493b1e2d3a3e operations=0 units=0 server=
> > adwords-sandbox.google.com isFault=true
> > faultMessage=AuthenticationError.CLIENT_EMAIL_INVALID @ ;
> > trigger:'[email protected]<trigger%3a%27client_1%2bjwri...@w 
> > here2getit.com>'
> > Service[CampaignService.mutate]
>
> > Here is the soap_xml.log information:
>
> > [Jul 22 2010 09:50:09.000000 - INFO] POST
> > /api/adwords/cm/v201003/CampaignService HTTP/1.1^M
> > Host: adwords-sandbox.google.com^M
> > Connection: Keep-Alive^M
> > User-Agent: PHP-SOAP/5.2.11, gzip^M
> > Accept-Encoding: gzip, deflate^M
> > Content-Encoding: gzip^M
> > Content-Type: text/xml; charset=utf-8^M
> > SOAPAction: ""^M
> > Content-Length: 772^M
> > ^M
> > <?xml version="1.0" encoding="UTF-8"?>
> > <SOAP-ENV:Envelope 
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201003"; 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> >   <SOAP-ENV:Header>
> >     <ns1:RequestHeader xsi:type="ns1:RequestHeader">
> >       <ns1:authToken>*****</ns1:authToken>
> >       
> > <ns1:clientEmail>[email protected]<client_1%2bjwri...@where2 
> > getit.com>
> > </ns1:clientEmail>
> >       <ns1:developerToken>[email protected]++usd</ns1:developerToken>
> >       <ns1:userAgent>AwApi-PHP-2.2.0-Where2GetIt</ns1:userAgent>
> >     </ns1:RequestHeader>
> >   </SOAP-ENV:Header>
> >   <SOAP-ENV:Body>
> >     <ns1:mutate>
> >       <ns1:operations>
> >         <ns1:operator>ADD</ns1:operator>
> >         <ns1:operand>
> >           <ns1:name>Interplanetary Cruise #1279810209</ns1:name>
> >           <ns1:status>PAUSED</ns1:status>
> >           <ns1:budget>
> >             <ns1:period>DAILY</ns1:period>
> >             <ns1:amount>
> >               <ns1:microAmount>50000000</ns1:microAmount>
> >             </ns1:amount>
> >             <ns1:deliveryMethod>STANDARD</ns1:deliveryMethod>
> >           </ns1:budget>
> >           <ns1:biddingStrategy 
> > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201003";
> > xsi:type="ns1:ManualCPC"/>
> >         </ns1:operand>
> >       </ns1:operations>
> >     </ns1:mutate>
> >   </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
>
> > HTTP/1.1 500 Internal Server Error^M
> > Content-Type: text/xml; charset=UTF-8^M
> > Content-Encoding: gzip^M
> > Transfer-Encoding: chunked^M
> > Date: Thu, 22 Jul 2010 14:50:09 GMT^M
> > Expires: Thu, 22 Jul 2010 14:50:09 GMT^M
> > Cache-Control: private, max-age=0^M
> > X-Content-Type-Options: nosniff^M
> > X-Frame-Options: SAMEORIGIN^M
> > X-XSS-Protection: 1; mode=block^M
> > Server: GSE^M
>
> > <?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/v201003
> > ">
> >       <requestId>8515499a097f1b0bd8e8493b1e2d3a3e</requestId>
> >       <operations>0</operations>
> >       <responseTime>311</responseTime>
> >       <units>0</units>
> >     </ResponseHeader>
> >   </soap:Header>
> >   <soap:Body>
> >     <soap:Fault>
> >       <faultcode>soap:Server</faultcode>
> >       <faultstring>AuthenticationError.CLIENT_EMAIL_INVALID @ ;
> > trigger:'[email protected]<trigger%3a%27client_1%2bjwri...@w 
> > here2getit.com>'
> > Service[CampaignService.mutate]</faultstring>
> >       <detail>
> >         <ApiExceptionFault 
> > xmlns="https://adwords.google.com/api/adwords/cm/v201003";>
> >           <message>AuthenticationError.CLIENT_EMAIL_INVALID @ ;
> > trigger:'[email protected]<trigger%3a%27client_1%2bjwri...@w 
> > here2getit.com>'
> > Service[CampaignService.mutate]</message>
>
> > <ApplicationException.Type>ApiException</ApplicationException.Type>
> >           <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:type="AuthenticationError">
> >             <fieldPath/>
> >             
> > <trigger>[email protected]<client_1%[email protected] 
> > m>
> > </trigger>
>
> > <errorString>AuthenticationError.CLIENT_EMAIL_INVALID</errorString>
> >             <ApiError.Type>AuthenticationError</ApiError.Type>
> >             <reason>CLIENT_EMAIL_INVALID</reason>
> >           </errors>
> >         </ApiExceptionFault>
> >       </detail>
> >     </soap:Fault>
> >   </soap:Body>
> > </soap:Envelope>
>
> > Here is my auth.ini file configuration:
>
> > email = "[email protected]"
> > password = "jwright6764"
> > userAgent = "Where2GetIt"
> > applicationToken = ""
> > ;developerToken = "mQCnQwKx0N62S_s2MTAdBA"
> > developerToken = "[email protected]++usd"
>
> > ; Uncomment to make requests against a client account.
> > clientId = 
> > "[email protected]<client_1%[email protected]>
> > "
>
> > Thanks!
>
> > On Wed, Jul 21, 2010 at 11:48 AM, AdWords API Advisor <
>
> > [email protected]> wrote:
> > > Hi,
>
> > > Can you post the values of the requestId header for a request that
> > > illustrates this problem?
>
> > > Best,
> > > - Eric
>
> > > On Jul 20, 1:00 pm, JohnW2G <[email protected]> wrote:
> > > > I changed auth.ini, uncommenting out the clientID field as shown:
> > > > auth.ini
>
> > > > email = "[email protected]"
> > > > password = "XXXX"
> > > > userAgent = "Johns Test"
> > > > applicationToken = ""
> > > > developerToken = "[email protected]++usd"
>
> > > > ; Uncomment to make requests against a client account.
> > > > clientId = "[email protected]"
>
> > > > I then reran AddCampaign.php and got the following error:
>
> > > > AuthenticationError.CLIENT_EMAIL_INVALID
>
> > > > On Jul 16, 4:08 pm, AdWords API Advisor <[email protected]>
> > > > wrote:
>
> > > > > Hi,
>
> > > > > That error is correct, as campaigns can only be added to client
> > > > > accounts.  What error are you receiving when the clientId is not
> > > > > commented out?
>
> > > > > Best,
> > > > > - Eric
>
> > > > > On Jul 15, 3:52 pm, JohnW2G <[email protected]> wrote:
>
> > > > > > Hey Eric,
>
> > > > > > Thanks for the reply.
>
> > > > > > I changed auth.ini, commenting out the clientID field as shown:
> > > > > > auth.ini
>
> > > > > > email = "[email protected]"
> > > > > > password = "XXXX"
> > > > > > userAgent = "Johns Test"
> > > > > > applicationToken = ""
> > > > > > developerToken = "[email protected]++usd"
>
> > > > > > ; Uncomment to make requests against a client account.
> > > > > > ;clientId = "[email protected]"
>
> > > > > > I then reran AddCampaign.php and got the following error:
>
> > > > > > OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
>
> > > > > > On Jul 15, 12:56 pm, AdWords API Advisor
>
> > > > > > <[email protected]> wrote:
> > > > > > > Hi,
>
> > > > > > > Did you run AddCampaign without the clientEmail specified as well?
> > > > > > > Campaigns can only be added to a client account, as MCC accounts
> > > are
> > > > > > > not allowed to have campaigns of their own.
>
> > > > > > > Best,
> > > > > > > - Eric Koleda, AdWords API Team
>
> > > > > > > On Jul 14, 11:22 am, JohnW2G <[email protected]> wrote:
>
> > > > > > > > I am trying to setup a sandbox using the v201003 PHP libraries
> > > and
> > > > > > > > sample code.
>
> > > > > > > > No matter what I do I keep getting the CLIENT_EMAIL_INVALID
> > > error.
> > > > > > > > Here are my configurations:
>
> > > > > > > > auth.ini
>
> > > > > > > > email = "[email protected]"
> > > > > > > > password = "XXXX"
> > > > > > > > userAgent = "Johns Test"
> > > > > > > > applicationToken = ""
> > > > > > > > developerToken = "[email protected]++usd"
>
> > > > > > > > ; Uncomment to make requests against a client account.
> > > > > > > > clientId = "[email protected]"
>
> > > ---------------------------------------------------------------------------
>
> > > > > > > > settings.ini
>
> > > > > > > > [SERVER]
> > > > > > > > ;DEFAULT_VERSION = "v200909"
> > > > > > > > DEFAULT_VERSION = "v201003"
>
> > > > > > > > ; Change tohttps://adwords-sandbox.google.comtoworkinthesandbox
> > > > > > > > ; environment.
> > > > > > > > ;DEFAULT_SERVER = "https://adwords.google.com";
> > > > > > > > DEFAULT_SERVER = "https://adwords-sandbox.google.com";
>
> > > > > > > > I tried running GetAllCampaigns.php in the examples folder with
> > > no
> > > > > > > > clientID specified in the auth.ini file to initialize the 
> > > > > > > > account
> > > with
> > > > > > > > a get statement and did get the expected return back of "No
> > > campaigns
> > > > > > > > were found" but still got the error when trying to run
> > > AddCampaign.php
>
> > --
> > John Wright
> > Senior Lead Web Developerwww.where2getit.com
> > Phone: (949) 922-8519 x238
> > Email:[email protected] <email%[email protected]>
> > AIM:jwrightw2g
> > Local Search for National Brands
>
> > Let us know how we're doing! Please fill out this short survey for a chance
> > to win a Free iPod or a new Wii game console. 
> > Thanks!http://survey.constantcontact.com/survey/a07e2rwhzm6g6e6iahk/start%20
>
> > Let’s 
> > Connect!http://twitter.com/where2getithttp://www.linkedin.com/in/where2getith...

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to