System
Get Settings
현재 시스템 설정을 조회합니다.
GET
/
settings
Get Settings
curl --request GET \
--url https://your_a2_service/settingsimport requests
url = "https://your_a2_service/settings"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://your_a2_service/settings', 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/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/settings"
req, _ := http.NewRequest("GET", url, nil)
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/settings")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"access_token": {
"access_token": "<string>",
"token_type": "Bearer"
},
"currency": "usd",
"external_channel_url": "<string>",
"language": "en",
"tls_domain": "<string>",
"tls_enable": true,
"yield_optimization": {
"ceiling_cpm": 123,
"floor_cpm": 123,
"yield_roas_balance": 0.5
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}응답
200 - application/json
Successful Response
설정 스키마
액세스 토큰 정보
Show child attributes
Show child attributes
시스템에서 사용하는 통화 코드입니다. 예산 관리에 사용됩니다.
예시:
"usd"
"krw"
예산 관리에 사용될 외부 채널 URL
언어 코드
예시:
"en"
"ko"
TLS 도메인 이름
TLS 사용 여부
수익 최적화 설정
Show child attributes
Show child attributes
생성 일시
변경 일시
이 페이지가 도움이 되었나요?
⌘I
Get Settings
curl --request GET \
--url https://your_a2_service/settingsimport requests
url = "https://your_a2_service/settings"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://your_a2_service/settings', 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/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/settings"
req, _ := http.NewRequest("GET", url, nil)
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/settings")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"access_token": {
"access_token": "<string>",
"token_type": "Bearer"
},
"currency": "usd",
"external_channel_url": "<string>",
"language": "en",
"tls_domain": "<string>",
"tls_enable": true,
"yield_optimization": {
"ceiling_cpm": 123,
"floor_cpm": 123,
"yield_roas_balance": 0.5
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}