Class MarketingDataInsightsService.MarketingDataInsightsServiceBase
Base class for server-side implementations of MarketingDataInsightsService
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
[BindServiceMethod(typeof(MarketingDataInsightsService), "BindService")]
public abstract class MarketingDataInsightsService.MarketingDataInsightsServiceBase
Methods
RetrieveInsights(RetrieveInsightsRequest, ServerCallContext)
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 thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual Task<RetrieveInsightsResponse> RetrieveInsights(RetrieveInsightsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveInsightsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<RetrieveInsightsResponse> | The response to send back to the client (wrapped by a task). |