Reference documentation and code samples for the Google Ads Ad Manager V1 Client class GetAdUnitRequest.
Request object for GetAdUnit method.
Generated from protobuf message google.ads.admanager.v1.GetAdUnitRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the AdUnit. Format: |
getName
Required. The resource name of the AdUnit.
Format: networks/{network_code}/adUnits/{ad_unit_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of the AdUnit.
Format: networks/{network_code}/adUnits/{ad_unit_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The resource name of the AdUnit.
Format: |
| Returns | |
|---|---|
| Type | Description |
GetAdUnitRequest |
|