Google API: Customer is not an AdSense Host -
what i'm trying do?
list , create adsense ad units using google api.
what have tried?
- went adunits.list on google apis explorer.
- inserted in accountid , adclientid (pub-xxxxxxxxxxxxxx, ca-app-pub-xxxxxxxxxxxxxx)
- clicked 'execute'.
- i received error 403 "customer not adsense host".
- looked online answers without success, here on stackoverflow.
anyone knows how this?
thanks!
as adsense publisher regular adsense account, can't use adsense host api.
adsense host api host partner websites (blogger, webanswers, docstoc, etc.) , enables site-owners share revenue users.
https://developers.google.com/adsense/host/featuresbenefits https://developers.google.com/adsense/host/become-a-host#eligibility
you can use adsense management api adsense.accounts.adunits.list
retreive list of units. (but, can't create new units management api.)
https://developers.google.com/adsense/management/v1.4/reference/accounts/adunits/list
Comments
Post a Comment