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 \ V1Methods
__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 |
|
getPartnerLink
Required. The partner link to create.
| Returns | |
|---|---|
| Type | Description |
PartnerLink|null |
|
hasPartnerLink
clearPartnerLink
setPartnerLink
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 |
|