Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

unique id of Ad Tag Waterfall


Hi, is there any way how to parse any unique id of Ad Tag Waterfall into the ad tag urls? Something like __random-number__ but same for all urls in watterfall...
e.g.
"advertising.adtag.pre.autoplay": [
"http://great-video-adserver.com/getAd?tagid=58703e5e-0ebd-48ae-8405-0cbe0723e96f&watterfallid=__unique_watterfall_id__",
"http://another-great-video-adserver.com/getAd?tagid=58703e5e-0ebd-48ae-8405-0cbe0723e96f&watterfallid=__unique_watterfall_id__"
]

Thank you very much for any answer...
Jiri Mikolajek

3 Community Answers

Heidi

JW Player Support Agent  
0 rated :

Hi Jiri,

You will most likely want to add the macro random-number to your ad tag, which will provide that unique ‘id’ you are looking for. Please see our documentation here, and let me know if this helps:

https://support.jwplayer.com/customer/portal/articles/1434340

Heidi

Jiri Mikolajek

User  
0 rated :

Hello Heidi, thank you. But as I wrote in the question - I know about random-number macro. I need to identify the instance of the whole watterfall (per the whole reuqest for ad on adSlot), not only the one call of watterfall...
e.g.
http://great-video-adserver.com/getAd?tagid=58703e5e-0ebd-48ae-8405-0cbe0723e96f&watterfallid=555
http://another-great-video-adserver.com/getAd?tagid=58703e5e-0ebd-48ae-8405-0cbe0723e96f&watterfallid=555

Heidi

JW Player Support Agent  
0 rated :

Hi Jiri,

Thanks for the clarification. In that case, adding a custom parameter to your ad tag would probably work best. You may either add these via the dashboard in the Video detail pages, or add it to your player configuration (using the cloud-hosted or self-hosted player):

advertising.schedule.adbreak.custParams Object Allows for passing custom parameters to an ad break, which then pass through to the URL requested from the ad server

https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/

Does this look more like what you are trying to do?

Heidi

This question has received the maximum number of answers.