POST api/PublisherInclusion?sessionId={sessionId}

Creates a new publisher inclusion

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

APIPublisherInclusion
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

PublisherId

Unique identifier of publisher to which this belongs

integer

None.

PublisherNumber

Automatically allocated numerical reference number

integer

None.

PublisherCompany

Company name of publisher to which this belongs

string

None.

AdvertiserId

Unique identifier of advertiser to which this relates

integer

None.

AdvertiserAccountNumber

Automatically allocated numberical reference number

integer

None.

AdvertiserCompany

Company name of advertiser to which this relates

string

None.

CampaignId

Unique identifier of campaign to which this relates

integer

None.

CampaignDescription

Textual description of campaign to which this relates

string

None.

NetworkId

Unique identifier of network to which this relates

integer

None.

NetworkNumber

Automatically allocated numerical reference number

integer

None.

NetworkName

Textual identifier of network to which this relates

string

None.

SubPublisherId

Unique identifier of sub publisher to which this relates

integer

None.

SubPublisherIdentifier

Textual identifier of sub publisher to which this relates

string

None.

SiteId

Unique identifier of site to which this relates

integer

None.

SiteName

Textual identifier of site to which this relates

string

None.

SiteURL

URL of site to which this relates

string

None.

Timestamp

Timestamp when this was created or modified

string

None.

Comment

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "publisherId": 2,
  "publisherNumber": 1,
  "publisherCompany": "sample string 3",
  "advertiserId": 1,
  "advertiserAccountNumber": 1,
  "advertiserCompany": "sample string 4",
  "campaignId": 1,
  "campaignDescription": "sample string 5",
  "networkId": 1,
  "networkNumber": 1,
  "networkName": "sample string 6",
  "subPublisherId": 1,
  "subPublisherIdentifier": "sample string 7",
  "siteId": 1,
  "siteName": "sample string 8",
  "siteURL": "sample string 9",
  "timestamp": "sample string 10",
  "comment": "sample string 11"
}

application/xml, text/xml

Sample:
<APIPublisherInclusion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <AdvertiserAccountNumber>1</AdvertiserAccountNumber>
  <AdvertiserCompany>sample string 4</AdvertiserCompany>
  <AdvertiserId>1</AdvertiserId>
  <CampaignDescription>sample string 5</CampaignDescription>
  <CampaignId>1</CampaignId>
  <Comment>sample string 11</Comment>
  <Id>1</Id>
  <NetworkId>1</NetworkId>
  <NetworkName>sample string 6</NetworkName>
  <NetworkNumber>1</NetworkNumber>
  <PublisherCompany>sample string 3</PublisherCompany>
  <PublisherId>2</PublisherId>
  <PublisherNumber>1</PublisherNumber>
  <SiteId>1</SiteId>
  <SiteName>sample string 8</SiteName>
  <SiteURL>sample string 9</SiteURL>
  <SubPublisherId>1</SubPublisherId>
  <SubPublisherIdentifier>sample string 7</SubPublisherIdentifier>
  <Timestamp>sample string 10</Timestamp>
</APIPublisherInclusion>

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>