@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
32 lines (31 loc) • 1.68 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateCreativeSet } from './definitions/CreateCreativeSet';
import { CreateCreativeSetResponse } from './definitions/CreateCreativeSetResponse';
import { GetCreativeSetsByStatement } from './definitions/GetCreativeSetsByStatement';
import { GetCreativeSetsByStatementResponse } from './definitions/GetCreativeSetsByStatementResponse';
import { UpdateCreativeSet } from './definitions/UpdateCreativeSet';
import { UpdateCreativeSetResponse } from './definitions/UpdateCreativeSetResponse';
import { CreativeSetService } from './services/CreativeSetService';
export interface CreativeSetServiceClient extends SoapClient {
CreativeSetService: CreativeSetService;
createCreativeSetAsync(createCreativeSet: CreateCreativeSet, options?: ISoapExOptions): Promise<[
result: CreateCreativeSetResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getCreativeSetsByStatementAsync(getCreativeSetsByStatement: GetCreativeSetsByStatement, options?: ISoapExOptions): Promise<[
result: GetCreativeSetsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateCreativeSetAsync(updateCreativeSet: UpdateCreativeSet, options?: ISoapExOptions): Promise<[
result: UpdateCreativeSetResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create CreativeSetServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<CreativeSetServiceClient>;