Hello, If you have an issue with a specific client library, especially a technical one or a bug in the library itself, please report that at the library's GitHub issue tracker so that the owners of the library can take a look directly. Here's a link to the PHP one: https://github.com/googleads/googleads-php-lib/issues
Regards, Mike, AdWords API Team On Thursday, May 5, 2016 at 5:25:02 PM UTC-4, Marius wrote: > > Here is the constructor: > public function __construct($error, $httpCode) { parent::__construct( > $error); $this->httpCode = $httpCode; } > And this is how is being called: > throw new ReportDownloadException('The client customer ID must be ' . > 'specified > for report downloads.'); (line 332: > https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/Util/v201603/ReportUtils.php > ) > > You'll get this warning: > PHP Warning: Missing argument 2 for > ReportDownloadException::__construct(), called in > lib/Google/Api/Ads/AdWords/Util/v201603/ReportUtils.php on line 332 and > defined in lib/Google/Api/Ads/AdWords/Util/ReportDownloadException.php on > line 39 > > > > On Thursday, May 5, 2016 at 1:23:18 PM UTC-7, Shwetha Vastrad (AdWords API > Team) wrote: >> >> Hi Marius, >> >> The constructor of ReportDownloadException.php >> <https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/Util/ReportDownloadException.php> >> accepts >> variable arguments, hence the code doesn't break when an exception occurs. >> >> Cheers, >> Shwetha, AdWords API Team. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/121e19ae-d4aa-4390-aef1-f27736f3cc3d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.