@niur/google-admanager-api
Version:
Google Ad Manager API Client Library for NodeJs
47 lines • 1.39 kB
TypeScript
import { PageResult } from '../../../common/types';
import { CmsMetadataKeyStatus, CmsMetadataValueStatus } from './cmsMetadata.enum';
/**
* Key associated with a piece of content from a publisher's CMS.
*/
declare type CmsMetadataKey = {
/**
* The ID of this CMS metadata key. This field is read-only and provided by Google.
*/
id: number;
/**
* The key of a key-value pair.
*/
name: string;
/**
* The status of this CMS metadata key. This attribute is read-only.
*/
status: CmsMetadataKeyStatus;
};
/**
* Captures a page of CMS metadata key objects.
*/
export declare type CmsMetadataKeyPage = PageResult<CmsMetadataKey>;
/**
* Key value pair associated with a piece of content from a publisher's CMS.
*/
declare type CmsMetadataValue = {
/**
* The ID of this CMS metadata value, to be used in targeting. This field is read-only and provided by Google.
*/
cmsMetadataValueId: number;
/**
* The value of this key-value pair.
*/
valueName: string;
key: CmsMetadataKey;
/**
* The status of this CMS metadata value. This attribute is read-only.
*/
status: CmsMetadataValueStatus;
};
/**
* Captures a page of CMS metadata value objects.
*/
export declare type CmsMetadataValuePage = PageResult<CmsMetadataValue>;
export {};
//# sourceMappingURL=cmsMetadata.type.d.ts.map