Rich Media/Assets

Vessel allows you to publish & A/B test your rich media assets including images, videos, promotional ads etc.

Step 1. Create Test and Upload Assets.

Step 2. Select and Publish.

Give unique name to your asset. Then select asset you want to deliver for each variation.

Step 3: Assets Api

Coming soon.

Rich Media/Assets

Vessel allows you to publish & A/B test your rich media assets including images, videos, promotional ads etc.

Step 1. Create Test and Upload Assets.

Step 2. Select and save

Give unique name to your asset. Then select asset you want to deliver for each variation.

Step 3: Assets Api

/**
 Get the image associated with a given test variation variable. If there is none associated or the test failed to load then the will execute failure block.
*/

    [VesselAB fromTest:@"asset_demo" getImageFor:@"ads_assets" success:^(UIImage *variationImage) {
        // Get Image and show.
        
    } failureBlock:^{
       // Show your default image 
    }];

Step 4: Assets Url Api

/** Returns the assetUrl associated with a given test asset variation variable. If there is none associated or the test failed to load then the defaultValue is returned.
 
     @param testName The test name from which variation variable needs to be retrieved.
     @param variableKey The variableKey whose value is to the retrieved.
     @param defaultValue In case there is no variation variable named variationVariable or if the test failed to load then the defaultValue is returned.
     */
        
        NSString *variationAssetUrl = [VesselAB fromTest:@"asset_demo" getAssetUrl:@"ads_assets" defaultValue:@"YOUR_DEFAULT_URL"];