Reference documentation and code samples for the Google Ads Data Manager V1 Client class UserIdData.
User id data holding the user id.
Generated from protobuf message google.ads.datamanager.v1.UserIdData
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_id |
string
Required. A unique identifier for a user, as defined by the advertiser. |
getUserId
Required. A unique identifier for a user, as defined by the advertiser.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUserId
Required. A unique identifier for a user, as defined by the advertiser.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|