Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
Minor bugs in HandlePolicyViolationError example
13 views
Skip to first unread message
Tomas Rimkus
unread,
Mar 6, 2015, 4:38:44 AM
3/6/15
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 adwor...@googlegroups.com
At least the PHP example ->
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/ErrorHandling/HandlePolicyViolationError.php
has a couple of minor bugs:
* In case the first mutate request succeeds, the second one will be executed anyway because it's outside catch block
* There is no need to check the size of
$operationIndicesToRemove
before running foreach loop on line 108
Josh Radcliff (AdWords API Team)
unread,
Mar 6, 2015, 9:25:04 AM
3/6/15
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 adwor...@googlegroups.com
Hi,
Thanks for pointing this out. Could you open an issue on the
PHP library's github page
?
Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages