Create & Update RTB Advertiser

Creates RTB advertiser.

To create a RTB Advertiser, you'll want to follow the instructions found in our Create Advertisers page.

However, you will need to add two additional body parameters:

Property

Description

PartnerId
(integer)

The enum value of the RTB provider that will be delivering ads as the Kevel advertiser*

RtbCustomFields
(JSON Object in a String)

JSON data provided by the RTB partner. Certain parameters in the object will be required per partner. If you aren't sure what is required, your account manager will supply you with the data for this property

📘

*PartnerID key =

1 = Index Exchange
2 = unassigned
3 = Bidtellect
4 = unassigned
5 = Zemanta
6 = Pubmatic (Native)

RTB Custom Field

Type

bidPct
(integer)

Percentage of requests the advertiser bids on

endpoint
(URL)

The bidder endpoint

pubId
(integer)

ID of the publisher

pubName
(string)

Name of the publisher

siteId
(integer)

ID of the site

timeout
(integer)

A manual override of the timeout

advertiser={
  "Title":"Test advertiser",
  "IsDeleted":false,
  "IsActive":true,
  "PartnerId":4,
  "RtbCustomFields":"{\"endpoint\":\"http://bidder.com\",\"pubId\":12345}"
}
curl -X POST -H 'X-Adzerk-ApiKey:<API-KEY>' https://api.adzerk.net/v1/advertiser --data-urlencode 'advertiser={"Title":"Test advertiser","IsDeleted":false,"IsActive":true,"PartnerId":4,"RtbCustomFields":"{\"endpoint\":\"http://bidder.com\",\"pubId\":12345}"}'