UNPKG

gads

Version:

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

37 lines (36 loc) 4.51 kB
import { ApiException } from './apiException'; import { CreateCustomTargetingKeys } from './createCustomTargetingKeys'; import { CreateCustomTargetingKeysResponse } from './createCustomTargetingKeysResponse'; import { CreateCustomTargetingValues } from './createCustomTargetingValues'; import { CreateCustomTargetingValuesResponse } from './createCustomTargetingValuesResponse'; import { GetCustomTargetingKeysByStatement } from './getCustomTargetingKeysByStatement'; import { GetCustomTargetingKeysByStatementResponse } from './getCustomTargetingKeysByStatementResponse'; import { GetCustomTargetingValuesByStatement } from './getCustomTargetingValuesByStatement'; import { GetCustomTargetingValuesByStatementResponse } from './getCustomTargetingValuesByStatementResponse'; import { PerformCustomTargetingKeyAction } from './performCustomTargetingKeyAction'; import { PerformCustomTargetingKeyActionResponse } from './performCustomTargetingKeyActionResponse'; import { PerformCustomTargetingValueAction } from './performCustomTargetingValueAction'; import { PerformCustomTargetingValueActionResponse } from './performCustomTargetingValueActionResponse'; import { SoapClient } from '../../soap/soapClient'; import { UpdateCustomTargetingKeys } from './updateCustomTargetingKeys'; import { UpdateCustomTargetingKeysResponse } from './updateCustomTargetingKeysResponse'; import { UpdateCustomTargetingValues } from './updateCustomTargetingValues'; import { UpdateCustomTargetingValuesResponse } from './updateCustomTargetingValuesResponse'; export interface CustomTargetingService extends SoapClient { createCustomTargetingKeys(createCustomTargetingKeys: CreateCustomTargetingKeys): Promise<CreateCustomTargetingKeysResponse>; createCustomTargetingKeys(createCustomTargetingKeys: CreateCustomTargetingKeys, cb: (err: ApiException, createCustomTargetingKeysResponse: CreateCustomTargetingKeysResponse) => void): void; createCustomTargetingValues(createCustomTargetingValues: CreateCustomTargetingValues): Promise<CreateCustomTargetingValuesResponse>; createCustomTargetingValues(createCustomTargetingValues: CreateCustomTargetingValues, cb: (err: ApiException, createCustomTargetingValuesResponse: CreateCustomTargetingValuesResponse) => void): void; getCustomTargetingKeysByStatement(getCustomTargetingKeysByStatement: GetCustomTargetingKeysByStatement): Promise<GetCustomTargetingKeysByStatementResponse>; getCustomTargetingKeysByStatement(getCustomTargetingKeysByStatement: GetCustomTargetingKeysByStatement, cb: (err: ApiException, getCustomTargetingKeysByStatementResponse: GetCustomTargetingKeysByStatementResponse) => void): void; getCustomTargetingValuesByStatement(getCustomTargetingValuesByStatement: GetCustomTargetingValuesByStatement): Promise<GetCustomTargetingValuesByStatementResponse>; getCustomTargetingValuesByStatement(getCustomTargetingValuesByStatement: GetCustomTargetingValuesByStatement, cb: (err: ApiException, getCustomTargetingValuesByStatementResponse: GetCustomTargetingValuesByStatementResponse) => void): void; performCustomTargetingKeyAction(performCustomTargetingKeyAction: PerformCustomTargetingKeyAction): Promise<PerformCustomTargetingKeyActionResponse>; performCustomTargetingKeyAction(performCustomTargetingKeyAction: PerformCustomTargetingKeyAction, cb: (err: ApiException, performCustomTargetingKeyActionResponse: PerformCustomTargetingKeyActionResponse) => void): void; performCustomTargetingValueAction(performCustomTargetingValueAction: PerformCustomTargetingValueAction): Promise<PerformCustomTargetingValueActionResponse>; performCustomTargetingValueAction(performCustomTargetingValueAction: PerformCustomTargetingValueAction, cb: (err: ApiException, performCustomTargetingValueActionResponse: PerformCustomTargetingValueActionResponse) => void): void; updateCustomTargetingKeys(updateCustomTargetingKeys: UpdateCustomTargetingKeys): Promise<UpdateCustomTargetingKeysResponse>; updateCustomTargetingKeys(updateCustomTargetingKeys: UpdateCustomTargetingKeys, cb: (err: ApiException, updateCustomTargetingKeysResponse: UpdateCustomTargetingKeysResponse) => void): void; updateCustomTargetingValues(updateCustomTargetingValues: UpdateCustomTargetingValues): Promise<UpdateCustomTargetingValuesResponse>; updateCustomTargetingValues(updateCustomTargetingValues: UpdateCustomTargetingValues, cb: (err: ApiException, updateCustomTargetingValuesResponse: UpdateCustomTargetingValuesResponse) => void): void; }