gads
Version:
An unofficial JS client library for the SOAP-based DFP Ads API
17 lines (16 loc) • 1.42 kB
TypeScript
import { ApiException } from './apiException';
import { CreateCreativeSet } from './createCreativeSet';
import { CreateCreativeSetResponse } from './createCreativeSetResponse';
import { GetCreativeSetsByStatement } from './getCreativeSetsByStatement';
import { GetCreativeSetsByStatementResponse } from './getCreativeSetsByStatementResponse';
import { SoapClient } from '../../soap/soapClient';
import { UpdateCreativeSet } from './updateCreativeSet';
import { UpdateCreativeSetResponse } from './updateCreativeSetResponse';
export interface CreativeSetService extends SoapClient {
createCreativeSet(createCreativeSet: CreateCreativeSet): Promise<CreateCreativeSetResponse>;
createCreativeSet(createCreativeSet: CreateCreativeSet, cb: (err: ApiException, createCreativeSetResponse: CreateCreativeSetResponse) => void): void;
getCreativeSetsByStatement(getCreativeSetsByStatement: GetCreativeSetsByStatement): Promise<GetCreativeSetsByStatementResponse>;
getCreativeSetsByStatement(getCreativeSetsByStatement: GetCreativeSetsByStatement, cb: (err: ApiException, getCreativeSetsByStatementResponse: GetCreativeSetsByStatementResponse) => void): void;
updateCreativeSet(updateCreativeSet: UpdateCreativeSet): Promise<UpdateCreativeSetResponse>;
updateCreativeSet(updateCreativeSet: UpdateCreativeSet, cb: (err: ApiException, updateCreativeSetResponse: UpdateCreativeSetResponse) => void): void;
}