Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 634 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 634 Bytes

OpenRTB IAB categories

This repository contains a list of OpenRTB IAB categories in JSON format.

The list was generated from OpenRTB 2.4 specification using the following Python script:

from collections import OrderedDict
import json

raw_categories = ''  # TODO: copy/paste here a list of IAB categories from OpenRTB specification
categories = OrderedDict()

for line in raw_categories.splitlines():
    iab_id, iab_name = line.split(' ', 1)
    categories[iab_id] = iab_name

print(json.dumps(categories, indent=4))