Reference documentation and code samples for the Google Ads Data Manager V1 Client class PartnerCustomerAccount.
Represents a customer account in the partner's system.
Generated from protobuf message google.ads.datamanager.v1.PartnerCustomerAccount
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ account_id |
string
Required. The identifier of the customer account in the partner's ID space. |
↳ account_name |
string
Optional. The name of the account. |
↳ account_type |
string
Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example. |
getAccountId
Required. The identifier of the customer account in the partner's ID space.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccountId
Required. The identifier of the customer account in the partner's ID space.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccountName
Optional. The name of the account.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccountName
Optional. The name of the account.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccountType
Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccountType
Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|