Thursday, June 27, 2024

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

Unibots GA <somounibots@gmail.com>: Jun 26 04:13AM -0700

Hi Team,
Could you please tell me if there is any total row data limit
per day, and what that value is for Adsense Management API.
Regards.
Bhupender
 
On Thursday 20 June 2024 at 14:36:27 UTC+5:30 Ad Sense API wrote:
 
Ad Sense API <adsenseapi@forumsupport.google>: Jun 27 07:34AM

Hi Bhupender,
 
Thanks for your question. We do have a total row data limit per day, but don't document the exact limit, partly because it can vary from user to user.
 
The AdSense API documentation for limits and quotas has recently been updated at https://developers.google.com/adsense/management/appendix/limits and hopefully gives you a bit more information.
 
Regards,
Andrew (AdSense API team)
ref:!00D1U01174p.!5004Q02tJPOi:ref
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.

Friday, June 21, 2024

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

Unibots GA <somounibots@gmail.com>: Jun 19 02:33AM -0700

Hi,
 
I am getting an error while generating the access token which states:
 
"Access blocked: authorization error. You can't sign in to this app because
it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.
Error 400: invalid_request Request details:
redirect_uri=["http://localhost:3000"] flowName=GeneralOAuthFlow".
 
These accounts have all the permissions, but I am still getting the error.
I have attached a screenshot for reference.
 
Please help us resolve this on an urgent basis.
Regards,
Bhupender
Ad Sense API <adsenseapi@forumsupport.google>: Jun 20 09:12AM

Hi - thanks for your question.
 
I believe the problem is that the redirect URI needs to exactly match the location on your site that is capable of processing the authorization. My understanding is that localhost addresses are not considered valid, because of security concerns. I would recommend using an actual web address instead of localhost.
 
I hope this helps.
Regards,
Andrew (AdSense API team)
ref:!00D1U01174p.!5004Q02tJPOe:ref
Unibots GA <somounibots@gmail.com>: Jun 19 02:39AM -0700

Hi
 
I am getting an error while request for the data from ADSENSE MANAGEMENT
API:
 
" status: 429,
statusText: 'Too Many Requests',
request: {
responseURL: 'https://adsense.googleapis.com/v2/accounts/pub-........'
}
},
error: undefined,
status: 429,
code: 429,
errors: [
{
message: 'Report row quota exceeded.',
domain: 'global',
reason: 'rateLimitExceeded'
}
]".
 
I have requested small chunks of data, but I am still getting the same
error. Please help to resolve this on an urgent basis.
Ad Sense API <adsenseapi@forumsupport.google>: Jun 20 09:06AM

Hi - thanks for your message.
 
The errors you are receiving are because your user has exceeded the daily quota of reporting data that is retrievable via the API. There are some details of the limits at https://developers.google.com/adsense/management/appendix/limits#report. It might be that you have already made several large report requests during a 24 hour period, in which case even small requests will be rejected after that, until the quota gets reset at the the end of the 24 hour period.
 
I hope this helps.
Regards,
Andrew (AdSense API team)
ref:!00D1U01174p.!5004Q02tJPOi:ref
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.

Thursday, June 6, 2024

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

Scott Brown <scott@sidereel.com>: May 31 08:12AM -0700

Hi,
 
I have enabled Adsense Management API.
 
I have an OAuth 2.0 Client ID for Postman (I have a different one for
https://www.googleapis.com/auth/adwords that is working).
 
I can request new OAuth for scope "https://www.googleapis.com/auth/adsense"
and that works.
 
Yet when I try:
 
https://adsense.googleapis.com/v2/accounts/account_id/adclients/pub-#####/adunits
 
Grabbing pub-###### from our Adsense Account info as Publisher ID
 
 
I get
 
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
}
 
Also seeing 100 errors on the API Services page for the Adsense Management
API.
 
Both my Adsense and Google Cloud /API accounts use the same email / login.
 
What do I need to do to enable permissions to use Adsense API?
 
Thanks,
 
Scott
Ad Sense API <adsenseapi@forumsupport.google>: Jun 05 04:40PM

Hi Scott,
 
Thanks for your message. I'd recommend using the API explorer at https://developers.google.com/adsense/management/reference/rest/v2/accounts/list (the "Try this method" box), to check your user has the appropriate access. There is also sample code for accessing the API, including getting the relevant credentials, at https://developers.google.com/adsense/management/libraries.
 
I hope this helps.
Regards,
Andrew (AdSense API team)
ref:!00D1U01174p.!5004Q02tJDw1:ref
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.