GET api/CampaignExclusion?sessionId={sessionId}&campaignId={campaignId}&offset={offset}&limit={limit}

Gets all campaign exclusions for campaign

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

campaignId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APICampaignExclusion
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

CampaignId

Unique identifier of campaign to which this belongs

integer

None.

NetworkId

Unique identifier of betwork to which this relates

integer

None.

PublisherId

Unique identifier of publisher to which this relates

integer

None.

SubPublisherId

Unique identifier of sub publisher to which this relates

integer

None.

SiteId

Unique identifier of site to which this relates

integer

None.

Timestamp

Timestamp when this was created or modified

string

None.

Comment

Comment

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "campaignId": 2,
    "networkId": 1,
    "publisherId": 1,
    "subPublisherId": 1,
    "siteId": 1,
    "timestamp": "sample string 3",
    "comment": "sample string 4"
  },
  {
    "id": 1,
    "campaignId": 2,
    "networkId": 1,
    "publisherId": 1,
    "subPublisherId": 1,
    "siteId": 1,
    "timestamp": "sample string 3",
    "comment": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPICampaignExclusion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APICampaignExclusion>
    <CampaignId>2</CampaignId>
    <Comment>sample string 4</Comment>
    <Id>1</Id>
    <NetworkId>1</NetworkId>
    <PublisherId>1</PublisherId>
    <SiteId>1</SiteId>
    <SubPublisherId>1</SubPublisherId>
    <Timestamp>sample string 3</Timestamp>
  </APICampaignExclusion>
  <APICampaignExclusion>
    <CampaignId>2</CampaignId>
    <Comment>sample string 4</Comment>
    <Id>1</Id>
    <NetworkId>1</NetworkId>
    <PublisherId>1</PublisherId>
    <SiteId>1</SiteId>
    <SubPublisherId>1</SubPublisherId>
    <Timestamp>sample string 3</Timestamp>
  </APICampaignExclusion>
</ArrayOfAPICampaignExclusion>