Monetize a mobile app
Put ad slots in a native Android or iOS app without an SDK — an Application placement called over the ad API, native-in-app options, App Package targeting for demand, and why frequency capping in apps needs the device advertising ID. Steps, caveats and a troubleshooting table.
The scenario
A publisher ships “TrailMap”, a hiking app on Android and iOS with 40,000 daily users, and wants three ad slots: a banner under the map, an interstitial between trail pages and a native card in the activity feed. There are two routes, and neither involves an Epom SDK — there is none:
- An Application placement (this page): the app, or your server on its behalf, calls the placement’s ad API and renders the response itself. Demand reaches it the same way as any other placement — links, Rules and programmatic.
- Prebid Mobile, if your network sells through header bidding: the open-source Prebid Mobile SDK in your app talks to a Prebid Server, and Epom takes part as an ordinary Prebid bidder. Your network sends you the server address, an account id and one slot id per ad unit. See Header bidding: an app with Prebid Mobile.
Example. TrailMap becomes one site with Inventory type App, a zone per app section and
six Application placements — three per OS, because Application OS is a field of the placement
and demand must match it to link. The app calls each placement’s API request URL with key,
ifa and bundle=com.trailmap.app; an advertiser running an “outdoor apps only” campaign adds
an App Package rule with that bundle and reaches exactly those 40,000 users, and a
server-side frequency cap keyed to ifa keeps each of them to 3 interstitials a day.
Typical scenarios
| You want | Set | Where |
|---|---|---|
| A banner slot in the app on both platforms | two Application placements, Ad category Banner Ad, Application OS iOS and Android, a Size if you serve sized display | zone → Add new placement → Application Placement |
| A native card in a feed rendered in your own layout | native banners created for the Application type, or a Native placement returning JSON | campaign → Add banner for Application Placement; or zone → Native placement |
A campaign that runs only in com.trailmap.app | App Package rule, com.trailmap.app, Include | campaign → Targeting |
| A campaign that stays out of 200 known apps | a Preset app-package group with one Preset App Packages rule, Exclude | Admin → presets; campaign → Targeting |
| At most 3 interstitials per user per day in the app | Frequency capping, Amount 3, Period 1 Day(s), subject User (server-side storage), ifa sent on every request | campaign → Frequency capping; the app’s API call |
| Per-app rows in reports | the Package Name dimension in the Advanced report; ch passed in requests for channel splits | Account → Analytics |
Step by step
Neither the stock Publisher nor the stock Network Manager role can create an Application placement; ask your network manager (or, as a network manager, your network administrator) to switch it on for your role. Until then the network creates the placement and you configure it. Before you start you need an app (or a client / server on its behalf) able to call an HTTP ad API and render the response, a site representing the app property with a zone under it, demand that fits app traffic (display and native creatives, or programmatic partners), and the application-placement API documentation on your role — the stock Publisher and Network Manager roles have it; a custom role may not.
-
Model the app as inventory. Create a site for the app (use it for categories, revenue share and approval like any property; set Inventory type to App, which swaps Site URL for App bundle), a zone per app section, then Add new placement… → Application Placement for each slot.

-
Fill the app-specific fields on Basic info (field reference):
- Size — optional on an application placement (only Site and Email placements require one), but set it if you serve sized display creatives: matching uses it;
- Ad category — the format of the slot: Banner Ad, Interstitial Ad, Native Ad or Rewarded video (not a content category). Required; a new placement starts on Banner Ad;
- Application OS — iOS or Android. Required; a new placement starts on iOS. Demand must match it to link;
- Display type — As view or As activity; optional and nothing is pre-selected.

