🇹🇭 ใช้ Claude เขียน Google Ads Script ดึงข้อมูลเข้า Google Sheet ใน 10 นาที
สรุปจากคลิปของช่อง Lin Davoy ที่พาไปดูปัญหาสุดคลาสสิกของสายยิงแอด นั่นคือการต้องเข้าไปดาวน์โหลดรายงานจาก Google Ads dashboard แทบทุกวัน แล้วเอามานั่งจัดฟอร์แมตใหม่ในทุกครั้งที่ต้องส่งรายงานให้ทีมหรือลูกค้า ซึ่งเป็นงานที่ทั้งเสียเวลาและน่าเบื่อสุดๆ
ปัญหาที่ทุกคนสายแอดต้องเจอ
ก่อนจะมาถึงทางออก Lin เล่าย้อนถึงจุดเริ่มต้นของปัญหาว่า การดึงข้อมูลจาก Google Ads แบบ manual นั้นต้องกดดาวน์โหลดไฟล์ทีละครั้ง แล้วยังต้องมานั่งจัดรูปแบบข้อมูลใหม่ให้อ่านง่ายทุกรอบ พอเจองานแบบนี้ซ้ำๆ ทุกวันก็เริ่มมองหาทางลัดที่ทำให้ชีวิตง่ายขึ้น
ลองใช้ Extension แล้วก็ยังไม่รอด
ทางลัดแรกที่ลองคือการติดตั้ง Extension เสริมบน Google Sheet เพื่อดึงข้อมูลจาก Google Ads โดยตรง แต่สุดท้ายก็เจอปัญหา error ที่ทำให้ระบบรวนและใช้งานจริงไม่ได้ ทำให้ต้องกลับไปหาวิธีอื่นที่เสถียรกว่าเดิม
ทางออกจริง: ให้ Claude เขียน Google Ads Script ให้
จุดเปลี่ยนคือการเอาโจทย์นี้ไปคุยกับ Claude ซึ่งแนะนำให้ใช้ Google Ads Script ซึ่งเป็นเครื่องมือในตัวของ Google Ads เองที่สามารถดึงข้อมูลและส่งต่อไปยัง Google Sheet ได้โดยตรง แถม Claude ยังเขียนโค้ดให้ทั้งหมด และช่วยอัปเดตแก้ไขสคริปต์จนได้ระบบที่กดรันปุ๊บ ข้อมูลวิ่งเข้า Google Sheet ทันที ไม่ต้องเสียเวลาดาวน์โหลดและจัดฟอร์แมตเองอีกต่อไป
เบื้องหลังการทำงานผ่าน Claude in Chrome
อีกจุดที่น่าสนใจคือ Lin ใช้ฟีเจอร์ Claude in Chrome คุยกับ Claude ไปพร้อมๆ กับดูหน้าจอ Google Ads และ Google Sheet จริง ทำให้ Claude เข้าใจบริบทของปัญหาและช่วยแก้ไขสคริปต์ได้ตรงจุด ไม่ต้องอธิบายละเอียดยิบหรือ copy-paste โค้ดไปมาหลายรอบ ซึ่งช่วยให้กระบวนการทั้งหมดเร็วขึ้นมาก
คุ้มไหมที่จะลองทำเอง
ในมุมคนทำงานจริง เทคนิคนี้เหมาะมากสำหรับใครที่ยิงแอดเป็นประจำและต้องทำรายงานส่งทุกวันหรือทุกสัปดาห์ เพราะแค่ตั้งสคริปต์ครั้งเดียว ก็ไม่ต้องมานั่งดาวน์โหลดไฟล์ซ้ำๆ อีก ที่สำคัญคือใช้เวลาไม่ถึง 10 นาทีในการตั้งค่าทั้งหมด ถือว่าคุ้มมากกับเวลาที่ประหยัดได้ในระยะยาว
🇬🇧 Automate Google Ads Reporting into Google Sheets with Claude in 10 Minutes
Summarized from the Lin Davoy channel, this episode tackles a classic headache for anyone running Google Ads: manually downloading reports from the dashboard almost every day, then reformatting the data every single time before sending it to a team or client.
The Problem Every Ads Person Knows
Before getting to the fix, Lin walks through where the pain started: pulling data from Google Ads manually means clicking download every time, then reformatting the file so it is readable again. Doing this daily eventually pushes anyone to look for a shortcut.
A Sheets Extension That Didn’t Save the Day
The first shortcut tried was installing a Google Sheets extension to pull Google Ads data directly. It ended up throwing errors and breaking down in practice, so it was back to the drawing board for a more reliable approach.
The Real Fix: Getting Claude to Write a Google Ads Script
The turning point was bringing the problem to Claude, which suggested using Google Ads Script, a built-in Google Ads tool that can pull data and push it straight into a Google Sheet. Claude wrote the code and helped refine the script until running it sent data into the sheet instantly, no more manual downloading or reformatting required.
Working Through It with Claude in Chrome
What stands out is that Lin used Claude in Chrome to talk to Claude while looking at the actual Google Ads and Google Sheets screens. That let Claude understand the context directly and fix the script precisely, without lengthy explanations or copy-pasting code back and forth, speeding up the whole process significantly.
Is It Worth Setting Up Yourself?
From a practitioner standpoint, this technique is a great fit for anyone running ads regularly who needs to file daily or weekly reports. Set the script up once and the manual downloading is gone for good. Best of all, the whole setup takes under 10 minutes, a strong return on the time invested.
ติดตามข่าวสาร Data & AI ได้ที่:
Facebook: https://www.facebook.com/davoytech
YouTube: https://www.youtube.com/@linlinmhee
📌 อย่าลืมกด Like, Share และ Subscribe เป็นกำลังใจให้ด้วยนะคะ!
💬 เพื่อนๆ ใช้วิธีไหนในการดึงข้อมูลจาก Google Ads มาทำรายงานกันอยู่บ้างคะ เคยลองใช้ Script หรือ Extension ตัวไหนแล้วเวิร์คหรือไม่เวิร์คยังไง มาคอมเมนต์เล่าให้ฟังกันนะคะ!
#Davoy #DavoyTech #Linlinmhee #เรียนAI #คอร์สAI #DataAndAI #GoogleAds #ClaudeAI #GoogleAdsScript #GoogleSheet #ClaudeInChrome #ReportAutomation
