Optional components of Search

Display Expansion

Display Expansion allows your Search campaign to use any unspent Search budget to show ads on the Google Display Network, aiming for a similar cost-per-conversion. This feature is compatible with AI Max for Search. To enable Display Expansion, turn on the targetContentNetwork option in NetworkSettings:

"networkSettings": {
  "targetGoogleSearch": true,
  "targetSearchNetwork": true,
  "targetContentNetwork": true
}

Ad Extensions (assets)

You can add more information to your ads using ad extensions, such as sitelinks, callouts, and structured snippets. These are configured as Assets and linked to campaigns or ad groups.

For example, to add a sitelink extension to your campaign, you first need to create an Asset with sitelinkAsset field set, and then create a CampaignAsset linking the asset to campaign and specifying field type as SITELINK.

First, create a sitelink asset using AssetOperation:

const sitelinkAssetOperation = {
  "assetOperation": {
    "create": {
      "resourceName": `customers/${customerId}/assets/${getNextTempId()}`,
      "finalUrls": ["http://www.example.com/contact"],
      "sitelinkAsset": {
        "linkText": "Contact Us",
        "description1": "Get in touch with us",
        "description2": "Response within 24h"
      }
    }
  }
};
operations.push(sitelinkAssetOperation);

Then, link this asset to the campaign using CampaignAssetOperation:

const campaignAssetOperation = {
  "campaignAssetOperation": {
    "create": {
      "campaign": campaignOperation.campaignOperation.create.resourceName,
      "asset": sitelinkAssetOperation.assetOperation.create.resourceName,
      "fieldType": "SITELINK"
    }
  }
};
operations.push(campaignAssetOperation);

Other optional components for Search campaigns include audience targeting, location targeting, and negative keywords, which can be added as campaign or ad group criteria.