Skip to content

Change Video.PodID to a string, as per the spec - #2

Merged
bsardo merged 2 commits into
prebid:mainfrom
julian-burger-ttd:jay-pod-id-string
Jan 18, 2023
Merged

bsardo merged 2 commits into
prebid:mainfrom
julian-burger-ttd:jay-pod-id-string

Conversation

@julian-burger-ttd

Copy link
Copy Markdown
Contributor

No description provided.

@julian-burger-ttd

Copy link
Copy Markdown
Contributor Author

@bsardo Can you please take a look at this?

@julian-burger-ttd

Copy link
Copy Markdown
Contributor Author

Or perhaps @SyntaxNode ?

@SyntaxNode

Copy link
Copy Markdown
Contributor

Good catch. Thank you for correcting the mistake. Could you please fix the same in the openrtb2 audio struct?

@julian-burger-ttd

Copy link
Copy Markdown
Contributor Author

Done.

Comment thread adcom1/audio_placement.go Outdated
// share the same podid, this indicates that those impression opportunities
// belong to the same video ad pod.
PodID int64 `json:"podid,omitempty"`
PodID string `json:"podid,omitempty"`

@SyntaxNode SyntaxNode Jan 10, 2023 •

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.

The AdCOM PodIDs are integers, per: https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md

Looks like the ad podding changes to AdCOM don't match the changes to OpenRTB 2.6. I don't closely follow AdCOM, but I'll track down what happened. Let's keep the adcom package int64 to match the spec, but openrtb2 should use a string. I think I see where my original gaffe came from. :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Got it. Reverted that change.

@bsardo
bsardo self-requested a review January 18, 2023 18:25

@bsardo bsardo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

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