GET api/NetworkAdUnitConfigurationMediaType?sessionId={sessionId}&networkAdUnitConfigurationId={networkAdUnitConfigurationId}&offset={offset}&limit={limit}

Gets all network ad unit configuration media types for network ad unit configuration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

networkAdUnitConfigurationId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APINetworkAdUnitConfigurationMediaType
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkAdUnitConfigurationId

Unique identifier of network ad unit configuration 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "networkAdUnitConfigurationId": 2,
    "networkMediaTypeId": 3,
    "numberOfAdverts": 1,
    "priority": 1
  },
  {
    "id": 1,
    "networkAdUnitConfigurationId": 2,
    "networkMediaTypeId": 3,
    "numberOfAdverts": 1,
    "priority": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPINetworkAdUnitConfigurationMediaType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APINetworkAdUnitConfigurationMediaType>
    <Id>1</Id>
    <NetworkAdUnitConfigurationId>2</NetworkAdUnitConfigurationId>
    <NetworkMediaTypeId>3</NetworkMediaTypeId>
    <NumberOfAdverts>1</NumberOfAdverts>
    <Priority>1</Priority>
  </APINetworkAdUnitConfigurationMediaType>
  <APINetworkAdUnitConfigurationMediaType>
    <Id>1</Id>
    <NetworkAdUnitConfigurationId>2</NetworkAdUnitConfigurationId>
    <NetworkMediaTypeId>3</NetworkMediaTypeId>
    <NumberOfAdverts>1</NumberOfAdverts>
    <Priority>1</Priority>
  </APINetworkAdUnitConfigurationMediaType>
</ArrayOfAPINetworkAdUnitConfigurationMediaType>