1.0.6 • Published 8 months ago

iab-adcom v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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 module
  • iab-adcom/media: Definitions for ad creatives and metadata
  • iab-adcom/context: Definitions for user, device, and delivery context
  • iab-adcom/placement: Definitions for ad placements
  • iab-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

8 months ago

1.0.5

8 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.2.8

9 months ago

0.2.7

9 months ago

0.2.6

9 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.2.0

10 months ago

0.1.13

10 months ago

0.1.12

10 months ago

0.1.11

10 months ago

0.1.10

10 months ago

0.1.9

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago