Skip to main content
GET
Get Sites
Returns the list of websites registered in a given adnetwork under your adnetwork account credentials. This data is fetched live from the adnetwork — it reflects exactly what is configured there, not any Adgreg-side configuration.
Use this endpoint to discover which site IDs exist in an adnetwork before referencing them in Get spots.

Authorizations

X-API-Key
string
header
required

Query Parameters

ad_network
enum<string>
required
Available options:
exoclick,
trafficstars,
kadam,
clickadilla,
onclicka,
twinred,
trafficshop,
hilltop
page
integer
default:1
Required range: x >= 1
page_size
integer
default:100
Required range: 10 <= x <= 500

Response

Successful Response

page
integer
required
sites
integer
required
page_size
integer
required
page_count
integer
required
response
AdgregSite · object[]
required