Hello,
I am using APIlity PHP library to fetch v13 keyword reports. The
system returns following error when trying to fetch a report on
certain campaign:
Ouch! I am not proud to announce the following AdWords API Exception:
Message: An internal error has occurred. Please retry your request.
Trigger: N/A
Code: 0
Fault Origin: [PATH_TO_PHP_FILE]:downloadXmlReport()
SOAP Parameters:
<getGzipReportDownloadUrl><reportJobId>[JOB_ID_IS_HERE]</
reportJobId>
</getGzipReportDownloadUrl>
Now, the curious bit is that I'm using APIlity's getKeywordTsvReport
to request the report, yet the error appears to stem from an XML-
related function.Running several tests with the same code against some
other campaigns appears to return a report just fine.
For reference, the APIlity call I am using, which shouldn't have
anything strange in it:
$keyword_report=getKeywordTsvReport(
$name = 'keyword report',
$startDay = $start,
$endDay = $end,
$selectedColumns = array('Keyword', 'KeywordId', 'Impressions',
'Clicks', 'AveragePosition'),
$aggregationTypes = array ('Summary'),
$campaigns = $campaign_ids,
$campaignStatuses = array(),
$adGroups = array(),
$adGroupStatuses = array(),
$keywords = array(),
$keywordStatuses = array(),
$adWordsType = '',
$keywordType = '',
$isCrossClient = false,
$clientEmails = array(),
$includeZeroImpression = false,
$sleepTime = 30,
$validateFirst = false
);
This could be related to another thing we've been seeing: a few
campaigns never return a report when requested. I can wait upwards to
ten minutes and the routine seems to forever stall at the report
fetch, no errors no nothing. It could be a coincidence, but these all
seem to have appeared after the v13 sunset, the code's been running
since last summer without problems like these.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en