Class MarketingDataInsightsServiceClientImpl
MarketingDataInsightsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class MarketingDataInsightsServiceClientImpl : MarketingDataInsightsServiceClient
Remarks
Service to return insights on marketing data.
This feature is only available to data partners.
Constructors
MarketingDataInsightsServiceClientImpl(MarketingDataInsightsServiceClient, MarketingDataInsightsServiceSettings, ILogger)
Constructs a client wrapper for the MarketingDataInsightsService service, with the specified gRPC client and settings.
Declaration
public MarketingDataInsightsServiceClientImpl(MarketingDataInsightsService.MarketingDataInsightsServiceClient grpcClient, MarketingDataInsightsServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| MarketingDataInsightsService.MarketingDataInsightsServiceClient | grpcClient | The underlying gRPC client. |
| MarketingDataInsightsServiceSettings | settings | The base MarketingDataInsightsServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC MarketingDataInsightsService client
Declaration
public override MarketingDataInsightsService.MarketingDataInsightsServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| MarketingDataInsightsService.MarketingDataInsightsServiceClient |
Overrides
Methods
RetrieveInsights(RetrieveInsightsRequest, CallSettings)
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 override RetrieveInsightsResponse RetrieveInsights(RetrieveInsightsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveInsightsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| RetrieveInsightsResponse | The RPC response. |
Overrides
RetrieveInsightsAsync(RetrieveInsightsRequest, CallSettings)
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 override Task<RetrieveInsightsResponse> RetrieveInsightsAsync(RetrieveInsightsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveInsightsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<RetrieveInsightsResponse> | A Task containing the RPC response. |