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

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

Represents a browser, including its version.

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

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 Browser. Format: networks/{network_code}/browsers/{browser}

↳ display_name string

Output only. The display name of the browser, including version info.

↳ major_version string

Output only. The major version of the browser.

↳ minor_version string

Output only. The minor version of the browser.

getName

Identifier. The resource name of the Browser.

Format: networks/{network_code}/browsers/{browser}

Returns
Type Description
string

setName

Identifier. The resource name of the Browser.

Format: networks/{network_code}/browsers/{browser}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The display name of the browser, including version info.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The display name of the browser, including version info.

Parameter
Name Description
var string
Returns
Type Description
$this

getMajorVersion

Output only. The major version of the browser.

Returns
Type Description
string

hasMajorVersion

clearMajorVersion

setMajorVersion

Output only. The major version of the browser.

Parameter
Name Description
var string
Returns
Type Description
$this

getMinorVersion

Output only. The minor version of the browser.

Returns
Type Description
string

hasMinorVersion

clearMinorVersion

setMinorVersion

Output only. The minor version of the browser.

Parameter
Name Description
var string
Returns
Type Description
$this