Mediago API
en
  • en
  • zh
  1. Campaign Management
Mediago API
en
  • en
  • zh
  • Authentication
    • Get Access Token
      POST
  • Account Management
    • Get Authorized Account List
      GET
  • Campaign Management
    • Get Authorized Campaign List
      GET
    • Get Campaigns Detail
      GET
    • Create Campaign
      POST
    • Update Campaign
      POST
    • Batch Update Campaigns
      POST
    • Batch Active/Pause Campaigns
      POST
    • Batch Archive Campaigns
      POST
  • Ad Management
    • Get Authorized Ad List
      GET
    • Batch Active/Pause Ads
      POST
  • Sites Block Management
    • Get Account Block List
      GET
    • Block/Unblock Sites at Account
      POST
    • Get Campaign Block List
      GET
    • Block/Unblock Sites at Campaign
      POST
  • Report APIs
    • Get Daily Summary Data of All Campaign
      GET
    • Get Daily Report in Campaign Dimension
      GET
    • Get Daily Report in Ad Dimension
      GET
    • Get Hourly Realtime Data in Campaign or Ad Dimension
      GET
    • Get Account Daily Report in Site Dimension
      GET
    • Get Daily Report in Site Dimension
      GET
  1. Campaign Management

Get Campaigns Detail

GET
https://api.mediago.io/manage/v1/campaign/detail
Last modified:2025-11-19 03:01:29
Get properties of specific campaigns belong to you. Returns an array of campaign properties in the response body if success with http code 200.
QPS limit: 60, IP limit: 15.
Note: If all creatives under a campaign are either paused or archived, the campaign details will return empty.

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediago.io/manage/v1/campaign/detail?campaign_ids=67890,12345,98765' \
--header 'Authorization: Bearer your_access_token_here'

Responses

🟢200Success Response
application/json
Body

Example
[
  {
    "account_id": "1",
    "campaign_id": "5",
    "campaign_name": "demo-campaign",
    "charge_type": "cpc",
    "status": 0,
    "day_parting": [
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
    ],
    "dp_timezone": "UTC-7",
    "start_time": "2020-04-27 12:30:18",
    "end_time": "2030-04-30 06:30:19",
    "daily_cap": 20,
    "spend_limit": 200,
    "spend_mode": 0,
    "cpc": 1,
    "audience": {
      "type": "INCLUDE",
      "value": ["News", "Weather"]
    },
    "location": {
      "type": "INCLUDE",
      "option": "state",
      "value": ["AL", "AK"]
    },
    "platform": {
      "type": "ALL",
      "value": []
    },
    "os": {
      "type": "ALL",
      "value": []
    },
    "browser": {
      "type": "ALL",
      "value": []
    },
    "product_type": "Auto",
    "objective": "lead",
    "target_cpa": 1.2,
    "optimization_type": "1",
    "landing_page": "https://www.demo.com",
    "utm_tracking": "utm_source=mediago&utm_medium=referral&utm_campaign=${CAMPAIGN_NAME}&utm_content=${AD_TITLE}&utm_term=${CONTENT_NAME}",
    "brand_name": "demo-brand",
    "ad": [
      {
        "asset_name": "demo-asset-1",
        "headline": "demo-headline-1",
        "img": "https://d2cli4kgl5uxre.cloudfront.net/ML/c8b6513aab94f8345122185586351b23.png"
      },
      {
        "asset_name": "demo-asset-2",
        "headline": "demo-headline-2",
        "img": "https://d2cli4kgl5uxre.cloudfront.net/ML/f5784618ca6197c34f5f43c04f948635.png"
      }
    ],
    "site_bid_modiefier": [
      {
        "site_id": "2007756",
        "rate": 10,
        "site_name": "wpb.shueisha.co.jp(test)",
        "site_cpc": 10
      },
      {
        "site_id": "2007757",
        "rate": 200,
        "site_name": "wpb.shueisha.co.jp",
        "site_cpc": 10
      }
    ],
    "placement": {
      "type": "INCLUDE",
      "value": ["Infopane", "Stripe"]
    }
  }
]
🟠400400 Bad Request
Modified at 2025-11-19 03:01:29
Previous
Get Authorized Campaign List
Next
Create Campaign
Built with