Table of Contents |
---|
...
"bid_floor_type" can be "static" or "dynamic".
REST API
POST /api/v0/spotx_connects
Headers
Code Block |
---|
Content-Type application/json Authorization "yourAuthToken" |
...
Code Block |
---|
In [1]: tag = springserve.spotx_connects.get(894173) In [2]: print tag.name "SpotX Connect Tag Name Docs" |
REST API
GET /api/v0/spotx_connects/<id>
Headers
Code Block |
---|
Content-Type application/json Authorization "yourAuthToken" |
...
Code Block |
---|
In [1]: tag = springserve.spotx_connects.get(30424) In [2]: tag.name = "SpotX Connect Tag Name Docs (new name)" In [3]: changed = tag.save() In [4]: changed.ok Out [4]: True In [5]: print changed.name "SpotX Connect Tag Name Docs (new name)" |
REST API
PUT /api/v0/spotx_connects/<id>
Headers
Code Block |
---|
Content-Type application/json Authorization "yourAuthToken" |
...
Code Block |
---|
In [1]: tag = springserve.spotx_connects.get(894173) ln [2]: dupe = tag.duplicate() ln [3]: dupe.ok Out [3]: True In [4]: print dupe.id 893716 |
REST API
GET /api/v0/spotx_connects/<id>/duplicate
Headers
Code Block |
---|
Content-Type application/json Authorization "yourAuthToken" |
...
Code Block |
---|
{ "id": 638465, "account_id": 391, "name": "Tag Name Docs", "active": true, "rate": "0.01", ... "spotx_connect_enabled": true, "supply_spotx_connects": [ { "spotx_connect_id": 893715 } ], "demand_tag_priorities": [{"demand_tag_id": 880921, "priority": 1, "tier": 5, "locked": False, "ratio": None, "slot_number": None, "slot_order": None}] ... } |