فیدهای سفر در تبلیغات جستجو
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
با فیدهای محصول هتلها، تعطیلات اجارهای، یا کارهایی که باید انجام دهید که به حساب Google Ads شما پیوند داده شدهاند، Google Ads اکنون بهطور خودکار کمپینهای جستجوی موجود را با قیمتها و تصاویری که از فیدهای شما استخراج میشود، غنی میکند. این ویژگی به عنوان فیدهای سفر در تبلیغات جستجو شناخته می شود.
انصراف از فیدهای سفر در تبلیغات جستجو
اگر ترجیح می دهید از این ویژگی استفاده نکنید، می توانید از Google Ads API برای انصراف از این ویژگی در سطح مشتری و کمپین استفاده کنید.
در سطح مشتری انصراف دهید
برای انصراف از فیدهای سفر در تبلیغات جستجو در سطح مشتری، موارد زیر را انجام دهید:
همه نامهای منابع CustomerAssetSet
را که نوع آن TRAVEL_FEED
است با استفاده از گزارش customer_asset_set
بازیابی کنید:
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
ارسال کنید.
در سطح کمپین انصراف دهید
برای انصراف از فیدهای سفر در تبلیغات جستجو در سطح کمپین، ابتدا باید وضعیت انتخاب لغو لغو شده را از سطح مشتری حذف کنید:
excluded_parent_asset_set_types
با استفاده از گزارش campaign
بازیابی کنید.
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
ارسال کنید.
سپس، موارد زیر را انجام دهید:
برای کمپینی که میخواهید انصراف دهید، همه نامهای منابع CampaignAssetSet
را که نوع آن TRAVEL_FEED
است با استفاده از گزارش campaign_asset_set
بازیابی کنید.
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
برای شناسایی دادههای عملکرد تبلیغاتی که بهعنوان فیدهای سفر در آگهیهای جستجو ارائه میشوند، استفاده کنید، مانند واکشی دادههای عملکرد برای تبلیغات در همه کمپینهایتان:
SELECT campaign.name, segments.click_type, metrics.impressions, metrics.clicks FROM campaign WHERE segments.click_type = 'TRAVEL_ASSETS'
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-26 بهوقت ساعت هماهنگ جهانی."],[[["\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'"]]