0.1.11 • Published 15 days ago

@bygd/opus-vast-hl v0.1.11

Weekly downloads
-
License
MIT
Repository
-
Last release
15 days ago

opus-vast-hl

The opus-vast-hl project is a JavaScript (JS) library designed to remotely load a script that allows user-side manipulation and implementation of network advertisements. It manages and facilitates interactions between the client-side and the servable ads from the provider.

Main Functionality

The module employs an asynchronous loading strategy to resourcefully fetch the necessary script from an external URL. This script, known as 'headerlift.min.js', is critical for handling interactions with the Improved Digital Header Bidding platform, a system built to optimize ad space by holding real-time auctions for each ad slot.

The 'headerlift.min.js' script is configured dynamically based on various parameters. The primary parameters include ad 'slotId', a unique identifier for each ad space on a web page, and the 'pageUrl', the URL of the current page where the ads are to be displayed.

To ask for ads, mainly Video Ad Serving Template (VAST) format, the library uses the 'getVAST' function. This function sends a request to Improved Digital's server, identifying the ad slot for which it wants an ad. The server returns a URL pointing to the ad content, which is then bundled into an object and returned as the outcome of the 'getVAST' function.

User Privacy Consideration

The script also has a method to consider the user's privacy preferences: whether they allow personalized ads or not. By default, it is set to allow personalized ads, but it can be modified as per user preference, signifying the project's commitment to user privacy.

In summary, the opus-vast-hl code is a frontend tool to facilitate interaction with the Improved Digital platform, providing a method to dynamically load ad content based on real-time auctions.

This enhances the end-user experience by serving relevant ads rather quickly, respects user privacy preferences concerning ad personalization, and provides back-end server flexibility as the ad content and scripts are hosted remotely.

0.1.11

15 days ago

0.1.10

24 days ago

0.1.9

25 days ago

0.1.8

1 month ago

0.1.7

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.6

2 months ago

0.1.5

2 months ago

0.1.2

7 months ago