대시보드
대시보드 인벤토리 요약 조회
대시보드용 인벤토리 요약 데이터를 반환합니다. Admin과 Operator만 접근 가능합니다.
GET
/
api
/
manager
/
dashboard
/
inventory
대시보드 인벤토리 요약 조회
curl --request GET \
--url https://your_a2_service/api/manager/dashboard/inventory \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/dashboard/inventory"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your_a2_service/api/manager/dashboard/inventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your_a2_service/api/manager/dashboard/inventory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your_a2_service/api/manager/dashboard/inventory"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your_a2_service/api/manager/dashboard/inventory")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/dashboard/inventory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"from_date": "2023-11-07T05:31:56Z",
"to_date": "2023-11-07T05:31:56Z",
"decision": [
{
"date": "<unknown>",
"imp": 123
}
],
"house": [
{
"date": "<unknown>",
"imp": 123
}
],
"network": [
{
"date": "<unknown>",
"imp": 123
}
],
"previous": {
"decision": {
"click": 0,
"impression": 0
},
"house": {
"click": 0,
"impression": 0
},
"network": {
"click": 0,
"impression": 0
},
"sponsorship": {
"click": 0,
"impression": 0
},
"standard": {
"click": 0,
"impression": 0
},
"unfilled": {
"unfilled": 0
},
"unknown": {
"click": 0,
"impression": 0
}
},
"sponsorship": [
{
"date": "<unknown>",
"imp": 123
}
],
"standard": [
{
"date": "<unknown>",
"imp": 123
}
],
"unfilled": [
{
"date": "<unknown>",
"unfilled": 123
}
],
"unknown": [
{
"date": "<unknown>",
"imp": 123
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}인증
Bearer 인증. 액세스 토큰을 Authorization: Bearer <token> 헤더로 전달합니다.
쿼리 매개변수
사용 가능한 옵션:
day, week, 30days 응답
성공 응답
Decision 광고 노출 통계.
Show child attributes
Show child attributes
하우스 광고 노출 통계.
Show child attributes
Show child attributes
네트워크(외부) 광고 노출 통계.
Show child attributes
Show child attributes
비교용 이전 기간 지표.
Show child attributes
Show child attributes
스폰서십 광고 노출 통계.
Show child attributes
Show child attributes
스탠다드 광고 노출 통계.
Show child attributes
Show child attributes
미충족 게재 통계.
Show child attributes
Show child attributes
알 수 없는 광고 유형 노출 통계.
Show child attributes
Show child attributes
이 페이지가 도움이 되었나요?
⌘I
대시보드 인벤토리 요약 조회
curl --request GET \
--url https://your_a2_service/api/manager/dashboard/inventory \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/dashboard/inventory"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your_a2_service/api/manager/dashboard/inventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your_a2_service/api/manager/dashboard/inventory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your_a2_service/api/manager/dashboard/inventory"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your_a2_service/api/manager/dashboard/inventory")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/dashboard/inventory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"from_date": "2023-11-07T05:31:56Z",
"to_date": "2023-11-07T05:31:56Z",
"decision": [
{
"date": "<unknown>",
"imp": 123
}
],
"house": [
{
"date": "<unknown>",
"imp": 123
}
],
"network": [
{
"date": "<unknown>",
"imp": 123
}
],
"previous": {
"decision": {
"click": 0,
"impression": 0
},
"house": {
"click": 0,
"impression": 0
},
"network": {
"click": 0,
"impression": 0
},
"sponsorship": {
"click": 0,
"impression": 0
},
"standard": {
"click": 0,
"impression": 0
},
"unfilled": {
"unfilled": 0
},
"unknown": {
"click": 0,
"impression": 0
}
},
"sponsorship": [
{
"date": "<unknown>",
"imp": 123
}
],
"standard": [
{
"date": "<unknown>",
"imp": 123
}
],
"unfilled": [
{
"date": "<unknown>",
"unfilled": 123
}
],
"unknown": [
{
"date": "<unknown>",
"imp": 123
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}