קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
המפתח לקיצור זמן האחזור בדף האינטרנט התומך ב-IMA הוא לבצע הגדרה הקשורה ל-IMA בהקדם האפשרי. תוכלו לבצע את כל הפעולות הבאות בדף האינטרנט שלכם כמה שתרצו לפני הפעלת המודעות:
יצירת AdDisplayContainer.
יצירת AdsLoader.
יצירת AdsRequest.
שליחת בקשה להצגת מודעות.
קבלת המכונה של AdsManager ורישום מופעי handler של אירועים.
אם תבצעו את כל הפעולות האלה, ה-IMA SDK יופעל, ינתח את תגובת המודעות שלכם וינתח אותה לפני שהמשתמש ילחץ על הסרטון. כשתהיו מוכנים להפעיל את המודעות, התקשרו למספר AdDisplayContainer.initialize() (תמיד כתוצאה מפעולה של המשתמש) ולאחר מכן התקשרו אל AdsManager.init ואל AdsManager.start. למידע נוסף על תגובה מלאה של הדף, עיינו בטיפים בנושא הערכת ביצועי הרשת במסמכי התיעוד של Chrome.
[[["התוכן קל להבנה","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)."],[[["To minimize latency in IMA-enabled web pages, perform IMA setup tasks like creating `AdDisplayContainer`, `AdsLoader`, `AdsRequest`, requesting ads, and obtaining the `AdsManager` instance early in the page lifecycle."],["By initializing the IMA SDK and handling ad responses before user interaction, you ensure smoother ad playback when the user initiates it."],["Before playing ads, call `AdDisplayContainer.initialize()` (triggered by user action), followed by `AdsManager.init` and `AdsManager.start` to begin ad playback."],["For broader page performance enhancements, consult Chrome's network performance evaluation resources."]]],[]]