AdSet

AdvertisingAnalyticsBusiness ManagementMarketingSocial-MediaMessagingCommerceAgentsMCPWebhook

Properties

Name Type Description
id string The ID of the ad set
name string The name of the ad set
campaign_id string The ID of the parent campaign
status string
effective_status string Effective status considering parent statuses
daily_budget string Daily budget in smallest currency unit
lifetime_budget string Lifetime budget in smallest currency unit
optimization_goal string The optimization goal for ad delivery
billing_event string The event used for billing
bid_amount integer Bid amount in smallest currency unit
bid_strategy string Bidding strategy for the ad set
targeting object Targeting specification for the ad set
start_time string
end_time string
created_time string
updated_time string
View JSON Schema on GitHub

JSON Schema

facebook-business-manager-adset-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AdSet",
  "title": "AdSet",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the ad set"
    },
    "name": {
      "type": "string",
      "description": "The name of the ad set"
    },
    "campaign_id": {
      "type": "string",
      "description": "The ID of the parent campaign"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "PAUSED",
        "DELETED",
        "ARCHIVED"
      ]
    },
    "effective_status": {
      "type": "string",
      "description": "Effective status considering parent statuses"
    },
    "daily_budget": {
      "type": "string",
      "description": "Daily budget in smallest currency unit"
    },
    "lifetime_budget": {
      "type": "string",
      "description": "Lifetime budget in smallest currency unit"
    },
    "optimization_goal": {
      "type": "string",
      "description": "The optimization goal for ad delivery",
      "enum": [
        "LINK_CLICKS",
        "IMPRESSIONS",
        "REACH",
        "LANDING_PAGE_VIEWS",
        "OFFSITE_CONVERSIONS",
        "LEAD_GENERATION",
        "APP_INSTALLS",
        "VALUE"
      ]
    },
    "billing_event": {
      "type": "string",
      "description": "The event used for billing",
      "enum": [
        "IMPRESSIONS",
        "LINK_CLICKS"
      ]
    },
    "bid_amount": {
      "type": "integer",
      "description": "Bid amount in smallest currency unit"
    },
    "bid_strategy": {
      "type": "string",
      "description": "Bidding strategy for the ad set",
      "enum": [
        "LOWEST_COST_WITHOUT_CAP",
        "LOWEST_COST_WITH_BID_CAP",
        "COST_CAP"
      ]
    },
    "targeting": {
      "type": "object",
      "description": "Targeting specification for the ad set",
      "properties": {
        "age_min": {
          "type": "integer",
          "minimum": 18
        },
        "age_max": {
          "type": "integer",
          "maximum": 65
        },
        "genders": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "geo_locations": {
          "type": "object",
          "properties": {
            "countries": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "interests": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "start_time": {
      "type": "string",
      "format": "date-time"
    },
    "end_time": {
      "type": "string",
      "format": "date-time"
    },
    "created_time": {
      "type": "string",
      "format": "date-time"
    },
    "updated_time": {
      "type": "string",
      "format": "date-time"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/facebook-business-manager-adset"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.