@niur/google-admanager-api
Version:
Google Ad Manager API Client Library for NodeJs
34 lines • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReportService = void 0;
class ReportService {
constructor(client) {
this._client = client;
}
async getReportDownloadURL(reportJobId, exportFormat) {
return this._client.getReportDownloadURL({ reportJobId, exportFormat });
}
getReportDownloadUrlWithOptions(reportJobId, reportDownloadOptions) {
return this._client.getReportDownloadUrlWithOptions({
reportJobId,
reportDownloadOptions,
});
}
getReportJobStatus(reportJobId) {
return this._client.getReportJobStatus({
reportJobId,
});
}
getSavedQueriesByStatement(filterStatement) {
return this._client.getSavedQueriesByStatement({
filterStatement,
});
}
runReportJob(reportJob) {
return this._client.runReportJob({
reportJob,
});
}
}
exports.ReportService = ReportService;
//# sourceMappingURL=report.service.js.map