googleads/googleads-perl-lib

ReportUtils - runtime error trying to access (Google::Ads::AdWords::Client) $client->get_reporting_config()->get_skip_header()

Closed this issue · 3 comments

A bug seems to have been introduced recently into the ReportUtils.pm on line 129.

Client does not (yet ?) implement get_reporting_config() and somehow returns undef, attempt to use the return value on the line below causes a runtime error.

https://github.com/googleads/googleads-perl-lib/blame/master/lib/Google/Ads/Common/ReportUtils.pm#L129

Thanks for pointing this out. I was able to reproduce this error by removing the adwords.properties file from my home directory. Am I correct in thinking that you do not have this file in your home directory and instead are configuring your Client manually?

I see the same issue, and yes I am configuring the Client manually.

This has been fixed in release 3.1.1. Note that due to issue #6, the name of the distribution has changed to Google::Ads::AdWords::Client.