Adsterra Docs v3.0
Official Publisher Documentation & Setup Guide

How to Connect Your Adsterra API & Use the Dashboard

Learn how to generate your Adsterra API key, configure multi-account switching, analyze real-time direct links performance, and install the dashboard as an app on PC and mobile.

First of All: How to Generate Your Adsterra API Token

Follow these simple steps to generate your publisher API key from Adsterra and connect it to your dashboard.

Direct URL to Adsterra API Tab

You can directly access your API settings at:
https://beta.publishers.adsterra.com/settings?tab=API

1

Log in to Adsterra & Open API Settings

Log in to your Adsterra Publisher Dashboard. In the left navigation menu, click on Settings, and then select the API tab at the top.

https://beta.publishers.adsterra.com/settings?tab=API Open Link
2

Generate or View Your API Token

On the API settings page, look for the API Key (Token) section. If you haven't generated one yet, click the green "Generate API Token" button. Adsterra will create a unique 32-character hexadecimal key.

Existing Token?

If you already have an API Token visible in that tab, you do not need to generate a new one. Simply copy your existing token.

3

Copy Your 32-Character Token

Click the copy icon next to your token string or highlight the 32 characters and press Ctrl+C (or Cmd+C on Mac).

Example Token: 4a8f9b2c1d3e5f7a0b2c4d6e8f0a1b3c

Adding the API Token to Your Dashboard

Once you have copied your token from Adsterra, adding it to your dashboard takes less than 5 seconds.

4

Navigate to the "Accounts" Tab

Open your Dashboard (index.php) and click on the Accounts navigation item (in the bottom navigation bar on mobile or top/sidebar on desktop).

5

Enter Account Details & Save

Fill in the two fields inside the Add New Account card:

  • Account Name: Give it a friendly label (e.g. Main Account, Mr. Raju Ali, or your website domain).
  • API Key (Token): Paste your 32-character token copied from Adsterra.

Click the red "Save Account" button.

Instant Automatic Sync

Your dashboard will immediately activate the account, contact Adsterra's official API servers, and load your live Impressions, Clicks, CTR, CPM, and Revenue.

Multi-Account Management

Manage multiple Adsterra publisher accounts seamlessly in one place without logging in and out.

Add Unlimited Accounts

Have multiple websites or Adsterra profiles? Add as many accounts as you need with customized friendly names.

1-Click Switching

Click the Account selector dropdown in the topbar (e.g. [ 👤 Mr. Raju Ali ∨ ]) to switch active publisher accounts in 1 millisecond.

Edit & Rename Anytime

Easily rename account labels or update API keys whenever needed from the Accounts manager tab.

Safe Local Deletion

Remove any unused account with a single confirmation click. Your API key is immediately purged from your browser's local memory.

Live Analytics, KPIs & Daily Trends

Track your earnings and traffic performance in real-time with comprehensive KPI metrics.

Impressions & Clicks

Monitor total impressions delivered today, click volume, and dynamic percentage comparisons vs yesterday's metrics.

CTR & CPM Analytics

Automated calculation of Click-Through Rate (CTR) and average CPM (Cost Per Mille) rates across all active ad placements.

Estimated Revenue

Live revenue calculation showing exact earnings for Today, Yesterday, Last 7 Days, or custom date ranges.

1-Click Instant Refresh

Click the circular ( 🔄 ) button in the topbar at any time to immediately request the freshest real-time data from Adsterra.

Install on PC Desktop & Mobile Phones

Install Adsterra as a standalone app with desktop shortcut, taskbar icon, and mobile home screen launching.

Windows & Mac PC

Open the dashboard in Chrome or Edge, click the Install button in the topbar or browser address bar. An app shortcut with the official Adsterra logo will be placed on your desktop and taskbar.

Android Mobile

Open in Google Chrome on your phone, tap the Install button or Chrome menu (⋮) → "Add to Home screen". Runs full-screen with native mobile navigation.

iPhone / iPad (iOS Safari)

Open in Safari → Tap the Share button in the bottom bar → Scroll down and tap "Add to Home Screen" → Tap Add.

Offline Cache Support

Powered by Service Worker (sw.js), previously viewed statistics remain accessible even when your internet connection drops.

Security & Privacy Architecture

Your Adsterra API credentials are safe and protected at all times.

Zero Database Storage

Your API tokens are saved exclusively in your own browser's local storage (LocalStorage). No credentials are ever saved to any central database or external server.

Secure Proxy & .htaccess Hardening

The server uses api.php as a local reverse proxy solely to communicate directly with api3.adsterratools.com. The server is protected by .htaccess which disables directory listings and blocks unauthorized access to source code.

Troubleshooting & FAQs

Find quick answers to common questions about your Adsterra API and dashboard.

Go directly to https://beta.publishers.adsterra.com/settings?tab=API. Under the API tab, click "Generate API Token" (or copy your existing 32-character token).
Adsterra's statistics pipeline takes 5 to 15 minutes to aggregate and process new traffic. If your traffic just started or your account was recently connected, click the refresh button ( 🔄 ) after a few minutes to fetch updated stats.
Yes! You can add as many publisher accounts as you want in the Accounts tab. Switch between them instantly using the topbar account dropdown.
No. All tokens are stored locally on your device in browser LocalStorage. Requests are routed securely to Adsterra's official API server without any third-party logging or storage.
Click the Moon/Sun icon button ( 🌙 ) in the top navigation bar. Your theme preference is automatically remembered across the entire dashboard and documentation.