/demand_source
Updated Demand Source Body
Config
object | null
JSON defining the configuration values for this Demand Source.
config
object | nulldemand_partner_id
uuid
required
Demand Partner Id that this Demand Source refers to.enabled
boolean
required
Is this Demand Source enabled (e.g. should Relay send requests to it or not)name
string
required
Name of the Demand Source.
Response
200 Demand Source Stored Successfully
object
account_id
uuid
requiredconfig
object | null
Has additional fieldsdemand_partner_id
uuid
requiredenabled
boolean
requiredid
uuid
requiredname
string
required
Example Command
curl --request POST \
--url https://api.relay.bid/m/v1/demand_source \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"enabled":true}'
Example Response
{
"id": "000",
"account_id": "000",
"name": "asdf",
"config": "sasf",
"demand_partner_id": "asdf",
"enabled": "asdf"
}