הקידומת של כל ההודעות המודפסות למסוף תהיה [Ad Placement API]:
אפשר להגדיר טעינה מראש של הפסקות למודעות רק פעם אחת:
adConfig()כבר התקשרה אלpreloadAdBreaksכדי להגדיר את הערך<VALUE>
ניסית להתקשר אל adBreak() בזמן שקריאה נוספת ל-adBreak() עדיין הייתה בתהליך (יש לוודא שלא הפעלת מודעות מעובדים אחרים ולא קריאה ל-adBreak() מתוך פונקציית קריאה חוזרת):
Cannot show ad while another ad is already visible.
הפעולה נכשלה במהלך הקריאה החוזרת (callback) שסיפקתם:
<CALLBACK NAME> callback threw an error: <ERROR>
שגיאות בפרמטרים של התיוג:
Invalid data-ad-frequency-hint value: '<VALUE>'. It must be in format 'Xs' where X is a number.Unsupported data-adbreak-test value '<VALUE>'. Supported values: 'on'.
adConfig() שגיאות אימות ארגומנט:
Invalid ad config: <ERROR>.איפה<ERROR>יכול להיות:preloadAdBreaks must be one of ['auto', 'on']sound must be one of ['on', 'off']onReadyחייב להיות פונקציה
adBreak() שגיאות אימות ארגומנט:
Invalid placement config: <ERROR>. איפה<ERROR>יכול להיות:missing required properties <LIST OF PROPERTIES><CALLBACK NAME> must be a function<PROPERTY NAME> must be one of <LIST OF VALID VALUES>the following properties are not used for the given ad type: <LIST OF PROPERTIES>
השם של השיחות החוזרות (callback) שונה בadBreak() (beforeBreak, afterBreak וadComplete. השם שלהן שונה ל-beforeAd, afterAd ולadViewed. הם עדיין פועלים בדיוק באותו אופן:
Placement config: <OLD> has been renamed to <NEW>. Please update your code.Invalid placement config: <OLD> has been renamed to <NEW>. Cannot pass both fields. Please use <NEW> only.