You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi, For Adwords PHP API Library in this file: adwords/lib/Google/Api/Ads/AdWords/Util/v201603/ReportUtils.php there a bunch of this: throw new ReportDownloadException ("blahblah") but ReportDownloadException __construct requires two arguments: public function __construct($error, $httpCode)
Regards
Shwetha Vastrad (AdWords API Team)
unread,
May 5, 2016, 4:23:18 PM5/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi Marius,
The constructor of ReportDownloadException.php accepts variable arguments, hence the code doesn't break when an exception occurs.
Cheers,
Shwetha, AdWords API Team.
Marius
unread,
May 5, 2016, 5:25:02 PM5/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Michael Cloonan (AdWords API Team)
unread,
May 6, 2016, 10:15:30 AM5/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
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