Legacy Update Audience V2
POST {{baseUrl}}/2024-01/retail-media/v2/accounts/:accountId/audiences
Create an Audience (deprecated Public API)
Request Body
{"data"=>{"attributes"=>{"name"=>"<string>", "retailerId"=>"<long>", "userBehaviorDetails"=>{"inclusiveSegment"=>{"lookbackWindow"=>"P90D", "userAction"=>"buy", "categoryIds"=>["<integer>", "<integer>"], "brandIds"=>["<long>", "<long>"]}, "exclusiveSegment"=>{"lookbackWindow"=>"P180D", "userAction"=>"buy", "categoryIds"=>["<integer>", "<integer>"], "brandIds"=>["<long>", "<long>"]}}}, "id"=>"<string>", "type"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
""