Create Site

This API call adds a new site to the network. The result includes the unique "Site ID" that can be used to update or remove the site.

By default, all new sites are mapped to the All Sites channel. If the All Sites channel is deleted or the site is removed from that channel, the site must be mapped to another channel to be used in ad requests.

Body Params
string
required

The site's name

string
required

The new site's link. Must be in the format https://path of URL

float

Sets a network margin for a site in a network. The network margin adjusts the price a site bids at in auctions but not its revenue in reporting

int32

The site's relevancy score, an integer between 1 and 1000. The lower the relevancy score, the lower the ad will be ranked in the auction. A site that does not have a defined relevancy score will have a default relevancy score of 500. Learn more.

boolean
Defaults to false

Don't use when creating a Site. Defaults to false

Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json