Class protos.google.ads.admanager.v1.ApplicationService (0.6.0)

Represents an ApplicationService

Inheritance

$protobuf.rpc.Service > protos.google.ads.admanager.v1.ApplicationService

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ApplicationService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchArchiveApplications(request, callback)

public batchArchiveApplications(request: google.ads.admanager.v1.IBatchArchiveApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.BatchArchiveApplicationsCallback): void;

Calls BatchArchiveApplications.

Parameters
Name Description
request IBatchArchiveApplicationsRequest

BatchArchiveApplicationsRequest message or plain object

callback BatchArchiveApplicationsCallback

Node-style callback called with the error, if any, and BatchArchiveApplicationsResponse

Returns
Type Description
void

batchArchiveApplications(request)

public batchArchiveApplications(request: google.ads.admanager.v1.IBatchArchiveApplicationsRequest): Promise<google.ads.admanager.v1.BatchArchiveApplicationsResponse>;

Calls BatchArchiveApplications.

Parameter
Name Description
request IBatchArchiveApplicationsRequest

BatchArchiveApplicationsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchArchiveApplicationsResponse>

Promise

batchCreateApplications(request, callback)

public batchCreateApplications(request: google.ads.admanager.v1.IBatchCreateApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.BatchCreateApplicationsCallback): void;

Calls BatchCreateApplications.

Parameters
Name Description
request IBatchCreateApplicationsRequest

BatchCreateApplicationsRequest message or plain object

callback BatchCreateApplicationsCallback

Node-style callback called with the error, if any, and BatchCreateApplicationsResponse

Returns
Type Description
void

batchCreateApplications(request)

public batchCreateApplications(request: google.ads.admanager.v1.IBatchCreateApplicationsRequest): Promise<google.ads.admanager.v1.BatchCreateApplicationsResponse>;

Calls BatchCreateApplications.

Parameter
Name Description
request IBatchCreateApplicationsRequest

BatchCreateApplicationsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchCreateApplicationsResponse>

Promise

batchUnarchiveApplications(request, callback)

public batchUnarchiveApplications(request: google.ads.admanager.v1.IBatchUnarchiveApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.BatchUnarchiveApplicationsCallback): void;

Calls BatchUnarchiveApplications.

Parameters
Name Description
request IBatchUnarchiveApplicationsRequest

BatchUnarchiveApplicationsRequest message or plain object

callback BatchUnarchiveApplicationsCallback

Node-style callback called with the error, if any, and BatchUnarchiveApplicationsResponse

Returns
Type Description
void

batchUnarchiveApplications(request)

public batchUnarchiveApplications(request: google.ads.admanager.v1.IBatchUnarchiveApplicationsRequest): Promise<google.ads.admanager.v1.BatchUnarchiveApplicationsResponse>;

Calls BatchUnarchiveApplications.

Parameter
Name Description
request IBatchUnarchiveApplicationsRequest

BatchUnarchiveApplicationsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchUnarchiveApplicationsResponse>

Promise

batchUpdateApplications(request, callback)

public batchUpdateApplications(request: google.ads.admanager.v1.IBatchUpdateApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.BatchUpdateApplicationsCallback): void;

Calls BatchUpdateApplications.

Parameters
Name Description
request IBatchUpdateApplicationsRequest

BatchUpdateApplicationsRequest message or plain object

callback BatchUpdateApplicationsCallback

Node-style callback called with the error, if any, and BatchUpdateApplicationsResponse

Returns
Type Description
void

batchUpdateApplications(request)

public batchUpdateApplications(request: google.ads.admanager.v1.IBatchUpdateApplicationsRequest): Promise<google.ads.admanager.v1.BatchUpdateApplicationsResponse>;

Calls BatchUpdateApplications.

Parameter
Name Description
request IBatchUpdateApplicationsRequest

BatchUpdateApplicationsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.BatchUpdateApplicationsResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ApplicationService;

Creates new ApplicationService 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
ApplicationService

RPC service. Useful where requests and/or responses are streamed.

createApplication(request, callback)

public createApplication(request: google.ads.admanager.v1.ICreateApplicationRequest, callback: google.ads.admanager.v1.ApplicationService.CreateApplicationCallback): void;

Calls CreateApplication.

Parameters
Name Description
request ICreateApplicationRequest

CreateApplicationRequest message or plain object

callback CreateApplicationCallback

Node-style callback called with the error, if any, and Application

Returns
Type Description
void

createApplication(request)

public createApplication(request: google.ads.admanager.v1.ICreateApplicationRequest): Promise<google.ads.admanager.v1.Application>;

Calls CreateApplication.

Parameter
Name Description
request ICreateApplicationRequest

CreateApplicationRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.Application>

Promise

getApplication(request, callback)

public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest, callback: google.ads.admanager.v1.ApplicationService.GetApplicationCallback): void;

Calls GetApplication.

Parameters
Name Description
request IGetApplicationRequest

GetApplicationRequest message or plain object

callback GetApplicationCallback

Node-style callback called with the error, if any, and Application

Returns
Type Description
void

getApplication(request)

public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest): Promise<google.ads.admanager.v1.Application>;

Calls GetApplication.

Parameter
Name Description
request IGetApplicationRequest

GetApplicationRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.Application>

Promise

listApplications(request, callback)

public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.ListApplicationsCallback): void;

Calls ListApplications.

Parameters
Name Description
request IListApplicationsRequest

ListApplicationsRequest message or plain object

callback ListApplicationsCallback

Node-style callback called with the error, if any, and ListApplicationsResponse

Returns
Type Description
void

listApplications(request)

public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest): Promise<google.ads.admanager.v1.ListApplicationsResponse>;

Calls ListApplications.

Parameter
Name Description
request IListApplicationsRequest

ListApplicationsRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.ListApplicationsResponse>

Promise

updateApplication(request, callback)

public updateApplication(request: google.ads.admanager.v1.IUpdateApplicationRequest, callback: google.ads.admanager.v1.ApplicationService.UpdateApplicationCallback): void;

Calls UpdateApplication.

Parameters
Name Description
request IUpdateApplicationRequest

UpdateApplicationRequest message or plain object

callback UpdateApplicationCallback

Node-style callback called with the error, if any, and Application

Returns
Type Description
void

updateApplication(request)

public updateApplication(request: google.ads.admanager.v1.IUpdateApplicationRequest): Promise<google.ads.admanager.v1.Application>;

Calls UpdateApplication.

Parameter
Name Description
request IUpdateApplicationRequest

UpdateApplicationRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.Application>

Promise