Introduction
Testing ad configurations directly on a live server can lead to inaccurate results and disruptions, making validation challenging. The complexities of live testing often frustrate developers and hinder effective ad configuration testing.
Requestly provides a solution by redirecting network calls to the AAX Bid Simulator, ensuring reliable and controlled ad testing without affecting your live environment.
Redirect network calls to AAX Bid Simulator
The Redirect Rule
in Requestly enables you to reroute network calls to the Bid Simulator instead of the live server. This is especially useful for testing ad configurations and validating setups in a controlled environment without affecting production data.
- Another URL:Â You can redirect the request to a different URL. In this case, the redirection is happening to a new JavaScript file URL.
- Local File:Â This option lets you redirect to a local file stored on your machine.
- From Files/Mock server: You can also choose to redirect the request to a file hosted on a mock server or from files you’ve set up.
- Source Condition:Â This determines which requests will be redirected. Here, any request containingÂ
https://example.com/
 will be redirected. - Destination URL: This is the URL where the request is redirected. In the example, it’s redirecting to a new debug script.
- Test URL Condition: You can check if the rules you’ve set up work correctly by testing them on specific URLs.
- Filter Out Condition:Â You can applyÂ
filters
 to limit which requests are affected, making sure only the ones you want are modified.
Or create your own Rule
by following the steps below
Here’s how to set up a redirect rule to Redirect network calls to AAX Bid Simulator instead of real server:
- Open Requestly: Open requestly app.
- Create a New Rule: Click on
New Rule
and selectRedirect Rule.
- Enter the Original URL Pattern: Add the URL pattern for the network requests you want to redirect to the AAX Bid Simulator.
- Specify the AAX Bid Simulator URL: Enter the URL of the AAX Bid Simulator. This URL will be the target of the redirect.
- Example Original URL:
https://example.com/
- Example AAX Bid Simulator URL:
https://aax-bid-simulator.com/
- Example Original URL:
- Save the Rule: Click ‘Save’ to create the rule and ensure the rule is activated by toggling the switch to the ‘On’ position
Interactive Guide
Check this interactive and easy explanation of how to create Redirect rule.
Conclusion
Try this redirect rule to test ad configurations with the AAX Bid Simulator, ensuring accurate results without affecting live data. Requestly is trusted by over 200k developers and 1000+ corporates for its efficiency in managing network requests.
Explore More: