UNPKG

@mediarithmics/plugins-nodejs-sdk

Version:

This is the mediarithmics nodejs to help plugin developers bootstrapping their plugin without having to deal with most of the plugin boilerplate

37 lines (32 loc) 796 B
export interface CreativeResponse { status: string; data: Creative; } export interface DisplayAdResponse { status: string; data: DisplayAd; } export type CreativeType = 'DISPLAY_AD' | 'VIDEO_AD' | 'EMAIL_TEMPLATE'; export interface Creative { type: CreativeType; id: string; organisation_id: string; name: string; technical_name?: string; archived: boolean; editor_version_id: string; editor_version_value: string; editor_group_id: string; editor_artifact_id: string; editor_plugin_id: string; renderer_version_id: string; renderer_version_value: string; renderer_group_id: string; renderer_artifact_id: string; renderer_plugin_id: string; creation_date: number; subtype: string; } export interface DisplayAd extends Creative { format: string; }