Send Push Notifications to your members using the Data Warehouse tables.
if you have an iOS or Android mobile application, you can send push notifications to your members using the Data Warehouse module.
To send push notification campaigns, you need to prepare an .XML file and a .ZIP file. The system looks for an .XML file for Push Notification campaign definition inside the .ZIP file. Once the file is found, system reads the .XML file and binds the member data to send the campaign.
<euro.message>
<NOTIFICATION_EMAIL>youremailaddress@euromsg.com</NOTIFICATION_EMAIL>
<CAMPAIGN type="PUSH">
<CAMP_ID>AAA05D262017BD26BD17DBBBADCCADBA</CAMP_ID>
<CAMP_NAME>TEST v1</CAMP_NAME>
<TEXT_MESSAGE><![CDATA[push notification text]]></TEXT_MESSAGE>
<TARGET_URL><![CDATA[https://www.euromsg.com]]></TARGET_URL>
<MEDIA_URL><![CDATA[]]></MEDIA_URL>
<CUSTOM_PARAMS><![CDATA[]]></CUSTOM_PARAMS>
<ALTERNATE_TEXT_MESSAGE><![CDATA[push notification alternative text]]></ALTERNATE_TEXT_MESSAGE>
<ALTERNATE_TARGET_URL><![CDATA[https://www.euromsg.com]]></ALTERNATE_TARGET_URL>
<ALTERNATE_MEDIA_URL><![CDATA[]]></ALTERNATE_MEDIA_URL>
<ALTERNATE_CUSTOM_PARAMS><![CDATA[]]></ALTERNATE_CUSTOM_PARAMS>
<INCLUDE_ANONYMOUS_TOKENS>N</INCLUDE_ANONYMOUS_TOKENS> <!-- Only registered tokens -->
<!--<INCLUDE_ANONYMOUS_TOKENS>Y</INCLUDE_ANONYMOUS_TOKENS>--> <!-- all tokens in account (registered+anonymous) -->
<!-- Campaign Classification -->
<CLSF_1 label="etiket">değer</CLSF_1>
<CLSF_2 label="etiket">değer</CLSF_2>
<CLSF_3 label="etiket">değer</CLSF_3>
<CLSF_4 label="etiket">değer</CLSF_4>
<CLSF_5 label="etiket">değer</CLSF_5>
<!-- Campaign Approval -->
<APPROVAL enabled="true">
<MIN_APPROVAL_COUNT>5</MIN_APPROVAL_COUNT> <!-- Minimum approval count, between 1-10. -->
<EMAIL lang='TR'>a</EMAIL> <!-- campaign approval email language, only can get TR or EN values -->
<EMAIL lang='TR>b</EMAIL>
<EMAIL lang='TR>c</EMAIL>
<EMAIL lang='TR>d</EMAIL>
<EMAIL lang='TR>e</EMAIL>
</APPROVAL>
<!-- Content Type -->
<PUSH_TYPE>T</PUSH_TYPE> <!-- Push notification type; T (Text), I (Image), V (Video), default value is T (Text). -->
<MEDIA_URL></MEDIA_URL> <!-- When PUSH_TYPE node get I or V, video or image link should insert this node . -->
<!-- <SEND_LAST_USED_TOKEN>Y</SEND_LAST_USED_TOKEN> --> <!-- Use this node with Y value when you want send your campaign to last used tokens only -->
<!-- <BADGE_FLAG>Y</BADGE_FLAG> --> <!-- Use this node with Y value to indicate the number of notifications to the user on the application icon -->
<!-- Application -->
<APP_ALIAS>IOSTest1</APP_ALIAS>
<APP_ALIAS>AndroidTest1</APP_ALIAS>
<DELIVERY_DATE>2017-03-15 10:00:00</DELIVERY_DATE>
<EXPIRE_DATE>2017-03-15 20:00:00</EXPIRE_DATE>
<REPORT_EXPIRE_DATE>2017-03-16 10:00:00</REPORT_EXPIRE_DATE>
<SPEED_LIMITATION>60000</SPEED_LIMITATION> <!--hourly limit-->
<DAILY_LIMIT>2</DAILY_LIMIT> <!-- if you want to use daily limit for a member in this mail, you can use this node-->
<REPORT_ADMINS>youremailaddress@euromsg.com</REPORT_ADMINS>
<PDF_REPORT enabled="false">
<FIRST_REPORT enabled="false">
<EMAILS/>
<DAY_AFTER/>
<LANG_ID/>
</FIRST_REPORT>
<SECOND_REPORT enabled="false">
<EMAILS/>
<DAY_AFTER/>
<LANG_ID/>
</SECOND_REPORT>
</PDF_REPORT>
</CAMPAIGN>
</euro.message>
Parameter | Description |
---|
CAMP_ID | Campaign ID must be 32 characters long. |
CAMP_NAME | Campaign Name must be 32 characters long. |
TEXT_MESSAGE | Push message content. Message content can not be longer than 300 characters. |
TARGET_URL | The link to which the notification will redirect. Target URL can be a "Deeplink" or an "external URL". |
MEDIA_URL | The image or video URL in the push notification. |
CUSTOM_PARAMS | Custom parameters are not shown to end users. |
ALTERNATE_TEXT_MESSAGE | If you use a variable parameter in the TEXT_MESSAGE, the message is only sent to known active tokens. If you want to send a push campaign to ALL (Known and Anonymous) active tokens, you can use the ALTERNATE_TEXT_MESSAGE parameter. This parameter can not include a variable parameter. |
ALTERNATE_TARGET_URL | Target url of alternate push message. |
ALTERNATE_MEDIA_URL | Image or video url of alternate push message. |
INCLUDE_ANONYMOUS_TOKENS | If you use this parameter as 'Y', the campaign sends all active tokens about selected criteria. If you use this parameter as 'N', the campaign sends only registered active tokens. |
APP_ALIAS | The application name to send the campaign. This node retry in XML more than 1 for different applications. |
DELIVERY_DATE | Date to start sending the push campaign. |
EXPIRE_DATE | Date to end sending the push campaign. |
KEY_ID;EMAIL;EMPUSH_TOKEN;EMPUSH_APP_NAME
Parent Topic: Data Warehouse SFTP Integration