Google Ads Data Manager V1 Client - Class PartnerAudienceInfo (0.2.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class PartnerAudienceInfo.

Additional information for partner audiences.

This feature is only available to data partners.

Generated from protobuf message google.ads.datamanager.v1.PartnerAudienceInfo

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ partner_audience_source int

Required. Immutable. The source of the partner audience.

↳ commerce_partner string

Optional. The commerce partner name. Only allowed if partner_audience_source is COMMERCE_AUDIENCE.

getPartnerAudienceSource

Required. Immutable. The source of the partner audience.

Returns
Type Description
int

hasPartnerAudienceSource

clearPartnerAudienceSource

setPartnerAudienceSource

Required. Immutable. The source of the partner audience.

Parameter
Name Description
var int
Returns
Type Description
$this

getCommercePartner

Optional. The commerce partner name.

Only allowed if partner_audience_source is COMMERCE_AUDIENCE.

Returns
Type Description
string

hasCommercePartner

clearCommercePartner

setCommercePartner

Optional. The commerce partner name.

Only allowed if partner_audience_source is COMMERCE_AUDIENCE.

Parameter
Name Description
var string
Returns
Type Description
$this