Dear Forum,

i think the is a problem with the ACCOUNT_PERMANCE_REPORT enum in the
system.
Every request in the ReportDefinitionService runs fine except the AP-
report.

Iam getting only errors all the time from that report type.


PHP-Code (from api samples):
-------------------
$user = new AdWordsUser();
$user->LogDefaults();
$reportDefinitionService = $user-
>GetReportDefinitionService('v201008');
$reportType = 'ACCOUNT_PERFORMANCE_REPORT';
$reportDefinitionFields = $reportDefinitionService-
>getReportFields($reportType);
printf("The report type '%s' contains the following fields:\n",
$reportType);
foreach ($reportDefinitionFields as $reportDefinitionField) {
printf('- %s (%s)', $reportDefinitionField->fieldName,
    $reportDefinitionField->fieldType);
if (isset($reportDefinitionField->enumValues)) {
  printf(' := [%s]', implode(', ', $reportDefinitionField-
>enumValues));
}
print "\n";
}

SOAP Log
-------------------

[Oct 08 2010 16:28:01.000000 - INFO] POST /api/adwords/cm/v201008/
ReportDefinitionService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.2, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 590

<?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/
v201008" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201003";>
  <SOAP-ENV:Header>
    <ns2:RequestHeader xsi:type="ns2:RequestHeader">
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientEmail>*****</ns1:clientEmail>
      <ns1:developerToken>******</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.3.0-booming-internal</ns1:userAgent>
    </ns2:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:getReportFields>
      <ns1:reportType>KEYWORDS_PERFORMANCE_REPORT</ns1:reportType>
    </ns1:getReportFields>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Fri, 08 Oct 2010 14:28:01 GMT
Expires: Fri, 08 Oct 2010 14:28:01 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>Fault occurred while processing.</faultstring>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>


I hope you can help me, but i think its a problem at google's side.


Best regards,
Stefan P

-----------
Booming GmbH - Germany

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