dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
27 lines (26 loc) • 1.75 kB
TypeScript
import { DfpUser } from '../lib/dfpUser';
import { DfpService } from '../lib/dfpService';
import { CustomTargetingKeyAction } from '../soap/customTargetingKeyAction';
import { CustomTargetingKey } from '../soap/customTargetingKey';
import { CustomTargetingKeyPage } from '../soap/customTargetingKeyPage';
import { CustomTargetingValueAction } from '../soap/customTargetingValueAction';
import { CustomTargetingValue } from '../soap/customTargetingValue';
import { CustomTargetingValuePage } from '../soap/customTargetingValuePage';
import { Statement } from '../soap/statement';
import { UpdateResult } from '../soap/updateResult';
export declare class CustomTargetingService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createCustomTargetingKeys(keys: CustomTargetingKey[]): Promise<CustomTargetingKey[]>;
createCustomTargetingValues(values: CustomTargetingValue[]): Promise<CustomTargetingValue[]>;
getCustomTargetingKeysByStatement(filterStatement: Statement): Promise<CustomTargetingKeyPage>;
getCustomTargetingValuesByStatement(filterStatement: Statement): Promise<CustomTargetingValuePage>;
performCustomTargetingKeyAction(customTargetingKeyAction: CustomTargetingKeyAction, filterStatement: Statement): Promise<UpdateResult>;
performCustomTargetingValueAction(customTargetingValueAction: CustomTargetingValueAction, filterStatement: Statement): Promise<UpdateResult>;
updateCustomTargetingKeys(keys: CustomTargetingKey[]): Promise<CustomTargetingKey[]>;
updateCustomTargetingValues(values: CustomTargetingValue[]): Promise<CustomTargetingValue[]>;
}