Analytics Service

The Analytics service allows you to use the Google Analytics
Management API and
Reporting APIs in Apps Script. These APIs
gives Analytics users the ability to get information about the structure
of their account and run reports on how it is performing.