Reference documentation and code samples for the Google Ads Data Manager V1 Client class ProductAccount.
Represents a specific account.
Generated from protobuf message google.ads.datamanager.v1.ProductAccount
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ product
↳ account_id
string
Required. The ID of the account. For example, your Google Ads account ID.
↳ account_type
int
Optional. The type of the account. For example, GOOGLE_ADS
. Either account_type
or the deprecated product
is required. If both are set, the values must match.
getProduct
Deprecated. Use account_type
instead.
int
setProduct
Deprecated. Use account_type
instead.
var
int
Enum of type Product .
$this
getAccountId
Required. The ID of the account. For example, your Google Ads account ID.
string
setAccountId
Required. The ID of the account. For example, your Google Ads account ID.
var
string
$this
getAccountType
Optional. The type of the account. For example, GOOGLE_ADS
.
Either account_type
or the deprecated product
is required.
If both are set, the values must match.
setAccountType
Optional. The type of the account. For example, GOOGLE_ADS
.
Either account_type
or the deprecated product
is required.
If both are set, the values must match.
$this

