Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Placement.
The Placement
resource.
Generated from protobuf message google.ads.admanager.v1.Placement
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the Placement
. Format: networks/{network_code}/placements/{placement_id}
↳ placement_id
int|string
Output only. Placement
ID.
↳ display_name
string
Required. The display name of the placement. This attribute has a maximum length of 255 characters.
↳ description
string
Optional. A description of the Placement. This attribute has a maximum length of 65,535 characters.
↳ placement_code
string
Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is assigned by Google.
↳ status
int
Output only. The status of the Placement.
↳ targeted_ad_units
array
Optional. The resource names of AdUnits that constitute the Placement. Format: "networks/{network_code}/adUnits/{ad_unit}"
↳ update_time
getName
Identifier. The resource name of the Placement
.
Format: networks/{network_code}/placements/{placement_id}
string
setName
Identifier. The resource name of the Placement
.
Format: networks/{network_code}/placements/{placement_id}
var
string
$this
getPlacementId
Output only. Placement
ID.
int|string
setPlacementId
Output only. Placement
ID.
var
int|string
$this
getDisplayName
Required. The display name of the placement. This attribute has a maximum length of 255 characters.
string
hasDisplayName
clearDisplayName
setDisplayName
Required. The display name of the placement. This attribute has a maximum length of 255 characters.
var
string
$this
getDescription
Optional. A description of the Placement. This attribute has a maximum length of 65,535 characters.
string
hasDescription
clearDescription
setDescription
Optional. A description of the Placement. This attribute has a maximum length of 65,535 characters.
var
string
$this
getPlacementCode
Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is assigned by Google.
string
hasPlacementCode
clearPlacementCode
setPlacementCode
Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is assigned by Google.
var
string
$this
getStatus
Output only. The status of the Placement.
int
hasStatus
clearStatus
setStatus
Output only. The status of the Placement.
var
int
$this
getTargetedAdUnits
Optional. The resource names of AdUnits that constitute the Placement.
Format: "networks/{network_code}/adUnits/{ad_unit}"
setTargetedAdUnits
Optional. The resource names of AdUnits that constitute the Placement.
Format: "networks/{network_code}/adUnits/{ad_unit}"
var
string[]
$this
getUpdateTime
Output only. The instant this Placement was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The instant this Placement was last modified.
$this