Hi Team,
This is regarding Google Ads API setup using a service account. We are trying to generate report for Google Ads using API and service account. We have followed the steps provided in Google Ads Documentation (https://developers.google.com/google-ads/api/docs/oauth/service-accounts#prerequisites). As part of this, we have complete below steps
Now we are trying to authenticate it using OAUTH2 but we are getting an error mentioning NOT_ADS_USER. Can you please help us to complete this authentication?
Hi Anum,
Thanks for reaching out to us.
Could you please confirm if you’ve indeed followed every step of the service account guide, specifically the prerequisites? If you’ve followed said guide and performed correctly and still have the same issue, I recommend you to reach out to the API Console team via this link, so their team can guide you through required authentication and credentials verification with regards to service accounts.
Kindly note that, we strongly recommend using OAuth2 installed app or web flows instead of service accounts unless you need domain-specific features (for example, impersonation). OAuth2 installed application and web flows require user interaction only once, when access to the account is granted. You need to implement the code set up on your end to make calls using service accounts.
Let us know if you have any further questions.
Regards,
|
||||||