Skip to content

Commit

Permalink
add DSA info to bid.meta field and ortb2 examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnellbaker committed Jan 22, 2024
1 parent b4c4987 commit 1940666
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev-docs/bidder-adaptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ The parameters of the `bidResponse` object are:
| `meta.brandName` | Optional | Brand Name | `"BrandB"` |
| `meta.demandSource` | Optional | Demand Source (Some adapters may functionally serve multiple SSPs or exchanges, and this would specify which) | `"SourceB"`
| `meta.dchain` | Optional | Demand Chain Object | `{ 'ver': '1.0', 'complete': 0, 'nodes': [ { 'asi': 'magnite.com', 'bsid': '123456789', } ] }` |
| `meta.dsa` | Optional | [Digital Services Act](https://github.com/InteractiveAdvertisingBureau/openrtb/blob/main/extensions/community_extensions/dsa_transparency.md) Object | `{ 'behalf': 'sample text', 'paid': 'sample value', 'transparency': [{ 'domain': 'sample domain', 'params': [1, 2] }], 'adrender': 1 }` |
| `meta.primaryCatId` | Optional | Primary [IAB category ID](https://www.iab.com/guidelines/iab-quality-assurance-guidelines-qag-taxonomy/) | `"IAB-111"` |
| `meta.secondaryCatIds` | Optional | Array of secondary IAB category IDs | `["IAB-222","IAB-333"]` |
| `meta.mediaType` | Optional | "banner", "native", or "video" - this should be set in scenarios where a bidder responds to a "banner" mediaType with a creative that's actually a video (e.g. outstream) or native. | `"native"` |
Expand Down
16 changes: 15 additions & 1 deletion features/firstPartyData.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,21 @@ pbjs.setConfig({
},
regs: {
gpp: "abc1234",
gpp_sid: [7]
gpp_sid: [7],
ext: {
dsa: {
required: 3,
pubrender: 0,
datatoput: 2,
transparency: [{
domain: 'platform1domain.com',
params: [1]
}, {
domain: 'platform2domain.com',
params: [1, 2]
}]
}
}
}
}
});
Expand Down

0 comments on commit 1940666

Please sign in to comment.