# iab-adcom

> TypeScript definitions for IAB Tech Lab's AdCOM (Advertising Common Object Model)

Latest version **2.0.1** (published 2026-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install iab-adcom
pnpm add iab-adcom
yarn add iab-adcom
bun add iab-adcom
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2026-03-15 |
| First published | 2024-12-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=14.0.0 |
| Dependencies | 0 |
| Unpacked size | 99.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Kai Miyamoto |
| Maintainers | kaihogehoge |
| Keywords | AdCOM, IAB Tech Lab, OpenRTB, typescript, types, definitions, advertising, programmatic |

## Links

- npm: https://www.npmjs.com/package/iab-adcom
- Repository: https://github.com/hogekai/iab-types
- Homepage: https://github.com/hogekai/iab-types.git
- Issues: https://github.com/hogekai/iab-types.git
- npm.io page: https://npm.io/package/iab-adcom

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2026-03-15
- 1.0.6 — 2025-03-01
- 1.0.5 — 2025-02-14
- 1.0.3 — 2025-02-10
- 1.0.2 — 2025-02-10
- 1.0.1 — 2025-02-10
- 1.0.0 — 2025-02-03
- 0.2.8 — 2025-01-16
- 0.2.7 — 2025-01-16
- 0.2.6 — 2025-01-14
- 0.2.4 — 2025-01-14
- 0.2.3 — 2025-01-14
- 0.2.2 — 2025-01-14
- 0.2.1 — 2025-01-13
- 0.2.0 — 2025-01-12
- … 13 more at https://npm.io/package/iab-adcom/versions

## README

# 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](https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md). AdCOM is a common object model for programmatic advertising transactions.

## Installation

```bash
npm install iab-adcom
```

## Usage

```typescript
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:
```typescript
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

- [AdCOM Specification](https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md)
- [IAB Tech Lab](https://iabtechlab.com/)

## Contributing

Issues and pull requests are welcome at the [GitHub repository](https://github.com/hogekai/iab-types).

---
_Source: https://npm.io/package/iab-adcom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
