Endpoints

1. Get Applications

Retrieves a list of your applications with basic data.

Endpoint: GET /apps

Full URL: https://connect.bidease.com/api/apps

Authentication: Bearer token (via Access-Token header)

Query Parameters

ParameterTypeFormatDescription
dsStringYYYY-MM-DDStart date for unique users calculation
deStringYYYY-MM-DDEnd date for unique users calculation
lastStringday, week, monthShortcut for predefined period (overridden by ds and de)

Note: If both ds/de and last are provided, ds/de take precedence. If no date parameters are specified, the default is last=month.


Request Example

curl -s -H 'Access-Token: 500000ab-000c-4000-000f-ab00001a7830:[REDACTED]' \
  'https://connect.bidease.com/api/apps?last=week'

Response Example

{
  "apps": [
    {
      "app_id": "946b001c-1ab9-479a-89ff-300a24d7b353",
      "bundle_id": "com.bidease.demoapp",
      "name": "Demo App",
      "platform": "android",
      "publisher_id": "5fec51ab-f41c-4fe3-9a9f-ab00001a7830",
      "sdk_status": "update",
      "sdk_versions": [
        {
          "0.1.8": 100
        }
      ],
      "uniques": 100500
    },
...
  ],
  "status": "ok"
}

Response Fields

FieldTypeDescription
app_idString (UUID)Unique application identifier
bundle_idStringApplication bundle/package identifier
nameStringApplication display name
platformStringPlatform type (android or ios)
publisher_idString (UUID)Publisher account identifier
sdk_statusStringSDK update status (current, update, etc.)
sdk_versionsArrayList of SDK versions with usage counts
uniquesNumberUnique users for the specified period
statusStringResponse status (ok or error)


2. Get Detailed Application Statistics

Retrieves detailed performance metrics with support for multiple grouping dimensions. Similar to the detailed statistics table in the Bidease dashboard.

Endpoint: GET /apps/{app_id}/stats

Full URL: https://connect.bidease.com/api/apps/{app_id}/stats

Authentication: Bearer token (via Access-Token header)

Path Parameters

ParameterTypeDescriptionRequired
app_idString (UUID)Application identifierYes

Query Parameters

ParameterTypeFormat/OptionsDescriptionRequired
dsStringYYYY-MM-DDStart date for the reporting periodNo*
deStringYYYY-MM-DDEnd date for the reporting periodNo*
lastStringday, week, month, yearShortcut for predefined periodNo*
groupString (multiple)See grouping options belowDimension to group results by (can be used multiple times)No

Note: If both ds/de and last are provided, ds/de take precedence. If no date parameters are specified, the default is last=month.

Supported Grouping Dimensions

Group ByDescriptionExample Response Field
dateDay-level breakdown"date": "2025-11-30"
countryCountry grouping (ISO2 codes)"country": "us"
ad_typeAd format grouping*"ad_type": "rewarded"
placement_idMediation placement"placement_id": "default_ecpm_5"

Supported Ad Types

  • banner - Banner ads
  • interstitial - Interstitial ads
  • rewarded - Rewarded video ads
  • native - Native ads

Request Example

curl -s -H 'Access-Token: 500000ab-000c-4000-000f-ab00001a7830:[REDACTED]' \
  'https://connect.bidease.com/api/apps/954fee00-bcd7-4fde-a2bd-1bade4a00208/stats?last=day&group=country&group=ad_type&group=placement_id&group=date'

Response Example

{
  "apps": [
    {
      "app_id": "946b001c-1ab9-479a-89ff-300a24d7b353",
      "bundle_id": "com.bidease.demoapp",
      "name": "Demo App",
      "platform": "android",
      "publisher_id": "5fec51ab-f41c-4fe3-9a9f-ab00001a7830",
      "sdk_status": "update",
      "sdk_versions": [
        {
          "0.1.8": 100
        }
      ],
      "uniques": 100500
    }, 
    {
      "ad_type": "interstitial",
      "clicks": 2,
      "country": "us",
      "ctr": 0.41,
      "date": "2025-11-30",
      "ecpm": 5,
      "impressions": 486,
      "placement_id": "default_ecpm_5",
      "revenue": 2.43
    },  
      {
      "ad_type": "banner",
      "clicks": 6,
      "country": "ru",
      "ctr": 0.07,
      "date": "2025-12-01",
      "ecpm": 0.3,
      "impressions": 8007,
      "placement_id": "default_ecpm_0.30",
      "revenue": 2.4021
    },  
...
  ],
  "status": "ok"
}

Statistics Response Fields

FieldTypeDescription
ad_typeStringAd format type
clicksNumberTotal clicks
countryStringISO2 country code
ctrNumberClick-through rate (decimal)
dateStringDate in YYYY-MM-DD format
ecpmNumberEffective cost per mille (per 1000 impressions)
impressionsNumberTotal impressions
placement_idStringMediation placement identifier
revenueNumberRevenue in USD


3. Examples

Example 1: Get Today's Revenue by Ad Type

curl -s -H 'Access-Token: YOUR_TOKEN' \
  'https://connect.bidease.com/api/apps/YOUR_APP_ID/stats?last=day&group=ad_type'

Example 2: Get Last Week's Performance by Country and Date

curl -s -H 'Access-Token: YOUR_TOKEN' \
  'https://connect.bidease.com/api/apps/YOUR_APP_ID/stats?last=week&group=country&group=date'

Example 3: Get Custom Date Range with Multiple Dimensions

curl -s -H 'Access-Token: YOUR_TOKEN' \
  'https://connect.bidease.com/api/apps/YOUR_APP_ID/stats?ds=2025-11-01&de=2025-11-30&group=date&group=ad_type&group=country&group=placement_id'

Additional Notes

  • Currency: All revenue values are returned in USD.
  • Time Zones: All dates and times use UTC timezone. Ensure your systems account for timezone differences when processing data.