Creative notifications are all about making your Android notifications richer and sending multiple contents in one notification, thus increasing your opening rate and user engagement.
The notifications are Android Remote Views, that are visible when the notification is located first at the device's notification bar and there is enough space to display it.
If that is not the case the small regular view of the notification will be displayed.
PushApps offers 3 templates of layouts that are embedded in the Android SDK , you are not required to design anything, only choose the relevant content for your notifications as usual. The notifications can have images, you will just need to supply those images URLs.
Each notification has a main layout and up to three buttons, clicks on each of those views are handled separately with actions that can be predefined or dynamically determined from the notification's payload.
Creative Notifications can be sent using the Remote Server API or the Admin Console.
Software Project Health Check: Best Practices and Techniques for Your Product...
PushApps - Creative Push API
1. 3/15/2015 Creative Push API PushApps Confluence
http://wiki.pushapps.mobi/display/PUSHAPPS/Creative+Push+API?src=contextnavpagetreemode 1/5
Added by Orr Chen [Administrator], last edited by Orr Chen [Administrator] on Mar 12, 2015
Pages / PushApps Home / Creative Push
Creative Push API
Getting Started
Templates
Creating a notification
Using the Remote Server API
Using The Admin Console
Objects
Getting Started
Creative notifications are all about making your Android notifications richer and sending multiple contents in one
notification, thus increasing your opening rate and user engagement
The notifications are Android Remote Views, that are visible when the notification is located first at the device's
notification bar and there is enough space to display it. If that is not the case the small regular view of the notification will
be displayed.
PushApps offers 3 templates of layouts that are embedded in the Android SDK , you are not required to design anything,
only choose the relevant content for your notifications as usual. The notifications can have images, you will just need to
supply those images URLs.
Each notification has a main layout and up to three buttons, clicks on each of those views are handled separately with
actions that can be predefined or dynamically determined from the notification's payload.
Creative Notifications can be sent using the Remote Server API or the Admin Console.
Templates
We currently offer 3 templates, each of them with a unique id to identify it.
Rich Media, 2 buttons
Template Id : "1"
Mandatory fields
Main Layout Each one o
Buttons
MainImage mandatory Image
MainTitle optional ( if
not
supplied,
the title of
the small
notifications
view will be
used )
Title
Rich media, 3 buttons
Template Id : "2"
Mandatory fields
Main Layout Each one o
Buttons
2. 3/15/2015 Creative Push API PushApps Confluence
http://wiki.pushapps.mobi/display/PUSHAPPS/Creative+Push+API?src=contextnavpagetreemode 2/5
MainImage mandatory Image
MainTitle optional ( if
not
supplied,
the title of
the small
notifications
view will be
used )
Title
Text only, 3 buttons
Template Id : "3"
Mandatory fields
Main Layout Each one of
Buttons
MainTitle optional ( if
not
supplied,
the title of
the small
notifications
view will be
used )
Title
MainText optional ( if
not
supplied,
the text of
the small
notifications
view will be
used )
Text
Creating a notification
Using the Remote Server API
The creative notifications are created with our CreateNotification API call
You will need to construct a JSON object with the key Template and add it to the request's JSON body.
Here are JSON examples of our 3 templates, the goTo keys inside the Actions object are just examples:
Template with Id "1":
Template with Id "2":
This sections assumes you are familiar with our Remote Server API and are capable of using it. If that is not the
case please refer to our guides or contact the support team for further assistance
expand source
expand source
5. 3/15/2015 Creative Push API PushApps Confluence
http://wiki.pushapps.mobi/display/PUSHAPPS/Creative+Push+API?src=contextnavpagetreemode 5/5
the view that appears at the top of notification, Can be embedded with combinations of image, title and text.
Name Type Description
MainImage String a URL to a web image. The image will be used as the background of the layout. Due to
the architecture of Android Remote Views ,you cannot use minified URLs created
by services such as tinyurl.com
MainTitle String a String that will be displayed at the top part of the layout
MainText String a String that will be displayed at the body or bottom of the layout, depending on the
template chosen
MainAction JSON
formatted
String
an object That contains the actions and/or data which is relevant for handling clicks on
this layout
Button
the view that is attached to the bottom of the main layout, there can be up to 3 buttons in a notifications, they can be
embedded with combinations of image, title and text.
Name Type Description
Image String a URL to a web image. The image will be used as the background of the layout. Due to the
architecture of Android Remote Views ,you cannot use minified URLs created by
services such as tinyurl.com
Title String a String that will be displayed at the top part of the button
Text String a String that will be displayed at the boddy or bottom of the button, depending on the template
chosen
Action JSON
formatted
String
an object That contains the actions and/or data which is relevant for handling clicks on this
layout
No labels