Reference documentation and code samples for the Google Ads Ad Manager V1 Client class MobileDevice.
Represents a mobile device.
Generated from protobuf message google.ads.admanager.v1.MobileDevice
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ display_name |
string
Output only. The localized name of the mobile device. |
↳ manufacturer |
string
Output only. The manufacturer associated with the mobile device. Format: |
getName
Identifier. The resource name of the MobileDevice.
Format: networks/{network_code}/mobileDevices/{mobile_device}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the MobileDevice.
Format: networks/{network_code}/mobileDevices/{mobile_device}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Output only. The localized name of the mobile device.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDisplayName
clearDisplayName
setDisplayName
Output only. The localized name of the mobile device.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getManufacturer
Output only. The manufacturer associated with the mobile device.
Format: networks/{network_code}/deviceManufacturers/{device_manufacturer}
| Returns | |
|---|---|
| Type | Description |
string |
|
hasManufacturer
clearManufacturer
setManufacturer
Output only. The manufacturer associated with the mobile device.
Format: networks/{network_code}/deviceManufacturers/{device_manufacturer}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|