Reference documentation and code samples for the Google Ads Ad Manager V1 Client class 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.
Generated from protobuf message google.ads.admanager.v1.Site
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the Site
. Format: networks/{network_code}/sites/{site_id}
↳ url
string
Required. The URL of the Site.
↳ child_network_code
string
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.
↳ approval_status
int
Output only. Status of the review performed on the Site by Google.
↳ approval_status_update_time
↳ disapproval_reasons
array< DisapprovalReason
>
Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.
getName
Identifier. The resource name of the Site
.
Format: networks/{network_code}/sites/{site_id}
string
setName
Identifier. The resource name of the Site
.
Format: networks/{network_code}/sites/{site_id}
var
string
$this
getUrl
Required. The URL of the Site.
string
hasUrl
clearUrl
setUrl
Required. The URL of the Site.
var
string
$this
getChildNetworkCode
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.
string
hasChildNetworkCode
clearChildNetworkCode
setChildNetworkCode
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.
var
string
$this
getApprovalStatus
Output only. Status of the review performed on the Site by Google.
int
hasApprovalStatus
clearApprovalStatus
setApprovalStatus
Output only. Status of the review performed on the Site by Google.
var
int
$this
getApprovalStatusUpdateTime
Output only. The latest Site approval status change time.
hasApprovalStatusUpdateTime
clearApprovalStatusUpdateTime
setApprovalStatusUpdateTime
Output only. The latest Site approval status change time.
$this
getDisapprovalReasons
Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.
setDisapprovalReasons
Output only. Provides reasons for disapproving the Site. It is null when the Site is not disapproved.
$this

