ฟีดการเดินทางในโฆษณา Search
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เมื่อลิงก์ฟีดผลิตภัณฑ์โรงแรม ที่พักให้เช่าช่วงวันหยุด หรือกิจกรรมน่าสนใจกับบัญชี Google Ads แล้ว ตอนนี้ Google Ads จะเพิ่มข้อมูลราคาและรูปภาพจากฟีดลงในแคมเปญ Search ที่มีอยู่โดยอัตโนมัติ ฟีเจอร์นี้เรียกว่าฟีดการเดินทางในโฆษณา Search
เลือกไม่ใช้ฟีดการเดินทางในโฆษณา Search
หากไม่ต้องการใช้ฟีเจอร์นี้ คุณสามารถใช้ Google Ads API เพื่อเลือกไม่ใช้ฟีเจอร์นี้ในระดับลูกค้าและแคมเปญได้
เลือกไม่ใช้ที่ระดับลูกค้า
หากต้องการเลือกไม่ใช้ฟีดการเดินทางในโฆษณา Search ที่ระดับลูกค้า ให้ทำดังนี้
ดึงชื่อทรัพยากรทั้งหมดของ
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
ที่สร้างขึ้น
เลือกไม่ใช้ที่ระดับแคมเปญ
หากต้องการเลือกไม่ใช้ฟีดการเดินทางในโฆษณา Search ที่ระดับแคมเปญ คุณต้อง
ยกเว้นสถานะการเลือกใช้ที่ลบล้างจากระดับลูกค้าก่อน
เรียกข้อมูล 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
โดยตั้งค่า asset_set
เป็นชื่อทรัพยากรของชุดชิ้นงาน
ที่คุณต้องการเลือกใช้ และตั้งค่า campaign
เป็นชื่อทรัพยากรของแคมเปญ
- สำหรับแต่ละ
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
เพื่อระบุข้อมูลประสิทธิภาพของโฆษณาที่แสดงเป็นฟีดการเดินทางในโฆษณา Search ได้ เช่น การดึงข้อมูลประสิทธิภาพของโฆษณาในแคมเปญทั้งหมด
SELECT campaign.name, segments.click_type, metrics.impressions, metrics.clicks FROM campaign WHERE segments.click_type = 'TRAVEL_ASSETS'
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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'"]]