For the complete documentation index, see llms.txt. This page is also available as Markdown.

relevantDigital.Auction.registerImpressionByAdId()

Manually register instream video impressions for header-bid analytics using an ad ID.

Use relevantDigital.Auction.registerImpressionByAdId() to record an impression manually.

Use it when the Relevant Yield JavaScript cannot detect the impression automatically.

This commonly applies to instream video integrations using the Google IMA SDK.

Use this method only when automatic impression detection is unavailable.

Parameters

id

The creative ad ID. For instream video, use the ID from the VAST <Ad> element.

Return value

Returns true when a matching bid response is found.

An impression must not have been registered for that response previously.

For the general setup, see Instream video with HBM and GAM.

Last updated

Was this helpful?