# Google Ads Data Manager V1 Client - Class RetrieveInsightsResponse (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class RetrieveInsightsResponse.

Response message for DM API MarketingDataInsightsService.RetrieveInsights

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ marketing_data_insights` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RetrieveInsightsResponse.MarketingDataInsight>` Contains the insights for the marketing data. |

### getMarketingDataInsights

Contains the insights for the marketing data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RetrieveInsightsResponse.MarketingDataInsight>` |   |

### setMarketingDataInsights

Contains the insights for the marketing data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RetrieveInsightsResponse.MarketingDataInsight>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |