Accessing the google Ads API to upload Customer emails as Audience List

40 views
Skip to first unread message

Sandeep Salim

unread,
Oct 5, 2020, 5:22:06 AM10/5/20
to adwor...@googlegroups.com
Hi team,

 I have a clarification regarding accessing your API to create/update email of customers as audience list for our marketing purpose.
'm using Python to connect to the API and was referring to this https://groups.google.com/g/adwords-api/c/JAYpCdC2hIo?pli=1 link,So i have downloaded the PYTHON library and try to access the API but it is not getting conenctted, I think i have made some mistakes in the steps.

What i have done is:
1.Created a text account but the status is like "Closed"
Screen Shot 2020-10-05 at 11.10.48.png

2.On Google Developer Console,added the APi and created a service account and Oauth2 creds.
Screen Shot 2020-10-05 at 11.15.09.png
Screen Shot 2020-10-05 at 11.14.57.png

3.Getting the below error:
googleads.errors.GoogleAdsServerFault: [AuthenticationError.NOT_ADS_USER @ ; trigger:'<null>']

4. Is there any other setting or LINKING i need to do to make the script to connect the API ?

5.Also i have requested Basic access and sent the details over, How long i have to wait for it ?

6. Is there  any other documentation which helps/describe the process in detail ?


Thanks
Sandeep

Google Ads API Forum Advisor Prod

unread,
Oct 5, 2020, 12:11:07 PM10/5/20
to sandee...@sunday.de, adwor...@googlegroups.com

Hi Sandeep,

Thank you for reaching out. Please find my response to your questions below:

 
  1. The test accounts are with the “closed” status by default.

  2. To make the process easier I would suggest you to use installed app or web flows instead of service accounts. OAuth2 installed application and web flows require user interaction only once, when access to the account is granted.

  3. If you follow the steps in the above link to create the OAuth2 credentials using Installed Application Flow or the Web Application Flow, you should be able to avoid the error.

  4. Make sure the configuration file is properly set up.

  5. It might take some time for them to process your request. Please closely monitor your API contact email.

  6. Please refer to this guide for more information on how to set up the OAuth2 credentials.

 

Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 

 



ref:_00D1U1174p._5004Q25Z9XR:ref
Reply all
Reply to author
Forward
0 new messages