# Creating Ads with Dynamic Content Using a JSON file/Media Feed

ResponsiveAds supports JSON/Media feeds to power creative variants with dynamic content. Instead of manually editing every version of your creative, you can connect a Google Sheet or JSON file and have images, text, and links automatically populate your ad.

This is especially useful for ads like **image carousels**, **product showcases**, or **rotating offers**, where content changes frequently or at scale.

***

### Why Use Feeds?

* **Dynamic updates** – edit content in a Google Sheet and it flows into the creative.
* **Scalability** – manage many products, listings, or variations from a single feed.
* **Consistency** – use the same feed across multiple ads or campaigns.
* **Efficiency** – no need to re-edit or rebuild creatives for every content change.

***

### Example: Dynamic Image Carousel

A **Dynamic Logo/Image Carousel** can be powered entirely by a Google Sheet feed. Each row in the sheet represents a slide and may include:

* **Image** (recommended: 3414 × 1920, URL from Media Gallery or external host)
* **Title** (≤ 40 characters)
* **Price or details** (optional)
* **CTA text** (≤ 15 characters)
* **Click-through URL**
* **Global Hotspot URL** (optional)

Other assets you may include in your creative:

* Brand logos (1000px long edge, PNG; vertical + horizontal)
* Brand panel color (Hex/RGB)
* Background color (Hex/RGB)

***

### Setting Up the Google Sheet

1. **Make a copy of the example sheet**\
   Use the provided [Dynamic Carousel Example Sheet](https://docs.google.com/spreadsheets/d/1Nhgthc_2jFnFGA4C__Jx8egT5L49hKjQrGeEm6QP9Bo/).
2. **Fill in your content**
   * **Column A** – ID or index number
   * **Column B** – Title (e.g., product name, address)
   * **Column C** – Image URL (e.g., from Media Gallery)
   * **Column D** – CTA Button URL
   * **Column E** – Global Hotspot URL
3. **Publish the sheet**
   * Go to **File → Publish to the web**
   * Leave the default settings and click **Publish**
   * Copy the **Google Sheet ID** (the string of characters between `/d/` and `/edit` in the URL).

***

### Creating a Feed in Media Gallery

1. Open the **Media Gallery** → **Feeds** tab.
2. Click **Add a New Feed**.
3. Enter a name for your feed.
4. Set **Parser Type** to **Transform Google Sheet to JSON**.
5. Paste the Google Sheet ID into the field.
6. Choose an update interval (e.g., 1 hour).
7. Save, then run **Options → Force Update** to generate the JSON feed.
8. Copy the feed URL.

***

### Connecting the Feed to Your Creative

1. Open your creative in the editor.
2. Select the **Custom Code Editor**.
3. Replace the default feed URL in the JavaScript with your new feed URL.
4. Save the creative.

Now your ad will automatically pull content from the feed.

***

### Updating the Content

* Edit rows in your Google Sheet to add, remove, or update items.
* In **Media Gallery → Feeds**, use **Force Update** to sync immediately.
* Refresh the JSON link to verify updates.
* Ads connected to the feed will reflect changes automatically.

ℹ️ Feeds also update every **12 hours** by default.

***

### Styling and Customization

* **Logos**: Replace brand logos by selecting the **Brand Logo** element in the editor and uploading your file.
* **Click-throughs**: Update per-slide CTAs in the sheet, or apply a global click-through at the **Deployment** level.
* **Colors**: Change background, brand panel, or CTA button colors in the right-hand panel, then copy style settings across sizes.
* **Consistency across sizes**: Use **Copy element settings** → *Other style properties* to apply font, spacing, and color changes across all formats.

***

### QA and Preview

1. Save your creative.
2. From the **Summary Page**, click **Preview**.
3. Check the **Responsive view** by resizing your browser window.
4. Switch to the **Breakout view** to confirm each format size.
5. Verify there are no overlaps, missing assets, or broken links.

***

### Deploying the Creative

1. On the **Summary Page**, go to **Deployments**.
2. Click **Publish** to generate an ad tag.
3. Select your preferred serving platform.
4. Copy the ad tag to your clipboard and save it for trafficking.

***

{% hint style="success" %}
&#x20;With JSON/Media feeds, you can create scalable, dynamic creatives like carousels and product showcases that update automatically, saving time while ensuring your ads always display the latest content.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.responsiveads.com/creating-ads/variants/creating-ads-with-dynamic-content-using-a-json-file-media-feed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
