1.0.6 • Published 6 months ago
iab-adcom v1.0.6
iab-adcom
TypeScript type definitions for IAB Tech Lab's AdCOM (Advertising Common Object Model).
Overview
This package provides TypeScript type definitions based on the AdCOM v1.0 specification. AdCOM is a common object model for programmatic advertising transactions.
Installation
npm install iab-adcom
Usage
import { AdCOM } from 'iab-adcom';
// or
import { DisplayPlacement } from 'iab-adcom/placement';
import { Site } from 'iab-adcom/context';
// AdCOM.Placement.DisplayPlacement
// AdCOM.Media.Ad
// AdCOM.Context.Site
enum:
import { AudioVideoCreativeSubtype } from 'iab-adcom';
// or
import { VideoPlacementType } from 'iab-adcom/enum';
Structure
The package consists of the following modules:
iab-adcom
: Root moduleiab-adcom/media
: Definitions for ad creatives and metadataiab-adcom/context
: Definitions for user, device, and delivery contextiab-adcom/placement
: Definitions for ad placementsiab-adcom/enum
: Enumeration definitions
Requirements
- TypeScript 4.0 or higher
- Node.js 14.0.0 or higher
License
MIT
Related Links
Contributing
Issues and pull requests are welcome at the GitHub repository.
1.0.6
6 months ago
1.0.5
6 months ago
1.0.3
6 months ago
1.0.2
6 months ago
1.0.1
6 months ago
1.0.0
6 months ago
0.2.8
7 months ago
0.2.7
7 months ago
0.2.6
7 months ago
0.2.4
7 months ago
0.2.3
7 months ago
0.2.2
7 months ago
0.2.1
7 months ago
0.2.0
7 months ago
0.1.13
7 months ago
0.1.12
7 months ago
0.1.11
7 months ago
0.1.10
7 months ago
0.1.9
7 months ago
0.1.8
7 months ago
0.1.7
7 months ago
0.1.6
7 months ago
0.1.5
8 months ago
0.1.4
8 months ago
0.1.3
8 months ago
0.1.2
8 months ago
0.1.1
8 months ago