Reference documentation and code samples for the Google Ads Data Manager V1 Client class UserProperty.
A bucket of any additional user properties for the user associated with this event.
Generated from protobuf message google.ads.datamanager.v1.UserProperty
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ property_name |
string
Required. The name of the user property to use. |
↳ value |
string
Required. The string representation of the value of the user property to use. |
getPropertyName
Required. The name of the user property to use.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPropertyName
Required. The name of the user property to use.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Required. The string representation of the value of the user property to use.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
Required. The string representation of the value of the user property to use.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|