UNPKG

gads

Version:

An unofficial JS client library for the SOAP-based DFP Ads API

13 lines (12 loc) 1.32 kB
import { ApiException } from './apiException'; import { GetContentByStatement } from './getContentByStatement'; import { GetContentByStatementAndCustomTargetingValue } from './getContentByStatementAndCustomTargetingValue'; import { GetContentByStatementAndCustomTargetingValueResponse } from './getContentByStatementAndCustomTargetingValueResponse'; import { GetContentByStatementResponse } from './getContentByStatementResponse'; import { SoapClient } from '../../soap/soapClient'; export interface ContentService extends SoapClient { getContentByStatement(getContentByStatement: GetContentByStatement): Promise<GetContentByStatementResponse>; getContentByStatement(getContentByStatement: GetContentByStatement, cb: (err: ApiException, getContentByStatementResponse: GetContentByStatementResponse) => void): void; getContentByStatementAndCustomTargetingValue(getContentByStatementAndCustomTargetingValue: GetContentByStatementAndCustomTargetingValue): Promise<GetContentByStatementAndCustomTargetingValueResponse>; getContentByStatementAndCustomTargetingValue(getContentByStatementAndCustomTargetingValue: GetContentByStatementAndCustomTargetingValue, cb: (err: ApiException, getContentByStatementAndCustomTargetingValueResponse: GetContentByStatementAndCustomTargetingValueResponse) => void): void; }