Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Passing information to a 3rd Party measurement service during Ad rendering #926

Description

@sunnypav

As part of ad rendering we load some of the 3rd party measurement & viewability verification partners. In case of Display ads we have to load the scripts of these 3rd party partners and pass some information to them.

An example measurement script gets loaded during ad-rendering

<script type="text/javascript" src="https://measurement-partner.com/load?campId=${INSERTION_ORDER_ID}&pubId=${ADSXT_PUBLISHER_ID}&chanId=${EXCHANGE_ID}&placementId=${CAMPAIGN_ID}&dealId=${INVENTORY_SOURCE_EXTERNAL_ID}&bidurl=${SOURCE_URL_ENC}"></script>

Even though few of the parameters we could be able to extract from the ad-render URL some of the parameters we can't because of k-anon restriction. I have gone through the Ad reporting API where in there is a provision to fire some events via registerAdBeacon, registerAdMacro and reportEvent. But that is not is useful for this use-case as this is JS which we need to load by passing the required info. Also, its not clear how in video ads some one can use the reportEvent API as the ad response is a VAST running in a player might not be having the full JS capabilities.

Please share your thoughts in terms how we can support such type of use cases and how can we get the required info to be passed to these scripts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions