Here is the request_info.log information: [Jul 22 2010 09:50:09.000000 - INFO] email=jwri...@where2getit.comeffectiveuser= client_1+jwri...@where2getit.com <client_1%2bjwri...@where2getit.com>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:'client_1+jwri...@where2getit.com<trigger%3a%27client_1%2bjwri...@where2getit.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>client_1+jwri...@where2getit.com<client_1%2bjwri...@where2getit.com> </ns1:clientEmail> <ns1:developerToken>jwri...@where2getit.com++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:'client_1+jwri...@where2getit.com<trigger%3a%27client_1%2bjwri...@where2getit.com>' Service[CampaignService.mutate]</faultstring> <detail> <ApiExceptionFault xmlns=" https://adwords.google.com/api/adwords/cm/v201003"> <message>AuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'client_1+jwri...@where2getit.com<trigger%3a%27client_1%2bjwri...@where2getit.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>client_1+jwri...@where2getit.com<client_1%2bjwri...@where2getit.com> </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 = "jwri...@where2getit.com" password = "jwright6764" userAgent = "Where2GetIt" applicationToken = "" ;developerToken = "mQCnQwKx0N62S_s2MTAdBA" developerToken = "jwri...@where2getit.com++usd" ; Uncomment to make requests against a client account. clientId = "client_1+jwri...@where2getit.com<client_1%2bjwri...@where2getit.com> " Thanks! On Wed, Jul 21, 2010 at 11:48 AM, AdWords API Advisor < adwordsapiadvi...@google.com> 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 <jwri...@where2getit.com> wrote: > > I changed auth.ini, uncommenting out the clientID field as shown: > > auth.ini > > > > email = "jx...@xxxx.com" > > password = "XXXX" > > userAgent = "Johns Test" > > applicationToken = "" > > developerToken = "jx...@xxxx.com++usd" > > > > ; Uncomment to make requests against a client account. > > clientId = "client_1+jx...@xxxx.com" > > > > I then reran AddCampaign.php and got the following error: > > > > AuthenticationError.CLIENT_EMAIL_INVALID > > > > On Jul 16, 4:08 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > 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 <jwri...@where2getit.com> wrote: > > > > > > Hey Eric, > > > > > > Thanks for the reply. > > > > > > I changed auth.ini, commenting out the clientID field as shown: > > > > auth.ini > > > > > > email = "jx...@xxxx.com" > > > > password = "XXXX" > > > > userAgent = "Johns Test" > > > > applicationToken = "" > > > > developerToken = "jx...@xxxx.com++usd" > > > > > > ; Uncomment to make requests against a client account. > > > > ;clientId = "client_1+jx...@xxxx.com" > > > > > > I then reran AddCampaign.php and got the following error: > > > > > > OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED > > > > > > On Jul 15, 12:56 pm, AdWords API Advisor > > > > > > <adwordsapiadvi...@google.com> 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 <jwri...@where2getit.com> 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 = "jx...@xxxx.com" > > > > > > password = "XXXX" > > > > > > userAgent = "Johns Test" > > > > > > applicationToken = "" > > > > > > developerToken = "jx...@xxxx.com++usd" > > > > > > > > ; Uncomment to make requests against a client account. > > > > > > clientId = "client_1+jx...@xxxx.com" > > > > > > > > > --------------------------------------------------------------------------- > > > > > > > > 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 Developer www.where2getit.com Phone: (949) 922-8519 x238 Email:jwri...@where2getit.com <email%3ajwri...@where2getit.com> 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/where2getit http://www.linkedin.com/in/where2getit http://www.facebook.com/where2getit -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en