POST api/CampaignExclusion?sessionId={sessionId}

Creates a new campaign exclusion

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

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.

Request 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"
}

application/xml, text/xml

Sample:
<APICampaignExclusion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>