Hi, Is there a specific REST API endpoint to fetch accounts that are not enabled or deactivated using Google Ads API ?
On Tuesday, August 12, 2025 at 2:13:59 PM UTC+3 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > From the provided information, you are encountering a > USER_PERMISSION_DENIED > <https://developers.google.com/google-ads/api/reference/rpc/v14/AuthorizationErrorEnum.AuthorizationError#user_permission_denied> > authorization > error, it means the user doesn't have permission to access the customer. > According to the documentation > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#:~:text=USER_PERMISSION_DENIED>, > if > you're accessing the customer, please specify the login-customer-id as the > manager account ID. Please check if you have the correct access level > <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1> > to > the Google Ads account that you are accessing. Kindly note that could you > confirm whether you have added your email ID used to generate the OAuth > credentials is listed as having 'Admin' or 'Standard' access in your > customer account. Kindly verify this by checking under your Google Ads > account > Admin > Access and Security > Users > The email ID has the > necessary access level. I recommend referring to the help center article > "Manage access to > your Google Ads account > <https://support.google.com/google-ads/answer/6372672?hl=en&_gl=1*1h4hfae*_ga*MTkxOTkwNjQ3NC4xNzI3MDg4MzMw*_ga_V9K47ZG8NP*MTcyNzE2MDYwMy42LjEuMTcyNzE2MDgyNS42MC4wLjA.>" > > for more information. Also, please check if you have the correct access > level > <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1> > to > the Google Ads account that you are accessing. Also, could you please > provide us with the below details. > > - Execute List Accessible Customers > > <https://developers.google.com/google-ads/api/samples/list-accessible-customers> > and > provide us complete API request and response logs, you may also check this > API > documentation > > <https://developers.google.com/google-ads/api/docs/account-management/listing-accounts> > for > more information. > - The user email is used for generating the OAuth credentials i.e, > refresh token. > - please provide the complete, updated API logs (request > > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs with request-id > > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > > generated at your end.If you are using a client library and haven't > enabled > the logging yet, I would request you to enable logging for the specific > client library that you are using. You can refer to the guides Java > > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , .Net > > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , PHP > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , Python > > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , Ruby > > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or Perl > > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to > enable logging at your end. For REST interface requests, you can > enable logging via the curl command by using the -i flag. > > > You can send the details via *Reply privately to the author option*, or > *direct > private reply* to this email. > > > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001syoPVIAY> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001syoPVIAY> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001syoPVIAY> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001syoPVIAY> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001syoPVIAY> > [2025-08-12 11:13:18Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01syoPV:ref" (ADR-00329655) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/db3e5d86-a17e-4568-813d-bf71492fad87n%40googlegroups.com.
