@guardian/google-admanager-api
Version:
Google Ad Manager API Client Library for NodeJs
18 lines • 1.5 kB
TypeScript
import type { Client } from "soap";
import type { Statement, UpdateResult } from "../../../common/types";
import type { ForecastAdjustmentAction } from "./adjustment.action";
import type { ForecastAdjustment, ForecastAdjustmentPage, TrafficForecastSegment, TrafficForecastSegmentPage } from "./adjustment.type";
import type { AdjustmentServiceOperations } from "./adjustmentService.interface";
export declare class AdjustmentService implements AdjustmentServiceOperations {
private _client;
constructor(client: Client);
calculateDailyAdOpportunityCounts(forecastAdjustment: ForecastAdjustment): Promise<ForecastAdjustment>;
createForecastAdjustments(forecastAdjustments: Partial<ForecastAdjustment>[]): Promise<ForecastAdjustment[]>;
createTrafficForecastSegments(trafficForecastSegments: Partial<TrafficForecastSegment>[]): Promise<TrafficForecastSegment[]>;
getForecastAdjustmentsByStatement(filterStatement: Statement): Promise<ForecastAdjustmentPage>;
getTrafficForecastSegmentsByStatement(filterStatement: Statement): Promise<TrafficForecastSegmentPage>;
performForecastAdjustmentAction(forecastAdjustmentAction: ForecastAdjustmentAction, filterStatement: Statement): Promise<UpdateResult>;
updateForecastAdjustments(forecastAdjustments: ForecastAdjustment[]): Promise<ForecastAdjustment[]>;
updateTrafficForecastSegments(trafficForecastSegments: TrafficForecastSegment[]): Promise<TrafficForecastSegment[]>;
}
//# sourceMappingURL=adjustment.service.d.ts.map