Video Ad Error Handling & Tracking

Ad Response Only Contains "inventory" ==> Track Inventory

As mentioned in the previous section, this part of the validation process is the one with the highest failing percentage. These are some edge cases that can easily be forgotten, but really have to be handled and tracked.

Error Handling Checklist

This tutorial explains how to test your project to ensure proper reporting of errors regarding the inventory.

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_inventory > click OK.

Charles Proxy Request Check

404 When Loading the Video Ad

This tutorial explains how to test and track an ad's 404 error.

Start content playback

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_404 > click OK.

When you start the player, does the player correct error-handle the 404 issue and start the content?

Track error

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_404 > click OK.

You should see one "inventory" tracking HTTP request (aid=0 & e=0) per each available ad break. The example below has 2 available ads per break.

Charles Proxy Sequence Check
Alternate testing method: If you have access to the source code of the integration, you can also achieve the same results by checking your request configuration directly in the implementation to the following:
  • host: 'vp-validation.videoplaza.tv'
  • category (s): 'validation'
  • tag (t): '404'

For information about how to track errors please refer to the developer documentation. Also, in our DIY tutorials, there are special sections dedicated to error handling and tracking.

Timeout when Loading the Video Ad

This tutorial demonstrates how to test a timeout error.

Start content playback

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_timeout > click OK.

Start the player, does the player correct error-handle the timeout issue and start the content?

Track error

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_timeout > click OK.

You should see one "inventory"(error) tracking HTTP request (aid=0 & e=0) per each available ad break.

Alternate testing method: If you have access to the source code of the integration, you can also achieve the same results by checking your request configuration directly in the implementation to the following:
  • host: 'vp-validation.videoplaza.tv'
  • category (s): 'validation'
  • tag (t): 'timeout'

Get an Unsupported Video Ad

This tutorial shows how to test the player's handling of an unsupported video ad.

Start content playback

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_invalid > click OK.

Start the player, does the player correct error-handle the unsupported video ad and start the content?

Track error

Open Charles Proxy > Tools > Rewrite > Enable Rewrite > Select: vp_host + vp_invalid > click OK.

You should see one "inventory" tracking HTTP request (aid=0 & e=0) per each available ad break.

Alternate testing method: If you have access to the source code of the integration, you can also achieve the same results by checking your request configuration directly in the implementation to the following:
  • host: 'vp-validation.videoplaza.tv'
  • category (s): 'validation'
  • tag (t): 'invalid'

この記事はお役にたちましたか?