Google API: Customer is not an AdSense Host -


what i'm trying do?

list , create adsense ad units using google api.

what have tried?

  1. went adunits.list on google apis explorer.
  2. inserted in accountid , adclientid (pub-xxxxxxxxxxxxxx, ca-app-pub-xxxxxxxxxxxxxx)
  3. clicked 'execute'.
  4. i received error 403 "customer not adsense host".
  5. 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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -