From ad22fa2c79be7648f1afd262cbca1e820ed99a6f Mon Sep 17 00:00:00 2001 From: ss-toshihide-tajima Date: Wed, 22 Oct 2025 18:26:09 +0900 Subject: [PATCH] Align first-party data example with OpenRTB spec This commit updates the AdGeneration bidder documentation to align the first-party data example with the OpenRTB specification. The OpenRTB specification requires the `id` field for objects within the `user.data[].segment` array. However, the code example in the AdGeneration bidder documentation was incorrectly using the `name` field. This discrepancy causes valid first-party data to be filtered out by the `validationFpdModule`, as it correctly enforces the OpenRTB standard by rejecting segments that lack the required `id` field. - In `dev-docs/bidders/adgeneration.md`, the `firstpartydata` example has been updated. - The `name` key in the `segment` objects has been replaced with `id`. This change ensures the documentation provides a correct, compliant example for publishers, preventing potential integration issues. --- dev-docs/bidders/adgeneration.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-docs/bidders/adgeneration.md b/dev-docs/bidders/adgeneration.md index 12e9914304..4d420d8d75 100644 --- a/dev-docs/bidders/adgeneration.md +++ b/dev-docs/bidders/adgeneration.md @@ -28,7 +28,7 @@ In release 1.6.4 and later, publishers should use the `ortb2` method of setting * ortb2.site.content.data[] If `ad-generation.jp` is specified for ortb2.site.content.data[].name and `546` is specified for ortb2.site.content.data[].ext.segtax, -`ortb2.site.content.data[].segment[].name` and `ortb2.site.content.data[].segment[].value` can be any string value. +`ortb2.site.content.data[].segment[].id` and `ortb2.site.content.data[].segment[].value` can be any string value. Example first party data that's available to all bidders and all adunits: @@ -43,9 +43,10 @@ pbjs.setConfig({ segtax: 546 }, segment: [ - { name: "news_category", value: "Sports_Sumo" },// name and value must be string types - { name: "local_gourmet", value: "sushi" }, - { name: "location", value: "tokyo" } + { id: "news_category", value: "Sports_Sumo" },// id and value must be string types + { id: "local_gourmet", value: "sushi" }, + { id: "location", value: "tokyo" }, + { id: "code", value: "1001"} ] }] }