Skip to main content

Programs (v1.0)

A simple but powerful REST API that returns all programs (advertisers) available to you on advanced store. Use it to discover programs you can promote, retrieve their tracking links, and filter by country, category, commission type, and more.

S
Written by Sascha Hoffmann

Programs (v1.0)


1. Quick start

Make an authenticated GET request to the endpoint below. The response is a JSON list of programs matching your filters.

Endpoint

GET https://api.advanced-store.com/publishers/programs/1.0/

Required headers

Authorization: Bearer YOUR_ACCESS_TOKEN 
Content-Type: application/json

Minimal example

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=10' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

2. Authorization

Every request requires a Bearer token. If you don't have one yet, follow the guide here: advanced API – Get an access token.

Pass the token in the Authorization header on every call:

Authorization: Bearer ory_at_...

3. Request parameters

Parameters are appended to the URL as standard query-string parameters. They are grouped below by purpose for easier scanning.

3.1 Required

Name

Type

Description

siteId

integer

Your siteId.

page

integer

Page number for pagination.

size

integer

Number of results returned per page.

3.2 Filtering

Name

Type

Description

search

string

Filter results by search string, e.g. an advertiser name.

categories

string

Filter results by category.

countries

2-letter code

Filter results by country, e.g. countries=(DE,AT)

url

string

Filter results by domain, e.g. example.com.

maxSubIdLength

integer

Filter results by the SubID length supported by the program.

hasFavicon

boolean

if set to true returns only programs that have a favicon available

commissionTypes

integer list

Filter by commission type.
Codes:
2 = CPA (CPO/CPS),
3 = CPL,
4 = CPI,
5 = CPM,
6 = CPC. Combine multiple with parentheses, e.g. commissionTypes=(2,3).

3.3 Sorting

Name

Type

Description

sortBy

string

Sort by name or lastUpdated.

sortOrder

string

ASC or DESC. Default is ASC.

3.4 Output options

Name

Type

Description

subId

string

Internal identifier you can attach to track different campaigns or placements.

logos

0 / 1

When set to 1, the response is extended with the URL of the program's logo.


4. Full example request

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?page=1&size=1&siteId=100&maxSubIdLength=256&countries=DE&categories=Fashion&logos=1&subId=bla&sortBy=name&sortOrder=DESC' \   
--header 'Authorization: Bearer ory_at_ImP4...' \
--header 'Content-Type: application/json'

5. Response

The response is a JSON object containing pagination metadata and an array of program objects.

5.1 Example response

{
"totalEntries": 1,
"currentPage": 1,
"totalPageCount": 1,
"pageSize": 10,
"programDataList": [
{
"id": 455,
"externalNetworkId": "23875",
"name": "Saninforma",
"lastUpdated": 1704183773144,
"url": "saninforma.it",
"matchingUrls": [],
"categories": [
"Health & Care"
],
"countries": [
{
"countryCode": "IT",
"name": "Italy"
}
],
"averageCommission": 2.36,
"clickLink": "https://as.ad4m.at/ad/tur? a=1267&b=Test&c=https://saninforma.it",
"activeAds": {
"Text": 1,
"advanced API": 1,
"Display": 11
},
"maxSubIdLength": 200,
"acpm": 0.46
}
]
}

5.2 Top-level fields

Field

Description

totalEntries

Total number of programs matching your filters.

currentPage

The page number returned (echoes your page parameter).

totalPageCount

Total number of pages available with the current size.

pageSize

Number of items per page.

programDataList

Array of program objects (see below).

5.3 Program object fields

Field

Description

id

Internal advanced store identifier for the program.

externalNetworkId

The program's identifier on its source network.

name

Advertiser / program name.

lastUpdated

Timestamp of the last update (ms since epoch).

url

The main domain of the program.

matchingUrls

More specific URLs for the program. Used mainly to distinguish between programs of the same advertiser, e.g. different countries or business areas.

categories

Categories the program belongs to.

countries

Countries where the program can be advertised. Each entry contains a countryCode and a name.

averageCommission

Average commission in EUR across all past transactions for this program.

saleConfirmation

Percentage of sales confirmed in the past.

clickLink

The tracking link for this program – use this URL to earn commission. See note below.

activeAds

Which ad types are available for this program in our database (e.g. Text, Display, advanced API).

maxSubIdLength

Maximum number of characters this program's network supports for SubIDs. Longer SubIDs will be truncated.

acpm

Average CPM value for the program.

Tip: clickLink is generated through our Redirect API. If you don't need the enriched information from the program response, you can build tracking links directly without calling this endpoint.

6. Common use cases

Below are a few ready-to-copy examples. Replace YOUR_ACCESS_TOKEN and siteId=100 with your own values.

Get all German fashion programs

bash

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=50&countries=DE&categories=Fashion' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

Get the most recently updated programs first

bash

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=20&sortBy=lastUpdated&sortOrder=DESC' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

Get only CPA and CPL programs, including logos

bash

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=50&commissionTypes=(2,3)&logos=1' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

Search programs by advertiser name

bash

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=10&search=zalando' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

Attach a SubID for campaign tracking

bash

curl --location 'https://api.advanced-store.com/publishers/programs/1.0/?siteId=100&page=1&size=50&subId=newsletter_2025_05' \   
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

7. Related articles

Did this answer your question?