Make

facebookUpload__request

[DANGER: live action] Enqueue an upload of an AdMakeAI-generated ad creative to a Meta ad account / campaign / ad set. Creates a real ad on Meta. ALWAYS confirm with the user before calling. Always confirm with the user before calling.

Remote mesmerpercy/admakeai

Remote (network-hosted)

Other tools also called facebookUpload__request? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "copy": {
      "type": "object",
      "required": [
        "primaryText",
        "callToAction"
      ],
      "properties": {
        "headline": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "primaryText": {
          "type": "string",
          "minLength": 1
        },
        "callToAction": {
          "type": "string",
          "minLength": 1
        }
      }
    },
    "targetPageId": {
      "type": "string",
      "minLength": 1
    },
    "targetAdSetId": {
      "type": "string",
      "minLength": 1
    },
    "adGenerationId": {
      "type": "string",
      "minLength": 1
    },
    "destinationUrl": {
      "type": "string",
      "format": "uri"
    },
    "templateOverrides": {
      "type": "object",
      "properties": {
        "ad": {
          "type": "object",
          "properties": {
            "pageId": {
              "type": "string"
            },
            "callToAction": {
              "type": "object",
              "required": [
                "type",
                "value"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "object",
                  "required": [
                    "link"
                  ],
                  "properties": {
                    "link": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "urlTagsTemplate": {
              "type": "string"
            },
            "instagramActorId": {
              "type": "string"
            }
          }
        },
        "adSet": {
          "type": "object",
          "properties": {
            "schedule": {
              "type": "object",
              "properties": {
                "endTime": {
                  "type": "string"
                },
                "startTime": {
                  "type": "string"
                },
                "daypartingHours": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "days",
                      "startMinute",
                      "endMinute"
                    ],
                    "properties": {
                      "days": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "maximum": 6,
                          "minimum": 0
                        }
                      },
                      "endMinute": {
                        "type": "integer",
                        "maximum": 1440,
                        "minimum": 0
                      },
                      "startMinute": {
                        "type": "integer",
                        "maximum": 1440,
                        "minimum": 0
                      }
                    }
                  }
                }
              }
            },
            "targeting": {
              "type": "object",
              "properties": {
                "ageMax": {
                  "type": "integer",
                  "maximum": 65,
                  "minimum": 13
                },
                "ageMin": {
                  "type": "integer",
                  "maximum": 65,
                  "minimum": 13
                },
                "genders": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  }
                },
                "locales": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  }
                },
                "exclusions": {},
                "flexibleSpec": {
                  "type": "array",
                  "items": {}
                },
                "geoLocations": {
                  "type": "object",
                  "properties": {
                    "zips": {
                      "type": "array",
                      "items": {}
                    },
                    "cities": {
                      "type": "array",
                      "items": {}
                    },
                    "regions": {
                      "type": "array",
                      "items": {}
                    },
                    "countries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "customAudiences": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    }
                  }
                },
                "devicePlatforms": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "facebookPositions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "instagramPositions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "messengerPositions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "publisherPlatforms": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "excludedGeoLocations": {},
                "excludedCustomAudiences": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      }
                    }
                  }
                },
                "audienceNetworkPositions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "billingEvent": {
              "type": "string"
            },
            "bidAmountCents": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "bidConstraints": {
              "type": "object",
              "properties": {
                "roasAverageFloor": {
                  "type": "number"
                }
              }
            },
            "promotedObject": {
              "type": "object",
              "properties": {
                "pageId": {
                  "type": "string"
                },
                "pixelId": {
                  "type": "string"
                },
                "applicationId": {
                  "type": "string"
                },
                "customEventType": {
                  "type": "string"
                }
              }
            },
            "attributionSpec": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "eventType",
                  "windowDays"
                ],
                "properties": {
                  "eventType": {
                    "enum": [
                      "CLICK_THROUGH",
                      "VIEW_THROUGH"
                    ],
                    "type": "string"
                  },
                  "windowDays": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 1
                      },
                      {
                        "type": "number",
                        "const": 7
                      }
                    ]
                  }
                }
              }
            },
            "destinationType": {
              "type": "string"
            },
            "frequencyControl": {
              "type": "object",
              "required": [
                "event",
                "intervalDays",
                "maxFrequency"
              ],
              "properties": {
                "event": {
                  "type": "string",
                  "const": "IMPRESSIONS"
                },
                "intervalDays": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxFrequency": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                }
              }
            },
            "optimizationGoal": {
              "type": "string"
            }
          }
        },
        "account": {
          "type": "object",
          "properties": {
            "defaultCurrency": {
              "type": "string"
            },
            "defaultTimezoneId": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": -9007199254740991
            }
          }
        },
        "campaign": {
          "type": "object",
          "properties": {
            "objective": {
              "enum": [
                "OUTCOME_AWARENESS",
                "OUTCOME_TRAFFIC",
                "OUTCOME_ENGAGEMENT",
                "OUTCOME_LEADS",
                "OUTCOME_APP_PROMOTION",
                "OUTCOME_SALES"
              ],
              "type": "string"
            },
            "buyingType": {
              "enum": [
                "AUCTION",
                "RESERVED"
              ],
              "type": "string"
            },
            "bidStrategy": {
              "enum": [
                "LOWEST_COST_WITHOUT_CAP",
                "LOWEST_COST_WITH_BID_CAP",
                "COST_CAP",
                "LOWEST_COST_WITH_MIN_ROAS"
              ],
              "type": "string"
            },
            "spendCapCents": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "dailyBudgetCents": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "lifetimeBudgetCents": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "specialAdCategories": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "campaignOptimizationType": {
              "enum": [
                "NONE",
                "ICO_ONLY"
              ],
              "type": "string"
            },
            "specialAdCategoryCountry": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "advantageDisables": {
          "type": "object",
          "properties": {
            "audience": {
              "type": "boolean"
            },
            "placements": {
              "type": "boolean"
            },
            "creativeMusic": {
              "type": "boolean"
            },
            "campaignBudget": {
              "type": "boolean"
            },
            "multiAdvertiser": {
              "type": "boolean"
            },
            "detailedTargeting": {
              "type": "boolean"
            },
            "lookalikeExpansion": {
              "type": "boolean"
            },
            "creativeImageUncrop": {
              "type": "boolean"
            },
            "creativeTextGeneration": {
              "type": "boolean"
            },
            "creativeStandardEnhancements": {
              "type": "boolean"
            }
          }
        },
        "preflightOverrides": {
          "type": "object",
          "properties": {
            "declareAsAiGenerated": {
              "type": "boolean"
            },
            "skipPersonalAttributesCheck": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "targetInstagramActorId": {
      "type": "string",
      "minLength": 1
    },
    "confirmedReadinessDismissals": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
          

Provider

Make →