Class IngestionService.IngestionServiceClient
Client for IngestionService
Inheritance
Inherited Members
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public class IngestionService.IngestionServiceClient : ClientBase<IngestionService.IngestionServiceClient>
Constructors
IngestionServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected IngestionServiceClient()
IngestionServiceClient(CallInvoker)
Creates a new client for IngestionService that uses a custom CallInvoker.
Declaration
public IngestionServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
IngestionServiceClient(ChannelBase)
Creates a new client for IngestionService
Declaration
public IngestionServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
IngestionServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected IngestionServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
IngestAudienceMembers(IngestAudienceMembersRequest, CallOptions)
Uploads a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual IngestAudienceMembersResponse IngestAudienceMembers(IngestAudienceMembersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestAudienceMembersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| IngestAudienceMembersResponse | The response received from the server. |
IngestAudienceMembers(IngestAudienceMembersRequest, Metadata, DateTime?, CancellationToken)
Uploads a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual IngestAudienceMembersResponse IngestAudienceMembers(IngestAudienceMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestAudienceMembersRequest | 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 |
|---|---|
| IngestAudienceMembersResponse | The response received from the server. |
IngestAudienceMembersAsync(IngestAudienceMembersRequest, CallOptions)
Uploads a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<IngestAudienceMembersResponse> IngestAudienceMembersAsync(IngestAudienceMembersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestAudienceMembersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<IngestAudienceMembersResponse> | The call object. |
IngestAudienceMembersAsync(IngestAudienceMembersRequest, Metadata, DateTime?, CancellationToken)
Uploads a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<IngestAudienceMembersResponse> IngestAudienceMembersAsync(IngestAudienceMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestAudienceMembersRequest | 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<IngestAudienceMembersResponse> | The call object. |
IngestEvents(IngestEventsRequest, CallOptions)
Uploads a list of [Event][google.ads.datamanager.v1.Event] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual IngestEventsResponse IngestEvents(IngestEventsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestEventsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| IngestEventsResponse | The response received from the server. |
IngestEvents(IngestEventsRequest, Metadata, DateTime?, CancellationToken)
Uploads a list of [Event][google.ads.datamanager.v1.Event] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual IngestEventsResponse IngestEvents(IngestEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestEventsRequest | 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 |
|---|---|
| IngestEventsResponse | The response received from the server. |
IngestEventsAsync(IngestEventsRequest, CallOptions)
Uploads a list of [Event][google.ads.datamanager.v1.Event] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<IngestEventsResponse> IngestEventsAsync(IngestEventsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestEventsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<IngestEventsResponse> | The call object. |
IngestEventsAsync(IngestEventsRequest, Metadata, DateTime?, CancellationToken)
Uploads a list of [Event][google.ads.datamanager.v1.Event] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<IngestEventsResponse> IngestEventsAsync(IngestEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IngestEventsRequest | 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<IngestEventsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override IngestionService.IngestionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| IngestionService.IngestionServiceClient |
Overrides
RemoveAudienceMembers(RemoveAudienceMembersRequest, CallOptions)
Removes a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual RemoveAudienceMembersResponse RemoveAudienceMembers(RemoveAudienceMembersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveAudienceMembersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| RemoveAudienceMembersResponse | The response received from the server. |
RemoveAudienceMembers(RemoveAudienceMembersRequest, Metadata, DateTime?, CancellationToken)
Removes a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual RemoveAudienceMembersResponse RemoveAudienceMembers(RemoveAudienceMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveAudienceMembersRequest | 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 |
|---|---|
| RemoveAudienceMembersResponse | The response received from the server. |
RemoveAudienceMembersAsync(RemoveAudienceMembersRequest, CallOptions)
Removes a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<RemoveAudienceMembersResponse> RemoveAudienceMembersAsync(RemoveAudienceMembersRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveAudienceMembersRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<RemoveAudienceMembersResponse> | The call object. |
RemoveAudienceMembersAsync(RemoveAudienceMembersRequest, Metadata, DateTime?, CancellationToken)
Removes a list of [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Declaration
public virtual AsyncUnaryCall<RemoveAudienceMembersResponse> RemoveAudienceMembersAsync(RemoveAudienceMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveAudienceMembersRequest | 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<RemoveAudienceMembersResponse> | The call object. |
RetrieveRequestStatus(RetrieveRequestStatusRequest, CallOptions)
Gets the status of a request given request id.
Declaration
public virtual RetrieveRequestStatusResponse RetrieveRequestStatus(RetrieveRequestStatusRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveRequestStatusRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| RetrieveRequestStatusResponse | The response received from the server. |
RetrieveRequestStatus(RetrieveRequestStatusRequest, Metadata, DateTime?, CancellationToken)
Gets the status of a request given request id.
Declaration
public virtual RetrieveRequestStatusResponse RetrieveRequestStatus(RetrieveRequestStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveRequestStatusRequest | 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 |
|---|---|
| RetrieveRequestStatusResponse | The response received from the server. |
RetrieveRequestStatusAsync(RetrieveRequestStatusRequest, CallOptions)
Gets the status of a request given request id.
Declaration
public virtual AsyncUnaryCall<RetrieveRequestStatusResponse> RetrieveRequestStatusAsync(RetrieveRequestStatusRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveRequestStatusRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<RetrieveRequestStatusResponse> | The call object. |
RetrieveRequestStatusAsync(RetrieveRequestStatusRequest, Metadata, DateTime?, CancellationToken)
Gets the status of a request given request id.
Declaration
public virtual AsyncUnaryCall<RetrieveRequestStatusResponse> RetrieveRequestStatusAsync(RetrieveRequestStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RetrieveRequestStatusRequest | 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<RetrieveRequestStatusResponse> | The call object. |