Skip to content

AdCOM v1.0-202607 - #27

Open
jake-dog wants to merge 9 commits into
prebid:mainfrom
jake-dog:AdCOM1.0-202607
Open

jake-dog wants to merge 9 commits into
prebid:mainfrom
jake-dog:AdCOM1.0-202607

Conversation

@jake-dog

@jake-dog jake-dog commented Jul 22, 2026 •

Copy link
Copy Markdown

Further reading

  • also includes updates from AdCOM v1.0-202606
  • breaks compatiblity with previous module, and requires new module version (v21?)
  • does not include but should require Fix audio/video placement playmethod type #18
  • includes updates to VideoPlacementSubtype even though it was deprecated in 2023

Comment thread adcom1/content.go Outdated
// Media rating per IQG guidelines.
// Refer to List: Media Ratings.
MRating MediaRating `json:"mrating,omitempty"`
QAGMediaMRating MediaRating `json:"qagmediarating,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of the changes in this file look wrong. I see you copied them verbatim from the AdCOM spec, but there might be a problem with the spec. I'm looking into it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regardless of the specs validity, this particular line contains a typo.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've confirmed these changes to the AdCOM spec were not intentional and were accidently updated to match OpenRTB naming. I'll revert those changes and then can you please update this PR?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed c6b2da5 based on the revert discussed in InteractiveAdvertisingBureau/AdCOM#97

This is great news because it mitigates the worst of the compatibility issues in the latest AdCOM version.

Comment thread adcom1/video_placement_subtype.go Resolved
Comment thread adcom1/playback_method.go Resolved
Comment thread adcom1/content.go Resolved
Comment thread adcom1/restrictions.go Resolved
Comment thread adcom1/content.go Outdated
// integer
// Definition:
// Indicator of whether or not the event is happening in real time, where 0 = not real time, 1 = real time
Realtime int8 `json:"realtime,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be pointers? Otherwise, when combined with omitempty there is no way to send value 0.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great question and I know there has been much discussion on zero/pointer values before. I believe that since the value is not required it implies a possible third interpretation which justifies a pointer.

I'm not fond of the ambiguity but I would rather provide the option for pedantry than be too cautious and impose limits.

Comment thread adcom1/content.go Outdated
// integer
// Definition:
// Indicator of whether or not this broadcast is the first time the content is available to an audience, where 0 = not first broadcast, 1 = first broadcast
FirstBroadcast int8 `json:"firstbroadcast,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be pointers? Otherwise, when combined with omitempty there is no way to send value 0.

@jake-dog
jake-dog requested a review from SyntaxNode October 8, 2026 04:10
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.

3 participants