Build custom formats for Ad Canvas with Google Web Designer
When you're building data-driven creatives, you can use the built-in creative formats, or you can build your own custom format to use with Ad Canvas. When you want precise creative control or have strict brand guidelines you need to follow, a custom format is your best option. Custom formats can be built with Google Web Designer using dynamic bindings. To save time, you can also start from a built-in format and customize it however you like.
Custom formats can either be a single size, or they can be responsive.
After you build a custom format, you can upload it and use it to make a new data-driven creative using your new format, or you can open an existing data-driven creative and replace the built-in format with your custom format. Finally, you'll fill in assets and other creative details to complete your new creative.
- Custom formats for data-driven creative will only support dynamic URLs. For your custom format to be compatible with Ad Canvas, you must bind each of your exit URLs to a URL data object using the Tap Area component.
- Custom formats can only be rich media creative types supported by Display & Video 360 (Note: No interstitials, expanding creatives, or other unsupported formats).
- Google Web Designer's Pluckandjoin feature is not yet supported in Ad Canvas. If you build a custom format using Pluckandjoin, or Pluck and Join URL for data bindings in carousels or swipe galleries, your layout won't be usable in Ad Canvas.
To create a custom format, you first need to decide which elements of the ad should be dynamic and editable in Ad Canvas, then bind these elements to the Brand Awareness schema. Look over the schema and decide which elements of your creative should map to which data schema object. Make a list of each dynamic element, then next to it, write down the data schema object it should bind to. Make sure to select data schema objects that are the same field type as each element. For example, if you're making an image dynamic, make sure to bind it to an image asset (accent image, logo, or background image).
Next, build your creative in Google Web Designer. You can build from scratch, or start from a data-driven creative template (Blank Slate, Cue Cards, or Panorama). Starting from an existing data-driven creative template can save you time, because the dynamic bindings are already set up.
Choose a data schema
After you're done building your creative, you need to select a data schema before you can add data bindings. If you started from an existing data-driven layout, you can skip this step.
- Open the Dynamic panel, then click Add dynamic binding . (If the Dynamic panel isn't visible, open the Window menu and make sure there's a checkmark next to Dynamic.)
- Under the Data Schema tab of the Dynamic properties dialog, select the schema type Standard schema.
- Next, choose the Brand Awareness data schema. You'll be taken to the Bindings tab.
After you've chosen a data schema, you'll be taken to the Bindings tab, where the first binding is waiting to be set up.
Create data bindings
If you started from scratch or added new dynamic elements to your creative, create data bindings between element attributes and specific types of data using the Dynamic Properties panel. The Dynamic Properties panel is an interactive dialog that lets you choose a creative element, the element attribute you want to be dynamically modified, and the data schema object that you want the element to bind to.
- (Optional) Filter the elements you see by choosing Current Page or Selection from the Show menu.
- In the element column, select an element you want to bind feed data to.
- In the element attribute column, select the element attribute you want to bind the feed data to. All of the bindable element attributes for the selected element will appear in a drop-down list, including both style attributes and attributes specific to the HTML element type.
- In the data schema object column, select a data object.
- Click Add Binding to bind data to another element in your ad, or click OK when you're finished.
|Ad Canvas Label||Field Type||Data Schema Object||Number|
|Accent image||IMAGE *||accentImage||Array of 1–10|
|Background image||IMAGE *||backgroundImage||1|
|Description||RICH_TEXT *||description||Array of 1–10|
|Additional text||RICH_TEXT *||additionalText||Array of 1–10|
|Teaser text||RICH_TEXT *||teaserText||1|
|Call to action||<container>||callToAction||Array of 1–10|
|URL landing page||URL||callToAction.0.exitUrl||1|
|Background URL landing page||URL||backgroundLandingPageUrl||1|
* These fields include sub-fields. See sub-field types for more information.
Some field types include additional sub-properties you can bind to HTML elements in your creative. For example, to bind an image element in your creative to the background image in the brand awareness schema, add a dynamic binding like this: imageElementID > Source > backgroundImage.Url.
|Sub-field type||Data Schema Object|
Calls to action
The callToAction object is an array that can contain up to 10 unique calls to action, each with it's own URL, text, and color.
Create a dynamic call to action with the Tap Area component
The Tap Area component lets you initiate almost any action with a touch or click. One common use is to create a call to action. Typically, this will be a static link to a website, but dynamic links are also possible when you're creating a dynamic ad.
- In the Dynamic panel's Bindings tab, click Add dynamic bindings .
- On the Bindings tab of the Dynamic Properties dialog, click Add Binding.
- For the Element, select the Tap Area.
- For the Element attribute, select Exit override URL.
- For the Data schema object, select the dynamic URL data (e.g., Product 0 > URL).
- To properly record dynamic exits, add metric IDs for the background exit or call-to-action exit:
- Switch to Code view and navigate to the code for the Tap Area (starting with
- Add the
exit-idproperty into the
exit-idproperty should be set to one of two values,
- Switch to Code view and navigate to the code for the Tap Area (starting with
<gwd-taparea id="cta-taparea" exit-id="ctaExit" class="gwd-taparea-ismw" bind-exit-override-url="callToAction.0.exitUrl" bind-style-background-color="callToAction.0.buttonColor" bind-show="callToAction.0.content.text"></gwd-taparea>
Use a feed to create a dynamic preview
When you preview your dynamic format in Google Web Designer, you'll initially see it as you designed it, showing only placeholder images, text, and other elements. To see how it looks with the actual content your dynamic feed will provide, you need to add a sample feed (or multiple feeds) to the "feeds" folder in your Web Designer project.
A sample feed is a JSON document that contains feed information such as design and product specific text and images. First, download this Sample feed.
- To import the sample feed:
- Open the Dynamic panel and click the Sample Data tab. At the bottom of the panel, click Import sample data .
Or, move the .json file you downloaded into the "feeds" subfolder of your Google Web Designer project. Click Refresh in the Dynamic panel so the new sample data shows up in Web Designer.
To preview sample feed data on the stage, select the feed name you added from the Sample Data tab in the Dynamic panel.
When you preview in your browser, you can select the sample feed you want to preview from the Sample data menu at the top of the page. (By default, separate previews with all available sample feeds are shown. To hide the feeds you don't want to preview, turn them off in the Sample data menu.)
You can upload custom formats to Display & Video 360 the same way you upload an HTML5 creative.
Publish from Google Web Designer
Click the down arrow on the Publish button at the top of the window and select Display & Video 360.
In the publish dialog:
- Enter the partner name for the creative you're uploading. If you only have "Read & Write" access to a single partner, that partner is automatically selected.
- Enter the name of the advertiser.
- Enter a creative name.
- Select or deselect publishing options:
- Polite Loading - Delays the loading of assets until the hosting page finishes its initial load.
- Groups Unpacking - Unpacks groups so the creative can load faster, but results in a larger file size.
- Add Border - Adds a one-pixel border, using the color you specify.
- Select which CSS prefixes you want to include in the file. By default, all are selected to provide the widest range of browser compatibility.
- Click Publish.
After publishing, your Google Web Designer document becomes associated with the creative in your Display & Video 360 account.
Each time you publish, you'll update the creative draft with your changes. If the creative has already been published, the published creative won't be affected. When the creative is ready for serving, open Display & Video 360 and publish it.
Upload to Display & Video 360
- Open the advertiser you want to upload creatives to.
- Click Creative Creatives in the left menu.
- Click New Upload HTML5 or image.
- Upload your creative as a .zip file.
- Select the dimensions you want the creative to serve in. If the creative is responsive, make sure to select only the dimensions the creative can support, otherwise the creative may not properly fit the placement.
- Save. Your custom format is opened in Ad Canvas.
If you've already built a creative using a built-in data-driven creative format, you can replace the creative's format with a custom format while keeping any assets the two formats share.
- Open an existing data-driven creative or create a new one.
- From the action toolbar, click Replace format.
- Choose the zip file of the Google Web Designer creative you published locally.
You can replace the format for any data-driven creative, including both custom formats and Display & Video 360 formats, such as Panorama, Cue Cards, or Blank Slate.
- After a creative has been published, the creative's dimensions cannot be changed. Make a new creative to use a format with different dimensions.
- After a creative has been published, exits cannot be changed. All future custom formats you want to use with that creative must have the same number of exit data schema elements with the same names.
What happens to previously saved changes when a format is replaced
When you replace a format in an existing creative, all the variants and dynamic rules you created will be preserved. After you publish the creative, only the assets used in your current format will be saved. To avoid increasing your published file size, any unused assets, text, or style values will be removed from your creative.
- If your new format uses the same schema elements as the original format (for example a background image) the assets will now be applied to the new format.
- If your new format has new assets (defined by its data schema binding) you will need to upload images or add text to all of your variants.
- If your new format does not use some of the assets that were in the previous format, these elements will no longer appear in the asset panel. However, Google will keep this data in memory, so that if you update the format to add those assets back, all of your previous work will be preserved.
For example, imagine you added a logo to 10 variants of the Cue Cards format. Then you replaced Cue Cards with your own custom version with no logo, and no logo binding. You'd still see 10 variants (now using your new format), but without the logo, and the logo element would no longer show in the asset panel.
If you then make a second version that includes the logo, and replace the format again, you'd see 10 variants (now using the second custom format) and all would show the original logos you'd uploaded to the Cue Cards format. The logo element would also reappear in the asset panel.