Inventory Sources
Operations related to Inventory Sources that define available ad inventory for Display Campaigns. Configure access to publisher inventory through programmatic channels, private marketplaces (PMPs), preferred deals, and direct publisher integrations, enabling precise control over where ads are displayed and inventory quality management.
find inventory source linked to a campaign by id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/display_campaigns/{campaign_id}/inventory_sources/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}
}0Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/display_campaigns/{campaign_id}/inventory_sources/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}{
"status": "ok",
"data": {
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}
}Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/display_campaigns/{campaign_id}/inventory_sources/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/display_campaigns/{campaign_id}/inventory_sources HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"total": 1,
"count": 1,
"first_result": 1,
"data": [
{
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}
],
"status": "ok"
}0Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/display_campaigns/{campaign_id}/inventory_sources HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}{
"status": "ok",
"data": {
"source_ratio": 0,
"display_network_id": "text",
"display_network_access_deal_id": "text",
"display_network_access_name": "text",
"display_network_name": "text",
"display_network_access_id": "text",
"id": "text"
}
}Last updated
Was this helpful?