Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Error reading reports using PHP APIlity 1.13.1 library
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
v  
View profile  
 More options Nov 8, 8:23 am
From: v <v...@krishnadesign.com>
Date: Sun, 8 Nov 2009 05:23:38 -0800 (PST)
Local: Sun, Nov 8 2009 8:23 am
Subject: Error reading reports using PHP APIlity 1.13.1 library
My APIlity 1.13.1 PHP scripts were working fine last month, and now
when I try to read the Content Network Report, it gives me this error:

Warning: APIlity PHP library => Warning: Cache file for:
https://adwords.google.com/api/adwords/v13/ReportService?wsdl has an
invalid file size in /usr/www/virtual/vge/lib/WsdlCache.php on line
156

Here is the PHP script I am using to get the report:

$apilityUser = new APIlityUser();
$apilityUser->setClientEmail($client_email);
get_content_network_report();
function get_content_network_report() {
   $res=getContentPlacementXmlReport(
  "Content Network Report",
  "2009-01-01",
  "2019-12-31",
  array
("Campaign","AdGroup","PlacementDomain","SiteTargeted","Clicks","Cost","Con versions"),
  array("AdGroup","Domain","Summary"),
  array(),
  array(),
  array(),
  array(),
  array(),
  array(),
  "ContentOnly",
  "",
  false,
  array(),
  true, # includeZeroImpression
  30,
  false,
  false
   );
   print $res;

}

When I change the Sleep Time from 30 to 300, then it gives me a 300000
millisecond timeout error, with only 276 bytes received. What could be
wrong?

Victor


    Reply    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Nov 10, 11:43 am
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Tue, 10 Nov 2009 08:43:57 -0800 (PST)
Local: Tues, Nov 10 2009 11:43 am
Subject: Re: Error reading reports using PHP APIlity 1.13.1 library
Hi Victor,

This message appears to be a warning that the cached version of the
WSDL is out of date.  Please clear out your wsdl_cache folder and try
again.

Best,
- Eric Koleda, AdWords API Team

On Nov 8, 8:23 am, v <v...@krishnadesign.com> wrote:


    Reply    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
v  
View profile  
 More options Nov 11, 6:05 am
From: v <v...@krishnadesign.com>
Date: Wed, 11 Nov 2009 03:05:35 -0800 (PST)
Local: Wed, Nov 11 2009 6:05 am
Subject: Re: Error reading reports using PHP APIlity 1.13.1 library
Nope. I tried it just now, deleting all the files from /wsdl_cache/
folder and then trying to read the report. It gave the same error as
before, and no file was written to /wsdl_cache/

Fortunately, I got the following message from Thomas Steiner of
APIlity fame. He said, "Could you try to turn off WSDL caching? It
should work then. Something has changed on the server side, not sure
yet what, though..."

I did that, which simply means editing settings.ini to:
WSDL_Cache_Enabled = no

After that, I run the reports and they work with no problem.

Victor

On Nov 10, 9:43 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:


    Reply    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google