Skip to main content
GET
Download banner or XML feed creative

Authorizations

X-API-Key
string
header
required

Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Path Parameters

offer_id
integer
required

Offer ID.

creative_id
integer
required

Creative ID. Must be a banner (type: 1) or an XML feed (type: 4 — xml_feed) creative of this offer; any other type returns 400.

Query Parameters

affiliate_id
integer

Required for an XML feed creative: ID of the affiliate the feed is generated for — their tracking link is injected into every product URL. The affiliate must have approved access to the offer. Ignored for a banner.

redirect
enum<string>

Banner creatives only; ignored for every other type. 0 answers JSON with a presigned S3 URL instead of the file (info.url, info.fileName), 1 answers 302 to that URL. Omitted, a banner answers 302.

Available options:
0,
1

Response

XML feed: the feed with the affiliate's tracking links injected, sent as a file attachment. Banner with redirect=0: the presigned download URL as JSON.

The response is of type file.