@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
40 lines (39 loc) • 2.06 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreatePlacements } from './definitions/CreatePlacements';
import { CreatePlacementsResponse } from './definitions/CreatePlacementsResponse';
import { GetPlacementsByStatement } from './definitions/GetPlacementsByStatement';
import { GetPlacementsByStatementResponse } from './definitions/GetPlacementsByStatementResponse';
import { PerformPlacementAction } from './definitions/PerformPlacementAction';
import { PerformPlacementActionResponse } from './definitions/PerformPlacementActionResponse';
import { UpdatePlacements } from './definitions/UpdatePlacements';
import { UpdatePlacementsResponse } from './definitions/UpdatePlacementsResponse';
import { PlacementService } from './services/PlacementService';
export interface PlacementServiceClient extends SoapClient {
PlacementService: PlacementService;
createPlacementsAsync(createPlacements: CreatePlacements, options?: ISoapExOptions): Promise<[
result: CreatePlacementsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getPlacementsByStatementAsync(getPlacementsByStatement: GetPlacementsByStatement, options?: ISoapExOptions): Promise<[
result: GetPlacementsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
performPlacementActionAsync(performPlacementAction: PerformPlacementAction, options?: ISoapExOptions): Promise<[
result: PerformPlacementActionResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updatePlacementsAsync(updatePlacements: UpdatePlacements, options?: ISoapExOptions): Promise<[
result: UpdatePlacementsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create PlacementServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<PlacementServiceClient>;