BUILDER

Features

Developers

Documentation

Pricing

Github

Docs

App

This page was made in Builder!

USER GUIDES

Creating Content

Learning the visual editor

Responsive design tricks

Saving layers as templates

Importing your site pages

Connecting custom data

Interactive pages with state and actions

Creating reusable components with Symbols

Targeting and scheduling content

Building custom forms

How To

Sidebar Menu

Dropdown Menu

Platforms

Shopify

Wordpress

Custom

DEVELOPER GUIDES

Guides

Quick start

SEO optimizing Builder.io content

Creating custom models

Using custom fields

Enable on-site previewing and editing

Dynamic URLs and advanced data fetching

Adding Custom Code

Using 3rd party libraries

Import HTML

Extending Builder.io with plugins

REST API

HTML API

Content API

GraphQL API

Webhooks

Write API

React

Getting started

Using Next.js

Using Gatsby

Using your React components in Builder

New!

Components-only mode

Triggering custom actions

Angular

Ruby on rails

Webcomponents

Github

Migrating a hardcoded ad to Builder

Updating your code

To replace an existing ad, you'll want to remove any html and css from the inside of the ad. You'll want to keep width and possibly height information on the container though.

If you have multiple size or placement variations of your ad, you'll likely want to create separate builder models for them

Additionally, you'll want to remove any hardcoded values such as URLs so those can be managed in Builder

Creating the model

Create a new model to represent this ad, and be sure to choose the "component" type. If needed, enter an example url (a url this ad component can be found at for editing)

Creating the default content

Now that you have the model and code set, from the Content page use the "create entry" button and choose your model name to create a new content entry.

If all is set up correctly the editor should scroll you to your new ad and show you an "add blocks" button.

Click the add blocks button and ad a canvas. Now you can drag in elements from the insert tab and position them to your liking

Any remaining questions or comments? Give us a chat, we are quick to respond and here to help!

CHAT US NOW