소재
소재 조회 (광고주는 본인 소재만)
GET
/
api
/
manager
/
creatives
/
{crid}
소재 조회 (광고주는 본인 소재만)
curl --request GET \
--url https://your_a2_service/api/manager/creatives/{crid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/creatives/{crid}"
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/creatives/{crid}', 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/creatives/{crid}",
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/creatives/{crid}"
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/creatives/{crid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/creatives/{crid}")
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{
"created_at": "2023-11-07T05:31:56Z",
"height": 1,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "banner",
"updated_at": "2023-11-07T05:31:56Z",
"width": 1,
"advertiser_domain": "<string>",
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_name": "<string>",
"banner": {
"ext": {
"alt": "<string>",
"impression_tracking_url": "<string>",
"show_ad_badge": true
},
"img": "<string>",
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"description": "<string>",
"end_date": "2023-11-07T05:31:56Z",
"ext": {},
"lica_count": 0,
"native": {
"asset": [
{
"data": {
"value": "<string>",
"ext": null,
"len": 123,
"type": 1
},
"ext": null,
"id": 123,
"image": {
"url": "<string>",
"ext": null,
"h": 1,
"type": 1,
"w": 1
},
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
},
"req": 0,
"title": {
"text": "<string>",
"ext": null,
"len": 1
},
"video": {
"adm": "<string>",
"curl": "<string>",
"ext": null
}
}
],
"ext": null,
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"native_form": {
"fields": {},
"format_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ext": {
"impression_tracking_url": "<string>",
"metadata": "<string>",
"show_ad_badge": true
},
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"no": 123,
"start_date": "2023-11-07T05:31:56Z",
"status": "inactive",
"video": {
"adm": "<string>",
"api": [
32767
],
"ctype": 32767,
"curl": "<string>",
"dur": 1,
"ext": null,
"mime": [
"<string>"
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}인증
Bearer 인증. 액세스 토큰을 Authorization: Bearer <token> 헤더로 전달합니다.
경로 매개변수
응답
성공 응답
소재 높이 (픽셀).
필수 범위:
x >= 0소재 고유 식별자 (UUID v7).
소재 이름.
소재를 생성한 관리자/운영자 사용자 ID.
소재 유형 (예: "banner", "video", "native").
사용 가능한 옵션:
banner, video, native 소재 너비 (픽셀).
필수 범위:
x >= 0이 소재를 사용하는 광고주 도메인.
이 소재를 사용하는 광고주 ID.
읽기/응답용 DTO — 저장된 AdCOM Banner를 그대로 노출. 검증 없음.
Show child attributes
Show child attributes
소재의 선택적 설명.
소재 확장 데이터
네이티브 소재 콘텐츠.
Show child attributes
Show child attributes
읽기/응답용 DTO — 저장된 AdCOM Native의 역변환 결과. 검증 없음.
Show child attributes
Show child attributes
소재 상태.
사용 가능한 옵션:
inactive, active Show child attributes
Show child attributes
이 페이지가 도움이 되었나요?
⌘I
소재 조회 (광고주는 본인 소재만)
curl --request GET \
--url https://your_a2_service/api/manager/creatives/{crid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/creatives/{crid}"
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/creatives/{crid}', 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/creatives/{crid}",
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/creatives/{crid}"
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/creatives/{crid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/creatives/{crid}")
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{
"created_at": "2023-11-07T05:31:56Z",
"height": 1,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "banner",
"updated_at": "2023-11-07T05:31:56Z",
"width": 1,
"advertiser_domain": "<string>",
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_name": "<string>",
"banner": {
"ext": {
"alt": "<string>",
"impression_tracking_url": "<string>",
"show_ad_badge": true
},
"img": "<string>",
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"description": "<string>",
"end_date": "2023-11-07T05:31:56Z",
"ext": {},
"lica_count": 0,
"native": {
"asset": [
{
"data": {
"value": "<string>",
"ext": null,
"len": 123,
"type": 1
},
"ext": null,
"id": 123,
"image": {
"url": "<string>",
"ext": null,
"h": 1,
"type": 1,
"w": 1
},
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
},
"req": 0,
"title": {
"text": "<string>",
"ext": null,
"len": 1
},
"video": {
"adm": "<string>",
"curl": "<string>",
"ext": null
}
}
],
"ext": null,
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"native_form": {
"fields": {},
"format_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ext": {
"impression_tracking_url": "<string>",
"metadata": "<string>",
"show_ad_badge": true
},
"link": {
"url": "<string>",
"ext": null,
"trkr": [
"<string>"
],
"urlfb": "<string>"
}
},
"no": 123,
"start_date": "2023-11-07T05:31:56Z",
"status": "inactive",
"video": {
"adm": "<string>",
"api": [
32767
],
"ctype": 32767,
"curl": "<string>",
"dur": 1,
"ext": null,
"mime": [
"<string>"
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}