# Mediago API ## Docs - [Authentication](https://apidoc.mediago.io/67361021f0.md): - [Account Management](https://apidoc.mediago.io/67361022f0.md): - [Campaign Management](https://apidoc.mediago.io/67361023f0.md): - [Ad Management](https://apidoc.mediago.io/67361025f0.md): - [Sites Block Management](https://apidoc.mediago.io/67361026f0.md): - [Report APIs](https://apidoc.mediago.io/67361024f0.md): ## API Docs - Authentication [Get Access Token](https://apidoc.mediago.io/346347748e0.md): Get Access Token using API Token. Token expires in 3600 seconds. Note: New access_token will invalidate the previous one. - Account Management [Get Authorized Account List](https://apidoc.mediago.io/346347749e0.md): Get a list of account that you have authority to get data or manage. Returns an array of account_id and account_name and pixel list in the response body if success with http code 200. - Campaign Management [Get Authorized Campaign List](https://apidoc.mediago.io/346347751e0.md): Get a list of campaign that you have authority to get data or manage. Returns an array of campaign_id and campaign_name with according ads in the response body if success with http code 200. - Campaign Management [Get Campaigns Detail](https://apidoc.mediago.io/346347753e0.md): Get properties of specific campaigns belong to you. Returns an array of campaign properties in the response body if success with http code 200. - Campaign Management [Create Campaign](https://apidoc.mediago.io/346347754e0.md): Submit a JSON object representing the new campaign in the request body. (See examples below.) Limit 50 new campaign a day. - Campaign Management [Update Campaign](https://apidoc.mediago.io/346347755e0.md): Submit a JSON object representing the property to be updated in the request body. (See demo below.) - Campaign Management [Batch Update Campaigns](https://apidoc.mediago.io/346411783e0.md): Tips: - Campaign Management [Batch Active/Pause Campaigns](https://apidoc.mediago.io/346347756e0.md): Active/Pause a list of campaign own to you. Returns http code 200 if success. - Campaign Management [Batch Archive Campaigns](https://apidoc.mediago.io/346347758e0.md): Archive a list of campaigns which are owned by you(at most 500 campaigns once). Returns http code 200 if success. - Ad Management [Get Authorized Ad List](https://apidoc.mediago.io/346347752e0.md): Get a list of ad that you have authority to get data or manage. Returns an array of ad_id and ad_name in the response body if success with http code 200. - Ad Management [Batch Active/Pause Ads](https://apidoc.mediago.io/346347757e0.md): Active/Pause a list of ad own to you. Returns http code 200 if success. - Sites Block Management [Get Account Block List](https://apidoc.mediago.io/346411784e0.md): 🔴 **Tips:** Due to historical logic on the platform, some sites that were blocked a long time ago may display site=0. This is a normal situation. If you need to unblock such sites, you need to return site id : 0 and the corresponding site name. - Sites Block Management [Block/Unblock Sites at Account ](https://apidoc.mediago.io/346411785e0.md): Block/Unblock Account - Sites Block Management [Get Campaign Block List](https://apidoc.mediago.io/346411786e0.md): 🔴 **Tips:** Due to historical logic on the platform, some sites that were blocked a long time ago may display site=0. This is a normal situation. If you need to unblock such sites, you need to return site id : 0 and the corresponding site name. - Sites Block Management [Block/Unblock Sites at Campaign](https://apidoc.mediago.io/346411787e0.md): Block/Unblock Campaign - Report APIs [Get Daily Summary Data of All Campaign](https://apidoc.mediago.io/354679108e0.md): Get daily summary performance data of all of your campaign. - Report APIs [Get Daily Report in Campaign Dimension](https://apidoc.mediago.io/354679109e0.md): Get Daily Report of every campaign - Report APIs [Get Daily Report in Ad Dimension](https://apidoc.mediago.io/354679110e0.md): Get daily report in ad Dimension. - Report APIs [Get Hourly Realtime Data in Campaign or Ad Dimension](https://apidoc.mediago.io/354679111e0.md): Get hourly Realtime data in campaign or ad Dimension - Report APIs [Get Account Daily Report in Site Dimension](https://apidoc.mediago.io/354679107e0.md): Get daily report in site Dimension. - Report APIs [Get Daily Report in Site Dimension](https://apidoc.mediago.io/346347759e0.md): Get daily report in site Dimension. Tips: The API only returns sites that have incurred costs within the queried time interval.