Hi to all!
I have problem with adServingOptimizationStatus (i guess)..
Right now im using some of the examples from this page:
http://code.google.com/apis/adwords/docs/samples.html

When I wont to update campaign following is xml structure:

 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/ <http://schemas.xmlsoap.org/soap/envelope/>" xmlns:xsd="
http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns9893="http://
tempuri.org">
 <SOAP-ENV:Header>
 <email>myusern...@gmail.com</
email>
 <password>password</password>
 <clientEmail>clientem...@gmail.com</clientEmail>
 <useragent>INSERT_COMPANY_NAME: AdWords API PHP Sample Code</
useragent>
 <developerToken>DeVt0ken-G0EsHereNg</developerToken>
 <applicationToken>APPt0ken-G0EsHereNg</applicationToken>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
  <updateCampaign>
   <campaign>
        <id>032</id>
        <status>Paused</status>
       </campaign>
  </updateCampaign>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>


The problem appears when i add a
''<adServingOptimizationStatus>ROTATE</adServingOptimizationStatus>'
in my xml structure, i have a following request and response:

My request:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/ <http://schemas.xmlsoap.org/soap/envelope/>" xmlns:xsd="
http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns9893="http://
tempuri.org">
 <SOAP-ENV:Header>
 <email>myusern...@gmail.com</email>
 <password>password</password>
 <clientEmail>clientem...@gmail.com</clientEmail>
 <useragent>INSERT_COMPANY_NAME: AdWords API PHP Sample Code</
useragent>
 <developerToken>DeVt0ken-G0EsHereNg</developerToken>
 <applicationToken>APPt0ken-G0EsHereNg</applicationToken>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
  <updateCampaign>
   <campaign>
        <id>032</id>
        <status>Paused</status>
        <adServingOptimizationStatus>ROTATE</adServingOptimizationStatus>
       </campaign>
  </updateCampaign>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

Response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/ <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 <https://adwords.google.com/api/adwords/v13>">246</responseTime>

 <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13 <https://adwords.google.com/api/adwords/v13>">0</operations>
 <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13 <https://adwords.google.com/api/adwords/v13>">0</units>
 <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13 <https://adwords.google.com/api/adwords/v13>
">daa29545f56e70bd77f7ad32d0a2e8c6</requestId>
 </soapenv:Header>
 <soapenv:Body>
 <soapenv:Fault>
    <faultcode>soapenv:Server.generalException</faultcode>
    <faultstring>An internal error has occurred.  Please retry your
request.</faultstring>
    <detail>
     <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
v13 <https://adwords.google.com/api/adwords/v13>">
      <ns1:code>0</ns1:code>
      <ns1:message>An internal error has occurred.  Please retry your
request.</ns1:message>
   </ns1:fault>
  </detail>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

Did anybody have an idea what is the problem?
Thanks!
--
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-...@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