API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
API Reference

Get Contextual Targeting

Get Contextual Targeting for the specified campaign.

Sample responses

Sample request

GET <<server_url>>/backstage/api/1.0/demo-account/campaigns/1234/targeting/contextual_segments

Sample responses

{
    "collection": []
}
{
    "collection": [
        {
            "collection": [
                1900004,
                1900024,
                1900037
            ],
            "type": "INCLUDE"
        }
    ]
}
{
    "collection": [
        {
            "collection": [
                1900004,
                1900024,
                1900037
            ],
            "type": "INCLUDE"
        },
        {
            "collection": [
                1905924,
                1899997
            ],
            "type": "EXCLUDE"
        }
    ]
}
Language