AI-generated Key Takeaways
-
A Site resource represents a domain owned or represented by a network, including a child's domain in an MCM "Manage Inventory" model.
-
Site objects include fields like name, disapproval reasons, URL, child network code, approval status, and approval status update time.
-
Site approval status can be Approved, Disapproved, Draft, Requires Review, or Unchecked.
-
Disapproval reasons can be due to content violations, ownership issues, or other generic errors.
-
Several methods are available to manage Site objects, including creating, updating, retrieving, deactivating, and submitting sites for approval.
Resource: Site
A Site represents a domain owned or represented by a network. For a parent network managing other networks as part of Multiple Customer Management "Manage Inventory" model, it could be the child's domain.
| JSON representation |
|---|
{ "name" : string , "disapprovalReasons" : [ { object ( |
| Fields | |
|---|---|
name
|
Identifier. The resource name of the |
disapprovalReasons[]
|
Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved. |
url
|
Required. The URL of the Site. |
childNetworkCode
|
Optional. The network code of the child if the Site is being managed for an MCM child network, or null if owned by this network. |
approvalStatus
|
Output only. Status of the review performed on the Site by Google. |
approvalStatusUpdateTime
|
Output only. The latest Site approval status change time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
SiteApprovalStatus
Represents the approval status of a site.
| Enums | |
|---|---|
SITE_APPROVAL_STATUS_UNSPECIFIED
|
Default value. This value is unused. |
APPROVED
|
The site has been approved to serve ads. |
DISAPPROVED
|
The site has been disapproved from serving ads. |
DRAFT
|
The default status with which a site is created. |
REQUIRES_REVIEW
|
The site has been deactivated and is not serving ads due to dormancy. It must be resubmitted for approval. |
UNCHECKED
|
Once the site is submitted for approval, its status changes from draft to unchecked. It will be reviwed with an estimated turn-around time of 24h. Such a site cannot serve ads. |
DisapprovalReason
Represents the reason for which Google disapproved the Site.
| JSON representation |
|---|
{
"type"
:
enum (
|
| Fields | |
|---|---|
type
|
Output only. The type of policy violation found for the Site. |
details
|
Output only. Additional details for the disapproval of the Site. |
SiteDisapprovalReason
The list of possible policy violation types for a Site.
| Enums | |
|---|---|
SITE_DISAPPROVAL_REASON_UNSPECIFIED
|
Default value. This value is unused. |
CONTENT
|
The site has content that violates policy. |
OTHER
|
Generic error type. |
OWNERSHIP
|
The parent must be an authorized seller of the child network's inventory. |
Methods |
|
|---|---|
|
API to batch create Site
objects. |
|
Deactivates a list of Site
objects. |
|
Submits a list of Site
objects for approval. |
|
API to batch update Site
objects. |
|
API to create a Site
object. |
|
API to retrieve a Site
object. |
|
API to retrieve a list of Site
objects. |
|
API to update a Site
object. |

