หากต้องการพูดคุยและแสดงความคิดเห็นเกี่ยวกับผลิตภัณฑ์ของเรา โปรดเข้าร่วมช่อง Discord อย่างเป็นทางการของ Ad Manager ในเซิร์ฟเวอร์ชุมชนการโฆษณาและการวัดผลของ Google
@interfaceVideoViewController()<IMAAdsManagerDelegate,...>...@end@implementationVideoViewController...-(void)adsManagerAdDidStartBuffering:(IMAAdsManager*)adsManager{// Show your activity indicator above the video player - ad playback has// stopped to buffer.}-(void)adsManagerAdPlaybackReady:(IMAAdsManager*)adsManager{// Hide your activity indicator - as playback resumes.}
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-07-25 UTC"],[[["This guide explains how to utilize ad buffer events to implement an activity indicator in your app, enhancing user experience during ad playback."],["Developers can use the `IMAAdsManagerDelegate` methods to trigger actions like showing and hiding an activity indicator based on the ad's buffering state."],["The `adsManagerAdDidStartBuffering`, `adsManagerAdPlaybackReady`, and `adsManager:(IMAAdsManager *)adsManager adDidBufferToMediaTime:(NSTimeInterval)mediaTime` methods provide signals for managing the activity indicator during buffering."],["While you can show an activity indicator before ad playback, using delegate methods specific to ad start events is recommended for that scenario."]]],[]]