פידים של נתוני נסיעות במודעות לרשת החיפוש
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אם קישרתם את פידי המוצרים שלכם (מלונות, יחידות אירוח או פעילויות) לחשבון 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
לשם המשאב שאוחזר מהשלב הקודם.
שולחים בקשה אל CustomerAssetSetService.MutateCustomerAssetSets
באמצעות האובייקטים CustomerAssetSetOperation
שנוצרו.
אם רוצים להפעיל את התכונה הזו שוב ברמת הלקוח:
- לכל שם משאב של
CustomerAssetSet
שאוחזר מהשלבים הקודמים, יוצרים CustomerAssetSet
חדש עם asset_set
שמוגדר לשם המשאב ועם customer
שמוגדר לשם המשאב של הלקוח.
- לכל
CustomerAssetSet
שנוצר בשלב הקודם, יוצרים CustomerAssetSetOperation
עם create
שמוגדר ל-CustomerAssetSet
.
- שולחים בקשה אל
CustomerAssetSetService.MutateCustomerAssetSets
באמצעות האובייקטים CustomerAssetSetOperation
שנוצרו.
סירוב ברמת הקמפיין
כדי לבטל את ההסכמה לשימוש בפידים של נתוני נסיעות במודעות לרשת החיפוש ברמת הקמפיין, צריך קודם להחריג את סטטוס ההסכמה שהוגדר ברמת הלקוח:
אחזור של 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
שנוצרו קודם.
שולחים בקשה אל CampaignService.MutateCampaigns
באמצעות CampaignOperation
שנוצר בשלב הקודם.
לאחר מכן, מבצעים את הפעולות הבאות:
כדי להוציא קמפיין מההסכמה, מאחזרים את כל שמות המשאבים של 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
לשם המשאב שאוחזר מהשלב הקודם.
שולחים בקשה אל CampaignAssetSetService.MutateCampaignAssetSets
באמצעות האובייקטים CampaignAssetSetOperation
שנוצרו.
אם רוצים להפעיל את התכונה הזו שוב ברמת הקמפיין:
- לכל שם משאב של
CampaignAssetSet
שאוחזר מהשלבים הקודמים, יוצרים CampaignAssetSet
חדש עם asset_set
שמוגדר לשם המשאב של קבוצת הנכסים שרוצים להפעיל ועם campaign
שמוגדר לשם המשאב של הקמפיין.asset_set
- לכל
CampaignAssetSet
שנוצר בשלב הקודם, יוצרים CampaignAssetSetOperation
עם create
שמוגדר ל-CampaignAssetSet
.
- שולחים בקשה אל
CampaignAssetSetService.MutateCampaignAssetSets
באמצעות האובייקטים CampaignAssetSetOperation
שנוצרו.
החזרת סטטוס ההצטרפות לקמפיין
אם רוצים שהסטטוס של ההסכמה להצטרפות לקמפיין יהיה תלוי שוב בהגדרה ברמת הלקוח, צריך לבצע את השלבים הבאים:
- יוצרים אובייקט חדש מסוג
Campaign
עם excluded_parent_asset_set_types
without
TRAVEL_FEED
ברשימה, ומגדירים את resource_name
לשם המשאב של הקמפיין.
- יוצרים
CampaignOperation
ומגדירים את update
בהתאם לCampaign
וupdate_mask
שנוצרו קודם.
- שולחים בקשה אל
CampaignService.MutateCampaigns
באמצעות CampaignOperation
שנוצר בשלב הקודם.
דיווח
אפשר להשתמש ב-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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-27 (שעון UTC)."],[[["\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'"]]