Show / Hide Table of Contents

Class MarketingDataInsightsService.MarketingDataInsightsServiceClient

Client for MarketingDataInsightsService

Inheritance
object
ClientBase
ClientBase<MarketingDataInsightsService.MarketingDataInsightsServiceClient>
MarketingDataInsightsService.MarketingDataInsightsServiceClient
Inherited Members
ClientBase<MarketingDataInsightsService.MarketingDataInsightsServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public class MarketingDataInsightsService.MarketingDataInsightsServiceClient : ClientBase<MarketingDataInsightsService.MarketingDataInsightsServiceClient>

Constructors

MarketingDataInsightsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected MarketingDataInsightsServiceClient()

MarketingDataInsightsServiceClient(CallInvoker)

Creates a new client for MarketingDataInsightsService that uses a custom CallInvoker.

Declaration
public MarketingDataInsightsServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

MarketingDataInsightsServiceClient(ChannelBase)

Creates a new client for MarketingDataInsightsService

Declaration
public MarketingDataInsightsServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

MarketingDataInsightsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected MarketingDataInsightsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override MarketingDataInsightsService.MarketingDataInsightsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
MarketingDataInsightsService.MarketingDataInsightsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.DataManager.V1.MarketingDataInsightsService.MarketingDataInsightsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RetrieveInsights(RetrieveInsightsRequest, CallOptions)

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}
Declaration
public virtual RetrieveInsightsResponse RetrieveInsights(RetrieveInsightsRequest request, CallOptions options)
Parameters
Type Name Description
RetrieveInsightsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
RetrieveInsightsResponse

The response received from the server.

RetrieveInsights(RetrieveInsightsRequest, Metadata, DateTime?, CancellationToken)

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}
Declaration
public virtual RetrieveInsightsResponse RetrieveInsights(RetrieveInsightsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
RetrieveInsightsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
RetrieveInsightsResponse

The response received from the server.

RetrieveInsightsAsync(RetrieveInsightsRequest, CallOptions)

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}
Declaration
public virtual AsyncUnaryCall<RetrieveInsightsResponse> RetrieveInsightsAsync(RetrieveInsightsRequest request, CallOptions options)
Parameters
Type Name Description
RetrieveInsightsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<RetrieveInsightsResponse>

The call object.

RetrieveInsightsAsync(RetrieveInsightsRequest, Metadata, DateTime?, CancellationToken)

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}
Declaration
public virtual AsyncUnaryCall<RetrieveInsightsResponse> RetrieveInsightsAsync(RetrieveInsightsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
RetrieveInsightsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<RetrieveInsightsResponse>

The call object.

In this article
Back to top Generated by DocFX