Google Ads Ad Manager V1 Client - Class ThirdPartyCompany (0.8.0)

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

Represents a third-party company recognized by Google Ad Manager, which can be an ad network, ad server, or video technology partner.

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

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 ThirdPartyCompany. Format: networks/{network_code}/thirdPartyCompanies/{third_party_company_id}

↳ display_name string

Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.

↳ status int

Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.

↳ type int

Output only. The type of the ThirdPartyCompany.

getName

Identifier. The resource name of the ThirdPartyCompany.

Format: networks/{network_code}/thirdPartyCompanies/{third_party_company_id}

Returns
Type Description
string

setName

Identifier. The resource name of the ThirdPartyCompany.

Format: networks/{network_code}/thirdPartyCompanies/{third_party_company_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.

Parameter
Name Description
var string
Returns
Type Description
$this

getStatus

Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.

Returns
Type Description
int

hasStatus

clearStatus

setStatus

Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.

Parameter
Name Description
var int
Returns
Type Description
$this

getType

Output only. The type of the ThirdPartyCompany.

Returns
Type Description
int

hasType

clearType

setType

Output only. The type of the ThirdPartyCompany.

Parameter
Name Description
var int
Returns
Type Description
$this