Question

I am trying to use the Google AdWords API and have the entire directory uploaded. I have received the following error:

 Fatal error: Uncaught exception 'ValidationException' with message 
     'Validation failed for [oauthHandlerClass] with value []:  
      Pecl OAuth extension is required to use OAuth 1. 
      Or a custom OAuth handler can be specified in settings.ini. '

I am using GoDaddy for FTP/Hosting. How do I get this "Pecl OAuth extension" and if not not how would I go about creating a custom oAuth handler to get rid of this message?

Was it helpful?

Solution

Pecl OAuth is in C so you had to compile it on server but only server admin can do this.

You could try version in pure PHP - OAuth for PHP from Google

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top