-
Integrate. Save, then open Ad tags & API. Its only code tab, API, carries the request URL and the parameter table (the Settings tab beside it holds the default parameters added to every tag). Call it from the app or from your server and render the response yourself. Pass
keyalways; passclientIpandclientUawhen you call server-to-server — the card marks both as required for S2S, “for targeting to work properly”. Passifa(the device advertising ID) andbundle(the app’s package or bundle id) from the app: capping (caveats below) depends onifa, and App Package targeting (step 5) on the package.
-
Go native if the slot is native. Two options:
- link native banners created for the Application type (Local / External Native serve on application placements) and render their fields in your own layout; they match by their native size settings rather than by Application OS and Ad category;
- or create a Native placement instead — it returns structured JSON (title, icon, image, CTA, click URL, impression beacons) over the API, purpose-built for feeds. Your renderer must fire the beacons or nothing is counted.
-
Point demand at apps. On campaigns, add App Package targeting with the bundle id (
com.example.game) to include or exclude specific apps, or target an admin-maintained Preset app-package group with one rule. Combine with OS, device format, carrier and connection-type dimensions (targeting reference). The rules compare against the request’s app package. Send it inbundleon every request; a request with no package never matches an App Package rule.
-
Measure. In Account → Analytics run a General report with Group by → Placement or Site and Time granularity → Day. The General report has no app dimension; a per-app breakdown (Package Name, which follows the app-package setting in step 5) exists only in the Advanced report type, which your network administrator has to switch on for your role. Pass
chin requests if you want channel-level splits.
Caveats and exceptions
Linking demand
- Demand must match the app profile, not just the size. A banner links to an application placement only when it was created for the Application type (Add new banner → Add banner for Application Placement) and its Application OS and Ad category equal the placement’s. When both the placement and the banner carry a size, the usual size rules apply on top; a placement with no size accepts any size. A creative that links fine to a site placement can refuse to link here — check those selects first. Native banners are the exception: they skip the OS and category check and match on their native size settings.
Targeting
- App Package and its preset counterpart are switched on per role: the stock Advertiser role has both, the stock Network Manager role neither. If the one you need is missing from the Add list, ask your network manager (or, as a network manager, your network administrator).
- Requests from an Android WebView also carry the package automatically. If App Package targeting
or the Package Name column does not reflect the
bundleyou send, contact Epom support or your account manager — which source wins is set per network.
The placement
- No “Domain as default channel” for apps. The option takes the channel from the page that
made the request — the origin parameter or header — and an app request normally carries no page
origin, so application placements do not offer it. If you segment reporting by channel, pass
the channel explicitly as the
chrequest parameter from the API call. - Application placements have no standard Preview. API responses are not self-contained markup, so the Preview button is not drawn for this type. Test by calling the API tab’s request URL yourself.
- A paused application placement shows no key and no API card. The Placement key and the Ad tags & API card disappear while the Active switch is off, live and before you save. Switch the placement on to see the request URL again.
- The request documentation on the API tab is switched on separately from the placement type; both stock roles have it.
Capping
- Frequency capping behaves differently in apps. Default capping counts per visitor with a
browser cookie, which in-app requests do not carry. If per-user caps matter on app inventory,
ask Epom support or your account manager whether server-side capping storage is enabled, use
the User (server-side storage) subject and send the device advertising ID in
ifa— the server-side counter is keyed to it (a request without a usable one is counted by IP, user agent and language instead); see Ads in apps and WebViews (the mixed subject stays on the cookie in an Android WebView). For hard volume guarantees use Limits, which are counted server-side per entity.
Roles
- Publisher: you configure the application placement and copy its API request URL; creating one is not in the stock role — ask your network manager.
- Network manager: the same, plus pricing, limits and revenue share where granted.
- Can view share: the placement opens and reports, but its fields are read-only.
- Demo account: Preview on an application placement answers Not Supported.
Not working?
| Symptom | Likely cause | Check |
|---|---|---|
| No Application Placement entry in Add new placement | Off for both stock roles | Admin → Users and roles (network administrator) |
| A display banner will not link to the placement | It was not created for the Application type, or its Application OS / Ad category differ from the placement’s; size rules apply on top when both carry a size | Banner → Basic info selects; placement → Basic info |
| A native banner links although OS / category differ | Expected: native banners match on native size settings only | — |
| The API tab is missing | The placement is not saved, its Active switch is off, or the role lacks the request documentation | Placement → Active; Admin → Users and roles |
| Targeting (geo, device) is wrong on server-to-server calls | clientIp / clientUa not passed — both are required for S2S | The app server’s request parameters |
| An App Package rule never matches | bundle is not sent, or the network reads the package from another source | The app’s request; Epom support for the per-network source |
| App Package is not in the campaign’s Add list | Off for the stock Network Manager role (on for Advertiser) | Admin → Users and roles |
| Nothing is counted on the native slot | The renderer does not fire the impression beacons from the JSON | The app’s native renderer |
| No per-app rows in the General report | The General report has no app dimension; Package Name is in the Advanced report only | Admin → report types for the role |
| No channel breakdown | Apps carry no page origin, so Domain as default channel is unavailable | Pass ch on the API call |
| A frequency cap in the app does nothing, or counts many users as one | Cookie-based subject in an app; or ifa missing so the counter falls back to IP + user agent + language | Campaign → Frequency capping → Subject User (server-side storage); send ifa |
| Preview says Not Supported / no Preview button | Application placements have no standard preview | Call the API request URL yourself |