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

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

Digital Markets Act (DMA) consent settings for the user.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ ad_user_data
int

Optional. Represents if the user consents to ad user data.

↳ ad_personalization
int

Optional. Represents if the user consents to ad personalization.

Optional. Represents if the user consents to ad user data.

Returns
Type
Description
int
Enum of type ConsentStatus .

Optional. Represents if the user consents to ad user data.

Parameter
Name
Description
var
int

Enum of type ConsentStatus .

Returns
Type
Description
$this

Optional. Represents if the user consents to ad personalization.

Returns
Type
Description
int
Enum of type ConsentStatus .

Optional. Represents if the user consents to ad personalization.

Parameter
Name
Description
var
int

Enum of type ConsentStatus .

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