Reference documentation and code samples for the Google Ads Data Manager V1 Client class AudienceMember.
The audience member to be operated on.
Generated from protobuf message google.ads.datamanager.v1.AudienceMember
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_references |
array
Optional. Defines which Destination to send the audience member to. |
↳ user_data |
UserData
User-provided data that identifies the user. |
↳ pair_data |
PairData
|
↳ mobile_data |
MobileData
Data identifying the user's mobile devices. |
↳ consent |
Consent
Optional. The consent setting for the user. |
getDestinationReferences
Optional. Defines which Destination to send the audience member to.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDestinationReferences
Optional. Defines which Destination to send the audience member to.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserData
User-provided data that identifies the user.
| Returns | |
|---|---|
| Type | Description |
UserData|null |
|
hasUserData
setUserData
User-provided data that identifies the user.
| Parameter | |
|---|---|
| Name | Description |
var |
UserData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPairData
| Returns | |
|---|---|
| Type | Description |
PairData|null |
|
hasPairData
setPairData
| Parameter | |
|---|---|
| Name | Description |
var |
PairData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMobileData
Data identifying the user's mobile devices.
| Returns | |
|---|---|
| Type | Description |
MobileData|null |
|
hasMobileData
setMobileData
Data identifying the user's mobile devices.
| Parameter | |
|---|---|
| Name | Description |
var |
MobileData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConsent
Optional. The consent setting for the user.
| Returns | |
|---|---|
| Type | Description |
Consent|null |
|
hasConsent
clearConsent
setConsent
Optional. The consent setting for the user.
| Parameter | |
|---|---|
| Name | Description |
var |
Consent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getData
| Returns | |
|---|---|
| Type | Description |
string |
|