curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/ads?adId=c3a1e2d4-0000-4000-8000-0000000000ad"
{
"status": "success",
"ads": [
{
"postId": "DE6gpw8kxlonHy6eb7L1",
"ad": {
"adId": "c3a1e2d4-0000-4000-8000-0000000000ad",
"campaignId": "d4c3b2a1-0000-4000-8000-0000000000ca",
"adSquadId": "e5f6a7b8-0000-4000-8000-0000000000sq",
"platform": "snapchat",
"adStatus": "ACTIVE",
"creativeId": "a1b2c3d4-0000-4000-8000-0000000000cr",
"created": "2026-11-20T15:04:05.123Z",
"review": { "status": "APPROVED", "reasons": [] },
"snapchatSnapId": "6f1c2d3e-0000-4000-8000-00000000000a",
"socialPostId": "6f1c2d3e-0000-4000-8000-00000000000a"
}
}
],
"count": 1,
"lastUpdated": "2026-11-21T09:30:00.000Z",
"nextUpdate": "2026-11-21T09:41:00.000Z"
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "At least one of campaignId, accountId, adId, postId, or snapchatSnapId is required."
}
{
"action": "ads",
"status": "error",
"code": 400,
"message": "The ad is not found or not authorized."
}
Snapchat Ads
ブーストされた広告
Ayrshare でブーストした Snapchat 広告を広告、投稿、Snap、キャンペーン、広告アカウント別にステータスと審査付きで取得します。
GET
/
ads
/
snapchat
/
ads
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/ads?adId=c3a1e2d4-0000-4000-8000-0000000000ad"
{
"status": "success",
"ads": [
{
"postId": "DE6gpw8kxlonHy6eb7L1",
"ad": {
"adId": "c3a1e2d4-0000-4000-8000-0000000000ad",
"campaignId": "d4c3b2a1-0000-4000-8000-0000000000ca",
"adSquadId": "e5f6a7b8-0000-4000-8000-0000000000sq",
"platform": "snapchat",
"adStatus": "ACTIVE",
"creativeId": "a1b2c3d4-0000-4000-8000-0000000000cr",
"created": "2026-11-20T15:04:05.123Z",
"review": { "status": "APPROVED", "reasons": [] },
"snapchatSnapId": "6f1c2d3e-0000-4000-8000-00000000000a",
"socialPostId": "6f1c2d3e-0000-4000-8000-00000000000a"
}
}
],
"count": 1,
"lastUpdated": "2026-11-21T09:30:00.000Z",
"nextUpdate": "2026-11-21T09:41:00.000Z"
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "At least one of campaignId, accountId, adId, postId, or snapchatSnapId is required."
}
{
"action": "ads",
"status": "error",
"code": 400,
"message": "The ad is not found or not authorized."
}
投稿をブーストで作成した Snapchat 広告を、各広告のステータスと Snapchat の審査とともに取得します。
postId、socialPostId、adId、accountId、campaignIdのいずれか 1 つを送ってください。複数送った場合は、この順で最初のものが使われます。- このプロフィールのために Ayrshare でブーストした広告のみが一覧に含まれます。Snapchat Ads Manager で作成した広告は除外されます。
reviewは Snapchat による広告の審査です: Snapchat が報告するstatus(たとえば審査中はPENDING、承認後はAPPROVED) と、Snapchat の説明を含むreasons。Snapchat が審査を報告しない場合、reviewはnullです。- 各広告には
adSquadIdが含まれます: Snapchat では、予算とターゲティングは ad squad に設定されます。 - このエンドポイントは費用や成果を返しません。リアルタイムの数値には インサイト、日別の費用には 履歴を使用してください。
- 広告を一時停止または再開するには、広告を更新を使用します。
ヘッダーパラメータ
クエリパラメータ
ブーストした Ayrshare の投稿 ID。その投稿からブーストした広告を返します。
ブーストした Snap の ID: 投稿の Snapchat 結果にある
mediaId。その Snap からブーストした広告を返します。snapchatSnapId も同じパラメータとして受け付けます。Snapchat 広告 ID。投稿をブーストが返した
id です。このステータスの広告のみを返します:
active または paused。すべてのステータスを取得するには省略します。adId、postId、socialPostId を使う場合、ステータスが一致しない広告が返ることもあるため、adStatus を確認してください。curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/ads?adId=c3a1e2d4-0000-4000-8000-0000000000ad"
{
"status": "success",
"ads": [
{
"postId": "DE6gpw8kxlonHy6eb7L1",
"ad": {
"adId": "c3a1e2d4-0000-4000-8000-0000000000ad",
"campaignId": "d4c3b2a1-0000-4000-8000-0000000000ca",
"adSquadId": "e5f6a7b8-0000-4000-8000-0000000000sq",
"platform": "snapchat",
"adStatus": "ACTIVE",
"creativeId": "a1b2c3d4-0000-4000-8000-0000000000cr",
"created": "2026-11-20T15:04:05.123Z",
"review": { "status": "APPROVED", "reasons": [] },
"snapchatSnapId": "6f1c2d3e-0000-4000-8000-00000000000a",
"socialPostId": "6f1c2d3e-0000-4000-8000-00000000000a"
}
}
],
"count": 1,
"lastUpdated": "2026-11-21T09:30:00.000Z",
"nextUpdate": "2026-11-21T09:41:00.000Z"
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "At least one of campaignId, accountId, adId, postId, or snapchatSnapId is required."
}
{
"action": "ads",
"status": "error",
"code": 400,
"message": "The ad is not found or not authorized."
}