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
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.
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.
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).
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.
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).
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.
Direct Links Performance Tracker
Deep-dive into each individual direct link's traffic, CPM rate, and exact earnings.
Instant Search & Filter
Use the built-in search bar on the Direct Links tab to quickly filter your direct links by Link Name, Placement ID, or Hash.
Sortable Columns
Click any table column header (Revenue, CPM, Impressions, Clicks) to sort your direct links from highest to lowest earner.
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.
( 🔄 ) after a few minutes to fetch updated stats.
( 🌙 ) in the top navigation bar. Your theme preference is automatically remembered across the entire dashboard and documentation.