Resource: Site
Representation of a Site.
JSON representation |
---|
{
"name": string,
"domain": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site} |
domain |
Domain/sub-domain of the site. Must be a valid domain complying with RFC 1035 and formatted as punycode RFC 3492 in case the domain contains unicode characters. |
state |
Output only. State of a 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 |
|
---|---|
|
Creates a site for a specified account. |
|
Deletes a site from a specified account. |
|
Gets a site from a specified sub-account. |
|
Lists sites for a specific account. |
|
Requests the review of a site. |