GET api/NetworkAdUnitMediaType?systemName={systemName}&username={username}&password={password}&networkAdUnitId={networkAdUnitId}&offset={offset}&limit={limit}

Gets all network ad unit media types for network ad unit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

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 APINetworkAdUnitMediaType
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkAdUnitId

Unique identifier of network ad unit to which this belongs

integer

None.

NetworkMediaTypeId

Unique identifier of network media type to which this relates

integer

None.

NumberOfAdverts

The number of adverts of this media type to be included

integer

None.

Priority

Priority of this media type compared to others for this ad unit

integer

None.

DivId

The identifier of the div for these adverts

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "networkAdUnitId": 2,
    "networkMediaTypeId": 3,
    "numberOfAdverts": 1,
    "priority": 1,
    "divId": "sample string 4"
  },
  {
    "id": 1,
    "networkAdUnitId": 2,
    "networkMediaTypeId": 3,
    "numberOfAdverts": 1,
    "priority": 1,
    "divId": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPINetworkAdUnitMediaType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APINetworkAdUnitMediaType>
    <DivId>sample string 4</DivId>
    <Id>1</Id>
    <NetworkAdUnitId>2</NetworkAdUnitId>
    <NetworkMediaTypeId>3</NetworkMediaTypeId>
    <NumberOfAdverts>1</NumberOfAdverts>
    <Priority>1</Priority>
  </APINetworkAdUnitMediaType>
  <APINetworkAdUnitMediaType>
    <DivId>sample string 4</DivId>
    <Id>1</Id>
    <NetworkAdUnitId>2</NetworkAdUnitId>
    <NetworkMediaTypeId>3</NetworkMediaTypeId>
    <NumberOfAdverts>1</NumberOfAdverts>
    <Priority>1</Priority>
  </APINetworkAdUnitMediaType>
</ArrayOfAPINetworkAdUnitMediaType>