Show / Hide Table of Contents

Class PartnerLinkService.PartnerLinkServiceClient

Client for PartnerLinkService

Inheritance
object
ClientBase
ClientBase<PartnerLinkService.PartnerLinkServiceClient>
PartnerLinkService.PartnerLinkServiceClient
Inherited Members
ClientBase<PartnerLinkService.PartnerLinkServiceClient>.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 PartnerLinkService.PartnerLinkServiceClient : ClientBase<PartnerLinkService.PartnerLinkServiceClient>

Constructors

PartnerLinkServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected PartnerLinkServiceClient()

PartnerLinkServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

PartnerLinkServiceClient(ChannelBase)

Creates a new client for PartnerLinkService

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

The channel to use to make remote calls.

PartnerLinkServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

CreatePartnerLink(CreatePartnerLinkRequest, CallOptions)

Creates a partner link for the given account.

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 PartnerLink CreatePartnerLink(CreatePartnerLinkRequest request, CallOptions options)
Parameters
Type Name Description
CreatePartnerLinkRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
PartnerLink

The response received from the server.

CreatePartnerLink(CreatePartnerLinkRequest, Metadata, DateTime?, CancellationToken)

Creates a partner link for the given account.

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 PartnerLink CreatePartnerLink(CreatePartnerLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreatePartnerLinkRequest 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
PartnerLink

The response received from the server.

CreatePartnerLinkAsync(CreatePartnerLinkRequest, CallOptions)

Creates a partner link for the given account.

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<PartnerLink> CreatePartnerLinkAsync(CreatePartnerLinkRequest request, CallOptions options)
Parameters
Type Name Description
CreatePartnerLinkRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<PartnerLink>

The call object.

CreatePartnerLinkAsync(CreatePartnerLinkRequest, Metadata, DateTime?, CancellationToken)

Creates a partner link for the given account.

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<PartnerLink> CreatePartnerLinkAsync(CreatePartnerLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreatePartnerLinkRequest 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<PartnerLink>

The call object.

DeletePartnerLink(DeletePartnerLinkRequest, CallOptions)

Deletes a partner link for the given account.

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 Empty DeletePartnerLink(DeletePartnerLinkRequest request, CallOptions options)
Parameters
Type Name Description
DeletePartnerLinkRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeletePartnerLink(DeletePartnerLinkRequest, Metadata, DateTime?, CancellationToken)

Deletes a partner link for the given account.

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 Empty DeletePartnerLink(DeletePartnerLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeletePartnerLinkRequest 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
Empty

The response received from the server.

DeletePartnerLinkAsync(DeletePartnerLinkRequest, CallOptions)

Deletes a partner link for the given account.

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<Empty> DeletePartnerLinkAsync(DeletePartnerLinkRequest request, CallOptions options)
Parameters
Type Name Description
DeletePartnerLinkRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeletePartnerLinkAsync(DeletePartnerLinkRequest, Metadata, DateTime?, CancellationToken)

Deletes a partner link for the given account.

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<Empty> DeletePartnerLinkAsync(DeletePartnerLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeletePartnerLinkRequest 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<Empty>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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

SearchPartnerLinks(SearchPartnerLinksRequest, CallOptions)

Searches for all partner links to and from a given account.

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 SearchPartnerLinksResponse SearchPartnerLinks(SearchPartnerLinksRequest request, CallOptions options)
Parameters
Type Name Description
SearchPartnerLinksRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
SearchPartnerLinksResponse

The response received from the server.

SearchPartnerLinks(SearchPartnerLinksRequest, Metadata, DateTime?, CancellationToken)

Searches for all partner links to and from a given account.

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 SearchPartnerLinksResponse SearchPartnerLinks(SearchPartnerLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
SearchPartnerLinksRequest 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
SearchPartnerLinksResponse

The response received from the server.

SearchPartnerLinksAsync(SearchPartnerLinksRequest, CallOptions)

Searches for all partner links to and from a given account.

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<SearchPartnerLinksResponse> SearchPartnerLinksAsync(SearchPartnerLinksRequest request, CallOptions options)
Parameters
Type Name Description
SearchPartnerLinksRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<SearchPartnerLinksResponse>

The call object.

SearchPartnerLinksAsync(SearchPartnerLinksRequest, Metadata, DateTime?, CancellationToken)

Searches for all partner links to and from a given account.

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<SearchPartnerLinksResponse> SearchPartnerLinksAsync(SearchPartnerLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
SearchPartnerLinksRequest 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<SearchPartnerLinksResponse>

The call object.

In this article
Back to top Generated by DocFX