The examples in PHP library of Adwords api for creating Responsive Ad is not working. It gives fatal error yelling Cannot access empty property.
77 views
Skip to first unread message
DOMADIA KENIL
unread,
Jun 1, 2016, 8:51:49 AM6/1/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
I have posted the error below :
"Notice: Undefined index: businessName in /opt/lampp/lib/php/Google/Api/Ads/AdWords/v201605/AdGroupAdService.php on line 125 Notice: Undefined index: in /opt/lampp/lib/php/Google/Api/Ads/AdWords/v201605/AdGroupAdService.php on line 125 Fatal error: Cannot access empty property in /opt/lampp/lib/php/Google/Api/Ads/AdWords/v201605/AdGroupAdService.php on line 125"
I am not able to find correct method for creating Responsive Ad using Adwords API.
Umesh Dengale
unread,
Jun 1, 2016, 11:31:14 AM6/1/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,
You could create the ResponsiveDisplayAd using AdWords API v201605 in test account only. Please check out Responsive Ads for Display guide and AddResponsiveDisplayAd PHP example code from the PHP client library. If the issue is not resolved then provide me privately the SOAP XML request and response logs. Just click Reply privately to author in the forum when responding.
Regards,
Umesh, AdWords API Team.
DOMADIA KENIL
unread,
Jun 1, 2016, 2:52:22 PM6/1/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
I tried in the exact manner. Still it doesnt seem to work. Need some correct solution.
Josh Radcliff (AdWords API Team)
unread,
Jun 2, 2016, 9:11:48 AM6/2/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,
It turns out there's a problem with the PHP library's AdGroupAdService.php file. The advertiserName field and its references should be changed to businessName. My colleague is working on an updated version of the client library to fix this.
Thanks,
Josh, AdWords API Team
Thanet Knack Praneenararat (AdWords API Team)
unread,
Jun 16, 2016, 10:52:17 AM6/16/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