GET api/CampaignNetwork?sessionId={sessionId}&advertiserId={advertiserId}&offset={offset}&limit={limit}

Gets all campaign networks for advertiser

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

advertiserId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APICampaignNetwork
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

CampaignId

Unique identifier of campaign to which this belongs

integer

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.

NetworkDescription

Longer description of network to which this relates

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "campaignId": 2,
    "networkId": 3,
    "networkNumber": 1,
    "networkName": "sample string 4",
    "networkDescription": "sample string 5"
  },
  {
    "id": 1,
    "campaignId": 2,
    "networkId": 3,
    "networkNumber": 1,
    "networkName": "sample string 4",
    "networkDescription": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPICampaignNetwork xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APICampaignNetwork>
    <CampaignId>2</CampaignId>
    <Id>1</Id>
    <NetworkDescription>sample string 5</NetworkDescription>
    <NetworkId>3</NetworkId>
    <NetworkName>sample string 4</NetworkName>
    <NetworkNumber>1</NetworkNumber>
  </APICampaignNetwork>
  <APICampaignNetwork>
    <CampaignId>2</CampaignId>
    <Id>1</Id>
    <NetworkDescription>sample string 5</NetworkDescription>
    <NetworkId>3</NetworkId>
    <NetworkName>sample string 4</NetworkName>
    <NetworkNumber>1</NetworkNumber>
  </APICampaignNetwork>
</ArrayOfAPICampaignNetwork>