I created new credentials in Google Developer Console for Google Ads base URL : https://googleads.googleapis.com/v14/customers. and added the scope: https://www.googleapis.com/auth/adwords .
For Postman I performed the following steps in my Google Ads workspace :
When I click Access New Token, I get the redirect page requesting me to choose an account. So I choose my google account and allow oauth.pstmn.io to access my google account (This is postman browser) .
The token generation fails with the message below (note that I have already successfully done token generation with credentials used for DFA Reporting for Campaigns, Sites, and Ads in GCM 360):
However the result is that I get is an "invalid client". How could that be since I created the client in Google Developer Console and copied those over to Postman? Thanks
Here are the error slides:
Restricted Scopes AdWords
Solved! Go to Solution.
@Tonanate wrote:Two really fundamental things that I had forgotten when calling Google Ads whether in Postman OR in an AWS python integration (I cannot believe I missed this !) and they are:
1. Make sure that the client gives you a developer token
2. Make sure that your scope is non-Sensitive or, if the scope is sensitive, has been approved by Google Developer Team to allow the API to access data.
You need both of these to make this work. I was so swayed by the results of the dfareporting scope working for Campaign Manager 360 that I completely forgot the importance of scope sensitivity. Now I'll have to tell the client they must wait anywhere from 3 - 5 days for approval.
@Tonanate wrote:Two really fundamental things that I had forgotten when calling Google Ads whether in Postman OR in an AWS python integration (I cannot believe I missed this !) and they are:
1. Make sure that the client gives you a developer token
2. Make sure that your scope is non-Sensitive or, if the scope is sensitive, has been approved by Google Developer Team to allow the API to access data.
You need both of these to make this work. I was so swayed by the results of the dfareporting scope working for Campaign Manager 360 that I completely forgot the importance of scope sensitivity. Now I'll have to tell the client they must wait anywhere from 3 - 5 days for approval.