Skip to content

bidResponseFilter: IBV not detected on multi-format ad units #14475

@antoine-ga

Description

@antoine-ga

The problem

PR #14071 added mediaType enforcement to bidResponseFilter. However, the module checks bid.meta.mediaType against the ad unit's configured mediaTypes and therefore doesn't catch In-Banner Video (IBV) on multi-format ad units.

Proposed fix

Add a comparison between bid.meta.mediaType and bid.mediaType. When both are present and they don't match, the bid should be rejected. This would catch IBV regardless of ad unit configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready for Dev

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions