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 [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/d874d669-f8ef-4ffc-a89d-308dfc697ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Bug? Marius
    • Re: Bug? 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: Bu... Marius
        • Re... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum

Reply via email to