Skip to main content

Amazon DSP

How to target a Classify Deal ID and set up impression tracking in Amazon DSP.

You'll need a Deal ID from the Segment Activation API and a pixel campaign ID from Pixel Registration before starting.


Adding the Deal ID

Deal targeting in Amazon DSP is configured at the line item level within the Supply settings.

  1. Log into Amazon DSP
  2. Navigate to Campaign Manager
  3. Open (or create) an Order (Amazon's term for a campaign)
  4. Within the order, open (or create) a Line Item
  5. In the line item settings, navigate to the Supply section
  6. Under Deal Targeting (or Deal IDs), click Add Deals
  7. Enter your Classify Deal ID
  8. Save the line item

Supply source requirements

Amazon DSP supports deals from Amazon Publisher Services (APS) and select third-party SSPs. Make sure the exchange through which Classify activated the deal is enabled in your line item's supply source settings. If you're only seeing Amazon-owned inventory, check that third-party supply sources are enabled.


Adding the Classify pixel

Add the Classify pixel as a Third-Party Tracking pixel on your creatives.

  1. Navigate to the Creative within your line item
  2. In the creative setup, find Third-Party Tracking or Impression Tracking
  3. Add your Classify pixel URL:
https://l.csfy.me/je?c={campaign_id}&deal_id=${DEAL_ID}&creative=${CREATIVE_ID}
  1. Save the creative

Important notes on Amazon DSP tracking

  • HTTPS required — all tracking URLs must use HTTPS (the Classify pixel URL already does)
  • Creative review — Amazon has a strict creative review process. All creatives, including those with third-party trackers, must pass Amazon's review before serving. Allow extra lead time for approval.
  • Image pixels preferred — Amazon DSP broadly supports image pixel (1x1) impression trackers. JavaScript-based trackers may face additional restrictions. If the JavaScript pixel is not accepted, use the image pixel URL format instead.

Amazon DSP uses ${MACRO} syntax but with a more limited set than other platforms. Domain-level and publisher-level macros may not be available due to how Amazon's supply chain operates. For available macros, see Pixel Code — Macros.


Amazon-specific tips

  • Supply sources: Make sure the relevant third-party exchanges are enabled alongside Amazon-owned inventory.
  • Creative specs: Amazon has specific creative specifications that may differ from other platforms — confirm your formats and dimensions match.
  • Budget pacing: Amazon's pacing algorithms can be aggressive. Use even pacing and monitor early delivery.
  • Review time: Allow extra time for Amazon's creative review process.

For general campaign settings (targeting philosophy, cookieless inventory, KPIs), see Best Practices.


Troubleshooting

Deal not delivering:

  • Verify the Deal ID is entered correctly
  • Confirm the deal is active — check ttl_hours in your activation response
  • Ensure the relevant supply source (exchange) is enabled in your line item settings
  • Check that creatives have passed Amazon's review process

Creative rejected:

  • Review Amazon's creative policies — they're stricter than most platforms
  • Ensure all tracking URLs use HTTPS
  • Check that creative dimensions and file sizes meet Amazon's specifications
  • If your JavaScript tracker was rejected, try the image pixel format as an alternative

Limited macro data:

  • Amazon DSP provides fewer macros than other platforms. Use Classify's Campaign Reporting API for full URL-level delivery data instead.