Skip to main content
Advertisers can declare, image by image, that a creative was generated or modified with AI. Topsort stores the declaration with the creative and returns it in the auction response, so your storefront can show an AI label wherever your disclosure rules require one, such as the transparency obligations in Article 50 of the EU AI Act. This page covers how the declaration is collected, what Topsort does with image metadata, and what the auction response looks like for image banners and for JSON-template creatives such as Sponsored Brands.

How it works

1

The advertiser uploads an image

Every image creative gets an AI Generated or Modified Image toggle. It starts off.
2

Topsort checks the file's metadata

If the file carries metadata left by an AI generation tool, Topsort asks the advertiser to review it. Topsort never turns the toggle on by itself.
3

The advertiser declares

The advertiser turns the toggle on for each image that was generated or modified with AI.
4

Topsort stores it and returns it in the auction

The declaration is saved with the creative. When the creative wins an auction, the declaration comes back in the response next to the image it describes.
5

Your storefront renders the label

You read the field and show your AI label next to the image.
Four rules apply everywhere:
  • The advertiser’s declaration is the only source. The metadata check only decides whether to ask the advertiser. Missing metadata says nothing either way, because cropping, resizing and most upload tools strip it.
  • Only positive declarations are sent. The field appears only for images the advertiser declared. If it is missing, the advertiser made no declaration. It does not mean Topsort confirmed the image is free of AI.
  • The declaration does not affect the auction. Ranking, pricing, pacing and delivery are the same whether or not an image is declared.
  • Images only. The declaration is offered for PNG, JPEG, GIF and WebP images. It is not offered for video.

Declaring AI-generated images in the dashboard

Image banners

In the Set Creatives step of a banner campaign, each uploaded image has its own toggle under the thumbnail. In this example the first creative is declared and the second is not:
Two banner creatives in the Set Creatives step. The first has the AI Generated or Modified Image toggle on, the second has it off.
The info icon next to the toggle explains what the declaration means:
Tooltip: turn this on if any part of this creative was generated or modified with AI. Topsort records and passes on your declaration but does not verify it.
Each creative is declared separately. If a campaign has a desktop and a mobile version of the same image, declare each one.

Metadata review prompt

When an uploaded image carries metadata that AI generation tools typically leave, Topsort opens a review dialog that lists the files it found. Every toggle in the dialog starts off, and the advertiser decides what to mark.
Dialog titled Your file includes AI metadata, listing summer-sale-ai.png as Not marked with its toggle off.
The dialog opens when the file contains any of the following: The check runs on the original file before any crop or resize, because cropping removes the metadata. Advertisers can tick Don’t show it again to stop the prompt. The toggle under each creative stays available either way. Sponsored Brands creatives are built from a JSON template, and a template can have several image fields, for example a main visual and a logo. Each image field gets its own toggle:
Sponsored Brands creation with the Product Highlight template. The uploaded creative brand-visual-ai.png shows the AI Generated or Modified Image toggle turned on.
The same metadata review prompt opens here when an uploaded file carries AI markers. Images added by URL also get the toggle. They are not scanned, because Topsort does not hold the file.

Editing, replacing and bulk upload

  • Editing: when a campaign is reopened, each toggle shows the saved answer.
  • Replacing an image: the toggle for that image resets to off, and the advertiser is asked about the new file.
  • Turning a toggle off: the declaration is removed from the creative, and the field disappears from the auction response.
  • Bulk banner CSV: each slot has the optional columns slot_<n>_ai_generated_desktop and slot_<n>_ai_generated_mobile. TRUE declares the creative. FALSE or an empty cell sends no declaration.
  • Bulk Sponsored Brands CSV: the optional ai_generated_content_keys column lists the template’s image fields to declare, separated by |, for example creative1|creative2. Topsort converts those fields to their image URLs and writes them to aiGeneratedAssets, the same as the wizard.

Auction requests and responses

The auction request does not change. You don’t need a new parameter to receive the declaration. Topsort returns it in the response whenever the winning creative carries one. Where the field appears depends on the creative type: The two shapes follow from how each creative type is returned:
  • Image banners return every image as its own object in the asset array. Each object carries its own aiGenerated flag, so the flag always sits next to the image it describes.
  • JSON-template creatives return all their fields in a single content map, which can hold several images, such as a visual and a logo. One flag for the whole map couldn’t say which image is AI-generated, so Topsort lists the URL of each declared image in aiGeneratedAssets.

Image banners

An image banner winner returns its image in asset[]. When the advertiser declared the image, the asset’s content object carries aiGenerated: "true". content can also hold other creative metadata, such as altText. Request · POST /v2/auctions
Response
When a creative has no metadata at all, content is left out of the asset, as in the second example.

JSON-template creatives (Sponsored Brands)

A JSON-template winner returns the filled-in template in content. Each image field in the template holds an image URL. When the advertiser declares one or more of those images, Topsort adds aiGeneratedAssets to content, listing the URLs of the declared images. aiGeneratedAssets is not a template field. Topsort writes it into the creative’s content automatically when the campaign is saved with a declared image. Your templates don’t need to define it, and the values are always the same URLs that appear in the template’s own image fields. Request · POST /v2/auctions/sponsored-brand
Response
In the first example only the main visual is declared, so your storefront labels the visual and leaves the logo unlabelled. Because the declaration is a list of URLs rather than one flag for the whole creative, it always points at the exact image it describes.

Rendering the label

Topsort provides the signal. The label’s wording, design and placement are up to you and your disclosure requirements.
Compare the banner value with the string "true". Values in content are always strings.

FAQ

No. Topsort reads the file’s metadata only to decide whether to ask the advertiser to review it. Metadata can be removed or edited, so only the advertiser’s declaration is recorded and returned.
No. A missing field means the advertiser made no declaration for that image. Topsort only returns positive declarations.
No. The request is unchanged, and aiGeneratedAssets is added to JSON-template content by Topsort, so your template schemas don’t need to define it.
No. The declaration is passed through with the creative and has no effect on ranking, pricing or delivery.
Not today. The declaration is offered for PNG, JPEG, GIF and WebP images only.