Google Ads Data Manager V1 Client - Class MarketingDataInsightsAttribute (0.2.0)

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

Insights for a collection of related attributes of the same dimension.

Generated from protobuf message google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute

Namespace

Google \ Ads \ DataManager \ V1 \ RetrieveInsightsResponse \ MarketingDataInsight

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_interest_id int|string

The user interest ID.

↳ lift float

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

↳ age_range int

Age range of the audience for which the lift is provided.

↳ gender int

Gender of the audience for which the lift is provided.

getUserInterestId

The user interest ID.

Returns
Type Description
int|string

hasUserInterestId

clearUserInterestId

setUserInterestId

The user interest ID.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLift

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

Returns
Type Description
float

hasLift

clearLift

setLift

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

Parameter
Name Description
var float
Returns
Type Description
$this

getAgeRange

Age range of the audience for which the lift is provided.

Returns
Type Description
int

hasAgeRange

clearAgeRange

setAgeRange

Age range of the audience for which the lift is provided.

Parameter
Name Description
var int
Returns
Type Description
$this

getGender

Gender of the audience for which the lift is provided.

Returns
Type Description
int

hasGender

clearGender

setGender

Gender of the audience for which the lift is provided.

Parameter
Name Description
var int
Returns
Type Description
$this