Skip to main content

sites

Overview

Namesites
TypeResource
Idgoogleads.adsense.sites

Fields

NameDatatypeDescription
namestringOutput only. Resource name of a site. Format: accounts/{account}/sites/{site}
domainstringDomain (or subdomain) of the site, e.g. "example.com" or "www.example.com". This is used in the OWNED_SITE_DOMAIN_NAME reporting dimension.
reportingDimensionIdstringOutput only. Unique ID of the site as used in the OWNED_SITE_ID reporting dimension.
statestringOutput only. State of a site.
autoAdsEnabledbooleanWhether auto ads is turned on for the site.

Methods

NameAccessible byRequired ParamsDescription
accounts_sites_getSELECTaccountsId, sitesIdGets information about the selected site.
accounts_sites_listSELECTaccountsIdLists all the sites available in an account.