Google Ads Data Manager V1 Client - Class CompositeData (0.5.0)

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

Composite data holding identifiers and associated data for a user.

At least one of user_data or ip_data is required.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_data UserData

Optional. User-provided data that identifies the user.

↳ ip_data array<IpData>

Optional. IP address data representing customer interaction used to build the audience.

getUserData

Optional. User-provided data that identifies the user.

Returns
Type Description
UserData|null

hasUserData

clearUserData

setUserData

Optional. User-provided data that identifies the user.

Parameter
Name Description
var UserData
Returns
Type Description
$this

getIpData

Optional. IP address data representing customer interaction used to build the audience.

Returns
Type Description
Google\Protobuf\RepeatedField<IpData>

setIpData

Optional. IP address data representing customer interaction used to build the audience.

Parameter
Name Description
var array<IpData>
Returns
Type Description
$this