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

Creates a new network ad unit criteria

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

APINetworkAdUnitCriteria
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

NetworkAdUnitId

Unique identifier of network ad unit to which this belongs

integer

None.

UrlPattern

Matching url pattern used

string

None.

UseragentPattern

Matching useragent pattern used

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "networkAdUnitId": 2,
  "urlPattern": "sample string 3",
  "useragentPattern": "sample string 4"
}

application/xml, text/xml

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

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>