搜尋廣告旅遊動態饋給
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將飯店、度假民宿或待辦事項產品動態饋給連結至 Google Ads 帳戶後,Google Ads 現在會自動從動態饋給中提取價格和圖片,在現有搜尋廣告活動中加入這些資訊。這項功能稱為「搜尋廣告旅遊動態饋給」。
停用搜尋廣告旅遊動態饋給
如果您不想使用這項功能,可以透過 Google Ads API,在客戶和廣告活動層級停用這項功能。
在客戶層級停用
如要在客戶層級停用搜尋廣告旅遊動態饋給,請按照下列步驟操作:
使用 customer_asset_set
報表,擷取類型為 TRAVEL_FEED
的所有資源名稱 CustomerAssetSet
:
SELECT asset_set.resource_name, asset_set.name FROM customer_asset_set WHERE asset_set.type = 'TRAVEL_FEED'
針對每個資源名稱,建立 CustomerAssetSetOperation
並將 remove
設為上一步驟中擷取的資源名稱。
使用建立的 CustomerAssetSetOperation
物件,向 CustomerAssetSetService.MutateCustomerAssetSets
提交要求。
如要再次在客戶層級啟用這項功能,請按照下列步驟操作:
- 針對從先前步驟擷取的每個
CustomerAssetSet
資源名稱,建立新的 CustomerAssetSet
,並將 asset_set
設為資源名稱,以及將 customer
設為客戶的資源名稱。
- 針對上一個步驟中建立的每個
CustomerAssetSet
,建立 CustomerAssetSetOperation
,並將 create
設為 CustomerAssetSet
。
- 使用建立的
CustomerAssetSetOperation
物件,向 CustomerAssetSetService.MutateCustomerAssetSets
提交要求。
在廣告活動層級選擇退出
如要在廣告活動層級停用搜尋廣告旅遊動態饋給,請先從客戶層級排除已覆寫的啟用狀態:
使用 campaign
報表擷取 excluded_parent_asset_set_types
。
SELECT campaign.excluded_parent_asset_set_types FROM campaign WHERE campaign.id = 'INSERT_YOUR_CAMPAIGN_ID'
建立新的 Campaign
物件,並將 excluded_parent_asset_set_types
設定為先前的值加上
TRAVEL_FEED
,然後將 resource_name
設定為廣告活動的資源名稱。
建立 CampaignOperation
,並將 update
設為先前建立的 Campaign
和 update_mask
。
使用上一步建立的 CampaignOperation
,向 CampaignService.MutateCampaigns
提交要求。
然後執行下列操作:
如要選擇不放送廣告活動,請使用 campaign_asset_set
報表,擷取類型為 TRAVEL_FEED
的所有 CampaignAssetSet
資源名稱。
SELECT asset_set.resource_name, asset_set.name FROM campaign_asset_set
WHERE campaign_asset_set.campaign = 'INSERT_YOUR_CAMPAIGN_RESOURCE_NAME' AND asset_set.type = 'TRAVEL_FEED'
針對每個資源名稱,建立 CampaignAssetSetOperation
並將 remove
設為上一步驟中擷取的資源名稱。
使用建立的 CampaignAssetSetOperation
物件,向 CampaignAssetSetService.MutateCampaignAssetSets
提交要求。
如要再次在廣告活動層級啟用這項功能,請按照下列步驟操作:
- 針對先前步驟中擷取的每個
CampaignAssetSet
資源名稱,建立新的 CampaignAssetSet
,並將 asset_set
設為要加入的素材資源組合資源名稱,以及將 campaign
設為廣告活動的資源名稱。asset_set
- 針對上一個步驟中建立的每個
CampaignAssetSet
,建立 CampaignAssetSetOperation
,並將 create
設為 CampaignAssetSet
。
- 使用建立的
CampaignAssetSetOperation
物件,向 CampaignAssetSetService.MutateCampaignAssetSets
提交要求。
傳回廣告活動的啟用狀態
如要再次讓廣告活動的啟用狀態取決於客戶層級的設定,請按照下列步驟操作:
- 建立新的
Campaign
物件,其中包含
excluded_parent_asset_set_types
不含
TRAVEL_FEED
清單,並將 resource_name
設為廣告活動的資源名稱。
- 建立
CampaignOperation
,並將 update
設為先前建立的 Campaign
和 update_mask
。
- 使用上一步建立的
CampaignOperation
,向 CampaignService.MutateCampaigns
提交要求。
報表
您可以透過
ClickType.TRAVEL_ASSETS
,找出以搜尋廣告旅遊動態饋給形式放送的廣告成效資料,例如擷取所有廣告活動中廣告的成效資料:
SELECT campaign.name, segments.click_type, metrics.impressions, metrics.clicks FROM campaign WHERE segments.click_type = 'TRAVEL_ASSETS'
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[[["\u003cp\u003eGoogle Ads automatically enhances Search campaigns with hotel prices and images from Hotel Center feeds through a feature called Travel Feeds in Search Ads.\u003c/p\u003e\n"],["\u003cp\u003eYou can opt out of this feature at the customer or campaign level using the Google Ads API, following the provided steps.\u003c/p\u003e\n"],["\u003cp\u003eTo opt back in, reverse the opt-out process by creating and linking the relevant asset sets at the desired level.\u003c/p\u003e\n"],["\u003cp\u003eTrack the performance of Travel Feeds in Search Ads using the \u003ccode\u003eClickType.TRAVEL_ASSETS\u003c/code\u003e in your reporting queries.\u003c/p\u003e\n"]]],[],null,["# Travel Feeds in Search Ads\n\nWith your Hotels, Vacation Rental, or Things To Do product feeds linked to your\nGoogle Ads account, Google Ads now automatically enriches existing Search campaigns with\nprices and images drawn from your feeds. This feature is known as\n[Travel Feeds in Search Ads](//support.google.com/google-ads/answer/15265488).\n\nOpt-out from Travel Feeds in Search Ads\n---------------------------------------\n\nIf you prefer not to use this feature, you can use the Google Ads API to opt out from\nthis feature at the customer and campaign levels.\n\n### Opt out at the customer level\n\nTo opt out from Travel Feeds in Search Ads at the customer level, do the\nfollowing:\n\n1. Retrieve all resource names of\n [`CustomerAssetSet`](/google-ads/api/reference/rpc/v21/CustomerAssetSet) whose type is\n [`TRAVEL_FEED`](/google-ads/api/reference/rpc/v21/AssetSetTypeEnum.AssetSetType#travel_feed)\n using the [`customer_asset_set`](/google-ads/api/fields/v21/customer_asset_set) report:\n\n SELECT asset_set.resource_name, asset_set.name FROM customer_asset_set WHERE asset_set.type = 'TRAVEL_FEED'\n\n2. For each resource name, create a [`CustomerAssetSetOperation`](/google-ads/api/reference/rpc/v21/CustomerAssetSetOperation) and set\n [`remove`](/google-ads/api/reference/rpc/v21/CustomerAssetSetOperation#remove) to the resource\n name retrieved from the previous step.\n\n3. Submit a request to [`CustomerAssetSetService.MutateCustomerAssetSets`](/google-ads/api/reference/rpc/v21/CustomerAssetSetService/MutateCustomerAssetSets) using the\n created `CustomerAssetSetOperation` objects.\n\nIf you want to opt in to this feature at the customer level again:\n\n1. For each resource name of the `CustomerAssetSet` retrieved from the earlier steps, create a new [`CustomerAssetSet`](/google-ads/api/reference/rpc/v21/CustomerAssetSet) with `asset_set` set to the resource name and `customer` to the resource name of your customer.\n2. For each `CustomerAssetSet` created in the previous step, create a [`CustomerAssetSetOperation`](/google-ads/api/reference/rpc/v21/CustomerAssetSetOperation) with [`create`](/google-ads/api/reference/rpc/v21/CustomerAssetSetOperation#create) set to the `CustomerAssetSet`.\n3. Submit a request to [`CustomerAssetSetService.MutateCustomerAssetSets`](/google-ads/api/reference/rpc/v21/CustomerAssetSetServiceMutateCustomerAssetSets) using the created `CustomerAssetSetOperation` objects.\n\n### Opt out at the campaign level\n\nTo opt out from Travel Feeds in Search Ads at the campaign level, you must\nfirst exclude the overridden opt-in status from the customer level:\n\n1. Retrieve [`excluded_parent_asset_set_types`](/google-ads/api/reference/rpc/v21/Campaign#excluded_parent_asset_set_types%5B%5D)\n using the [`campaign`](/google-ads/api/fields/v21/campaign) report.\n\n SELECT campaign.excluded_parent_asset_set_types FROM campaign WHERE campaign.id = '\u003cvar translate=\"no\"\u003eINSERT_YOUR_CAMPAIGN_ID\u003c/var\u003e'\n\n2. Create a new [`Campaign`](/google-ads/api/reference/rpc/v21/Campaign) object with\n [`excluded_parent_asset_set_types`](/google-ads/api/reference/rpc/v21/Campaign#excluded_parent_asset_set_types%5B%5D)\n set to the previous values *plus*\n [`TRAVEL_FEED`](/google-ads/api/reference/rpc/v21/AssetSetTypeEnum.AssetSetType#travel_feed) and\n `resource_name` set to your campaign's resource name.\n\n3. Create a [`CampaignOperation`](/google-ads/api/reference/rpc/v21/CampaignOperation) and set\n [`update`](/google-ads/api/reference/rpc/v21/CampaignOperation#update) to the previously created\n `Campaign` and [`update_mask`](/google-ads/api/reference/rpc/v21/CampaignOperation#update_mask)\n accordingly.\n\n4. Submit a request to the [`CampaignService.MutateCampaigns`](/google-ads/api/reference/rpc/v21/CampaignService/MutateCampaigns)\n using a `CampaignOperation` created in the previous step.\n\nThen, do the following:\n\n1. For a campaign you want to opt out, retrieve all resource names of\n [`CampaignAssetSet`](/google-ads/api/reference/rpc/v21/CampaignAssetSet) whose type is\n [`TRAVEL_FEED`](/google-ads/api/reference/rpc/v21/AssetSetTypeEnum.AssetSetType#travel_feed)\n using the [`campaign_asset_set`](/google-ads/api/fields/v21/campaign_asset_set) report.\n\n SELECT asset_set.resource_name, asset_set.name FROM campaign_asset_set\n WHERE campaign_asset_set.campaign = '\u003cvar translate=\"no\"\u003eINSERT_YOUR_CAMPAIGN_RESOURCE_NAME\u003c/var\u003e' AND asset_set.type = 'TRAVEL_FEED'\n\n2. For each resource name, create a [`CampaignAssetSetOperation`](/google-ads/api/reference/rpc/v21/CampaignAssetSetOperation) and set\n [`remove`](/google-ads/api/reference/rpc/v21/CampaignAssetSetOperation#remove) to the resource\n name retrieved from the previous step.\n\n3. Submit a request to [`CampaignAssetSetService.MutateCampaignAssetSets`](/google-ads/api/reference/rpc/v21/CampaignAssetSetService/MutateCampaignAssetSets) using the\n created `CampaignAssetSetOperation` objects.\n\nIf you want to opt in to this feature at the campaign level again:\n\n1. For each resource name of the `CampaignAssetSet` retrieved from the earlier steps, create a new [`CampaignAssetSet`](/google-ads/api/reference/rpc/v21/CampaignAssetSet) with `asset_set` with `asset_set` set to the resource name of the asset set you want to opt in and `campaign` to the resource name of your campaign.\n2. For each `CampaignAssetSet` created in the previous step, create a [`CampaignAssetSetOperation`](/google-ads/api/reference/rpc/v21/CampaignAssetSetOperation) with [`create`](/google-ads/api/reference/rpc/v21/CampaignAssetSetOperation#create) set to the `CampaignAssetSet`.\n3. Submit a request to [`CampaignAssetSetService.MutateCampaignAssetSets`](/google-ads/api/reference/rpc/v21/CampaignAssetSetService/MutateCampaignAssetSets) using the created `CampaignAssetSetOperation` objects.\n\n### Return the opt-in status of the campaign\n\nIf you want to make the opt-in status of a campaign dependent on the setting at\nthe customer level again, follow these steps:\n\n1. Create a new [`Campaign`](/google-ads/api/reference/rpc/v21/Campaign) object with [`excluded_parent_asset_set_types`](/google-ads/api/reference/rpc/v21/Campaign#excluded_parent_asset_set_types%5B%5D) **without** [`TRAVEL_FEED`](/google-ads/api/reference/rpc/v21/AssetSetTypeEnum.AssetSetType#travel_feed) in the list and `resource_name` set to your campaign's resource name.\n2. Create a [`CampaignOperation`](/google-ads/api/reference/rpc/v21/CampaignOperation) and set [`update`](/google-ads/api/reference/rpc/v21/CampaignOperation#update) to the previously created `Campaign` and [`update_mask`](/google-ads/api/reference/rpc/v21/CampaignOperation#update_mask) accordingly.\n3. Submit a request to the [`CampaignService.MutateCampaigns`](/google-ads/api/reference/rpc/v21/CampaignService/MutateCampaigns) using a `CampaignOperation` created in the previous step.\n\nReporting\n---------\n\nYou can use\n[`ClickType.TRAVEL_ASSETS`](/google-ads/api/reference/rpc/v21/ClickTypeEnum.ClickType#travel_assets)\nto identify performance data of the ads served as [Travel Feeds in Search\nAds](//support.google.com/google-ads/answer/15265488), such as fetching the\nperformance data for the ads in all your campaigns: \n\n SELECT campaign.name, segments.click_type, metrics.impressions, metrics.clicks FROM campaign WHERE segments.click_type = 'TRAVEL_ASSETS'"]]