Configure the self-serve campaign catalogue
Set up what an external self-serve storefront reads over the REST API — the prototype banner each self-serve campaign type is cloned from, and the country × OS CPM floor matrix behind the suggested price — with the CSV format, the caveats, a fix-it checklist and the field and endpoint reference.
What it is and why
The Self-serve admin group holds two catalogues that a self-serve advertiser front end reads
over the REST API: the prototype banner that new creatives of each self-serve campaign type
are cloned from, and the CPM floor matrix the API turns into a suggested price. Epom ships no
self-serve advertiser UI — the storefront is your own application, and it calls
/rest-api/prototype/*, /rest-api/floorCPMs* and /rest-api/banner/create; these two pages are
what those endpoints answer with. Neither page changes ad serving.
Example. A buyer on your storefront picks Banner (mobile), targets the US on Android and
asks for a price. Your storefront calls GET /rest-api/floorCPMs/suggest with campaignType= BANNER_MOBILE, geo=US, os=Android; the matrix holds a 1.00 rate for that cell, so the API
answers minimal 1.00, suggested 2.66. The buyer accepts, the storefront calls
POST /rest-api/banner/create with selfServeCampaignType=BANNER_MOBILE, and the new banner is a
clone of the Banner (mobile) prototype — same creative, targeting, capping and pricing — under
the buyer’s campaign.
Typical scenarios
| You want | Set | Where |
|---|---|---|
| Every self-serve native creative starts from the same vetted template | One prototype row: Native → the ID of a banner you keep under a “Self-serve templates” campaign | Self-serve campaign prototype banners |
| US buyers are quoted at least 1.40 on iOS, 0.90 on Windows, and 0.40–0.60 everywhere else | A CSV with the five US,… lines and the five *,… lines (see the format below), uploaded into Banner (desktop) | Self-serve CPM floor rates |
| Raise one country’s Android rate from 1.25 to 1.50 without a file | Click the cell, type 1.50, press Enter | The matrix |
| Stop quoting a country at all | Tick its row, Delete — all five OS rates go, in that campaign type only | The matrix |
Both pages are keyed on the same seven self-serve campaign types: Banner (desktop), Banner
(mobile), Banner (app), Native, Pop-under, Interstitial (mobile), Interstitial (app). The REST
endpoints accept the enum name (BANNER_DESKTOP) or the numeric ID (1).
Step by step
The two settings are independent; configure the one you need.
Prototype banners
-
Create the seed banner as a normal creative under a live campaign and advertiser, and note its numeric ID — the form takes an ID, not a picker. If you want a default conversion action, note its ID too (it must not be shared by default).
-
Open Admin → Self-serve → Self-serve campaign prototype banners. The grid lists CampaignType, Banner id and Default conversion action, each entity as
[id: N] name; an unset action shows—.
-
Click Add (or tick a row and Edit). Fill Self-Serve type, Prototype banner ID and optionally Default conversion action ID, then Save. A Done toast returns you to the grid. At most one prototype per type — a second is refused with Duplicate entry.
-
To remove one, tick its row, Delete, confirm Delete record?. The banner it pointed at is untouched.
CPM floor rates
-
Write the CSV — three columns country, os, rate, UTF-8, no header row, every country with all five operating systems:
US,Windows,0.90 US,Linux,0.85 US,Mac OS X,1.10 US,Android,1.25 US,iOS,1.40 *,Windows,0.40 *,Linux,0.35 *,Mac OS X,0.50 *,Android,0.55 *,iOS,0.60 -
Open Admin → Self-serve → Self-serve CPM floor rates and click Edit on a campaign type. The matrix opens as Edit CPM floor rates — Banner (desktop) (or the type you picked): rows are countries (
*shows as Global), columns are Windows, Linux, Mac OS X, Android, iOS; a cell with no rate shows—. Rows come back in no particular order.
-
Click Upload and pick the CSV. This is the only way to create a row; a country/OS that already has a rate takes the uploaded one, so a corrected file reprices in one go. An upload with any rejected line ends with an error toast listing the messages — but the valid lines are still saved, so read the toast and then check the grid.
-
To change a rate that exists, click the cell, type, press Enter or click away. Each cell saves on its own; there is no page-level Save and no confirmation. Escape reverts.
-
To remove countries, tick their rows, Delete, confirm Delete N record(s)? — the Entries has been removed. toast follows. The delete takes the country’s rates for all five operating systems, in this campaign type only.
Caveats and exceptions
- Who can do this. Network administrators; each page is a separate admin permission, the Self-serve group disappears from the sidebar when a role holds neither, and a page reached by URL without its grant opens but never loads. Network managers, publishers and advertisers cannot reach them. A self-serve user is an ordinary network user; whether a role may sign up is that role’s Sign-up grant, not a white-label setting, and a role that sees or manages other accounts or the whole network is never given by sign-up whatever that grant says. See Manage users, roles and permissions. Sign-up and Contact Us refuse an address at a throw-away mail service such as mailinator.com unless Allow disposable e-mail addresses is ticked on the white-label Main tab.
- What a clone carries.
POST /rest-api/banner/createwithselfServeCampaignTypeclones the banner only: creative type and payload, size and ad unit, placement type, targeting, all capping, limits, pricing, price-adjustment rules, template and property values, VAST and native configuration, tracking code, labels and autolink settings, approval status and active flag. Not carried: placement links (the clone starts unlinked), the prototype’s name (the request’snameis used), its campaign and advertiser (the request’scampaignIddecides), and the default conversion action. - The default conversion action is never applied by the server. It is stored and published
over
/rest-api/prototype/list,/rest-api/prototype/banner/{type}and/rest-api/prototype/banner/actionfor your storefront to read and act on. If your client ignores it, nothing wires it up. - Soft deletes slip past the prototype. A prototype’s banner and action cannot be hard-deleted while referenced — but a normal delete in the account UI is a soft delete and goes through: the prototype row looks healthy and every clone request for that type fails with Banner id not found. Audit prototypes after pruning creatives.
- CSV creates, inline edit changes. An inline edit on a country/OS with no rate behind it is
rejected with No corresponding record found. A
—in the grid means the row was written outside the admin UI; clicking that cell will not fill it in. - One bad OS spelling drops the whole country. The line is rejected, and the country — now
short of one of the five operating systems — is dropped in full, valid lines included. The
upload reports Records for the following countries were ignored because they don’t have rates
for all required operating systems: …. Fix the spelling and upload the country again. An extra
OS such as Windows Phone is saved for a complete country but never shown in the five-column
matrix;
suggestwithout anosstill counts it. - Global (
*) is not a fallback.suggestfilters by exactly the countries you pass, sogeo=USwith no US rows is 404 — it does not fall back to the Global row. Global only participates withgeo=*,geo=0or nogeoat all. Seed the countries your storefront asks for. - The suggestion comes from the highest matching rate, not an average or the closest match. A single expensive country or OS left in an unconstrained query pulls the whole suggestion up.
- The floor is advice, not a gate. Nothing in the ad server compares a bid against these rates; the floors ad serving applies are the unrelated publisher bid floor and the OpenRTB deal floor. If your storefront lets a buyer price below the suggested figure, the campaign serves at that price.
- Rates keep four decimal places, cannot be negative, and cap at 9 999 999.9999.
- The seven campaign types are a fixed list; adding one is a product change. A campaign used to carry a type of its own — a label nothing read — and it was removed; the type now lives only on the prototype and the floor matrix.
- Cosmetic quirks. The campaign-type list on the floor-rates page labels its second column Conversion actions; it holds the Edit links and has nothing to do with conversion actions. When its request fails, the matrix reads Failed to load rather than its empty-matrix hint — reload before editing; the rates are still stored.
Not working?
| Symptom | Check | Where |
|---|---|---|
banner/create answers No available prototypes for campaign type [BANNER_NATIVE]. | No prototype row for that type | Prototype banners grid |
banner/create answers Banner id not found. | The prototype’s banner was (soft-)deleted | The prototype row’s Banner id; the account UI |
| The clone has no conversion action | Expected — the storefront must apply the published default action itself | /rest-api/prototype/banner/action |
| The clone serves nowhere | Expected — clones start unlinked; link placements as for any banner | The banner’s placements |
suggest answers 404 | No rate matches the exact geo/os passed (Global is not a fallback); or the advertiser does not exist | The matrix for that campaign type |
suggest answers 403 | The caller has no view share on the advertiser | The advertiser’s shares |
| The suggestion is higher than any cell for the country | Another matching row (another OS, or * when geo was omitted) carries a higher rate — the highest wins | The matrix |
| Upload says Invalid line: [ZZ, Win, 1.10] | The OS did not resolve (Windows, Linux, Mac OS X, Android, iOS or WINDOWS…IOS, exact spelling; Android 14 resolves, iPad and Windows Phone resolve to other systems), the country is empty, or the rate is not a number | The CSV line |
| Upload says Invalid country code: XX / Invalid rate value: -1.0 / Invalid record: […]. Expected: country, os, rate | A non-ISO code; a negative rate; a line without exactly three columns (a header row counts) | The CSV |
| A country vanished after upload | It was short of one OS and dropped in full | The toast’s Records for the following countries were ignored… |
Clicking a — cell does nothing | No record to update; upload the country | Upload |
| Save says Action with id [N] is not found | No such action, a deleted one, or one shared by default; clear the field to unset | Default conversion action ID |
| Save says Banner not found. / Banner ID is required | The ID does not resolve, or its campaign or advertiser is deleted; or the field is empty | Prototype banner ID |
Reference
Prototype banner form
| Field | Required | Notes |
|---|---|---|
| Self-Serve type | Yes | One of the seven types. Defaults to Banner (desktop). Only one prototype may exist per type. |
| Prototype banner ID | Yes | Numeric ID of the seed banner. It must not be deleted, and neither its campaign nor its advertiser may be deleted. |
| Default conversion action ID | No | Numeric ID of a conversion action that is not deleted and not shared by default. Clear the field to unset it. |
Floor matrix controls
| Control | What it does |
|---|---|
| Upload | Multipart CSV upload into the campaign type you are editing. The only way to create rows; a row that already exists takes the uploaded rate. |
| Cell (inline edit) | Updates one existing country/OS rate. Enter or blur commits; Escape reverts. |
| Row checkbox / header checkbox | Selects one country, or all of them. |
| Delete | Removes the selected countries’ rates for this campaign type. Disabled until something is selected. |
CSV columns
| Column | Accepts |
|---|---|
| country | ISO 3166-1 alpha-2 code, or * for Global |
| os | Display name (Windows, Linux, Mac OS X, Android, iOS) or constant (WINDOWS, LINUX, MAC_OS_X, ANDROID, IOS); any other value is accepted when it contains one of these, case-sensitively |
| rate | A number, zero or greater, up to four decimals |
Over the API
| Call | What it does |
|---|---|
POST /rest-api/banner/create + selfServeCampaignType | Clones the type’s prototype banner into the request’s campaignId with the request’s name. 400 No available prototypes for campaign type […] / Banner id not found. |
GET /rest-api/prototype/list, /prototype/{prototypeId}, /prototype/banner/{type}, /prototype/banner/action | The prototypes and their default actions; 404 Prototype N not found. / No prototype for campaign type … |
GET /rest-api/floorCPMs/suggest | Needs campaignType and advertiser; optional os (names or IDs, comma-separated) and geo (-US excludes; * / 0 select Global). Answers {"SuggestedCPM": {"minimal": …, "suggested": …}}; 403 without a view share on the advertiser, 404 when the advertiser does not exist or no rate matches. |
GET /rest-api/floorCPMs | The raw rows; requires campaignType and os (missing or unknown → 400 naming it); region or geo narrow it. |
How a rate becomes a price. suggest collects every matching row and takes the single highest
rate: minimal is that rate unchanged (a per-advertiser percentage used to scale it, sat at its
neutral 100 on every network, and was removed); suggested is
(rate × A ÷ 100) + (rate × B ÷ 100 × (1 + rate)^-0.6) rounded to two decimals, where A (default
207) and B (default 90) are server-side settings — ask Epom support or your account manager to
change them. With stock configuration a 1.00 rate yields suggested 2.66, minimal 1.00. Both
endpoints use REST API authentication.
Per role. Administrator — each page’s admin permission (without it the page opens by URL but never loads). Network manager, publisher, advertiser — cannot reach these pages. Self-serve user — an ordinary network user; sign-up is the role’s Sign-up grant, on a role that sees and manages only its own accounts and entities. Exact grants: Manage users, roles and permissions.