AdSense Service

The AdSense service allows you to use the
AdSense Management API in Apps Script. This API
gives AdSense customers the ability to get information about the structure
of their account and run reports on how it is performing.

Reference

For detailed information on this service, see the
reference documentation for the AdSense
Management API. Like all advanced services in Apps Script, the AdSense service
uses the same objects, methods, and parameters as the public API.