As you can see from the subject, I am having trouble with adding a
report definition in sandbox environment. I am obviously missing
something. Any help is appreciated. Here is the request and response
(I x'ed out what might be sensitive info):

REQUEST

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <soap:Header>
    <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <authToken xmlns="https://adwords.google.com/api/adwords/cm/
v201101">xxxxxxxx</authToken>
      <developerToken xmlns="https://adwords.google.com/api/adwords/cm/
v201101">xxx...@gmail.com++USD</developerToken>
      <clientCustomerId xmlns="https://adwords.google.com/api/adwords/
cm/v201101">54063</clientCustomerId>
      <userAgent xmlns="https://adwords.google.com/api/adwords/cm/
v201101">AwApi-DotNet-12.3.0|xxxxxxxx</userAgent>
    </RequestHeader>
  </soap:Header>
  <soap:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
      <operations>
        <operator>ADD</operator>
        <operand>
          <selector>
            <fields>CampaignId</fields>
            <fields>CampaignName</fields>
            <fields>Clicks</fields>
            <predicates>
              <field>Status</field>
              <operator>EQUALS</operator>
              <values>ACTIVE</values>
            </predicates>
          </selector>
          <reportName>Campaign performance report xxxx123123213</
reportName>
          <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType>
          <dateRangeType>YESTERDAY</dateRangeType>
          <downloadFormat>CSV</downloadFormat>
        </operand>
      </operations>
    </mutate>
  </soap:Body>
</soap:Envelope>


RESPONSE

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <requestId>0004a81d2f62f1300a0c3d012c0c6696</requestId>
      <operations>1</operations>
      <responseTime>424</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
[Ljava.lang.StackTraceElement;@10acb13]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/
adwords/cm/v201101">
          <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
[Ljava.lang.StackTraceElement;@10acb13]</message>
          <ApplicationException.Type>ApiException</
ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="InternalApiError">
            <fieldPath></fieldPath>
            <trigger></trigger>
 
<errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</
errorString>
            <ApiError.Type>InternalApiError</ApiError.Type>
            <reason>UNEXPECTED_INTERNAL_API_ERROR</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