You can use the TVSDK configuration file (AdobeTVSDKConfig.json) to update the priorities for ad creative selection on VAST/VMAP responses. You can also use this configuration file to define the source URL transformation rules for ad creatives.
When your video player makes a request to an ad server, the VAST/VMAP response usually includes multiple ad creatives ( MediaFile
elements), each of which provides a URL to a different container-codec version. In some cases, ad creatives in the VAST/VMAP response each provide a different bitrate for the ad. If you want to specify your own priority and transformation rules for these ad creatives, you can do so in the AdobeTVSDKConfig.json configuration file.
You can specify two types of rules in AdobeTVSDKConfig.json: Priority rules and Normalize rules.
Ad Rules change
The Ad rules are specified using a JSON file. The format of the JSON file remains the same in both versions of the TVSDK. However, in TVSDK v2.5, the Ad rules JSON file must be hosted on a location accessible via a HTTP URL. The application can use an instance of AuditudeSettings:
//TVSDK v2.5 AuditudeSettings result = new AuditudeSettings();
result.setCRSRulesJsonURL(<http url of
AdobeTVSDKConfig.json>);