@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
45 lines (44 loc) • 1.15 kB
TypeScript
import { DataProvider } from './DataProvider';
export declare enum Status {
UNKNOWN = "UNKNOWN",
ACTIVE = "ACTIVE",
INACTIVE = "INACTIVE",
UNUSED = "UNUSED"
}
export declare enum Type {
FIRST_PARTY = "FIRST_PARTY",
SHARED = "SHARED",
THIRD_PARTY = "THIRD_PARTY",
UNKNOWN = "UNKNOWN"
}
/**
* segments
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202408`
*/
export interface Segments {
/** xsd:long */
id?: number;
/** xsd:string */
name?: string;
/** xsd:long */
categoryIds?: Array<number>;
/** xsd:string */
description?: string;
/** AudienceSegment.Status|xsd:string|UNKNOWN,ACTIVE,INACTIVE,UNUSED */
status?: Status | keyof typeof Status;
/** xsd:long */
size?: number;
/** xsd:long */
mobileWebSize?: number;
/** xsd:long */
idfaSize?: number;
/** xsd:long */
adIdSize?: number;
/** xsd:long */
ppidSize?: number;
/** dataProvider */
dataProvider?: DataProvider;
/** AudienceSegment.Type|xsd:string|FIRST_PARTY,SHARED,THIRD_PARTY,UNKNOWN */
type?: Type | keyof typeof Type;
}