Problems with OAUTH2 with scope ADWORDS

52 views
Skip to first unread message

Francesco Protano

unread,
Feb 8, 2017, 11:33:50 AM2/8/17
to AdWords API Forum
Hello i need to use OAUTH2 authentication with ADWORDS api
I red step by step the google developper guide but i aspected to found the scope for ADWORD API but not is present.

I tried specifyng this scope


but i receive this message

InvalidScopeException in AbstractService.php line 60:Scope https://www.googleapis.com/auth/adwords is not valid for service OAuth\OAuth2\Service\Google




Somebody can help me?

Thanks for all

Shwetha Vastrad (AdWords API Team)

unread,
Feb 8, 2017, 3:24:56 PM2/8/17
to AdWords API Forum
Hi Francesco,

Could you confirm that you followed the instructions provided here to generate OAuth2 credentials? If not, could you list the steps you followed to generate your OAuth2 credentials and refresh token? The "https://www.googleapis.com/auth/adwords" scope is the correct one for AdWords API.

Thanks,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages