SpotX Connect Tag API



Creating a SpotX Connect Tag

SDK

Use tab completion with SDK to auto-complete function names or show field options!

"bid_floor_type" can be "static" or "dynamic".

REST API

POST /api/v0/spotx_connects

Headers

Body (example)


Required parameters: name, account_id, spotx_channel_id, rate, bid_floor_type.


Response

Status code 200

Get a SpotX Connect tag by id

SDK


REST API

GET /api/v0/spotx_connects/<id>

Headers


Response

Status code 200

Edit a SpotX Connect Tag

SDK

REST API

PUT /api/v0/spotx_connects/<id>

Headers

Body (example)

{
    "name": "SpotX Connect Tag Name Docs (new name)"
}


Response

Status code 200

Duplicate a SpotX Connect Tag

SDK

REST API

GET /api/v0/spotx_connects/<id>/duplicate

Headers


Response

Status code 201

Enabling a SpotX Connect for a Supply Tag

SDK

REST API

PATCH /api/v0/supply_tags/<id>

Headers

Body (example)

{
    "spotx_connect_enabled": "True"
}

Response

Status code 200


Adding SpotX Connect to a Supply Tag

SDK

REST API

PATCH /api/v0/supply_tags/<id>

Headers

Body (example)

{
    "supply_spotx_connects": [{"spotx_connect_id": 893715}]

}

Response

Status code 200

Changing Tier to a Supply Tag with SpotX Connect

By default, when a SpotX Connection is added to a Supply Tag, its Tier is set to 5. 

The Tier can be accessed through a "master id" in demand_tag_priorities, that will be the same across each account.

SDK

REST API

PATCH /api/v0/supply_tags/<id>

Headers

Body (example)

{
    "demand_tag_priorities": [{"demand_tag_id": 880921, "tier": 3}]

}

Response

Status code 200