post https://api.freewheel.tv/demand/v2/audiences
Log in to see full request history
Create temporary and permanent audience definitions. For permanent Audience Definitions, omit the ?temporary
query parameter.
Response
Create temporary and permanent audience definitions. For permanent Audience Definitions, omit the ?temporary
query parameter.
xxxxxxxxxx
27curl \
-X POST \
-H "Authorization: Bearer $auth_token" \
-H "X-Freewheel-Ad-Industry: 1" \
--url 'https://api.freewheel.tv/demand/v2/audiences?temporary' \
-d '
{
"name":"test audience 1",
"description":"A testing audience",
"targets":[
{
"type":"segments",
"kind":"include",
"target_ids":["9f118921ef","9fbd48f59a"]
},
{
"type": "segments",
"kind": "include",
"target_ids":["9fe904831f"]
},
{
"type": "segments",
"kind": "exclude",
"target_ids":["9f2354c276"]
}
Try It!
to start a request and see the response here! Or choose an example: