Represents a ReportService
Inheritance
$protobuf.rpc.Service > protos.google.ads.admanager.v1.ReportServicePackage
@google-ads/admanagerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ReportService 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): ReportService;Creates new ReportService 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 |
ReportService |
RPC service. Useful where requests and/or responses are streamed. |
createReport(request, callback)
public createReport(request: google.ads.admanager.v1.ICreateReportRequest, callback: google.ads.admanager.v1.ReportService.CreateReportCallback): void;Calls CreateReport.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateReportRequest
CreateReportRequest message or plain object |
callback |
CreateReportCallback
Node-style callback called with the error, if any, and Report |
| Returns | |
|---|---|
| Type | Description |
void |
|
createReport(request)
public createReport(request: google.ads.admanager.v1.ICreateReportRequest): Promise<google.ads.admanager.v1.Report>;Calls CreateReport.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateReportRequest
CreateReportRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.Report> |
Promise |
fetchReportResultRows(request, callback)
public fetchReportResultRows(request: google.ads.admanager.v1.IFetchReportResultRowsRequest, callback: google.ads.admanager.v1.ReportService.FetchReportResultRowsCallback): void;Calls FetchReportResultRows.
| Parameters | |
|---|---|
| Name | Description |
request |
IFetchReportResultRowsRequest
FetchReportResultRowsRequest message or plain object |
callback |
FetchReportResultRowsCallback
Node-style callback called with the error, if any, and FetchReportResultRowsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
fetchReportResultRows(request)
public fetchReportResultRows(request: google.ads.admanager.v1.IFetchReportResultRowsRequest): Promise<google.ads.admanager.v1.FetchReportResultRowsResponse>;Calls FetchReportResultRows.
| Parameter | |
|---|---|
| Name | Description |
request |
IFetchReportResultRowsRequest
FetchReportResultRowsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.FetchReportResultRowsResponse> |
Promise |
getReport(request, callback)
public getReport(request: google.ads.admanager.v1.IGetReportRequest, callback: google.ads.admanager.v1.ReportService.GetReportCallback): void;Calls GetReport.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetReportRequest
GetReportRequest message or plain object |
callback |
GetReportCallback
Node-style callback called with the error, if any, and Report |
| Returns | |
|---|---|
| Type | Description |
void |
|
getReport(request)
public getReport(request: google.ads.admanager.v1.IGetReportRequest): Promise<google.ads.admanager.v1.Report>;Calls GetReport.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetReportRequest
GetReportRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.Report> |
Promise |
listReports(request, callback)
public listReports(request: google.ads.admanager.v1.IListReportsRequest, callback: google.ads.admanager.v1.ReportService.ListReportsCallback): void;Calls ListReports.
| Parameters | |
|---|---|
| Name | Description |
request |
IListReportsRequest
ListReportsRequest message or plain object |
callback |
ListReportsCallback
Node-style callback called with the error, if any, and ListReportsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listReports(request)
public listReports(request: google.ads.admanager.v1.IListReportsRequest): Promise<google.ads.admanager.v1.ListReportsResponse>;Calls ListReports.
| Parameter | |
|---|---|
| Name | Description |
request |
IListReportsRequest
ListReportsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.ListReportsResponse> |
Promise |
runReport(request, callback)
public runReport(request: google.ads.admanager.v1.IRunReportRequest, callback: google.ads.admanager.v1.ReportService.RunReportCallback): void;Calls RunReport.
| Parameters | |
|---|---|
| Name | Description |
request |
IRunReportRequest
RunReportRequest message or plain object |
callback |
RunReportCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
runReport(request)
public runReport(request: google.ads.admanager.v1.IRunReportRequest): Promise<google.longrunning.Operation>;Calls RunReport.
| Parameter | |
|---|---|
| Name | Description |
request |
IRunReportRequest
RunReportRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
updateReport(request, callback)
public updateReport(request: google.ads.admanager.v1.IUpdateReportRequest, callback: google.ads.admanager.v1.ReportService.UpdateReportCallback): void;Calls UpdateReport.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateReportRequest
UpdateReportRequest message or plain object |
callback |
UpdateReportCallback
Node-style callback called with the error, if any, and Report |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateReport(request)
public updateReport(request: google.ads.admanager.v1.IUpdateReportRequest): Promise<google.ads.admanager.v1.Report>;Calls UpdateReport.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateReportRequest
UpdateReportRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.admanager.v1.Report> |
Promise |