Facebook · Schema

AdSetRequest

Request to create an ad set.

Fortune 500AdvertisingContent PublishingMessagingSocial MediaSocial Networking

Properties

Name Type Description
name string Ad set name.
campaign_id string Parent campaign ID.
daily_budget string Daily budget in cents.
targeting object Targeting specification.
status string Initial ad set status.
View JSON Schema on GitHub

JSON Schema

facebook-adsetrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AdSetRequest",
  "title": "AdSetRequest",
  "type": "object",
  "description": "Request to create an ad set.",
  "properties": {
    "name": {
      "type": "string",
      "description": "Ad set name."
    },
    "campaign_id": {
      "type": "string",
      "description": "Parent campaign ID."
    },
    "daily_budget": {
      "type": "string",
      "description": "Daily budget in cents."
    },
    "targeting": {
      "type": "object",
      "description": "Targeting specification."
    },
    "status": {
      "type": "string",
      "description": "Initial ad set status."
    }
  },
  "required": [
    "name",
    "campaign_id",
    "targeting"
  ]
}