We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25f3376 + cbfc075 commit 1ea4b15Copy full SHA for 1ea4b15
3 files changed
.changeset/large-emus-sin.md
@@ -0,0 +1,5 @@
1
+---
2
+'@guardian/commercial': minor
3
4
+
5
+Add Keywords parameter to Sonobi prebid
src/lib/header-bidding/prebid-types.ts
@@ -47,6 +47,7 @@ export type PrebidSonobiParams = {
47
dom_id: string;
48
appNexusTargeting: string;
49
pageViewId: string;
50
+ keywords: string[];
51
render?: string;
52
};
53
src/lib/header-bidding/prebid/bid-config.ts
@@ -349,6 +349,9 @@ const sonobiBidder: (pageTargeting: PageTargeting) => PrebidBidder = (
349
dom_id: slotId,
350
appNexusTargeting: buildAppNexusTargeting(pageTargeting),
351
pageViewId: window.guardian.ophan.pageViewId,
352
+ keywords: window.guardian.config.page.keywords
353
+ ? window.guardian.config.page.keywords.split(',')
354
+ : [],
355
}),
356
});
357
0 commit comments