คำขอ คำตอบ และข้อความสรุปที่ส่งไปยัง Google Ads API จะได้รับการบันทึกไว้ในตัวบันทึกที่กำหนดเองของคุณเองหรือตัวบันทึกเริ่มต้นในไลบรารี Ruby ก็ได้
ระดับการบันทึก
ไลบรารีจะบันทึกเหตุการณ์ประเภทต่างๆ ในระดับการบันทึกที่ต่างกัน เมื่อตอบกลับจาก API ที่ประสบความสำเร็จ ระบบจะบันทึกข้อมูลสรุปที่เวลา INFO และจะบันทึกคำขอและการตอบกลับทั้งหมดในเวลา DEBUG ในคำขอที่ส่งผลให้เกิดข้อผิดพลาด API ระบบจะบันทึกข้อความสรุปในเวลา WARN และจะบันทึกคำขอและการตอบกลับทั้งหมดในเวลา INFO
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-06-29 UTC"],[[["The Google Ads API Ruby library allows logging of requests, responses, and summaries to custom or default loggers."],["Different log levels are used for successful responses (`INFO`, `DEBUG`) and errors (`WARN`, `INFO`, `DEBUG`)."],["Logging can be configured through the `google_ads_config.rb` file using `log_level`, `log_target`, or a custom `logger`."],["After client instantiation, the logger can be specified using `client.logger=`."]]],[]]