Product
Publishers
Advertisers
Networks
Help
Pause animations
Browse help topics
How-to PublisherNetwork

Filter offers by country, platform and category

Updated

View as Markdown

Add filters to your Offer API call: country, state, platform and os_version describe the user, and content_type, offer_kind and vertical describe the kind of offer. Values aren’t case-sensitive, a comma means “any of these”, and every filter you send must match.

See also: Offer API

On this page

Filters for the user

ParameterExampleWhat it keeps
countryUS or US,CAOffers open to any of those countries. An offer with no country list counts as open everywhere.
stateTXFor a US user: leaves out offers that turn that state away. Send one state.
platformiOS or iOS,AndroidOffers listed for that platform. An offer listed for all platforms, or with none, matches every value.
os_version17.4With exactly one platform: leaves out offers the phone is too old or too new for.
devicetabletOffers that name that device type. Offers that name none are left out, so most callers skip it.

Filters for the kind of offer

ParameterExampleWhat it keeps
content_typenon_gamegame or non_game. Our own classification, the same on every offer.
offer_kindsignup,financegame, signup, finance, deposit, subscription, purchase, sweepstakes, survey, rewards_app or other.
verticalsports_bettingsports_betting, real_money_gaming or none for offers with neither. An offer can carry both.
segmentinstallNamed lists: install, popular, top. Comma-separate to require all.
tracking_typeCPI,CPAThe pricing label the offer was listed with.
categoryGameThe offer’s free-text category label. Labels differ from offer to offer, so prefer content_type or offer_kind.

Filters for one offer

ParameterExampleWhat it keeps
nameharbor blocksNames that contain it, ignoring case, spaces, punctuation and accents. An exact offer ID, or its numeric ID, works here too.
idaff_7c2e91b04d3aThat one offer. Takes the string id or the numericId.
allow_offer_idsaff_7c2e91b04d3a,aff_51d0c3e8a9f2Only these offers. String IDs only.
block_offer_idsaff_51d0c3e8a9f2Everything except these. String IDs only.

Example IDs.

Steps

  1. Start from the user’s country and platform

    Send the user’s own country and platform on every call. Without country, the list includes offers aimed at other countries, and your users can tap offers they can’t be credited for.

  2. Add state and OS version when you know them

    For a US user, add state. For a phone, add os_version with the single platform, so offers the phone can’t run never reach the screen.

  3. Narrow by kind

    Use content_type, offer_kind or vertical. To keep sportsbooks and real-money games off a screen, add vertical=none.

  4. Combine them

    Shell
    curl -G "https://affiliateos.xyz/publisher/offers" \
      -d country=US -d state=TX -d platform=iOS -d os_version=17.4 \
      -d content_type=game -d vertical=none \
      -H "x-api-key: $AFFILIATEOS_KEY"

    Example: games with no betting or real-money vertical, for user u_48213 on an iPhone in Texas.

  5. Check it worked

    Every row’s platforms includes the platform you sent (or lists all, or none), every row’s geoTargeting lets your country in, and contentType, offerKind and verticals match what you asked for.

On the Offers page

The portal’s Offers page has the same filters as controls: Search offers… (a name, an exact offer ID or a numeric ID), Platform (All platforms, iOS, Android, Web), Country (US unless you pick another; All countries on the All tab) and, on All, Install only for accounts paid at install. Reset clears them.

The chips across the top (All, Most Popular, Games, Casino & sports, Sign-ups, Finance, Subscriptions & trials) are the portal’s own grouping, not an API parameter. The nearest API filters are offer_kind and vertical.

For networks

The Network API (/network-api/offers) takes the same filter names, except os_version and segment=top, which only the publisher Offer API reads. In the network dashboard, Offers has Country (a comma list, such as US, DE, GB), Platform (iOS, Android, Web, Desktop) and Tracking Type.

Support

Still stuck? Write to us.

One address for every question: hello@affiliateos.ai. Put the details from this list in your first message so we can find the click or conversion without asking you for them again.

Put these in your message

  1. 01The email you sign in with
  2. 02Your role: publisher, advertiser or network
  3. 03The offer ID
  4. 04The click ID or action_id
  5. 05The time it happened, with your time zone
  6. 06What you expected to happen

Looking for a reward in an app? Ask that app's support. It credits your reward, so only it can see your balance.

Search help