dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
29 lines (28 loc) • 1.37 kB
TypeScript
import { XMLElement } from '../../common/soap/xmlElement';
import { DfpDate } from './dfpDate';
import { Statement } from './statement';
export declare class ReportQuery extends XMLElement {
protected static XSI_TYPE: string;
dimensions: string[];
adUnitView: string;
columns: string[];
dimensionAttributes: string[];
customFieldIds: number[];
contentMetadataKeyHierarchyCustomTargetingKeyIds: number[];
startDate: DfpDate;
endDate: DfpDate;
dateRangeType: string;
statement: Statement;
useSalesLocalTimeZone: boolean;
includeZeroSalesRows: boolean;
constructor(dimensions?: string[], adUnitView?: string, columns?: string[], dimensionAttributes?: string[], customFieldIds?: number[], contentMetadataKeyHierarchyCustomTargetingKeyIds?: number[], startDate?: DfpDate, endDate?: DfpDate, dateRangeType?: string, statement?: Statement, useSalesLocalTimeZone?: boolean, includeZeroSalesRows?: boolean);
addDimensions(...args: string[]): this;
addColumns(...args: string[]): this;
addDimensionAttributes(...args: string[]): this;
addCustomFieldIds(...args: number[]): this;
setAdUnitView(adUnitView: string): this;
setDateRangeType(dateRangeType: string): this;
setStatement(statement: Statement): this;
setStartDate(startDate: DfpDate): this;
setEndDate(endDate: DfpDate): this;
}