Skip to content

Commit c60439e

Browse files
committed
Clean up
1 parent 237fca3 commit c60439e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

demos/vanilla/nocookies/targeting/prebid.html.tpl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,21 +218,22 @@
218218
<h4>Example: targeting API: Prebid.js</h4>
219219
<p>
220220
Shows how to load active cohorts for a visitor and pass them to Prebid.js via
221-
<a href="https://docs.prebid.org/dev-docs/publisher-api-reference/mergeConfig.html">mergeConfig</a>.
221+
<a href="https://docs.prebid.org/dev-docs/modules/optableRtdProvider.html">Prebid OptableRTD</a>.
222222
It's assumed in this example that your primary ad server is
223223
<a href="https://admanager.google.com/home/">Google Ad Manager</a> (GAM) and that you are integrated with it
224224
using the
225225
<a href="https://developers.google.com/publisher-tag/guides/get-started">Google Publisher Tag</a> (GPT), so
226226
we also pass matching active cohorts to GAM.
227227
</p>
228228
<p>
229-
In this example, we use the <code>prebidORTB2FromCache()</code> API to retrieve any targeting data from browser
230-
LocalStorage, in order to pass it to Prebid.js via <a href="https://docs.prebid.org/features/firstPartyData.html#segments-and-taxonomy">seller defined audiences</a>. We also call the SDK <code>targeting</code> API
231-
which will fetch the latest targeting data from our DCN and cache it locally for later use. Since these
232-
two events happen asynchronously, it's possible that the targeting data passed to GAM is slightly outdated.
229+
In this example, we use the <code>targetingFromCache()</code> API to retrieve any targeting data from browser
230+
LocalStorage, in order to pass it to Prebid.js via RTD modules. It also uses <code>targetingKeyValues()</code> to retrieve gam key values and send them to GAM.
233231
To ensure ad targeting accuracy, it is recommended to call <code>targeting</code> to update the local cache on
234232
page load.
235233
</p>
234+
<p>
235+
If you want to override GAM targeting you can set localStorage key <code>disableGamTargeting</code> to <code>true</code> before loading the page. This will prevent the SDK from sending any targeting data to GAM.
236+
</p>
236237
</div>
237238
</div>
238239

0 commit comments

Comments
 (0)