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. Its maximum length is 255 characters.
↳ description
string
Optional. A description of the Placement. This value is optional and its maximum length is 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 read-only and is assigned by Google when a placement is created.
↳ status
int
Output only. The status of the Placement. This attribute is read-only.
↳ targeted_ad_units
array
Optional. The resource names of AdUnits that constitute the Placement. Format: "networks/{network_code}/adUnits/{ad_unit_id}"
↳ 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. Its maximum length is 255 characters.
string
setDisplayName
Required. The display name of the placement. Its maximum length is 255 characters.
var
string
$this
getDescription
Optional. A description of the Placement. This value is optional and its maximum length is 65,535 characters.
string
setDescription
Optional. A description of the Placement. This value is optional and its maximum length is 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 read-only and is assigned by Google when a placement is created.
string
setPlacementCode
Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
var
string
$this
getStatus
Output only. The status of the Placement. This attribute is read-only.
int
setStatus
Output only. The status of the Placement. This attribute is read-only.
var
int
$this
getTargetedAdUnits
Optional. The resource names of AdUnits that constitute the Placement.
Format: "networks/{network_code}/adUnits/{ad_unit_id}"
setTargetedAdUnits
Optional. The resource names of AdUnits that constitute the Placement.
Format: "networks/{network_code}/adUnits/{ad_unit_id}"
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