Login
Welcome
Login

Test a specific creative

You may need to use specific ads during integration and/or troubleshooting iterations. For that you can use a debugging proxy app, such as Charles or Proxyman. You will then be able to map the Teads ad response in order to serve the creative of your choice.

Steps to achieve it

  • Download Charles or Proxyman or the debugging proxy app of your preference
  • Ensure to set up your computer, your app project and your testing device according to the docs that your debugging proxy app provides, for instance Charles docs, Proxyman docs
  • Use the "map local" feature from your debugging proxy app in order to map the Teads ad response to a local one, according to the instructions below

Summary

ℹ️ The instructions above works for Direct and Mediation integrations


ℹ️ Native AKA inFeed


⚠️ Please keep in mind that the ad will start only if visibility conditions are met, see troubleshooting section


I want to test a specific inRead creative

  1. Download the file inread_mock_response.json
  2. Edit the file by replacing the value from the field content with your VAST url, as below. It should be something similar to https://s8t.teads.tv/vast/6753877076839177
{
    "ads": [{
        "type": "VastUrl",
        "content": "[YOUR_VAST_URL_HERE]"
               // replace it ⤴       
    }]
}
  1. Map the url https://r.teads.tv/rich/* to the local inread_mock_response.json file you just edited
  2. Navigate to the screen which requests the Teads ad

I want to test an inRead creative using the available samples

  1. Select one of the available samples from the table below and then download its mock file
  2. Map the url https://r.teads.tv/rich/* to the local mock file you just downloaded
  3. Navigate to the screen which requests the Teads ad
Creative Type Mock file
Video inread_video_mock_response.json
Image inread_image_mock_response.json
Scroller inread_scroller_mock_response.json
Slider inread_slider_mock_response.json
Carousel inread_carousel_mock_response.json

I want to test a specific Native creative

  1. Download the file native_mock_response.json
  2. Edit the file by replacing the value from the field content with your JSON, as below. Ensure that it follows the standard.
{
    "ads": [{
        "type": "NativeJson",
        "content": "[YOUR_NATIVE_JSON_HERE]"
               // replace it ⤴
    }]
}
  1. Map the url https://r.teads.tv/rich/* to the local native_mock_response.json file you just edited
  2. Navigate to the screen which requests the Teads ad

I want to test a Native creative using the available samples

  1. Select one of the available samples from the table below and then download its mock file
  2. Map the url https://r.teads.tv/rich/* to the local mock file you just downloaded
  3. Navigate to the screen which requests the Teads ad
Creative Type Mock file
Video native_video_mock_response.json
Image native_image_mock_response.json

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.