Assets

The most common asset type used with Search campaigns are text assets. You can create them as a separate operation or inline with the ad. Other asset types can optionally be used to add extra information to the ad, which can boost ad performance. Since text assets are the primary required asset type, this guide will demonstrate how to upload those. These principles can be extended to other asset types as well. No matter what type of asset you're making, use AssetOperation to create it.

Assets can be created using AdsApp without using mutate, but for the sake of consistency, this guide does it the same way as all the rest of the operations. Note that you can and should reuse existing assets if you already have some available. So while it's required that you have assets to create a Search campaign, it might not be strictly required that you create them as part of the campaign creation process.

Text assets

Text assets work just like any other operation. If you're uploading assets as part of the campaign creation process, use a temporary ID. Otherwise, make a note of the returned resource name to use in a future operation when you need to reference the asset to add it to an ad group or ad.

const textAsset = {
  "assetOperation": {
    "create": {
      "resourceName": `customers/${customerId}/assets/${getNextTempId()}`,
      "name": "Headline Asset 1",
      "type": "TEXT",
      "textAsset": {
        "text": "My headline"
      }
    }
  }
}
operations.push(textAsset);

Other asset types

You can add more information to your ads using other ad types, which are created with AssetOperation by setting the AssetType. Adding as many relevant asset types as possible gives the system flexibility to serve the best ad combination for each query. Additional asset types include:

  • Sitelink Assets: Add links to specific pages on your website, such as product categories, store hours, or about us.
  • Callout Assets: Display additional short text snippets to highlight offers or unique selling points, such as "Free Delivery", or "24/7 Customer Support".
  • Structured Snippet Assets: Showcase information about products or services using predefined headers, such as "Types:", "Brands:", or "Services:".
  • Call Assets: Add a phone number or a call button to the ad, encouraging direct calls.
  • Location Assets: Show the business address, phone number, map, and directions, useful for driving store visits.
  • Price Assets: Display different products or services with their prices.
  • Mobile App Assets: Promote mobile app downloads.
  • Promotion Assets: Highlight special sales, discounts, or offers with specific dates or codes.
  • Lead Form Assets: Allow users to fill out a form to show interest directly within the ad.
  • Image Assets: Upload images to visually enhance text ads.