Extend and interact with
Commission Factory
Retrieves an array of banners, optionally filtered by one or more properties.
GET https://api.commissionfactory.com/V1/Affiliate/Banners?apiKey=[apiKey]&merchantId=[merchantId]&merchantName=[merchantName]&groupName=[groupName]&size=[size]&width=[width]&height=[height]
| Name | Type | Description |
|---|---|---|
| apiKey Required |
String | A valid API key that represents an affiliate account. |
| merchantId Optional |
Integer | If specified, filters results by merchant ID. |
| merchantName Optional |
String | If specified, filters results by merchant name. |
| groupName Optional |
String | If specified, filters results by group name. |
| size Optional |
BannerSize | If specified, filters results by size. |
| width Optional |
Integer | If specified, filters results by width |
| height Optional |
Integer | If specified, filters results by height. |
| Type | Description |
|---|---|
| BannerArray | Represents zero or more banners. |
| Error | Description |
|---|---|
| 400 Bad Request | One or more parameters could not be parsed correctly. |
| 401 Unauthorised | The API key is missing, invalid, or for a different account type; or the user account has been suspended or closed. |
| 429 Too Many Requests | The API call rate limit for the user account has been exceeded. |
| 500 Internal Server Error | An unexpected error occurred while processing your request. |
GET /V1/Affiliate/Banners?apiKey=ABC123 HTTP/1.1 Accept: application/json Host: api.commissionfactory.com
GET /V1/Affiliate/Banners?apiKey=ABC123 HTTP/1.1 Accept: application/xml Host: api.commissionfactory.com
[
{
"Id": 1,
"DateCreated": "2000-01-01T00:00:00.000",
"DateModified": "2000-01-01T00:00:00.000",
"MerchantId": 1,
"MerchantName": "Example Pty Ltd",
"MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png",
"GroupName": " Default Group",
"Name": "Banner 1",
"TargetUrl": "https://www.example.com/",
"Size": "Full Banner",
"Width": 468,
"Height": 60,
"ImageUrl": "https://t.cfjump.com/a/1/1",
"AltText": "Example Pty Ltd Banner",
"ExpiryDate": "2000-01-01T00:00:00.000",
"TrackingUrl": "https://t.cfjump.com/0/b/1",
"TrackingCode": "<a href=\"https://t.cfjump.com/0/b/1\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\"><img style=\"border: none; vertical-align: middle;\" alt=\"Example Pty Ltd Banner\" referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://t.cfjump.com/a/1/1\" /></a>"
},
{
"Id": 2,
"DateCreated": "2000-01-01T00:00:00.000",
"DateModified": "2000-01-01T00:00:00.000",
"MerchantId": 1,
"MerchantName": "Example Pty Ltd",
"MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png",
"GroupName": " Default Group",
"Name": "Banner 2",
"TargetUrl": "https://www.example.com/",
"Size": "Full Banner",
"Width": 468,
"Height": 60,
"ImageUrl": "https://t.cfjump.com/a/1/2",
"AltText": "Example Pty Ltd Banner",
"ExpiryDate": "2000-01-01T00:00:00.000",
"TrackingUrl": "https://t.cfjump.com/0/b/2",
"TrackingCode": "<a href=\"https://t.cfjump.com/0/b/2\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\"><img style=\"border: none; vertical-align: middle;\" alt=\"Example Pty Ltd Banner\" referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://t.cfjump.com/a/1/2\" /></a>"
},
{
"Id": 3,
"DateCreated": "2000-01-01T00:00:00.000",
"DateModified": "2000-01-01T00:00:00.000",
"MerchantId": 3,
"MerchantName": "Example Pty Ltd",
"MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png",
"GroupName": " Default Group",
"Name": "Banner 3",
"TargetUrl": "https://www.example.com/",
"Size": "Full Banner",
"Width": 468,
"Height": 60,
"ImageUrl": "https://t.cfjump.com/a/1/3",
"AltText": "Example Pty Ltd Banner",
"ExpiryDate": "2000-01-01T00:00:00.000",
"TrackingUrl": "https://t.cfjump.com/0/b/3",
"TrackingCode": "<a href=\"https://t.cfjump.com/0/b/3\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\"><img style=\"border: none; vertical-align: middle;\" alt=\"Example Pty Ltd Banner\" referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://t.cfjump.com/a/1/3\" /></a>"
}
]
<BannerArray xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Affiliate">
<Banner>
<Id>1</Id>
<DateCreated>2000-01-01T00:00:00.000</DateCreated>
<DateModified>2000-01-01T00:00:00.000</DateModified>
<MerchantId>1</MerchantId>
<MerchantName>Example Pty Ltd</MerchantName>
<MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl>
<GroupName> Default Group</GroupName>
<Name>Banner 1</Name>
<TargetUrl>https://www.example.com/</TargetUrl>
<Size>Full Banner</Size>
<Width>468</Width>
<Height>60</Height>
<ImageUrl>https://t.cfjump.com/a/1/1</ImageUrl>
<AltText>Example Pty Ltd Banner</AltText>
<ExpiryDate>2000-01-01T00:00:00.000</ExpiryDate>
<TrackingUrl>https://t.cfjump.com/0/b/1</TrackingUrl>
<TrackingCode><a href="https://t.cfjump.com/0/b/1" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';"><img style="border: none; vertical-align: middle;" alt="Example Pty Ltd Banner" referrerpolicy="no-referrer-when-downgrade" src="https://t.cfjump.com/a/1/1" /></a></TrackingCode>
</Banner>
<Banner>
<Id>2</Id>
<DateCreated>2000-01-01T00:00:00.000</DateCreated>
<DateModified>2000-01-01T00:00:00.000</DateModified>
<MerchantId>1</MerchantId>
<MerchantName>Example Pty Ltd</MerchantName>
<MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl>
<GroupName> Default Group</GroupName>
<Name>Banner 2</Name>
<TargetUrl>https://www.example.com/</TargetUrl>
<Size>Full Banner</Size>
<Width>468</Width>
<Height>60</Height>
<ImageUrl>https://t.cfjump.com/a/1/2</ImageUrl>
<AltText>Example Pty Ltd Banner</AltText>
<ExpiryDate>2000-01-01T00:00:00.000</ExpiryDate>
<TrackingUrl>https://t.cfjump.com/0/b/2</TrackingUrl>
<TrackingCode><a href="https://t.cfjump.com/0/b/2" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';"><img style="border: none; vertical-align: middle;" alt="Example Pty Ltd Banner" referrerpolicy="no-referrer-when-downgrade" src="https://t.cfjump.com/a/1/2" /></a></TrackingCode>
</Banner>
<Banner>
<Id>3</Id>
<DateCreated>2000-01-01T00:00:00.000</DateCreated>
<DateModified>2000-01-01T00:00:00.000</DateModified>
<MerchantId>3</MerchantId>
<MerchantName>Example Pty Ltd</MerchantName>
<MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl>
<GroupName> Default Group</GroupName>
<Name>Banner 3</Name>
<TargetUrl>https://www.example.com/</TargetUrl>
<Size>Full Banner</Size>
<Width>468</Width>
<Height>60</Height>
<ImageUrl>https://t.cfjump.com/a/1/3</ImageUrl>
<AltText>Example Pty Ltd Banner</AltText>
<ExpiryDate>2000-01-01T00:00:00.000</ExpiryDate>
<TrackingUrl>https://t.cfjump.com/0/b/3</TrackingUrl>
<TrackingCode><a href="https://t.cfjump.com/0/b/3" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';"><img style="border: none; vertical-align: middle;" alt="Example Pty Ltd Banner" referrerpolicy="no-referrer-when-downgrade" src="https://t.cfjump.com/a/1/3" /></a></TrackingCode>
</Banner>
</BannerArray>