搜索广告中的旅游 Feed
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将酒店、民宿或 Things To Do 产品 Feed 与 Google Ads 账号相关联后,Google Ads 现在会自动在现有搜索广告系列中添加从您的 Feed 中提取的价格和图片。此功能称为“搜索广告中的旅游 Feed”。
选择不使用搜索广告中的旅游 Feed
如果您不想使用此功能,可以使用 Google Ads API 在客户和广告系列一级选择停用此功能。
在客户级别选择停用
如需在客户层面选择停用搜索广告中的旅游 Feed,请执行以下操作:
使用 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
提交请求。
在广告系列一级选择停用
如需在广告系列一级选择停用搜索广告中的旅游 Feed,您必须先从客户级排除被覆盖的选择启用状态:
使用 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
的 asset_set
设置为要选择启用的广告资源组的资源名称,campaign
设置为广告系列的资源名称。
- 对于在上一步中创建的每个
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
来识别以搜索广告中的旅游 Feed 形式投放的广告的效果数据,例如提取所有广告系列中广告的效果数据:
SELECT campaign.name, segments.click_type, metrics.impressions, metrics.clicks FROM campaign WHERE segments.click_type = 'TRAVEL_ASSETS'
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-27。
[null,null,["最后更新时间 (UTC):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'"]]