Google AdSense Management API, The caller does not have permission

243 views
Skip to first unread message

firma gündemi

unread,
Sep 20, 2022, 5:20:45 AM9/20/22
to Google Ads API and AdWords API Forum
{ "error": { "code": 403, "message": "The caller does not have permission", "errors": [ { "message": "The caller does not have permission", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } }

I searched for this but couldn't find a solution. I WORK WITH PHP. 



Google Ads API Forum Advisor

unread,
Sep 20, 2022, 6:50:13 AM9/20/22
to firmag...@gmail.com, adwor...@googlegroups.com
Hi Firma,

Thank you for raising this concern to the Google Ads API Forum.

I completely understand that you are having issues regarding the Permission_Denied error. To have a clearer view of this, we will be needing the complete API logs within the format of  request and response logs with request ID and request header that generated on your endThis information will help our team to better check and have an accurate solution here. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. PHP) > Logging documentation, which you can access from this link.

For security purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2edSaf:ref

firma gündemi

unread,
Sep 20, 2022, 8:12:01 AM9/20/22
to Google Ads API and AdWords API Forum
I couldn't use the logging API.
I have defined adsense scopes for this api. I am trying to get Adsense data by logging in with Adsense account itself. It seems silly to me that there is a permission problem here because I am logging in from an account that can already be seen in the adsense panel. What would be the most likely cause?

20 Eylül 2022 Salı tarihinde saat 13:50:13 UTC+3 itibarıyla adsapi şunları yazdı:

firma gündemi

unread,
Sep 20, 2022, 8:17:35 AM9/20/22
to Google Ads API and AdWords API Forum
laravel debug result

Ekran Alıntısı.PNG
20 Eylül 2022 Salı tarihinde saat 15:12:01 UTC+3 itibarıyla firma gündemi şunları yazdı:

Google Ads API Forum Advisor

unread,
Sep 20, 2022, 10:33:25 AM9/20/22
to firmag...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for providing more details. I see that you are using the AdSense Management API. Our team specializes in support for the Google Ads API. The AdSense Management API site references this support page. For further assistance, please submit your inquiry to that forum.

Regards,

Google Logo
Matt
Google Ads API Team
 


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