Why am I unable to add a campaign to my sandbox account? Here are my SOAP 
Headers and response, I took out my email + CUR already:

[Jun 20 2011 19:59:32.000000 - INFO] POST 
/api/adwords/cm/v201101/CampaignService HTTP/1.1
Host: adwords-sandbox.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.5, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1058

<?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/v201101"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201101"; 
xsi:type="ns1:RequestHeader">
      <ns1:authToken>*****</ns1:authToken>
      <ns1:developerToken>do.......D</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.6.2-</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 #1308599971</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/v201101"; 
xsi:type="ns1:ManualCPC"/>
          <ns1:networkSetting>
            <ns1:targetGoogleSearch>true</ns1:targetGoogleSearch>
            <ns1:targetSearchNetwork>true</ns1:targetSearchNetwork>
            <ns1:targetContentNetwork>false</ns1:targetContentNetwork>
            <ns1:targetContentContextual>false</ns1:targetContentContextual>
            
<ns1:targetPartnerSearchNetwork>false</ns1:targetPartnerSearchNetwork>
          </ns1:networkSetting>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 20 Jun 2011 19:59:32 GMT
Expires: Mon, 20 Jun 2011 19:59:32 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 477
Server: GSE

<?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/v201101";>
      <requestId>04a5a0edeb4b4c18690185a536cc054f</requestId>
      <operations>1</operations>
      <responseTime>142</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
operations[0]]</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
          <message>[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
operations[0]]</message>
          
<ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OperationAccessDenied">
            <fieldPath>operations[0]</fieldPath>
            <trigger/>
            
<errorString>OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED</errorString>
            <ApiError.Type>OperationAccessDenied</ApiError.Type>
            <reason>ADD_OPERATION_NOT_PERMITTED</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>


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

Reply via email to