Skip to content

How to post ad request to aws RTB Fabric requester gateway ?

0

I have created aws rtb fabric requester gateway from console. Now i want to send request through it.

I have tried to send POST request, and i am getting error message that "Link ID not specified in request".

It is not mentioned in documentation that how to send request with link id to request gateway. Anyone has idea ?

asked 9 months ago226 views

2 Answers
0
Accepted Answer

The URL components in the example below will come from your API responses. If you don't have them at hand, your Gateway ID and Link ID can be found via the AWS Management Console, or by invoking the ListGateways and ListLinks operations outlined in the API Reference.

From the command line, use curl to send a POST request to the Link. Supply an OpenRTB payload to validate full end-to-end requests to your partner, or an empty body to simply test connectivity. See below for a curl example in the us-east-1 region.

curl -X POST -H "Content-Type: application/json" -d {Your RTB JSON Payload} "https://rtb-gw-{your-gateway-id}.{your-aws-account}.gateway.rtbfabric.us-east-1.amazonaws.com/link/link-{your-link-id}/link"

Any additional URL or path params that your partner expects can be appended to the Link URI.

answered 9 months ago

  • Thanks, That's very helpful, and solved the issue

-1

To send requests through your AWS RTB Fabric requester gateway, you need to specify a Link ID in your request. This is a key requirement that seems to be missing in your current approach.

When working with AWS RTB Fabric, you need to:

  1. Create a requester gateway (which you've already done via the console)
  2. Create a responder gateway to receive and process bid responses
  3. Establish a link between these gateways to create a private, low-latency communication path for OpenRTB traffic

The error message "Link ID not specified in request" indicates that you need to create a link and include its ID in your request. Links in RTB Fabric act as secure communication channels between requester and responder gateways.

You can create a link using the AWS CLI with a command similar to:

aws rtbfabric create-link \
--requester-gateway-id your-requester-gateway-id \
--responder-gateway-id your-responder-gateway-id \
--description "My RTB link"

Once you have created the link, you'll need to include the Link ID in your POST requests to the requester gateway.

AWS RTB Fabric is designed to help you connect with AdTech partners while delivering single-digit millisecond latency through a private, high-performance network environment. The service includes modules that can help optimize traffic, improve bid efficiency, and increase bid response rates.
Sources
Introducing AWS RTB Fabric for real-time advertising technology workloads | AWS News Blog
Now generally available: AWS RTB Fabric for real-time bidding workloads - AWS

answered 9 months ago

  • How to include the Link ID in your POST requests to the requester gateway ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.