Henry Weismann’s Personal Blog

Archive for July, 2016

Adwords API Oauth

by on Jul.25, 2016, under Web Development

I recently implemented the following guides to integrate the Adwords API Oauth login and offline conversions to be able to send WHMCS conversions to the Adwords:

http://www.ewanheming.com/adwords-api-offline-conversion-import

http://www.ewanheming.com/adwords-api-oauth-tutorial

It all worked well except for the Oauth portion which has some changes.  The changes are below.

We now have GetOAuth2Handler() instead of the conveinance functions on $user…..

For example my auth code:

Notice I also put in some code for &prompt=consent to be appended to make sure I get a refresh token when I don’t have one.

Saving Auth:

 

and Refreshing now looks like this:

 

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

    Archives

    All entries, chronologically...