Google Ads Ad Manager V1 Client - Class MobileDeviceSubmodel (0.5.0)

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

Represents a mobile device submodel.

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

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 MobileDeviceSubmodel. Format: networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}

↳ display_name string

Output only. The display name of the mobile device submodel.

↳ mobile_device string

Output only. The mobile device associated with the submodel. Format: networks/{network_code}/mobileDevices/{mobile_device}

getName

Identifier. The resource name of the MobileDeviceSubmodel.

Format: networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}

Returns
Type Description
string

setName

Identifier. The resource name of the MobileDeviceSubmodel.

Format: networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The display name of the mobile device submodel.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The display name of the mobile device submodel.

Parameter
Name Description
var string
Returns
Type Description
$this

getMobileDevice

Output only. The mobile device associated with the submodel.

Format: networks/{network_code}/mobileDevices/{mobile_device}

Returns
Type Description
string

hasMobileDevice

clearMobileDevice

setMobileDevice

Output only. The mobile device associated with the submodel.

Format: networks/{network_code}/mobileDevices/{mobile_device}

Parameter
Name Description
var string
Returns
Type Description
$this