لتذكير المستخدمين بالاستفادة من العروض قبل انتهاء صلاحيتها، يتم تشغيل إشعار تلقائي بعد 48 ساعة.
قبل انتهاء صلاحية العرض. لتشغيل إشعار، يجب أن يستوفي العرض المعايير التالية:
ويجب ألا تكون قد شغّلت إشعار انتهاء الصلاحية على جهاز المستخدم في السابق
يجب أن يحتوي على تاريخ انتهاء صلاحية صالح للسمة datetime يقع في المستقبل، وتم ضبطه في
validTimeInterval.end.date
يجب ألا يتم ضبط الحقل القابل للكتابة disableExpirationNotification على
True يتم ضبط هذا الحقل تلقائيًا على false.
تعرض لقطة الشاشة التالية مثالاً على الإشعار التلقائي غير القابل للتعديل:
تنتهي صلاحية العرض (اليوم، غدًا، بعد [x] يوم)
class.title
class.titleImage
لا يمكن تخصيص العنوان في إشعار انتهاء صلاحية العرض.
ساعات الحجب
في حال ضبط إشعار انتهاء صلاحية العرض على الساعة بين الساعة 10 مساءً و6 صباحًا بالتوقيت المحلي للمستخدم
تظهر إما قبل هذه الفترة الزمنية أو بعدها.
وقت الإشعار بانتهاء صلاحية العرض المخصّص
يمكنك تخصيص وقت ظهور إشعار انتهاء صلاحية Offer باستخدام
حقل message.displayInterval.start.date على OfferObjects أو
OfferClasses إذا تمّ ضبط وقت مخصّص للإشعارات، سيتمّ عرض إشعار انتهاء الصلاحية.
وفقًا لـ message.displayInterval.start.date، بدلاً من المنطق التلقائي
يتم احتسابها من validTimeInterval.end.date. وفي ما يلي عينة من نموذج
الوقت لإشعار انتهاء الصلاحية:
ويضبط displayInterval.start.date وقت ظهور الإشعار. يمكن أن تكون
قبل تاريخ انتهاء الصلاحية بمدة تصل إلى 30 يومًا إذا تم تحديد مدى زمني أكبر من ذلك،
إلى الظهور بعد 30 يومًا. لا تتطلب هذه الرسالة حقلاً للعنوان والنص الأساسي
وإذا تم تضمينها، لن يتم استخدامها.
تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Offers trigger an expiration notification 48 hours before expiry if they have a future expiration date, haven't previously triggered a notification, and don't have `disableExpirationNotification` set to `True`."],["The default notification displays the offer's title, title image, and relative expiration time (today, tomorrow, or in x days)."],["Notifications are prevented from appearing between 10 PM and 6 AM local time, shifting to before or after this window."],["Custom notification times can be set using `message.displayInterval.start.date`, overriding the default 48-hour trigger and allowing scheduling up to 30 days before expiry."],["Only one expiration notification is sent per offer; a custom notification time prevents the default notification from triggering."]]],["Offers trigger an expiration notification 48 hours before expiring, provided they haven't previously triggered one, have a valid future expiration date, and don't have `disableExpirationNotification` set to `True`. Notifications display the expiration time, `class.title`, and `class.titleImage`. Blackout hours (10 PM - 6 AM) shift notifications. Custom notification times, defined by `message.displayInterval.start.date`, override the default and can be set up to 30 days before expiration. Only one expiration notification is sent per offer.\n"]]