Resource: Site
Representation of a Site.
JSON representation |
---|
{
"name": string,
"reportingDimensionId": string,
"domain": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of a site. Format: accounts/{account}/sites/{site} |
reportingDimensionId |
Output only. Unique ID of the site as used in the |
domain |
Domain (or subdomain) of the site, e.g. "example.com" or "www.example.com". This is used in the |
state |
Output only. State of a site. |
autoAdsEnabled |
Whether auto ads is turned on for the site. |
State
State of the site. See Check the status of AdSense sites for more information.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
REQUIRES_REVIEW |
Either:
|
GETTING_READY |
Google is running some checks on the site. This usually takes a few days, but in some cases it can take two to four weeks. |
READY |
The site is ready to show ads. Learn how to set up ads on the site. |
NEEDS_ATTENTION |
Publisher needs to fix some issues before the site is ready to show ads. Learn what to do if a new site isn't ready. |
Methods |
|
---|---|
|
Gets information about the selected site. |
|
Lists all the sites available in an account. |