简体   繁体   中英

AWS MediaTailor Server-side Event Tracking

I am trying to log different events like start, stop etc. when the video is played. For this, I have configured URLs in VAST XML in <Tracking> XML tag. But the tracking URLs are not getting 'hit' when the Ad is played (these URLs are embedded in the VAST XML). For now, I am not using any ADS. Rather, I am using VAST XML in ADS server URL in AWS MediaTailor configuration.

Below is the code snippet:

 <Tracking event="start"><![CDATA[https://myapplication.com/tracking/start]]></Tracking>
 <Tracking event="firstQuartile"><![CDATA[https://myapplication.com/tracking/firstQuartile]]></Tracking>

Does anyone have an idea on why could this be?

What do you see in your cloudwatch logs in the AdDecisionServerInteractions log group? Are there errors from events firing or are they not firing at all?

Can you also file a support ticket and attach the entire VAST XML (so we can validate its syntax), or post it here?

The main thing to watch out for here when doing static testing is to make sure the syntax is to VAST spec. Looking at a sample VAST from a real ad server like DFP is helpful:

https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM