DEV Community

Cover image for Configure Amazon Ad Exchange Bids using header modifications
Requestly
Requestly

Posted on • Originally published at requestly.com

Configure Amazon Ad Exchange Bids using header modifications

Introduction

When working with ad tech, testing different bidding scenarios is crucial. The AAX (Amazon Ad Exchange) Bid Simulation technique allows you to mimic bid requests and responses, helping you optimize your strategies. One of the easiest ways to adjust these simulations is by modifying the headers in your HTTP requests. With Requestly, you can achieve this quickly and without writing any code.

In this post, we'll explore how to configure the AAX Bid Simulator using header modifications in Requestly.

Why Use Requestly?

Requestly is a handy tool that allows you to modify, redirect, or block HTTP requests and responses. This is particularly useful when testing how different header values affect your ad tech setups.

Setting Up AAX Bid Simulator with Requestly

1. Install Requestly

First, install the Requestly extension from the Chrome Web Store or Requestly’s official website. Once installed, you'll see the Requestly icon in your browser.

2. Set Up a Modify Headers Rule

The Modify Headers Rule in Requestly lets you change HTTP headers of requests and responses. You can add, edit, or remove headers to test different scenarios, such as adjusting user-agent strings or troubleshooting CORS issues. This feature helps you understand how your application interacts with different server configurations and APIs.

Image description

Here’s how you can modify headers to work with the AAX Bid Simulator:

  1. Open Requestly: Open Requestly app .
  2. Create a New Rule: Click on New Rule and choose Modify Headers.
  3. Enter the URL Pattern: Add the URL pattern for the AAX Bid Simulator’s request endpoint. This tells Requestly when to apply the rule.
  4. Modify Headers: Add or edit headers, like X-AAX-PricePoint or X-AAX-Video-Dimensions, based on what you want to test.
  5. Save the Rule: Once done, save the rule.

Conclusion

Configuring the AAX Bid Simulator using header modifications with Requestly is straightforward and can greatly enhance your testing capabilities. Whether you're a developer testing different bid scenarios or a QA simulating errors, Requestly provides the flexibility and control you need.

Explore More:

Top comments (0)