ข้ามไปยังเนื้อหา

แผนที่คุณสมบัติพรีเซ็ต

คุณสมบัติพรีเซ็ต
คีย์ getPreset
คีย์ createPreset
ตัวอย่างค่า
ชื่อพรีเซ็ตpreset.namename”ส่วนลด 20%“
หัวข้อพุช (ใช้ JSON object สำหรับหลายภาษา; หัวข้อหลายภาษาเป็นแบบข้ามแพลตฟอร์ม)preset.titlecontent.titlestring หรือ object
หัวข้อพุชที่แปลแล้วpreset.title.en / preset.title.fr/de/es, etc.content.title.en / content.title.fr/de/es, etc.”สวัสดี”
หัวข้อย่อยพุช (เหมือนกันสำหรับทุกแพลตฟอร์ม)preset.subtitlecontent.subtitle”อย่าพลาด”
เนื้อหาพุช (ใช้ JSON object สำหรับหลายภาษา)preset.contentcontent.messagestring หรือ object
เนื้อหาพุชที่แปลแล้วpreset.content.en / preset.content.fr/de/es, etc.content.message.en / content.message.fr/de/es, etc.”รับส่วนลด 20% ของคุณทันที”
คุณสมบัติพรีเซ็ตpreset.properties--
ชื่อกลุ่มเป้าหมาย (ชื่อตัวกรอง)preset.properties.filter_namesegmentation.filter”ซื้อบางอย่างแล้ว”
ขีดจำกัดอัตราการส่งpreset.properties.send_ratescheduling.sendRate1000
การดำเนินการที่จะทำเมื่อแตะที่พุชpreset.properties.action_typecontent.action.type”deeplink”, “richMedia”, “url”
โค้ดของ Rich Media ที่จะเปิดเมื่อแตะที่พุชpreset.properties.rich_media_codecontent.action.options.richMediaCode”12345-67890”
URL ที่จะเปิดเมื่อแตะที่พุชpreset.properties.urlcontent.action.options.urlhttps://example.com
ID ของ Deep Link เพื่อเปิดหน้าเฉพาะpreset.properties.deeplinkUidcontent.action.options.id”33482”
พารามิเตอร์ Deep Link-content.action.options.params{“param1” : “value1”}
พารามิเตอร์ Deep Linkpreset.properties.deeplinkParamscontent.action.options.params.param1”{\“promo_id\”:\“id\”}“
ข้อมูลที่กำหนดเองpreset.properties.userdatacontent.userData{“key” : “value”}
ป้าย iOSpreset.properties.ios_badgecontent.platforms.ios.badge”0”
ปิดเสียง iOSpreset.properties.ios_sound_offcontent.platforms.ios.soundOfftrue/false
เสียงที่กำหนดเองของ iOSpreset.properties.ios_soundcontent.platforms.ios.sound”bubble.wav”
Time-to-Live ของ iOSpreset.properties.ios_ttlcontent.platforms.ios.ttl43200
หัวข้อ iOS (ไม่ใช่หลายภาษา)preset.properties.ios_titlecontent.platforms.ios.title”สวัสดี”
หัวข้อย่อย iOSpreset.properties.ios_subtitlecontent.platforms.ios.subtitle”อย่าพลาด”
พารามิเตอร์รากของ iOSpreset.properties.ios_root_paramscontent.platforms.ios.rootParams{“key” : “value”}
ระดับการขัดจังหวะของ iOSpreset.properties.ios_interruption_levelcontent.platforms.ios.interruptionLevel”critical”, “time-sensitive”, “passive”, “active”
ไฟล์แนบสื่อของ iOSpreset.properties.ios_attachmentcontent.platforms.ios.attachmenthttps://example.com
พุชแบบเงียบของ iOSpreset.properties.ios_silentcontent.platforms.ios.silenttrue/false
ป้าย Androidpreset.properties.android_badgescontent.platforms.android.badge”0”
ปิดเสียง Androidpreset.properties.android_sound_offcontent.platforms.android.soundOfftrue/false
เสียงที่กำหนดเองของ Androidpreset.properties.android_soundcontent.platforms.android.sound”bubbles.wav”
ไอคอนที่กำหนดเองของ Androidpreset.properties.android_custom_iconcontent.platforms.android.customIconhttps://example.com
หัวข้อ Android (ไม่ใช่หลายภาษา)preset.properties.android_headercontent.platforms.android.header”สวัสดี”
Time-to-Live ของ Androidpreset.properties.android_gcm_ttlcontent.platforms.android.ttl43200
แบนเนอร์ Androidpreset.properties.android_bannercontent.platforms.android.bannerhttps://example.com
บังคับการสั่นของ Androidpreset.properties.android_vibrationcontent.platforms.android.vibrationtrue/false
สี LED ของ Androidpreset.properties.android_ledcontent.platforms.android.led”#FFFFFF”
ลำดับความสำคัญของ Androidpreset.properties.android_prioritycontent.platforms.android.priority-2, -1, 0, 1, 2
พารามิเตอร์รากของ Androidpreset.properties.android_root_paramscontent.platforms.android.rootParams{“key” : “value”}
ลำดับความสำคัญในการส่งของ Androidpreset.properties.android_delivery_prioritycontent.platforms.android.deliveryPriority”normal”, “high”
สีพื้นหลังของรูปภาพ Androidpreset.properties.android_ibccontent.platforms.android.ibc”#FFFFFF”
แสดงบนหน้าจอล็อกของ Androidpreset.properties.android_lockscreencontent.platforms.android.lockScreentrue/false
พุชแบบเงียบของ Androidpreset.properties.android_silentcontent.platforms.android.silenttrue/false
หัวข้อ Safari (ไม่ใช่หลายภาษา)preset.properties.safari_titlecontent.platforms.safari.title”สวัสดี”
ปุ่ม Safaripreset.properties.safari_actioncontent.platforms.safari.action”คลิกที่นี่”
พารามิเตอร์ปุ่ม Safaripreset.properties.safari_url_argscontent.platforms.safari.urlArgs[“firstArgument”, “secondArgument”]
Time-to-Live ของ Safaripreset.properties.safari_ttlcontent.platforms.safari.ttl43200
หัวข้อ Chrome (ไม่ใช่หลายภาษา)preset.properties.chrome_headercontent.platforms.chrome.title”สวัสดี”
ไอคอนที่กำหนดเองของ Chromepreset.properties.chrome_iconcontent.platforms.chrome.iconhttps://example.com
Time-to-Live ของ Chromepreset.properties.chrome_gcm_ttlcontent.platforms.chrome.ttl43200
ระยะเวลาการแสดงผลพุชของ Chromepreset.properties.chrome_durationcontent.platforms.chrome.duration50
รูปภาพพุชของ Chromepreset.properties.chrome_imagecontent.platforms.chrome.imagehttps://example.com
พารามิเตอร์ปุ่ม Chrome-content.platforms.chrome.button1{“text” : “เรียนรู้เพิ่มเติม”, “url” : “https://example.com”}
ข้อความปุ่มแรกของ Chromepreset.properties.chrome_button_text1content.platforms.chrome.button1.text”เรียนรู้เพิ่มเติม”
URL ปุ่มแรกของ Chromepreset.properties.chrome_button_url1content.platforms.chrome.button1.urlhttps://example.com
ข้อความปุ่มที่สองของ Chromepreset.properties.chrome_button_text2content.platforms.chrome.button2.text”ไว้ทีหลัง”
URL ปุ่มที่สองของ Chromepreset.properties.chrome_button_url2content.platforms.chrome.button2.urlhttps://example.com
หัวข้อ Firefox (ไม่ใช่หลายภาษา)preset.properties.firefox_headercontent.platforms.firefox.title”สวัสดี”
ไอคอนที่กำหนดเองของ Firefoxpreset.properties.firefox_iconcontent.platforms.firefox.iconhttps://example.com
รหัสแคมเปญpreset.properties.campaign_codecampaignCode”12345-67890”
แพลตฟอร์มเป้าหมายpreset.platformssegmentation.platforms1 — iOS; 3 — Android; 7 — Mac OS X; 8 — Windows; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox; 17 — Huawei.