Reference documentation and code samples for the Google Ads Data Manager V1 Client class User.
Represents a single user, containing identifiers like PII and mobile device IDs that all refer to the same user.
Generated from protobuf message google.ads.datamanager.v1.User
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_data |
UserData
Required. Multiple pieces of user-provided data, used as the means of identifying the user. |
↳ mobile_data |
MobileData
Required. Multiple mobile device ID strings to represent a single user. |
getUserData
Required. Multiple pieces of user-provided data, used as the means of identifying the user.
| Returns | |
|---|---|
| Type | Description |
UserData|null |
|
hasUserData
clearUserData
setUserData
Required. Multiple pieces of user-provided data, used as the means of identifying the user.
| Parameter | |
|---|---|
| Name | Description |
var |
UserData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMobileData
Required. Multiple mobile device ID strings to represent a single user.
| Returns | |
|---|---|
| Type | Description |
MobileData|null |
|
hasMobileData
clearMobileData
setMobileData
Required. Multiple mobile device ID strings to represent a single user.
| Parameter | |
|---|---|
| Name | Description |
var |
MobileData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|