Generate Banner Ads by API

Automate your banner ad production using automated workflows and generate any kind of banner using an API. Eliminate manual processes, keep human error out of workflows, and generate on-brand videos based on dynamic information.
  • Auto-generate banners by API
  • Create data-driven banners
  • Produce banners at scale

Tutorial: How to Create Banner Ads by API

Here is a brief overview of how video and image banners can be automated using an API. As an example, let us consider the scenario in which we want to auto-generate marketing banners based on dynamic data.

1
Create a banner template

The first step in automating ads is to create a banner template. A template consists of dynamic content, such as text captions, images, and video clips, all of which can be replaced by an automated process.

There are a variety of pre-made banner templates available in Creatomate for customizing, but you can also create your own video template entirely from scratch using the video editor, which allows you to create automated banner ads for virtually any need.

curl -s -X POST https://api.creatomate.com/v1/renders \
  -H 'Authorization: Bearer Your-API-Key' \
  -H 'Content-Type: application/json' \
  --data-binary @- << EOF
{
  "template_id": "Your Banner Template ID",
  "modifications": {
    "Name": "Spring Sale",
    "Discount": "30%",
    "Image 1": "https://example.com/image1.jpg",
    "Image 2": "https://example.com/image2.jpg"
  }
}
EOF

2
Generate banners using the API

Our next step is to generate unique videos (or images) for each banner using the video API. The API can be invoked by any programming language or no-code tool such as Zapier. In this case, we are executing the API using the cURL bash program.

Using our banner template as a base, we simply call the REST API while specifying the template ID and dynamic values unique to each banner. Here, we are adding two dynamic product images and two captions to the template. Running this example will return the generated banner as MP4.

3
Start creating banners automatically

No matter what type of banner you want to automate, it is possible to set up a workflow that fits your needs. For example, you could set up a workflow that automatically creates video ads from an Airtable document. Or you could create banner ads based on recent articles posted on your site. Alternatively, you can set up an automated workflow to generate hundreds of banners based on your target audience, completely automatically.

There is an easier way to create video if you do not require a fully automated workflow, and that is by using Creatomate's spreadsheet-to-video or form-to-video features. Take a look at it as well if you're interested in automating banners in bulk.

Frequently asked questions

How can I automate banner ads?

Banner ads can be automated by combining a banner generation API with an automated workflow. In this workflow, each banner is generated on the basis of dynamic data. This can be in the form of a spreadsheet, another data API, or AI. In addition, you can use data from real-time data sources, such as the weather, to create data-driven banners.

What kind of banners can be automated?

You can automate any video or image banner. Creatomate's template editor allows you to design your own banners. Personalized ads, data-driven banners, and banners generated based on a product catalog are examples of banners that are perfect for automation.

How long does it take to set up?

An automated scenario can be set up in less than 10 minutes by using a platform such as Zapier. Further down this page, there are several guides that will guide you through the process step-by-step.

Who is banner automation intended for?

Banner automation is highly beneficial for those who are creating banners in bulk based on a common design. Where you would normally would export each banner manually, banner automation eliminates this repetitive task, create on-brand advertisement completely automatically.

What are the benefits of automating the banner creation process?

Those who create banners in bulk based on a common design can take advantage of banner automation. Automation takes care of the repetitive work, so you can focus on more impactful work.

What's the best banner automation tool?

We believe Creatomate is the leading banner automation solution on the market because it offers all the tools necessary for generating video in one place. Moreover, it offers the most advanced video editing capabilities of all video automation APIs. See this article for a comparison of the product with other comparable tools.

Quickly get started

Learn how to automate your videos by following our practical tutorials.

Start automating today

Start with a full-featured trial with 50 credits, no credit card required.
Get started for free