Test Mode for Liftoff In-App Bidding

Testing that your ads are implemented correctly is an important step in integrating Liftoff In-App Bidding. We recommend that you use test mode during app development and testing to verify your In-App Bidding integration.

In this article:

Server-to-Server (S2S) Integration Testing

Use the server-side test mode to verify your Integration with the Liftoff bidding server. This test only confirms that you have successfully integrated with the Liftoff bidding server; it does not test whether you can show a Liftoff ad in the event that Liftoff wins an auction.

In the bid request, specify the following:

  • “Test”: 1
  • “Bid_token”: “server-to-server”

Example

{
 "imp":​ ​[{
          "id":​ ​"234567", 
          "tagid":​ ​"",  
          "vungle":​ ​{ 
            "bid_token":"server-to-server"
          }    
        }],        
 "app":​ ​{
          "id":​ ​"", 
        },
 "test":​ ​1,
}

Result

Whether or not you have completed the SDK integration, the Liftoff bidding server will return a valid bid with $99. You can use the bid and bid price to run an auction.

End-to-End (E2E) Integration Testing

Use end-to-end testing to verify your integration of the Liftoff Monetize SDK and Liftoff bidding server, and to confirm that Liftoff can successfully show an ad when Liftoff wins an auction.

  1. In the Liftoff Monetize Dashboard, switch your app to Test Mode, as shown.

    image3.png

  2. In the bid request, specify “Test”: 1 
    {     
      "app":​ ​{
               "id":​ ​"Your Vungle Application ID", 
             },
      "imp":​[​{
               "tagid":​ ​"Your Vungle Placement ID",   
               "vungle":​ ​{ 
                  "bid_token":"Your Vungle Token"
                } 
             }],
      "test":​ ​1,
    }

Result

Liftoff will return a bid with $100. If Liftoff wins the auction, the Liftoff Monetize SDK will show a test ad.

Deliver Test Ads to Your Test Devices

You can also deliver test ads to a few of your test devices. This enables you to test ad content on specific devices without affecting your live app version. Note that because test ads are only used for testing, they will not generate revenue.

To use this functionality, in the Liftoff Monetize Dashboard, go to  App Settings Test Devices. Add a test device by entering the device IDFA or GAID. Liftoff will deliver test ads to your test device.

image1.png

Set Your App Live

If both your S2S and E2E testing went well, switch your app to active mode and start earning money!

  1. In the bid request, specify “Test”: 0 
    {     
      "app":​ ​{
               "id":​ ​"Your Vungle Application ID", 
             },
      "imp":​[​{
               "tagid":​ ​"Your Vungle Placement ID",   
               "vungle":​ ​{ 
                  "bid_token":"Your Vungle Token"
                } 
             }],
      "test":​ ​0,
    }
  2. In the Liftoff Monetize Dashboard, switch your app to Active mode.

    image2.png

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!

Was this article helpful?