initial support for AdSense API, see #511