In the AdWords PHP Client API Library, it seems like there was a major breaking change to reporting that isn't documented in the release notes.
Release notes for v10.0.0: https://github.com/googleads/googleads-php-lib/releases/tag/10.0.0 The change I noticed is that *ReportUtils* no longer uses static functions. Now you must instantiate an object before calling *DownloadReport*. For example, up until v9.1.0 you could do: ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options); In v10.0.0, you now need to do: $reportUtils = new ReportUtils(); $reportUtils->DownloadReport($reportDefinition, $filePath, $user, $options); I do not see this documented anywhere, and only discovered it after code broke after updating and looking at googleads-php-lib git commits to see what had changed. This change will break everyones' reporting code and should be documented. For reference, here are some relevant git diffs of *ReportUtils.php* showing the changes: - /** - * The ReportUtils class is not meant to have any instances. - */ - private function __construct() {} + public function __construct(AdsUtilityRegistry $adsUtilityRegistry = null) { - public static function DownloadReport($reportDefinition, $path = null, + public function DownloadReport($reportDefinition, $path = null, Mark -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/89394d42-bf14-4d90-b71f-71137cd7c543%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
