POST api/NetworkAdUnitConfiguration?systemName={systemName}&username={username}&password={password}

Creates a new network ad unit configuration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APINetworkAdUnitConfiguration
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkAdUnitId

Unique identifier of network ad unit to which this belongs

integer

None.

State

Status: Active, Closed or Suspended

string

None.

Name

Textual identifier

string

None.

MultiPart

Denotes a multi-part ad unit configuration

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "networkAdUnitId": 2,
  "state": "sample string 3",
  "name": "sample string 4",
  "multiPart": true
}

application/xml, text/xml

Sample:
<APINetworkAdUnitConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Id>1</Id>
  <MultiPart>true</MultiPart>
  <Name>sample string 4</Name>
  <NetworkAdUnitId>2</NetworkAdUnitId>
  <State>sample string 3</State>
</APINetworkAdUnitConfiguration>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>