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

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

Insights for marketing data.

This feature is only available to data partners.

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

Namespace

Google \ Ads \ DataManager \ V1 \ RetrieveInsightsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dimension int

The dimension to which the insight belongs.

↳ attributes array<MarketingDataInsight\MarketingDataInsightsAttribute>

Insights for values of a given dimension.

getDimension

The dimension to which the insight belongs.

Returns
Type Description
int Enum of type AudienceInsightsDimension.

setDimension

The dimension to which the insight belongs.

Parameter
Name Description
var int

Enum of type AudienceInsightsDimension.

Returns
Type Description
$this

getAttributes

Insights for values of a given dimension.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAttributes

Insights for values of a given dimension.

Parameter
Name Description
var array<MarketingDataInsight\MarketingDataInsightsAttribute>
Returns
Type Description
$this