Hello DOM Error in Google Ad words API

8 views
Skip to first unread message

Roger

unread,
Jul 17, 2008, 2:32:27 AM7/17/08
to AdWords API Forum
Hello Google Team,

Please anyone of you could see this problem and why exactly it's
giving me such problem, I am not able to trace what exactly went
wrong, it's working fine with 1 or 2 reports when i am trying to get
more than 2 customers report and if suppose customers report is bit
bulky it's giving me this error, please anyone of you face same
problem help me solve that.

I had given 60 in google API function the sleep time but then also
it's exceed , please someone suggest me what i should please it's
very urgent. :(

Here is function

function getContentPlacementXmlReport(
$name,
$startDay,
$endDay,
$selectedColumns,
$aggregationTypes,
$campaigns = array(),
$campaignStatuses = array(),
$adGroups = array(),
$adGroupStatuses = array(),
$keywords = array(),
$keywordStatuses = array(),
$adWordsType = '',
$keywordType = '',
$isCrossClient = false,
$clientEmails = array(),
$includeZeroImpression = false,
$sleepTime = 60,
$validateFirst = false
) {
return getXmlReport(
$name,
'ContentPlacement',
$startDay,
$endDay,
$selectedColumns,
$aggregationTypes,
$campaigns,
$campaignStatuses,
$adGroups,
$adGroupStatuses,
$keywords,
$keywordStatuses,
$adWordsType,
$keywordType,
$isCrossClient,
$clientEmails,
$includeZeroImpression,
$sleepTime,
$validateFirst
);
}

====================
and here is the Error what i got when i run Google adwords API
calling.

How we should increase the google API execution timeout.
i have given set_time_limit(43200);
then also it's given same error.

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Empty
string supplied as input in C:\AppServ\www\XXXX\lib\Report.php on line
1058

Fatal error: Maximum execution time of 1200 seconds exceeded in C:
\AppServ\www\XXXX\lib\Report.php on line 1009

AdWords API Advisor

unread,
Jul 17, 2008, 10:53:47 AM7/17/08
to AdWords API Forum
Hello Roger,

As your question seems to be directly tied to the inner workings of
the APIlity PHP Client Library, I'd recommend that you also ask it in
the APIlity Google Group:

http://groups.google.com/group/adwords-api-php

I'm personally not an APIlity expert, but someone in either this
forum or the APIlity forum should be able to help.

Cheers,
-Jeff Posnick, AdWords API Team
Reply all
Reply to author
Forward
0 new messages