Ads · Ad Accounts

Read an ad account's campaigns and ad sets live

Reads an ad account's campaigns and ad sets live. Works with Meta Ads and TikTok Ads.

GEThttps://api.pozy.ai/v1/ads/accounts/live
Facebook and Instagram and TikTokgetAdAccountLiveEntities

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the ads resource group disabled get 403 resource_group_disabled. Authentication

Query parameters

NameTypeNotes
accountIdrequiredstring
adAccountIdrequiredstring
statusstring
levelstringOne of campaign, adSet
limitintegerDefault 2001 to 500
afterstring

Example

curl -X GET "https://api.pozy.ai/v1/ads/accounts/live?accountId=696e0b682d0a31188e7a2ba9&adAccountId=666219aad7bab67ace411e4f&limit=200" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • accountIdstring
  • adAccountIdstring
  • platformstring

    One of facebook, tiktok.

  • currencystring
  • readAtstring (date-time)
  • campaignsarray of object
    12 child fields
    • platformCampaignIdstring
    • campaignNamestring

      Can be null.

    • platformCampaignStatusstring

      Can be null.

    • configuredStatusstring

      Can be null.

    • statusstring
    • budgetobject

      Can be null.

      2 child fields
      • amountnumber
      • typestring

        One of daily, lifetime.

    • dailyBudgetnumber

      Can be null.

    • lifetimeBudgetnumber

      Can be null.

    • budgetModestring

      Can be null.

    • budgetRemainingnumber

      Can be null.

    • spendCapnumber

      Can be null.

    • bidStrategystring

      Can be null.

  • adSetsarray of object
    19 child fields
    • platformAdSetIdstring
    • adSetNamestring

      Can be null.

    • platformCampaignIdstring

      Can be null.

    • platformAdSetStatusstring

      Can be null.

    • configuredStatusstring

      Can be null.

    • statusstring
    • budgetobject

      Can be null.

      2 child fields
      • amountnumber
      • typestring

        One of daily, lifetime.

    • dailyBudgetnumber

      Can be null.

    • lifetimeBudgetnumber

      Can be null.

    • budgetModestring

      Can be null.

    • budgetRemainingnumber

      Can be null.

    • bidStrategystring

      Can be null.

    • bidAmountnumber

      Can be null.

    • optimizationGoalstring

      Can be null.

    • billingEventstring

      Can be null.

    • promotedObjectobject

      Can be null.

    • targetingobject

      Can be null.

    • scheduleobject

      Can be null.

      2 child fields
      • startDatestring (date-time)
      • endDatestring (date-time)
    • adSchedulearray of object

      One of:

      Meta Ad Schedule (4 fields)
      • dayOfWeekstringrequired

        One of MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.

      • startHourintegerrequired

        0 to 23.

      • endHourintegerrequired

        1 to 24.

      • timezoneTypestring

        One of USER, ADVERTISER. Default USER.

  • pagingobject
    • campaignsobject
      1 child field
      • afterstring

        Can be null.

    • adSetsobject
      1 child field
      • afterstring

        Can be null.

200 response
{
  "accountId": "696e0b682d0a31188e7a2ba9",
  "adAccountId": "666219aad7bab67ace411e4f",
  "platform": "facebook",
  "currency": "USD",
  "readAt": "2026-10-02T09:00:00.000Z",
  "campaigns": [
    {
      "platformCampaignId": "68f1e8569b986839e821d8ba",
      "campaignName": "Acme",
      "platformCampaignStatus": "instagram",
      "configuredStatus": "active",
      "status": "active",
      "budget": {
        "amount": 12.5,
        "type": "daily"
      },
      "dailyBudget": 12.5,
      "lifetimeBudget": 12.5,
      "budgetMode": "string",
      "budgetRemaining": 12.5,
      "spendCap": 12.5,
      "bidStrategy": "string"
    }
  ],
  "adSets": [
    {
      "platformAdSetId": "6749c05fd96acf71ce38cbc7",
      "adSetName": "Acme",
      "platformCampaignId": "68f1e8569b986839e821d8ba",
      "platformAdSetStatus": "instagram",
      "configuredStatus": "active",
      "status": "active",
      "budget": {
        "amount": 12.5,
        "type": "daily"
      },
      "dailyBudget": 12.5,
      "lifetimeBudget": 12.5,
      "budgetMode": "string",
      "budgetRemaining": 12.5,
      "bidStrategy": "string",
      "bidAmount": 12.5,
      "optimizationGoal": "string",
      "billingEvent": "string",
      "promotedObject": {},
      "targeting": {},
      "schedule": {
        "startDate": "2026-10-02T09:00:00.000Z",
        "endDate": "2026-10-02T09:00:00.000Z"
      },
      "adSchedule": [
        {
          "dayOfWeek": "MONDAY",
          "startHour": 1,
          "endHour": 1,
          "timezoneType": "USER"
        }
      ]
    }
  ],
  "paging": {
    "campaigns": {
      "after": "string"
    },
    "adSets": {
      "after": "string"
    }
  }
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Ad Accounts

GETList comments on an adPOSTReply to an ad commentPOSTHide or unhide an ad commentDELDelete an ad commentGETList TikTok Business CentersGETAd account change / audit logGETA/B tests and lift studiesGETList Instagram ad identitiesGETList Instagram posts to boostGETList advertisable appsGETGet iOS 14 campaign limitsGETBusinesses listGETBusiness usersGETPage users of a businessPOSTAssign a user to a PageDELRemove a user from a PageGETList ad labelsPOSTCreate a Google Ads labelPATCHUpdate a Google Ads labelDELRemove a Google Ads labelPOSTAttach a Google Ads labelDELDetach a Google Ads labelGETList high-demand periodsPOSTSchedule a budget increaseGETList value rule setsPOSTCreate a value rule setGETRead a value rule setPUTReplace a value rule setDELDelete a value rule setGETList negative keyword listsPOSTCreate a negative keyword listGETGet a negative keyword listPUTRename a negative keyword listDELDelete a negative keyword listPUTReplace negative list keywordsGETList account calloutsPOSTAdd account calloutsPUTUpdate account calloutsDELRemove account calloutGETList account sitelinksPOSTAdd account sitelinksPUTUpdate account sitelinksDELRemove account sitelinkGETList account snippetsPOSTAdd account snippetsPUTUpdate account snippetsDELRemove account snippetGETGet manager account hierarchyPOSTInvite a client account to a managerPATCHAccept, decline, cancel or end a manager linkGETGet ad account billingPOSTSet up ad account billing (monthly invoicing)GETList user access invitationsPOSTInvite a user to an ad account by emailDELRevoke a user access invitationGETList invitations awaiting multi-party approvalDELWithdraw an invitation awaiting multi-party approvalGETAd account usersPOSTAssign a user to an ad accountDELRemove a user from an ad accountGETAd account financesGETCheck an ad account before creating adsGETList ad accountsPOSTCreate ad accountPATCHUpdate ad account settingsGETGet ad account DSA defaultsGETGet DSA recommendationsGETList custom conversionsPOSTCreate custom conversionGETList TikTok ad pixels