REST Resource: platforms.accounts.sites

Resource: Site

Representation of a Site.

JSON representation
{
  "name": string,
  "domain": string,
  "state": enum (State)
}
Fields
name

string

Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}

domain

string

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

enum (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

create

Creates a site for a specified account.

delete

Deletes a site from a specified account.

get

Gets a site from a specified sub-account.

list

Lists sites for a specific account.

requestReview

Requests the review of a site.