รายงาน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทมเพลตการติดตาม, URL สุดท้าย, URL สุดท้ายบนอุปกรณ์เคลื่อนที่ และพารามิเตอร์ที่กำหนดเองทั้งหมด
พร้อมใช้งานเป็นแอตทริบิวต์เมื่อดึงข้อมูลรายงาน โปรดทราบว่า URL สุดท้าย
และ URL สุดท้ายบนอุปกรณ์เคลื่อนที่จะแสดงในรายงานเป็นค่าสตริงที่ซ้ำกัน
final_urls {
value: "http://www.example.com/locations/mars/"
}
final_urls {
value: "http://www.example.com/cruise/space/"
}
ตัวอย่างการค้นหา
คําค้นหาต่อไปนี้จะดึง URL สุดท้ายจากโฆษณาแบบข้อความที่ขยายออกทั้งหมด
SELECT
ad_group_ad.ad.name,
ad_group_ad.ad.final_urls
FROM ad_group_ad
WHERE ad_group_ad.ad.type = EXPANDED_TEXT_AD
ระบบจะแสดงพารามิเตอร์ที่กำหนดเองเป็นออบเจ็กต์ข้อความที่ซ้ำกันของประเภท
CustomParameter
ดังที่แสดงใน
ตัวอย่างต่อไปนี้
url_custom_parameters {
key {
value: "promocode"
}
value {
value: "NYC123"
}
}
url_custom_parameters {
key {
value: "season"
}
value {
value: "spring"
}
}
การค้นหาต่อไปนี้จะดึงพารามิเตอร์ที่กำหนดเองของ URL จากโฆษณา Search ทั้งหมด
SELECT
ad_group.name,
ad_group.url_custom_parameters
FROM ad_group
WHERE ad_group.type = SEARCH_STANDARD
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-27 UTC
[null,null,["อัปเดตล่าสุด 2025-08-27 UTC"],[[["\u003cp\u003eTracking templates, final URLs, final mobile URLs, and custom parameters can be retrieved as attributes in reports.\u003c/p\u003e\n"],["\u003cp\u003eFinal URLs and final mobile URLs are displayed as repeated string values within the report data.\u003c/p\u003e\n"],["\u003cp\u003eCustom parameters are presented as repeated message objects of the \u003ccode\u003eCustomParameter\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eSample queries demonstrate how to retrieve final URLs from expanded text ads and URL custom parameters from search ads.\u003c/p\u003e\n"]]],[],null,["# Reports\n\nTracking templates, final URLs, final mobile URLs, and custom parameters are all\navailable as attributes when retrieving reports. Keep in mind that final URLs\nand final mobile URLs are rendered in the report as repeated string values: \n\n final_urls {\n value: \"http://www.example.com/locations/mars/\"\n }\n final_urls {\n value: \"http://www.example.com/cruise/space/\"\n }\n\nSample queries\n--------------\n\nThe following query retrieves the final URLs from all expanded text ads: \n\n SELECT\n ad_group_ad.ad.name,\n ad_group_ad.ad.final_urls\n FROM ad_group_ad\n WHERE ad_group_ad.ad.type = EXPANDED_TEXT_AD\n\nCustom parameters are returned as repeated message objects of the type\n[`CustomParameter`](/google-ads/api/reference/rpc/v21/CustomParameter), as shown in the following\nexample: \n\n url_custom_parameters {\n key {\n value: \"promocode\"\n }\n value {\n value: \"NYC123\"\n }\n }\n url_custom_parameters {\n key {\n value: \"season\"\n }\n value {\n value: \"spring\"\n }\n }\n\nThe following query retrieves the URL custom parameters from all search ads: \n\n SELECT\n ad_group.name,\n ad_group.url_custom_parameters\n FROM ad_group\n WHERE ad_group.type = SEARCH_STANDARD"]]