Sometime get error while using search_stream get campaign of account ads.

62 views
Skip to first unread message

Nguyen Vien

unread,
Nov 23, 2023, 3:31:24 AM11/23/23
to Google Ads API and AdWords API Forum
Sometimes I get a "Caller does not have permission" message when receiving account advertising campaigns. It only happens occasionally, meaning sometimes the get campaign is successful, sometimes it returns an error on the same ad account. I use Python with the GoogleAdsClient library. Because there are many accounts, instead of looping to each account to get the campaign. I use it with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor: to be able to send multiple requests on multiple threads. Please help. Thanks 

Google Ads API Forum Advisor

unread,
Nov 23, 2023, 5:33:36 AM11/23/23
to viennguye...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you are getting a "Caller does not have permission" message when receiving account advertising campaigns.I would recommend checking out the USER_PERMISSION_DENIED documentation to know more information.

If the issue still persists,Kindly please provide us with the complete API logs (request and response with request-id and request header) generated at your end and along with the uncropped UI screenshot of the Google Ads account with better visibility of the customer ID to assist you better.

If you are using a client library and haven't enabled logging yet, I would request that  you enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl 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 a direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qUeqS:ref"

Thanks,
 
Google Logo Google Ads API Team

 

Reply all
Reply to author
Forward
0 new messages