PUT api/NetworkAdUnitConfiguration?sessionId={sessionId}

Updates an existing network ad unit configuration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

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

None.