I have this exact same issue actually. I really would like to know how
this gets solved. Thank you. - Ty Roden

On Apr 8, 2:50 pm, Toby Wilkinson <[email protected]> wrote:
> Hello,
>
> I've been asked to write a script to collect historical data from Adwords. I
> can't find a way to create a report collecting data broken down by day over
> a period of time (am I missing something?). So I've written a script to loop
> round the required date range and schedule then collect a report for a
> custom date range (for a single day each time). However the second time a
> call is made to *Google::Ads::Common::ReportUtils::download_report*, perl
> fails with the following errors:
>
> Use of uninitialized value $arg in stat at /usr/share/perl/5.10/File/stat.pm
> line 49.
> Use of uninitialized value $name in index at /usr/share/perl/5.10/Symbol.pm
> line 40.
> Use of uninitialized value $name in index at /usr/share/perl/5.10/Symbol.pm
> line 40.
> Use of uninitialized value $name in pattern match (m//) at
> /usr/share/perl/5.10/Symbol.pm line 43.
> Use of uninitialized value $name in hash element at
> /usr/share/perl/5.10/Symbol.pm line 43.
> Use of uninitialized value $name in concatenation (.) or string at
> /usr/share/perl/5.10/Symbol.pm line 51.
> Can't call method "size" on an undefined value at
> /usr/local/share/perl/5.10.1/Google/Ads/Common/ReportUtils.pm line 82.
>
> My code is pretty much completely taken from the example code, tacking the
> code from dowload_report.pl (sic) added
> to add_keywords_performance_report_definition.pl with the working parts
> enclosed in a for loop to repeat for each required day.
> I've experimented with creating a new instance of *
> Google::Ads::AdWords::Client* for each iteration and using both the same
> file for each report and a new filename. I'm happy to quite my code if it
> will help.
>
> Thanks in advance for any pointers
>
> --Toby

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to