Google Ads API Access Roles Requires

297 views
Skip to first unread message

Peos John

unread,
Aug 18, 2023, 3:28:31 AM8/18/23
to Google Ads API and AdWords API Forum
Hello App,

I would like to know what level of access we require for Google Ads API.

Roles that need to be enabled fro the gmail account that we use trigger the API.

Need your help on this.

Google Ads API Forum Advisor

unread,
Aug 18, 2023, 5:39:30 AM8/18/23
to peos...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to Google Ads API Forum.

As per this guide (https://developers.google.com/google-ads/api/docs/access-levels#access_levels_2) about Access Levels, to be able to access both Test and production accounts, you will need to have at least the Basic access level. However, this has 15,000 operations / day as daily operation limit. 

For a Quickstart Overview into Google Ads API, you may refer to this guide (https://developers.google.com/google-ads/api/docs/first-call/overview).  

Let us know if you have further questions.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2nthd0:ref"

Thanks,
 
Google Logo Google Ads API Team


Peos John

unread,
Aug 19, 2023, 1:45:45 AM8/19/23
to ads...@forumsupport.google, adwor...@googlegroups.com
Hello,

Thank you for your reply.

We already have got Basic Access But still throws an Error. Please check below error screenshot and share you advise.

image.png

Regards
Peos

Google Ads API Forum Advisor

unread,
Aug 22, 2023, 9:21:52 AM8/22/23
to peos...@gmail.com, adwor...@googlegroups.com
Hi Peos,

Thank you for returning to our team.

The AuthorizationError.ACTION_NOT_PERMITTED error occurs when the user does not have permission to perform this action (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. You encountered said error because you are using the credentials with adequate access level. That said, please make sure that the user email that is used for the authentication indeed has a correct access level to the account specified in your request. You may refer to the steps shown under the "How to edit access level" section of this guide to edit the access level.

As an administrator, you can get the list of users with access to an account by building a Google Ads Query Language statement to query all the CustomerUserAccess entities associated with a customer ID. Here is a typical query:

SELECT
  customer_user_access.user_id,
  customer_user_access.email_address,
  customer_user_access.access_role,
  customer_user_access.access_creation_date_time,
  customer_user_access.inviter_user_email_address
FROM customer_user_access

Lastly, I noticed that you are using the v12 of the Google Ads API which was already deprecated. To avoid issues on your end, I would highly suggest upgrading to the newest version.

Links included in this email:
Reply all
Reply to author
Forward
0 new messages