Class RichMediaAdsCompanyService.RichMediaAdsCompanyServiceClient
Client for RichMediaAdsCompanyService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class RichMediaAdsCompanyService.RichMediaAdsCompanyServiceClient : ClientBase<RichMediaAdsCompanyService.RichMediaAdsCompanyServiceClient>
Constructors
RichMediaAdsCompanyServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected RichMediaAdsCompanyServiceClient()
RichMediaAdsCompanyServiceClient(CallInvoker)
Creates a new client for RichMediaAdsCompanyService that uses a custom CallInvoker.
Declaration
public RichMediaAdsCompanyServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
RichMediaAdsCompanyServiceClient(ChannelBase)
Creates a new client for RichMediaAdsCompanyService
Declaration
public RichMediaAdsCompanyServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
RichMediaAdsCompanyServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected RichMediaAdsCompanyServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetRichMediaAdsCompany(GetRichMediaAdsCompanyRequest, CallOptions)
API to retrieve a RichMediaAdsCompany object.
Declaration
public virtual RichMediaAdsCompany GetRichMediaAdsCompany(GetRichMediaAdsCompanyRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRichMediaAdsCompanyRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| RichMediaAdsCompany | The response received from the server. |
GetRichMediaAdsCompany(GetRichMediaAdsCompanyRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a RichMediaAdsCompany object.
Declaration
public virtual RichMediaAdsCompany GetRichMediaAdsCompany(GetRichMediaAdsCompanyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRichMediaAdsCompanyRequest | 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 |
|---|---|
| RichMediaAdsCompany | The response received from the server. |
GetRichMediaAdsCompanyAsync(GetRichMediaAdsCompanyRequest, CallOptions)
API to retrieve a RichMediaAdsCompany object.
Declaration
public virtual AsyncUnaryCall<RichMediaAdsCompany> GetRichMediaAdsCompanyAsync(GetRichMediaAdsCompanyRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRichMediaAdsCompanyRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<RichMediaAdsCompany> | The call object. |
GetRichMediaAdsCompanyAsync(GetRichMediaAdsCompanyRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a RichMediaAdsCompany object.
Declaration
public virtual AsyncUnaryCall<RichMediaAdsCompany> GetRichMediaAdsCompanyAsync(GetRichMediaAdsCompanyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRichMediaAdsCompanyRequest | 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<RichMediaAdsCompany> | The call object. |
ListRichMediaAdsCompanies(ListRichMediaAdsCompaniesRequest, CallOptions)
API to retrieve a list of RichMediaAdsCompany objects.
Declaration
public virtual ListRichMediaAdsCompaniesResponse ListRichMediaAdsCompanies(ListRichMediaAdsCompaniesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListRichMediaAdsCompaniesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListRichMediaAdsCompaniesResponse | The response received from the server. |
ListRichMediaAdsCompanies(ListRichMediaAdsCompaniesRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a list of RichMediaAdsCompany objects.
Declaration
public virtual ListRichMediaAdsCompaniesResponse ListRichMediaAdsCompanies(ListRichMediaAdsCompaniesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListRichMediaAdsCompaniesRequest | 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 |
|---|---|
| ListRichMediaAdsCompaniesResponse | The response received from the server. |
ListRichMediaAdsCompaniesAsync(ListRichMediaAdsCompaniesRequest, CallOptions)
API to retrieve a list of RichMediaAdsCompany objects.
Declaration
public virtual AsyncUnaryCall<ListRichMediaAdsCompaniesResponse> ListRichMediaAdsCompaniesAsync(ListRichMediaAdsCompaniesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListRichMediaAdsCompaniesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListRichMediaAdsCompaniesResponse> | The call object. |
ListRichMediaAdsCompaniesAsync(ListRichMediaAdsCompaniesRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a list of RichMediaAdsCompany objects.
Declaration
public virtual AsyncUnaryCall<ListRichMediaAdsCompaniesResponse> ListRichMediaAdsCompaniesAsync(ListRichMediaAdsCompaniesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListRichMediaAdsCompaniesRequest | 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<ListRichMediaAdsCompaniesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override RichMediaAdsCompanyService.RichMediaAdsCompanyServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| RichMediaAdsCompanyService.RichMediaAdsCompanyServiceClient |