Google Ads Data Manager V1 Client - Class UserIdentifier (0.1.1)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class UserIdentifier.

A single identifier for the user.

Generated from protobuf message google.ads.datamanager.v1.UserIdentifier

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ email_address
string

Hashed email address using SHA-256 hash function after normalization.

↳ phone_number
string

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

↳ address
AddressInfo

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

getEmailAddress

Hashed email address using SHA-256 hash function after normalization.

Returns
Type
Description
string

hasEmailAddress

setEmailAddress

Hashed email address using SHA-256 hash function after normalization.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPhoneNumber

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

Returns
Type
Description
string

hasPhoneNumber

setPhoneNumber

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAddress

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

Returns
Type
Description
AddressInfo |null

hasAddress

setAddress

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

Parameter
Name
Description
Returns
Type
Description
$this

getIdentifier

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: