About blueprints

An asset blueprint is a request to generate an overlay image from message copy and branding. Blueprints are used for action ad creatives (creative_type:action_ad), where the overlay is the interactive element that appears over the video. Standard video creatives don’t use blueprints.

How it works

You submit the blueprint with a POST developer/assets/blueprints call, Ads API registers it as a normal asset, and you attach that asset to your creative’s action ad unit the same way you would any other asset.

Blueprints are the only way to produce an overlay asset through the Ads API. Overlay images can’t be built and uploaded manually.

Generated overlays include transparent regions. Depending on the viewer you preview them in, transparancy may render as a flat grey area. This is expected and displays correctly when served.

Where blueprints fit in the workflow

Creating a blueprint is Step 5 of the Create a creative process. It comes after you register any logo asset and before you create the creative.

Blueprint types

The blueprint_type field determines which overlay role the blueprint builds for, and which config object the request needs. It's set once, at creation, and can't be changed.

Blueprint typeBuildsConfig object
action_ad_overlay_1_logo_with_messageoverlay_1action_ad_overlay_1_logo_with_message_config
action_ad_overlay_2_logo_with_messageoverlay_2action_ad_overlay_2_logo_with_message_config

The request body wraps these in a data.attributes object type: "asset_blueprint"). Required attributes are account_uid, name, and blueprint_type. The config object's key must match blueprint_type exactly, e.g. blueprint_type: action_ad_overlay_1_logo_with_message pairs with an action_ad_overlay_1_logo_with_message_config object at the same level.

Send only one config object per call. The schema accepts either config but if you include both keys it fails validation. One blueprint builds one overlay, so overlay_1 and overlay_2 are two separate calls.

The name you give the blueprint becomes the name of the resulting asset, which is embedded in its filename and public CDN URL. Name it for the overlay you're producing and avoid spaces and punctuation.

Blueprints can’t be edited after creation so if you want to change your copy or branding, create a new blueprint and assign the resulting asset to your ad unit in place of the old one.

Blueprint config fields

Each blueprint type takes a different config object with its own required fields.

action_ad_overlay_1_logo_with_message_config

FieldRequiredNotes
asset_uidNoLogo image asset to composite into the overlay. Omit for a text-only overlay.
call_to_actionYesSee spec for supported values (e.g. subscribe, buy_now, learn_more)
messageYesOverlay message text
message_alignmentYesleft | center | right
click_handler_bgNoBackground color for the interactive click handler. See Action properties for values.
click_handler_bg values
  • Grey (#EDEDED)
  • Dark Grey (#969696)
  • Light Blue (#2B9DEE)
  • Blue (#5896F3)
  • Dark Blue (#8892DD)
  • Light Green (#85A503)
  • Green (#1EB612)
  • Cyan (#0BB68E)
  • Light Orange (#DB8400)
  • Orange (#DD7D46)
  • Gold (#C18F25)
  • Yellow (#B19506)
  • Purple (#AC81E4)
  • Magenta (#DC5FFC)
  • Pink (#FF3DE8)
  • Red (#F16F6F)

action_ad_overlay_2_logo_with_message_config

FieldRequiredNotes
asset_uidNoLogo image asset to composite into the overlay. Omit for a text-only overlay.
messageYesOverlay message text
message_alignmentYesleft | center | right

overlay_2 has no call_to_action or click_handler_bg field. Those only apply to overlay_1, the interactive element.

Create a blueprint and poll for the overlay

  1. Make a POST /developer/assets/blueprints call to create a blueprint and start the build. There's no separate publish step, the build starts as soon as you create it.
  2. The response includes, under data.attributes:
    • uid — the blueprint's unique identifier
    • status — processing | done | error. The status enum also includes draft, but the build starts on create, so a blueprint returned by this endpoint is never in draft.
    • result_asset_uid — the unique identifier of the overlay asset being built. Use this uid to poll and, later, to assign the overlay to a creative.
  1. Poll GET /developer/assets?uid={result_asset_uid} to check when the overlay is ready:

    Response fieldMeaning
    statusPoll this field. done means ready, error means the build failed.
    cdn_urlOnly populates once status is done. Use this to confirm, not to determine readiness.

Once ready, use the result_asset_uid the same way you'd use any registered asset: attach it to an ad unit with role overlay_1 or overlay_2.

There's no endpoint to look up a blueprint by its own uid. You can recover a blueprint's configuration two other ways: pass expand=asset_blueprints on GET /developer/assets, or read the creative the overlay is attached to, where each ad unit asset carries an asset_blueprint object with the full config. Only the blueprint's name is unrecoverable, so save the POST response if you need it.