Google Ads Ad Manager V1 Client - Class YieldPartner (0.17.0)

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

Represents a third-party ad network or exchange, configured within the context of a Company, that publishers partner with to monetize their ad inventory.

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

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 YieldPartner. Format: networks/{network_code}/yieldPartners/{yieldPartnerId}

↳ display_name string

Optional. The name of the yield partner. This refers to the name of the company associated with the partner, if there is one.

↳ company string

Output only. The company associated with this yield partner.

↳ settings array<YieldPartnerSettings>

Optional. The settings of the partner, representing its capabilities.

getName

Identifier. The resource name of the YieldPartner.

Format: networks/{network_code}/yieldPartners/{yieldPartnerId}

Returns
Type Description
string

setName

Identifier. The resource name of the YieldPartner.

Format: networks/{network_code}/yieldPartners/{yieldPartnerId}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. The name of the yield partner. This refers to the name of the company associated with the partner, if there is one.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Optional. The name of the yield partner. This refers to the name of the company associated with the partner, if there is one.

Parameter
Name Description
var string
Returns
Type Description
$this

getCompany

Output only. The company associated with this yield partner.

Returns
Type Description
string

hasCompany

clearCompany

setCompany

Output only. The company associated with this yield partner.

Parameter
Name Description
var string
Returns
Type Description
$this

getSettings

Optional. The settings of the partner, representing its capabilities.

Returns
Type Description
Google\Protobuf\RepeatedField<YieldPartnerSettings>

setSettings

Optional. The settings of the partner, representing its capabilities.

Parameter
Name Description
var array<YieldPartnerSettings>
Returns
Type Description
$this