Repository navigation
Conversation
Accept a new `placementuuid` bidder param (the publisher-facing name shared with the Equativ prebid.js adapter and smart.js) and forward it to Equativ as `imp.ext.bidder.plcmtuuid` (`imp.ext.smartadserver.plcmtuuid` on the programmatic-guaranteed path). The legacy siteId/pageId/formatId ids are still passed through unchanged so Equativ arbitrates when both are present, and the schema keeps the value a plain string so a malformed uuid degrades server-side instead of rejecting the impression. The existing ints keep their non-omitempty serialization on purpose (Equativ treats 0 as unset). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Sep 24, 2026
Code coverage summaryNote:
smartadserverRefer here for heat map coverage report |
przemkaczmarek
approved these changes
Sep 30, 2026
Contributor
|
LGTM, thanks! Do not forget upgrade your branch: |
postindustria-code
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Equativ (bidder
smartadserver, aliasequativ) is moving publishers to a new inventory structure where an ad slot is identified by a single placement UUID instead of the legacysiteId/pageId/formatIdtriple. Our prebid.js adapter and smart.js already expose it asplacementuuid; this PR brings the Prebid Server adapter in line.placementuuid(string), documented alongside the legacy ids.imp.ext.bidder.plcmtuuid(imp.ext.smartadserver.plcmtuuidon the programmatic-guaranteed endpoint), which our server already parses.siteId/pageId/formatIdare still passed through unchanged; when both are present Equativ decides server-side. The schema deliberately keeps the value a plain string (noformat: uuid) so a malformed value degrades to the legacy ids on our side instead of rejecting the impression here.omitempty) serialization on purpose: Equativ treats0as unset.Test plan
params_test.go: validplacementuuidalone and with the triple; invalid integer,null, and a uuid with an incomplete triple (existingdependenciesrule).smartadserver, secondary host), multi-imp with the uuid on one imp only.gofmt -s,go vet,go test ./adapters/smartadserver/... ./openrtb_ext/...green on Go 1.25.Docs PR: prebid/prebid.github.io#6762 · Java adapter PR: prebid/prebid-server-java#4640
🤖 Generated with Claude Code