# Interface MarketingDataInsightsServiceGrpc.AsyncService (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface MarketingDataInsightsServiceGrpc.AsyncService

Service to return insights on marketing data.
This feature is only available to data partners.

## Methods

### retrieveInsights(RetrieveInsightsRequest request, StreamObserver\<RetrieveInsightsResponse\> responseObserver)

    public default void retrieveInsights(RetrieveInsightsRequest request, StreamObserver<RetrieveInsightsResponse> responseObserver)

Retrieves marketing data insights for a given user list.
This feature is only available to data partners.
Authorization Headers:
This method supports the following optional headers to define how the API
authorizes access for the request:

- `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
- `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.RetrieveInsightsRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.RetrieveInsightsResponse>` |