1.0.6 • Published 5 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
5 months ago
1.0.5
5 months ago
1.0.3
5 months ago
1.0.2
5 months ago
1.0.1
5 months ago
1.0.0
5 months ago
0.2.8
6 months ago
0.2.7
6 months ago
0.2.6
6 months ago
0.2.4
6 months ago
0.2.3
6 months ago
0.2.2
6 months ago
0.2.1
6 months ago
0.2.0
6 months ago
0.1.13
6 months ago
0.1.12
6 months ago
0.1.11
6 months ago
0.1.10
6 months ago
0.1.9
6 months ago
0.1.8
6 months ago
0.1.7
6 months ago
0.1.6
6 months ago
0.1.5
7 months ago
0.1.4
7 months ago
0.1.3
7 months ago
0.1.2
7 months ago
0.1.1
7 months ago