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
- I want to test a specific inRead creative
- I want to test an inRead creative using the available samples
- I want to test a specific Native creative
- I want to test a Native creative using the available samples
ℹ️ 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
- Download the file inread_mock_response.json
- Edit the file by replacing the value from the field
content
with your VAST url, as below. It should be something similar tohttps://s8t.teads.tv/vast/6753877076839177
{
"ads": [{
"type": "VastUrl",
"content": "[YOUR_VAST_URL_HERE]"
// replace it ⤴
}]
}
- Map the url
https://r.teads.tv/rich/*
to the localinread_mock_response.json
file you just edited - Navigate to the screen which requests the Teads ad
I want to test an inRead creative using the available samples
- Select one of the available samples from the table below and then download its mock file
- Map the url
https://r.teads.tv/rich/*
to the local mock file you just downloaded - 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
- Download the file native_mock_response.json
- 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 ⤴
}]
}
- Map the url
https://r.teads.tv/rich/*
to the localnative_mock_response.json
file you just edited - Navigate to the screen which requests the Teads ad
I want to test a Native creative using the available samples
- Select one of the available samples from the table below and then download its mock file
- Map the url
https://r.teads.tv/rich/*
to the local mock file you just downloaded - 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 |