GET api/CTRPerformance?systemName={systemName}&username={username}&password={password}&campaignId={campaignId}

Read performance for campaign

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

campaignId

integer

Required

Body Parameters

None.

Response Information

Resource Description

APICTRPerformance
NameDescriptionTypeAdditional information
SectorPublishers

List of sector / publisher ctr performances

Collection of APICTRSectorPublisher

None.

SectorNetworks

List of sector / network ctr performances

Collection of APICTRSectorNetwork

None.

SectorNetworkGroups

List of sector / network group performances

Collection of APICTRSectorNetworkGroup

None.

CTRGroupNetworkGroups

List of ctr group / network group performances

Collection of APICTRGroupNetworkGroup

None.

Response Formats

application/json, text/json

Sample:
{
  "sectorPublishers": [
    {
      "campaignId": 1,
      "sectorId": 2,
      "publisherId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    },
    {
      "campaignId": 1,
      "sectorId": 2,
      "publisherId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    }
  ],
  "sectorNetworks": [
    {
      "campaignId": 1,
      "sectorId": 2,
      "networkId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    },
    {
      "campaignId": 1,
      "sectorId": 2,
      "networkId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    }
  ],
  "sectorNetworkGroups": [
    {
      "campaignId": 1,
      "sectorId": 2,
      "networkGroupId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    },
    {
      "campaignId": 1,
      "sectorId": 2,
      "networkGroupId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    }
  ],
  "ctrGroupNetworkGroups": [
    {
      "campaignId": 1,
      "ctrGroupId": 2,
      "networkGroupId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    },
    {
      "campaignId": 1,
      "ctrGroupId": 2,
      "networkGroupId": 3,
      "timestamp": "sample string 4",
      "impressionCount": 5,
      "clickCount": 6,
      "averagePosition": 7.1,
      "impressionsPerClick": 8,
      "spend": 9.1,
      "ecpmi": 10.1
    }
  ]
}

application/xml, text/xml

Sample:
<APICTRPerformance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <CTRGroupNetworkGroups>
    <APICTRGroupNetworkGroup>
      <AveragePosition>7.1</AveragePosition>
      <CTRGroupId>2</CTRGroupId>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkGroupId>3</NetworkGroupId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRGroupNetworkGroup>
    <APICTRGroupNetworkGroup>
      <AveragePosition>7.1</AveragePosition>
      <CTRGroupId>2</CTRGroupId>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkGroupId>3</NetworkGroupId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRGroupNetworkGroup>
  </CTRGroupNetworkGroups>
  <SectorNetworkGroups>
    <APICTRSectorNetworkGroup>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkGroupId>3</NetworkGroupId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorNetworkGroup>
    <APICTRSectorNetworkGroup>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkGroupId>3</NetworkGroupId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorNetworkGroup>
  </SectorNetworkGroups>
  <SectorNetworks>
    <APICTRSectorNetwork>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkId>3</NetworkId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorNetwork>
    <APICTRSectorNetwork>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <NetworkId>3</NetworkId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorNetwork>
  </SectorNetworks>
  <SectorPublishers>
    <APICTRSectorPublisher>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <PublisherId>3</PublisherId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorPublisher>
    <APICTRSectorPublisher>
      <AveragePosition>7.1</AveragePosition>
      <CampaignId>1</CampaignId>
      <ClickCount>6</ClickCount>
      <Ecpmi>10.1</Ecpmi>
      <ImpressionCount>5</ImpressionCount>
      <ImpressionsPerClick>8</ImpressionsPerClick>
      <PublisherId>3</PublisherId>
      <SectorId>2</SectorId>
      <Spend>9.1</Spend>
      <Timestamp>sample string 4</Timestamp>
    </APICTRSectorPublisher>
  </SectorPublishers>
</APICTRPerformance>