Update Demand

Update Demand

PATCH /api/demand/[Demand_id]

Request
Body Parameters
Attribute Name
Summary
Possible Values
nameDemand Namestring
cpmDemand CPMfloat
urlDemand URLstring
is_mobile_webIs mobile web tag0/1
is_mobile_appIs mobile app tag0/1
is_desktopIs desktop tag0/1
is_ctv
Is CTV tag
0/1
activeIs Demand active0/1
user_mvrVAST Requests Limitfrom 1 to 5 (highest)
user_type

 

JS/Flash Preference for Demand 

0 - auto

1 - use flash by default

2 - use JS by default

3- use flash only

4- use js only

domain_list_typeList restriction type 

1 - white list

2- black list

 

 

Response
Attribute Name
Summary
Possible Values
vastIdDemand Idint
nameDemand Namestring
cpmDemand CPMfloat
urlDemand URLstring
is_mobile_webIs mobile web tag0/1
is_mobile_appIs mobile app tag0/1
is_desktopIs desktop tag0/1
activeIs Demand active0/1
user_mvrVAST Requests Limitfrom 1 to 5 (highest)
vast_typeDemand Type

0 - Vast

1 - CedatoX

Sample Request

curl -X PATCH \
https://api.cedato.com/api/demand/123456 \
-H 'accept: application/json' \
-H 'api-version: 1' \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'authorization: Bearer '
 
domain_list_type=1&name=MyDemand

Sample Response

{
    "status""OK",
    "data": {
        "demand": {
            "vastId""123456",
            "name""MyDemand",
            "cpm""10",
            "url""http://www.exampleURL2.com/",
            "is_mobile_web""1",
            "is_mobile_app""1",
            "is_desktop""0",
            "active""1",
            "user_type""1",
            "user_mvr"0,
            "vast_type""0",
            "domain_list_type""1"
        }
    }
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article