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

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

Request to create a PartnerLink resource. Returns a PartnerLink.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account}

↳ partner_link PartnerLink

Required. The partner link to create.

getParent

Required. The parent, which owns this collection of partner links.

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

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of partner links.

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

Parameter
Name Description
var string
Returns
Type Description
$this

Required. The partner link to create.

Returns
Type Description
PartnerLink|null

Required. The partner link to create.

Parameter
Name Description
var PartnerLink
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account} Please see PartnerLinkServiceClient::accountName() for help formatting this field.

partnerLink PartnerLink

Required. The partner link to create.

Returns
Type Description
CreatePartnerLinkRequest

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.