Google Ads Ad Manager V1 Client - Class LinkedDevice (0.7.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class LinkedDevice.

A test mobile device that is linked to the network. Can be used to preview a creative within a mobile application.

Generated from protobuf message google.ads.admanager.v1.LinkedDevice

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the LinkedDevice. Format: networks/{network_code}/linkedDevices/{linked_device_id}

↳ display_name string

Required. The display name of the LinkedDevice.

↳ owner string

Output only. The user who owns this device linking. Format: networks/{network_code}/users/{user}

↳ visibility int

Optional. The visibility of the device.

getName

Identifier. The resource name of the LinkedDevice.

Format: networks/{network_code}/linkedDevices/{linked_device_id}

Returns
Type Description
string

setName

Identifier. The resource name of the LinkedDevice.

Format: networks/{network_code}/linkedDevices/{linked_device_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Required. The display name of the LinkedDevice.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Required. The display name of the LinkedDevice.

Parameter
Name Description
var string
Returns
Type Description
$this

getOwner

Output only. The user who owns this device linking.

Format: networks/{network_code}/users/{user}

Returns
Type Description
string

hasOwner

clearOwner

setOwner

Output only. The user who owns this device linking.

Format: networks/{network_code}/users/{user}

Parameter
Name Description
var string
Returns
Type Description
$this

getVisibility

Optional. The visibility of the device.

Returns
Type Description
int

hasVisibility

clearVisibility

setVisibility

Optional. The visibility of the device.

Parameter
Name Description
var int
Returns
Type Description
$this