@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
48 lines (47 loc) • 2.41 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateAdUnits } from './definitions/CreateAdUnits';
import { CreateAdUnitsResponse } from './definitions/CreateAdUnitsResponse';
import { GetAdUnitSizesByStatement } from './definitions/GetAdUnitSizesByStatement';
import { GetAdUnitSizesByStatementResponse } from './definitions/GetAdUnitSizesByStatementResponse';
import { GetAdUnitsByStatement } from './definitions/GetAdUnitsByStatement';
import { GetAdUnitsByStatementResponse } from './definitions/GetAdUnitsByStatementResponse';
import { PerformAdUnitAction } from './definitions/PerformAdUnitAction';
import { PerformAdUnitActionResponse } from './definitions/PerformAdUnitActionResponse';
import { UpdateAdUnits } from './definitions/UpdateAdUnits';
import { UpdateAdUnitsResponse } from './definitions/UpdateAdUnitsResponse';
import { InventoryService } from './services/InventoryService';
export interface InventoryServiceClient extends SoapClient {
InventoryService: InventoryService;
createAdUnitsAsync(createAdUnits: CreateAdUnits, options?: ISoapExOptions): Promise<[
result: CreateAdUnitsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getAdUnitSizesByStatementAsync(getAdUnitSizesByStatement: GetAdUnitSizesByStatement, options?: ISoapExOptions): Promise<[
result: GetAdUnitSizesByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getAdUnitsByStatementAsync(getAdUnitsByStatement: GetAdUnitsByStatement, options?: ISoapExOptions): Promise<[
result: GetAdUnitsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
performAdUnitActionAsync(performAdUnitAction: PerformAdUnitAction, options?: ISoapExOptions): Promise<[
result: PerformAdUnitActionResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateAdUnitsAsync(updateAdUnits: UpdateAdUnits, options?: ISoapExOptions): Promise<[
result: UpdateAdUnitsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create InventoryServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<InventoryServiceClient>;