Fatal error: Class 'Google\AdsApi\Common\OAuth2TokenBuilder' not found.

234 views
Skip to first unread message

Stephen Barrett

unread,
May 3, 2018, 9:50:07 PM5/3/18
to AdWords API and Google Ads API Forum
I'm getting this error when trying to view an example on a webpage: Fatal error: Class 'Google\AdsApi\Common\OAuth2TokenBuilder' not found.

I installed the lib via git clone, I added the lib to a directory called adwords, and I added the adsapi_php.ini file to the root directory of my application. I also add the required values into that file as well.  Am I missing anything? I'm also working this into a Wordpress site if that makes any difference. 

Luis Xander Talag (AdWords API Team)

unread,
May 3, 2018, 11:11:13 PM5/3/18
to AdWords API and Google Ads API Forum
Hi Stephen,

It seems your concern is more related to the PHP client libraries rather than the AdWords API. I would suggest to post your issue here as the client library owners are better equipped to assist you in this matter.

Thanks and regards,
Luis
AdWords API Team

Stephen Barrett

unread,
May 4, 2018, 5:52:29 PM5/4/18
to AdWords API and Google Ads API Forum
Thanks Luis. I'll check there.
Reply all
Reply to author
Forward
0 new messages