UNPKG

gads

Version:

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

21 lines (20 loc) 1.76 kB
import { ApiException } from './apiException'; import { CreateRateCards } from './createRateCards'; import { CreateRateCardsResponse } from './createRateCardsResponse'; import { GetRateCardsByStatement } from './getRateCardsByStatement'; import { GetRateCardsByStatementResponse } from './getRateCardsByStatementResponse'; import { PerformRateCardAction } from './performRateCardAction'; import { PerformRateCardActionResponse } from './performRateCardActionResponse'; import { SoapClient } from '../../soap/soapClient'; import { UpdateRateCards } from './updateRateCards'; import { UpdateRateCardsResponse } from './updateRateCardsResponse'; export interface RateCardService extends SoapClient { createRateCards(createRateCards: CreateRateCards): Promise<CreateRateCardsResponse>; createRateCards(createRateCards: CreateRateCards, cb: (err: ApiException, createRateCardsResponse: CreateRateCardsResponse) => void): void; getRateCardsByStatement(getRateCardsByStatement: GetRateCardsByStatement): Promise<GetRateCardsByStatementResponse>; getRateCardsByStatement(getRateCardsByStatement: GetRateCardsByStatement, cb: (err: ApiException, getRateCardsByStatementResponse: GetRateCardsByStatementResponse) => void): void; performRateCardAction(performRateCardAction: PerformRateCardAction): Promise<PerformRateCardActionResponse>; performRateCardAction(performRateCardAction: PerformRateCardAction, cb: (err: ApiException, performRateCardActionResponse: PerformRateCardActionResponse) => void): void; updateRateCards(updateRateCards: UpdateRateCards): Promise<UpdateRateCardsResponse>; updateRateCards(updateRateCards: UpdateRateCards, cb: (err: ApiException, updateRateCardsResponse: UpdateRateCardsResponse) => void): void; }