Test Mode for Vungle App Bidding

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

In this article:

Server-to-Server (S2S) Integration Testing

Use the server-side test mode to verify your Integration with the Vungle bidding server. This test only confirms that you have successfully integrated with the Vungle bidding server; it does not test whether you can show a Vungle ad in the event that Vungle 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 Vungle 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 Vungle SDK and Vungle bidding server, and to confirm that Vungle can successfully show an ad when Vungle wins an auction.

  1. In the Vungle Publisher 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

Vungle will return a bid with $100. If Vungle wins the auction, the Vungle 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 Vungle Publisher Dashboard, go to  App Settings Test Devices. Add a test device by entering the device IDFA or GAID. Vungle 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 Vungle Publisher Dashboard, switch your app to Active mode.

    image2.png
Powered by Creativity Driven by Performance Sign Up Here

Questions?

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

Was this article helpful?