@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
29 lines (28 loc) • 874 B
TypeScript
import { AdCategory } from './AdCategory';
export declare enum Types {
COMPETITIVE_EXCLUSION = "COMPETITIVE_EXCLUSION",
AD_UNIT_FREQUENCY_CAP = "AD_UNIT_FREQUENCY_CAP",
AD_EXCLUSION = "AD_EXCLUSION",
CREATIVE_WRAPPER = "CREATIVE_WRAPPER",
CANONICAL_CATEGORY = "CANONICAL_CATEGORY",
UNKNOWN = "UNKNOWN"
}
/**
* labels
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202411`
*/
export interface Labels {
/** xsd:long */
id?: number;
/** xsd:string */
name?: string;
/** xsd:string */
description?: string;
/** xsd:boolean */
isActive?: boolean;
/** adCategory */
adCategory?: AdCategory;
/** LabelType|xsd:string|COMPETITIVE_EXCLUSION,AD_UNIT_FREQUENCY_CAP,AD_EXCLUSION,CREATIVE_WRAPPER,CANONICAL_CATEGORY,UNKNOWN */
types?: Array<Types | keyof typeof Types>;
}