Skip to content

Commit cef9263

Browse files
authored
Add documentation for allBidsCustomTargeting setting in setConfig.md (prebid#5959)
1 parent 335c216 commit cef9263

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dev-docs/publisher-api-reference/setConfig.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ The `targetingControls` object passed to `pbjs.setConfig` provides some options
708708
| allowTargetingKeys | Array of Strings | Selects supported default targeting keys. |
709709
| addTargetingKeys | Array of Strings | Selects targeting keys to be supported in addition to the default ones |
710710
| allowSendAllBidsTargetingKeys | Array of Strings | Selects supported default targeting keys. |
711+
| allBidsCustomTargeting | boolean | Set to true to prevent custom targeting values from being set for non-winning bids |
711712

712713
{: .alert.alert-info :}
713714
Note that this feature overlaps and can be used in conjunction with [sendBidsControl.bidLimit](#setConfig-Send-Bids-Control).
@@ -904,6 +905,11 @@ config.setConfig({
904905
});
905906
```
906907

908+
#### Details on the allBidsCustomTargeting setting
909+
{: .no_toc}
910+
911+
By default, non winning bids will have custom tageting values concatenated to the winning bid's custom targeting for the same key. The `allBidsCustomTargeting` setting is a boolean that, when set to `false`, prevents custom targeting values from being set for non-winning bids. This can be useful if you want to ensure that only the winning bid has custom targeting values set.
912+
907913
<a name="setConfig-Configure-Responsive-Ads"></a>
908914

909915
### Configure Responsive Ads

0 commit comments

Comments
 (0)