Google Ads Data Manager V1 Client - Class PartnerLink (0.6.0)

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

A partner link between an owning account and a partner account.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}

↳ partner_link_id string

Output only. The partner link ID.

↳ owning_account ProductAccount

Required. The owning account granting access to the partner account.

↳ partner_account ProductAccount

Required. The partner account granted access by the owning account.

↳ feature_set int

Optional. Immutable. The set of features supported for the partner link. If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.

↳ partner_customer_account PartnerCustomerAccount

Optional. The customer account in the partner system. This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.

↳ partner_link_metadata PartnerLinkMetadata

Optional. Metadata associated with the partner link. This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.

Identifier. The name of the partner link.

Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}

Returns
Type Description
string

Identifier. The name of the partner link.

Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}

Parameter
Name Description
var string
Returns
Type Description
$this

Output only. The partner link ID.

Returns
Type Description
string

Output only. The partner link ID.

Parameter
Name Description
var string
Returns
Type Description
$this

Required. The owning account granting access to the partner account.

Returns
Type Description
ProductAccount|null

Required. The owning account granting access to the partner account.

Parameter
Name Description
var ProductAccount
Returns
Type Description
$this

Required. The partner account granted access by the owning account.

Returns
Type Description
ProductAccount|null

Required. The partner account granted access by the owning account.

Parameter
Name Description
var ProductAccount
Returns
Type Description
$this

Optional. Immutable. The set of features supported for the partner link.

If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.

Returns
Type Description
int Enum of type FeatureSet.

Optional. Immutable. The set of features supported for the partner link.

If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.

Parameter
Name Description
var int

Enum of type FeatureSet.

Returns
Type Description
$this

Optional. The customer account in the partner system.

This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.

Returns
Type Description
PartnerCustomerAccount|null

Optional. The customer account in the partner system.

This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.

Parameter
Name Description
var PartnerCustomerAccount
Returns
Type Description
$this

Optional. Metadata associated with the partner link.

This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.

Returns
Type Description
PartnerLinkMetadata|null

Optional. Metadata associated with the partner link.

This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.

Parameter
Name Description
var PartnerLinkMetadata
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月31日 UTC.