@niur/google-admanager-api
Version:
Google Ad Manager API Client Library for NodeJs
53 lines • 1.46 kB
TypeScript
import { PageResult } from '../../../common/types';
import { LabelType } from './label.enum';
/**
* A canonical ad category.
*/
export declare type AdCategoryDto = {
/**
* Canonical ID of the ad category.
*/
id: number;
/**
* Localized name of the category.
*/
displayName: string;
/**
* ID of the category's parent, or 0 if it has no parent.
*/
parentId: number;
};
/**
* A Label is additional information that can be added to an entity.
*/
export declare type Label = {
/**
* Unique ID of the Label. This value is readonly and is assigned by Google.
*/
id: number;
/**
* Name of the Label. This is value is required to create a label and has a maximum length of 127 characters.
*/
name: string;
/**
* A description of the label. This value is optional and its maximum length is 255 characters.
*/
description: string;
/**
* Specifies whether or not the label is active. This attribute is read-only.
*/
isActive: boolean;
/**
* Indicates the Ad Category associated with the label.
*/
adCategory: AdCategoryDto;
/**
* The types of the Label.
*/
types: LabelType[];
};
/**
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/v202202/LabelService.Label Label} objects.
*/
export declare type LabelPage = PageResult<Label>;
//# sourceMappingURL=label.type.d.ts.map