Skip to content

Rename ext.prebid to ext.openads while still allowing both#137

Merged
mike-hoyt-ttd merged 4 commits into
mainfrom
mho-OPATH-6429-Allow-OpenAds-Ext
May 8, 2026
Merged

Rename ext.prebid to ext.openads while still allowing both#137
mike-hoyt-ttd merged 4 commits into
mainfrom
mho-OPATH-6429-Allow-OpenAds-Ext

Conversation

@mike-hoyt-ttd
Copy link
Copy Markdown
Contributor

@mike-hoyt-ttd mike-hoyt-ttd commented May 4, 2026

Summary

Adds ext.openads as an inbound alias for ext.prebid at both request.ext and imp[].ext. Outbound bidder requests still use ext.prebid; the SIS signature block on ext.openads is unaffected.

If both keys are present, openads wins and prebid is fully ignored — no fallback for missing subkeys. Request-level and imp-level resolve independently, so mixing is fine.

The alias is handled at four points: the RequestExt/ImpExt wrappers (map-level rewrite), ExtRequest.UnmarshalJSON (for code that deserializes ExtRequest directly), getExtPrebidValue in the auction endpoint (raw JSON paths for stored requests and passthrough), and splitImps in exchange (bidder routing).

This can be simplified once we deprecate ext.prebid

@mike-hoyt-ttd mike-hoyt-ttd marked this pull request as ready for review May 6, 2026 23:05
Remove floors parsing as it isn't necessary
Remove added newlines
@mike-hoyt-ttd mike-hoyt-ttd merged commit a6c70b5 into main May 8, 2026
3 checks passed
@mike-hoyt-ttd mike-hoyt-ttd deleted the mho-OPATH-6429-Allow-OpenAds-Ext branch May 8, 2026 16:01
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.

2 participants