Reference documentation and code samples for the Google Ads Data Manager V1 Client class UserProperties.
Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.
Generated from protobuf message google.ads.datamanager.v1.UserProperties
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ customer_type |
int
Optional. Type of the customer associated with the event. |
↳ customer_value_bucket |
int
Optional. The advertiser-assessed value of the customer. |
↳ additional_user_properties |
array<UserProperty>
Optional. A bucket of any additional user properties for the user associated with this event. |
getCustomerType
Optional. Type of the customer associated with the event.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type CustomerType. |
setCustomerType
Optional. Type of the customer associated with the event.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type CustomerType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomerValueBucket
Optional. The advertiser-assessed value of the customer.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type CustomerValueBucket. |
setCustomerValueBucket
Optional. The advertiser-assessed value of the customer.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type CustomerValueBucket. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdditionalUserProperties
Optional. A bucket of any additional user properties for the user associated with this event.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAdditionalUserProperties
Optional. A bucket of any additional user properties for the user associated with this event.
| Parameter | |
|---|---|
| Name | Description |
var |
array<UserProperty>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|