GET api/NetworkAdUnitSector?sessionId={sessionId}&networkAdUnitId={networkAdUnitId}&offset={offset}&limit={limit}

Gets all network ad unit sectors for network ad unit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

networkAdUnitId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APINetworkAdUnitSector
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkAdUnitId

Unique identifier of network ad unit to which this belongs

integer

None.

SectorId

Unique identifier of sector to be used when searching for adverts

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "networkAdUnitId": 2,
    "sectorId": 3
  },
  {
    "id": 1,
    "networkAdUnitId": 2,
    "sectorId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPINetworkAdUnitSector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APINetworkAdUnitSector>
    <Id>1</Id>
    <NetworkAdUnitId>2</NetworkAdUnitId>
    <SectorId>3</SectorId>
  </APINetworkAdUnitSector>
  <APINetworkAdUnitSector>
    <Id>1</Id>
    <NetworkAdUnitId>2</NetworkAdUnitId>
    <SectorId>3</SectorId>
  </APINetworkAdUnitSector>
</ArrayOfAPINetworkAdUnitSector>