Hello,

 You have two errors in your headers. "applicatinToken" should be
"applicationToken". More to the point, "clientemail" should be
"clientEmail". If you take care of the capitalization error then the
clientEmail header should be recognized.

Cheers,
-Jeff Posnick, AdWords API Team


On Jan 29, 11:45 pm, square <testr...@gmail.com> wrote:
> Pasting both request and response. Please note the response is
> <faultstring>Client managers cannot have campaigns of their own.</
> faultstring> while the request includes <clientemail xmlns="https://
> adwords.google.com/api/adwords/v13">client_1+testr...@gmail.com</
> clientemail>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><developerToken xmlns="https://
> adwords.google.com/api/adwords/v13">testr...@gmail.com++usd</
> developerToken><password xmlns="https://adwords.google.com/api/adwords/
> v13">XXXXXXXX</password><clientemail xmlns="https://adwords.google.com/
> api/adwords/v13">client_1+testr...@gmail.com</
> clientemail><applicatinToken xmlns="https://adwords.google.com/api/
> adwords/v13">AAAAAAAA</applicatinToken><clientCustomerId
> xmlns="https://adwords.google.com/api/adwords/v13"; /><useragent
> xmlns="https://adwords.google.com/api/adwords/v13";>google adwords for
> SEM</useragent><email xmlns="https://adwords.google.com/api/adwords/
> v13">testr...@gmail.com</email></
> soap:Header><soap:Body><addCampaignList xmlns="https://
> adwords.google.com/api/adwords/
> v13"><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com00</
> name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><schedule><status>Enabled</status></
> schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com01</
> name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><schedule><status>Enabled</status></
> schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:nil="true"/></campaigns><campaigns><budgetAmount>1000000000</
> budgetAmount><budgetOptimizerSettings xmlns:xsi="http://www.w3.org/
> 2001/XMLSchema-instance" xsi:nil="true"/><budgetPeriod>Monthly</
> budgetPeriod><contentTargeting xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:nil="true"/><geoTargeting 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true"/><id>0</
> id><languageTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><name>campaignclient_1+testr...@gmail.com02</
> name><networkTargeting xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:nil="true"/><schedule><status>Enabled</status></
> schedule><status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:nil="true"/></campaigns></addCampaignList></soap:Body></
> soap:Envelope>
>
> <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">21</responseTime>
>   <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">1</operations>
>   <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">1</units>
>   <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v13">eb966155b519c98cce277d55e6d6d071</requestId>
>  </soapenv:Header>
>  <soapenv:Body>
>   <soapenv:Fault>
>      <faultcode>soapenv:Server.userException</faultcode>
>
>      <faultstring>Client managers cannot have campaigns of their own.</
> faultstring>
>
>      <detail>
>       <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
> v13">
>        <ns1:code>138</ns1:code>
>
>        <ns1:message>Client managers cannot have campaigns of their
> own.</ns1:message>
>
>     </ns1:fault>
>
>    </detail>
>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
>
> On Jan 29, 8:29 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
> > Hello,
>
> >  I unfortunately don't have a straightforward way of looking up
> > Sandbox requests based solely on the request id. Could you please take
> > a look at the actual SOAP request XML and check to make sure that
> > there is both an "email" and "clientEmail" header set, and that
> > they're set to the values you expect?
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Jan 29, 3:41 am, square <testr...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to