Sites
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Page number (≥ 1)
1Number of items per page (1–100)
10Sort field
nameSort order
ascendingPossible values: Free text search term
Paginated list of sites
Missing or invalid API key
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Site's name
pbjs variable name. If not provided, it will be set to the default pbjsVariableName defined at scope level.
If true, initializes the site with prebidServerStatus 'to-configure'. If false or omitted, initializes with 'inactive'.
falseIf true and enablePrebidServer is also true, a default stack will be created automatically for the site. The default stack will use the "All active bidders" bidder rule. If a stack already exists for this site, no action will be taken. This option has no effect if enablePrebidServer is false or omitted.
falseIndicates if Ad Management is enabled for this site
falseSite created
Bad Request - Input does not match schema
Missing or invalid API key
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Site found
Missing or invalid API key
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Schema for updating a site. Note that prebidServerStatus cannot be modified through this endpoint.
Site's name
pbjs variable name.
Indicates if Ad Management is enabled for this site. You are responsible to set pbjsVariableName to "kleanadsPbjs" when setting adManagementEnabled to true.
falseSite updated
Bad Request - Input does not match schema
Missing or invalid API key
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Site archived
Missing or invalid API key
Forbidden - This is available only for Node customer
Resource not found
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
Site unarchived
Missing or invalid API key
Forbidden - This is available only for Node customer
Resource not found
Internal Server Error
You can generate and copy your API key from your account dashboard: https://app.pubstack.io/settings/api-keys
List of site IDs to activate for Prebid Server
If true, a default stack will be created automatically for each activated site. The default stack will use the "All active bidders" bidder rule. If a stack already exists for a site, no action will be taken for that site.
falseSites activated successfully
Bad Request - Invalid input
Missing or invalid API key
Internal Server Error
Last updated
