Skip to content

BTA Feed

BTA Feed is a ready-to-use feed designed to display below an article. It consists of a set of configurable widgets, typically including Yaleo placement widgets. Ad serving uses Prebid.js with support for multiple ad providers.

Located under Yaleo / BTA Feed: https://app.adconsole.com/yaleo/bta-feed/v2

The publisher adds the BTA Feed script and initialization directly in their page markup.

Include the script tag on the page:

<script async src="https://cdn.adnz.co/bta-feed/index.js"></script>

Initialize the feed:

window.adnzBtaFeed = window.adnzBtaFeed || {};
window.adnzBtaFeed.queue = window.adnzBtaFeed.queue || [];
window.adnzBtaFeed.queue.push(() => {
window.adnzBtaFeed.start({
btaFeedId: '00000000-0000-0000-0000-000000000000',
element: document.getElementById('target-element-id'),
});
});

The integration script is deployed as a Raw JS entry in Headertag.

  1. Assign the BTA Integration Script (Prebid) script from AdConsole / Raw Scripts to the tag.
  2. Add a new Raw JS script that calls setupBtaFeed with the target element ID and BTA Feed ID:
setupBtaFeed('target-element-id', '00000000-0000-0000-0000-000000000000');

For publishers with complex or non-standard integration requirements, per-publisher scripts are maintained in js/scripts/bta-feed/. Each script wraps the standard setupBtaFeed call and extends it with publisher-specific logic — for example, resolving the target element via XPath when a stable DOM ID is unavailable, or deferring initialization until a custom lifecycle hook fires.

AppStatusDescription
js/apps/bta-feed-prebidCurrentCurrent implementation. Use for all new integrations.
js/apps/bta-feedDeprecatedReplaced by js/apps/bta-feed-prebid. Migration details and websites still using this script are tracked in #18279.