Represents a PrivateAuctionService
Inheritance
$protobuf.rpc.Service > protos.google.ads.admanager.v1.PrivateAuctionServicePackage
@google-ads/admanagerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new PrivateAuctionService service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): PrivateAuctionService;Creates new PrivateAuctionService service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
PrivateAuctionService |
RPC service. Useful where requests and/or responses are streamed. |
createPrivateAuction(request, callback)
public createPrivateAuction(request: google.ads.admanager.v1.ICreatePrivateAuctionRequest, callback: google.ads.admanager.v1.PrivateAuctionService.CreatePrivateAuctionCallback): void;Calls CreatePrivateAuction.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreatePrivateAuctionRequest
CreatePrivateAuctionRequest message or plain object |
callback |
CreatePrivateAuctionCallback
Node-style callback called with the error, if any, and PrivateAuction |
| Returns | |
|---|---|
| Type | Description |
void |
|
createPrivateAuction(request)
public createPrivateAuction(request: google.ads.admanager.v1.ICreatePrivateAuctionRequest): Promise<google.ads.admanager.v1.PrivateAuction>;Calls CreatePrivateAuction.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreatePrivateAuctionRequest
CreatePrivateAuctionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.PrivateAuction> |
Promise |
getPrivateAuction(request, callback)
public getPrivateAuction(request: google.ads.admanager.v1.IGetPrivateAuctionRequest, callback: google.ads.admanager.v1.PrivateAuctionService.GetPrivateAuctionCallback): void;Calls GetPrivateAuction.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetPrivateAuctionRequest
GetPrivateAuctionRequest message or plain object |
callback |
GetPrivateAuctionCallback
Node-style callback called with the error, if any, and PrivateAuction |
| Returns | |
|---|---|
| Type | Description |
void |
|
getPrivateAuction(request)
public getPrivateAuction(request: google.ads.admanager.v1.IGetPrivateAuctionRequest): Promise<google.ads.admanager.v1.PrivateAuction>;Calls GetPrivateAuction.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetPrivateAuctionRequest
GetPrivateAuctionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.PrivateAuction> |
Promise |
listPrivateAuctions(request, callback)
public listPrivateAuctions(request: google.ads.admanager.v1.IListPrivateAuctionsRequest, callback: google.ads.admanager.v1.PrivateAuctionService.ListPrivateAuctionsCallback): void;Calls ListPrivateAuctions.
| Parameters | |
|---|---|
| Name | Description |
request |
IListPrivateAuctionsRequest
ListPrivateAuctionsRequest message or plain object |
callback |
ListPrivateAuctionsCallback
Node-style callback called with the error, if any, and ListPrivateAuctionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listPrivateAuctions(request)
public listPrivateAuctions(request: google.ads.admanager.v1.IListPrivateAuctionsRequest): Promise<google.ads.admanager.v1.ListPrivateAuctionsResponse>;Calls ListPrivateAuctions.
| Parameter | |
|---|---|
| Name | Description |
request |
IListPrivateAuctionsRequest
ListPrivateAuctionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.ListPrivateAuctionsResponse> |
Promise |
updatePrivateAuction(request, callback)
public updatePrivateAuction(request: google.ads.admanager.v1.IUpdatePrivateAuctionRequest, callback: google.ads.admanager.v1.PrivateAuctionService.UpdatePrivateAuctionCallback): void;Calls UpdatePrivateAuction.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdatePrivateAuctionRequest
UpdatePrivateAuctionRequest message or plain object |
callback |
UpdatePrivateAuctionCallback
Node-style callback called with the error, if any, and PrivateAuction |
| Returns | |
|---|---|
| Type | Description |
void |
|
updatePrivateAuction(request)
public updatePrivateAuction(request: google.ads.admanager.v1.IUpdatePrivateAuctionRequest): Promise<google.ads.admanager.v1.PrivateAuction>;Calls UpdatePrivateAuction.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdatePrivateAuctionRequest
UpdatePrivateAuctionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.PrivateAuction> |
Promise |