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 \ V1Methods
__construct
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. |
getName
Identifier. The name of the partner link.
Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
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 |
|
getPartnerLinkId
Output only. The partner link ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPartnerLinkId
Output only. The partner link ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOwningAccount
Required. The owning account granting access to the partner account.
| Returns | |
|---|---|
| Type | Description |
ProductAccount|null |
|
hasOwningAccount
clearOwningAccount
setOwningAccount
Required. The owning account granting access to the partner account.
| Parameter | |
|---|---|
| Name | Description |
var |
ProductAccount
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPartnerAccount
Required. The partner account granted access by the owning account.
| Returns | |
|---|---|
| Type | Description |
ProductAccount|null |
|
hasPartnerAccount
clearPartnerAccount
setPartnerAccount
Required. The partner account granted access by the owning account.
| Parameter | |
|---|---|
| Name | Description |
var |
ProductAccount
|
| Returns | |
|---|---|
| Type | Description |
$this |
|