Unified.to · Schema

AdsPromoted

Promoted entity (e.g. page, app, product, tweet) for ads create

IntegrationsUnified API

Properties

Name Type Description
id string
name string
raw object
type string
View JSON Schema on GitHub

JSON Schema

unified-to-adspromoted-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AdsPromoted",
  "title": "AdsPromoted",
  "description": "Promoted entity (e.g. page, app, product, tweet) for ads create",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "type": {
      "enum": [
        "PAGE_ID",
        "APP_ID",
        "STORE_URL",
        "PIXEL_ID",
        "CUSTOM_CONVERSION_ID",
        "CATALOG_ID",
        "PRODUCT_SET_ID",
        "PRIORITIZED_SET_ID",
        "EVENT_ID",
        "OFFER_ID",
        "LEAD_FORM_ID",
        "MESSAGING_CHANNEL_ID",
        "PRODUCT_ID",
        "TWEET_ID",
        "AD_GROUP_TYPE"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    }
  },
  "required": [
    "id",
    "type"
  ],
  "type": "object"
}