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

Pixel Macros for Ad Targetting


Hi,

I would like to add cachebusting to my tracking pixels - the ones listed under `Tracking Events` node. I've tried the macros listed in the document here: https://support.jwplayer.com/customer/portal/articles/1434340-ad-tag-variables . However, it seems that when I test the actual tag the player does not replace the macros and leaves them be. Would there be a way to configure JWplayer to do this? if so, would there be documentation?

I'm testing the player on http://demo.jwplayer.com/ad-tester/

Thanks,
Joon

5 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello Joon,

Often this data is populated from the nested metadata in the stream. Are you certain that the stream contains the proper metadata and the parameters match?

Also could you provide a sample link?

Randy

Joon Heo

User  
0 rated :

Hi Randy,

Here's a sample VPAID.JS tag: https://fuisz-experience-staging.herokuapp.com/57fe857bc41b8d0b1e56f6af/vast.xml

I wasn't too sure what you meant by "nested metadata in the stream". But if you mean the pixels in the `Tracking Events`contain the correct macros, then you should be able to see them in the sample tag above. I'm using two macros, one from the vast spec by iab and the random number macro from the JWPlayer documentation. For your convenience: "cb=[CACHEBUSTING]" and "jwcb=__random-number__". However, when checking the network tab of my inspector doesn't seem to show the macros being replaced.

Best,
Joon

Randy

JW Player Support Agent  
0 rated :

Hello Joon,

I am not sure this is supported as in most cases I have seen this used primarily as an added parameter at the end of the ad tag like so:

http://pubads.g.doubleclick.net/gampad/ads?sz=640×360&iu=/6062/iab_vast_samples/skippable&ciu_szs=300×250,728×90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=%5Breferrer_url%5D&correlator=%5Btimestamp&camera=item-camera&type=item-type&location=item-location__&object=__item__object__

Which would then pull in the custom data or any other ad tag information nested into the actual stream or other component.

Let me know if this works for you as I will ask our engineers about other implementations.

Randy

Joon Heo

User  
0 rated :

Hi Randy,

That mechanism isn't working for us as we need to cachebust each of the pixels within the tag. I was under the impression vast players had to have a macro implementation, or at least a default one. (according to https://www.iab.com/wp-content/uploads/2015/06/VASTv3_0.pdf look under `Macros` section) Would there be something like this in JWPlayer?

Thanks!
Joon

Randy

JW Player Support Agent  
0 rated :

Hello Joon,

Our player certainly supports the use of cache_busting within the ad tag. If you use the following JW Player Ad Tag Macro within your ad tag, do you see proper cache busting within the ad tag:

random-number

You can also locate our full article on Macros here:

Ad Tag Targeting Macros

Randy

This question has received the maximum number of answers.