Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change video.skip to a pointer #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Baumanar
Copy link

@Baumanar Baumanar commented Oct 2, 2024

According to the openrtb documentation, video.skip does not have a default value, so if the field is not provided in the json, we should not unmarshal it by default to 0 (non skippable).

The expected behaviour would be if the field is not provided, this field is set to nil, and we don't know whether or not the video is skippable.

Note: this is a breaking change, how do you plan do manage it ?

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.

1 participant