Skip to content

OpenRTB 2.6-202501 + 2.6-202505 + 2.6-202606 - #28

Open
codenaugh wants to merge 3 commits into
prebid:mainfrom
codenaugh:openrtb-2.6-updates
Open

codenaugh wants to merge 3 commits into
prebid:mainfrom
codenaugh:openrtb-2.6-updates

Conversation

@codenaugh

@codenaugh codenaugh commented Aug 12, 2026 •

Copy link
Copy Markdown

Summary

Brings openrtb2 and adcom1 up to date with the OpenRTB 2.6 releases published since 2.6-202409, plus the associated AdCOM spec updates. All changes are additive or comment-only; no fields were removed and no types changed.

2.6-202501

  • Add gtax and genres attributes to Object: Content
  • Update descriptions of deprecated attributes (video/audio sequence, video placement, device hashed IDs, user yob/gender, bid api), noting deprecation version and replacement attribute where applicable
  • Add Content Taxonomy 3.1 (9) to AdCOM List: Category Taxonomies, along with Ad Product Taxonomy 2.0 (8) which was previously missing from the list

2.6-202505

  • Update content.id attribute description
  • Add cids attribute to Object: Data (OpenRTB and AdCOM)
  • genres errata: type is string array (added directly as []string here, so the int array from 202501 never lands)
  • Sync AdCOM Object: Content with genres/gtax

2.6-202606

  • Add realtime and firstbroadcast attributes to OpenRTB Object: Content and AdCOM Object: Content
  • Update attribute description of content.livestream (and AdCOM content.live)
  • The substitution macro additions in this release are documentation-only, so no library changes

Test plan

  • go build ./...
  • go test ./... (all packages pass)
  • JSON round-trip tests for omitted, explicit zero, and explicit one values of realtime and firstbroadcast in OpenRTB and AdCOM

Made with Cursor

Brings the libraries up to date with OpenRTB 2.6 releases since 2.6-202409, plus associated AdCOM updates.

2.6-202501:
- Add gtax and genres attributes to Object: Content
- Remove descriptions of deprecated attributes, noting deprecation version and replacement attribute where applicable
- Add Ad Product Taxonomy 2.0 and Content Taxonomy 3.1 to AdCOM List: Category Taxonomies

2.6-202505:
- Update content.id attribute description
- Add cids attribute to Object: Data (OpenRTB and AdCOM)
- genres errata: type is string array (not int array) to support letters in IDs; genres is added directly as []string here
- Sync AdCOM Object: Content with genres and gtax attributes, deprecating genre

2.6-202606:
- Add realtime and firstbroadcast attributes to OpenRTB Object: Content and AdCOM Object: Content
- Update attribute description of content.livestream (and AdCOM content.live)
- Substitution macro updates are documentation-only, no library changes

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread adcom1/content.go Resolved
Comment thread adcom1/content.go Resolved
Comment thread adcom1/content.go Resolved
Comment thread adcom1/content.go Resolved
Comment thread adcom1/content.go Resolved
Use pointers for the new flags so omitempty preserves explicit zero values. Match the genre documentation to the AdCOM specification and cover broadcast flag JSON round trips in both models.
@codenaugh codenaugh closed this Oct 22, 2026
@codenaugh codenaugh reopened this Oct 22, 2026
@codenaugh
codenaugh requested a review from SyntaxNode October 22, 2026 16:44
@codenaugh codenaugh closed this Oct 22, 2026
@codenaugh codenaugh reopened this Oct 22, 2026
@codenaugh

Copy link
Copy Markdown
Author

@SyntaxNode All your comments were valid and have been handled in the 2nd commit. I added a 3rd commit to make sure all Definitions added matched the spec exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port PR from PBS-Java: OpenRTB: Fix request model types and preserve missing fields

3 participants