Saturday, July 22, 2023

Digest for adsense-api@googlegroups.com - 5 updates in 2 topics

Steve Schau <fastitteam@gmail.com>: Jul 20 05:44PM -0700

Hello
 
I implemented the feature creating cuustom channel via api following the
API doc, it returns 403 PERMISSION_DENIED.
https://developers.google.com/adsense/management/reference/rest/v2/accounts.adclients.customchannels/create#authorization-scopes
I tried with API explorer, it returns same error.
The get/list APIs work well though.
I've read a post that says only solution is to contact Adsense API team.
But I don't know how to contact.
 
Any help would be appreciated!
 
Thanks
Goran Aleksic <agencijaspecihost@gmail.com>: Jul 21 05:21AM -0700

Help page you linked says:
 
*> This method can only be used by projects enabled for the AdSense for
Platforms product.*
 
https://developers.google.com/adsense/platforms/
 
Is AdSense for Platforms enabled on your project?
 
https://developers.google.com/adsense/platforms/register-interest
Steve Schau <fastitteam@gmail.com>: Jul 21 06:17AM -0700

It's AdSense Management
API(https://developers.google.com/adsense/management/reference/rest), not
AFP api (https://developers.google.com/adsense/platforms/api/)
 
On Friday, July 21, 2023 at 5:21:52 AM UTC-7 Goran Aleksic wrote:
 
Goran Aleksic <agencijaspecihost@gmail.com>: Jul 21 06:46AM -0700

Here is what I see when I click on link you posted in your first message:
 
[image: 230721-154019.png]
Steve Schau <fastitteam@gmail.com>: Jul 20 05:15PM -0700

Hello, Team
 
I'm trying to create new custom channel via adsense management api. It
returns 403 (PERMISSION_DENIED). All read operations work well.
 
I've read a post, where the poster says it has a allowlist, I need to get
something approved/allowed in order to use the channel creation api.
 
Thanks in advance
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.

Tuesday, July 18, 2023

Digest for adsense-api@googlegroups.com - 4 updates in 1 topic

Mayank Agrawal <mayank.agr@media.net>: Jul 17 10:39AM -0700

We fetch adsense reports using GET
https://adsense.googleapis.com/v2/{account=accounts/*}/reports:generateCsv
<https://notifications.google.com/g/p/ADa0GC94EDc7eWXMdk649XBWeV6EYpFlhLXpgM-ooQa0n0cxfqC3WZSWX8P6Xgq2KInDQhMI6Ss96o-P97vC57oHL2LMN-egSrt9Osx22FvRvEU-pZghRYmCUWK_FHQeecX8o8MZ2o_bKieHQfGMW4ey8b_fHE9-3ASkRhk4I5ec83sXHCqSkNnh78JfuZtnYyG_1qW2-JeWGPk9ukL6Qv5ySI86qAiunN99m9nr2QMirwAzJ598BKoiVCS0>
Since last 1-2 hours this api is giving error : 500 "Internal error
encountered." .
 
It seems that if I remove the metric : "ADS_PER_IMPRESSION" then it works
Earlier it used to work fine with that metric also.
 
Sample call to reproduce:
https://adsense.googleapis.com/v2/accounts/{account-id}/reports:generateCsv?dateRange=YESTERDAY&dimensions=DATE&dimensions=ACCOUNT_NAME&dimensions=AD_CLIENT_ID&metrics=IMPRESSIONS&metrics=CLICKS&metrics=ADS_PER_IMPRESSION
Ad Sense API <adsenseapi@forumsupport.google>: Jul 17 06:10PM

Thank you for the report. Our engineers are looking into the problem.
 
Regards,
Malcolm (AdSense API team)
ref:_00D1U1174p._5004Q2n8bdL:ref
Ad Sense API <adsenseapi@forumsupport.google>: Jul 17 08:12PM

We apologize for any inconvenience this may have caused. Our engineers believe this should have been resolved as of approximately 19:20 UTC today.
 
Please let me know if you're continuing to see errors from reports involving the ADS_PER_IMPRESSION metric.
 
Regards,
Malcolm (AdSense API team)
ref:_00D1U1174p._5004Q2n8bdL:ref
Mayank Agrawal <mayank.agr@media.net>: Jul 17 08:13PM -0700

Yes, it has resolved now.
Thank you for the quick response.
 
On Tuesday, July 18, 2023 at 1:42:22 AM UTC+5:30 Ad Sense API wrote:
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.