Make

facebookCampaignDraft__pushDraftCampaign

[DANGER: live action] Create Meta draft campaigns/ad sets/ads from explicit campaign data, ad sets, ad copy, and image URLs. Supports raw externally-hosted image URLs. ALWAYS confirm with the user before calling. Always confirm with the user before calling.

Remote mesmerpercy/admakeai

Remote (network-hosted)

Other tools also called facebookCampaignDraft__pushDraftCampaign? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "adSets": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "ads"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "ads": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "headlines",
                "primaryTexts",
                "linkUrl",
                "callToAction",
                "imageUrls"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "name": {
                  "type": "string",
                  "maxLength": 255
                },
                "linkUrl": {
                  "type": "string",
                  "format": "uri"
                },
                "headlines": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  "maxItems": 5,
                  "minItems": 1
                },
                "imageUrls": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uri"
                  },
                  "maxItems": 10,
                  "minItems": 1
                },
                "callToAction": {
                  "enum": [
                    "LEARN_MORE",
                    "SHOP_NOW",
                    "SIGN_UP",
                    "BOOK_TRAVEL",
                    "CONTACT_US",
                    "DOWNLOAD",
                    "GET_OFFER",
                    "GET_QUOTE",
                    "SUBSCRIBE",
                    "WATCH_MORE",
                    "REGISTER",
                    "JOIN",
                    "ATTEND",
                    "REQUEST_DEMO",
                    "VIEW_QUOTE",
                    "APPLY",
                    "SEE_MORE",
                    "BUY_NOW"
                  ],
                  "type": "string"
                },
                "descriptions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  "maxItems": 5
                },
                "primaryTexts": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 1
                  },
                  "maxItems": 5,
                  "minItems": 1
                }
              }
            },
            "maxItems": 50,
            "minItems": 1
          },
          "goal": {
            "enum": [
              "engagement",
              "traffic",
              "awareness",
              "video_views",
              "lead_generation",
              "conversions",
              "app_promotion"
            ],
            "type": "string"
          },
          "name": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1
          },
          "ageMax": {
            "type": "integer",
            "maximum": 65,
            "minimum": 13
          },
          "ageMin": {
            "type": "integer",
            "maximum": 65,
            "minimum": 13
          },
          "cities": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            "maxItems": 50
          },
          "gender": {
            "enum": [
              "all",
              "male",
              "female"
            ],
            "type": "string"
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            "maxItems": 50
          },
          "dsaPayor": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "bidAmount": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "maxItems": 25
          },
          "interests": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "name"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "maxItems": 50
          },
          "audienceId": {
            "type": "string",
            "minLength": 1
          },
          "budgetType": {
            "enum": [
              "daily",
              "lifetime"
            ],
            "type": "string"
          },
          "bidStrategy": {
            "type": "string",
            "minLength": 1
          },
          "budgetAmount": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "dsaBeneficiary": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "promotedObject": {
            "type": "object",
            "properties": {
              "pageId": {
                "type": "string",
                "minLength": 1
              },
              "pixelId": {
                "type": "string",
                "minLength": 1
              },
              "productSetId": {
                "type": "string",
                "minLength": 1
              },
              "applicationId": {
                "type": "string",
                "minLength": 1
              },
              "objectStoreUrl": {
                "type": "string",
                "format": "uri"
              },
              "customEventType": {
                "type": "string",
                "minLength": 1
              },
              "productCatalogId": {
                "type": "string",
                "minLength": 1
              },
              "customConversionId": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "attributionSpec": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "eventType",
                "windowDays"
              ],
              "properties": {
                "eventType": {
                  "type": "string",
                  "minLength": 1
                },
                "windowDays": {
                  "type": "integer",
                  "maximum": 28,
                  "minimum": 1
                }
              }
            },
            "maxItems": 3,
            "minItems": 1
          },
          "roasAverageFloor": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "advantageAudience": {
            "anyOf": [
              {
                "type": "number",
                "const": 0
              },
              {
                "type": "number",
                "const": 1
              }
            ]
          }
        }
      },
      "maxItems": 50,
      "minItems": 1
    },
    "pageId": {
      "type": "string",
      "minLength": 1
    },
    "campaign": {
      "type": "object",
      "required": [
        "name",
        "goal"
      ],
      "properties": {
        "goal": {
          "enum": [
            "engagement",
            "traffic",
            "awareness",
            "video_views",
            "lead_generation",
            "conversions",
            "app_promotion"
          ],
          "type": "string"
        },
        "name": {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        "ageMax": {
          "type": "integer",
          "maximum": 65,
          "minimum": 13
        },
        "ageMin": {
          "type": "integer",
          "maximum": 65,
          "minimum": 13
        },
        "cities": {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "maxItems": 50
        },
        "gender": {
          "enum": [
            "all",
            "male",
            "female"
          ],
          "type": "string"
        },
        "endDate": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "maxItems": 50
        },
        "currency": {
          "type": "string",
          "maxLength": 8,
          "minLength": 3
        },
        "dsaPayor": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "bidAmount": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "countries": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[A-Z]{2}$"
          },
          "maxItems": 25
        },
        "interests": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "name"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "maxItems": 50
        },
        "audienceId": {
          "type": "string",
          "minLength": 1
        },
        "budgetType": {
          "enum": [
            "daily",
            "lifetime"
          ],
          "type": "string"
        },
        "bidStrategy": {
          "type": "string",
          "minLength": 1
        },
        "budgetAmount": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "dsaBeneficiary": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "promotedObject": {
          "type": "object",
          "properties": {
            "pageId": {
              "type": "string",
              "minLength": 1
            },
            "pixelId": {
              "type": "string",
              "minLength": 1
            },
            "productSetId": {
              "type": "string",
              "minLength": 1
            },
            "applicationId": {
              "type": "string",
              "minLength": 1
            },
            "objectStoreUrl": {
              "type": "string",
              "format": "uri"
            },
            "customEventType": {
              "type": "string",
              "minLength": 1
            },
            "productCatalogId": {
              "type": "string",
              "minLength": 1
            },
            "customConversionId": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "attributionSpec": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "eventType",
              "windowDays"
            ],
            "properties": {
              "eventType": {
                "type": "string",
                "minLength": 1
              },
              "windowDays": {
                "type": "integer",
                "maximum": 28,
                "minimum": 1
              }
            }
          },
          "maxItems": 3,
          "minItems": 1
        },
        "roasAverageFloor": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "advantageAudience": {
          "anyOf": [
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            }
          ]
        }
      }
    },
    "adAccountId": {
      "type": "string",
      "minLength": 1
    },
    "connectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
          

Provider

Make →