Skip to content

Commit a84eb8b

Browse files
committed
pass json attribute through
1 parent d031873 commit a84eb8b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ads/vendors/playwire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { loadScript, validateData, computeInMasterFrame } from '#3p/3p';
77
export function playwire(global, data) {
88
/*eslint "local/camelcase": 0*/
99
global.playwire = {
10-
allowed_data: ['publisher', 'website', 'slot', 'path', 'slotNumber'],
10+
allowed_data: ['publisher', 'website', 'slot', 'path', 'slotNumber', 'json'],
1111
mandatory_data: ['publisher', 'website', 'slot'],
1212
isAmp: true,
1313
data,

ads/vendors/playwire.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ Each site must be approved and onboarded with Playwire prior to launch. Please v
1515
- `data-publisher` - The Playwire publisher ID assigned to the property.
1616
- `data-website` - The website ID associated with the property.
1717
- `data-slot` - The Playwire slot identifier corresponding to the ad unit.
18+
19+
### Optional parameters
20+
21+
- `data-json` - JSON object to configure additional settings. Refer to Playwire documentation for supported options.

0 commit comments

Comments
 (0)