Tuesday, February 10, 2015

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

dan@viewex.co.uk: Feb 09 07:54AM -0800

I am testing the AdSense Management API and I've just attempted to create a
new Gmail user and add them to my AdSense account
However I'm getting a 403 User does not have an AdSense account error when
I'm trying to authorise them in the API.
This happens whether or not they are an admin.
Should they be an admin like integrating DFP?
Can someone help me with this issue?
"Dean Lukies (Adsense API Team)" <adsenseapiadvisor+lukiesd@google.com>: Feb 09 08:43AM -0800

I am assuming you are following the steps here
- https://developers.google.com/adsense/host/signup - and are breaking at
When you call associationsessions.start
<https://developers.google.com/adsense/host/v4.1/associationsessions/start> you
should be calling it with your developer account and not the new user
If you have that right and it is still failing:
- Go into incognito mode in your browser
- Go
to https://developers.google.com/adsense/host/v4.1/adclients/list#try-it
- Click on Authorize and login using your developer account
- Check that you can call and get data back from the API

If that works your developer account should be good and you can try calling
<https://developers.google.com/adsense/host/v4.1/associationsessions/start> by
hand (Click Try it or scroll down to the bottom)
If these pointers don't help work things out, let me know which one of them
didn't work, along with the method you were calling and the detailed error
galeksic <agencijaspecihost@gmail.com>: Feb 09 09:23AM -0800

@*Dean Lukies* - Is that necessary for AdSense Management API?
I'm using Management API as user with standard level access:
Only with wrong credentials I'm getting:
"error": {
"errors": [
"domain": "global",
"reason": "noAdSenseAccount",
"message": "User does not have an AdSense account."
"code": 403,
"message": "User does not have an AdSense account."
So before I start implementing I always first check credentials here:
(If it doesn't work from there, then it won't work from my box.)
@*d...@viewex.co.uk* - Can you login to www.google.com/adsense as user you
just added to your AdSense account. Not sure, I think that account must be
validated / verified first.
"Dean Lukies (Adsense API Team)" <adsenseapiadvisor+lukiesd@google.com>: Feb 09 12:34PM -0800

Quite correct; removed the post as it was Host API info.
https://developers.google.com/adsense/management/v1.4/reference/accounts/list#try-it with
you account.
If it lets you list your account you should be good to go, if not please
include the full error.
On Monday, February 9, 2015 at 12:23:04 PM UTC-5, galeksic 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.

No comments:

Post a Comment