List Snapchat ad accounts in your organization
snapchat-ads.accountsList the Snapchat ad accounts in a business organization
- 가격
- free정가 기준
- 성공률
- —성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
- 지연 시간 p50
- ——
- 마지막 검증
- —아직 검증되지 않음
GEThttps://toolswitch.dev/v1/tools/snapchat-ads.accountsBeta- 플랫폼 할당량 사용
- 동기 응답
- 공개 데이터 읽기
파라미터
returns each ad account's id, name, currency, timezone and funding sources. This is treg's connection resource picker. All ids across this API are UUIDs, not numbers
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 경로 파라미터 | ||||
organization_id | 문자열 | 필수 | UUID from /me/organizations | 8adc3db7-8148-4fbf-999c-8d2266369d74 |
| 쿼리 파라미터 | ||||
limit | 정수 | 선택 | 50 | |
cursor | 문자열 | 선택 | paging.next_link carries the cursor for the next page | |
- 경로 파라미터
organization_id문자열필수UUID from /me/organizations
예시:
8adc3db7-8148-4fbf-999c-8d2266369d74- 쿼리 파라미터
limit정수선택예시:
50cursor문자열선택paging.next_link carries the cursor for the next page
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/snapchat-ads.accounts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/snapchat-ads.accounts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/snapchat-ads.accounts", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 Beta이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.