API
Moments API

Anatomy of an Offer

adspostx is now momentscience! momentscience! 🎉 we have rebranded adspostx to momentscience all the latest documentation and updates can now be found at momentscience documentation https //docs momentscience com/ below is an example of a moments api response and parts used to construct example offers the letters indicated in the comments correspond to the call out circles in the images { "data" { "offers" \[ { "id" 4008, // c use for the description of the offer "title" "you unlocked adspostx for 90 days free!", // b use for the title/headline of the offer "description" "adspostx lets you capture revenue across your user’s moments delight your users with relevant offers at the right time get 3 months free!", // d the url the positive cta of the offer should take the user 	 "click url" "https //track adspostx com/sdk/offer click?o id=4008\&c id=1284\&p id=1501\&sess id=03a7c834ffce7ff88ff45f980577ea42a03ec904\&fp=string", // a url for the ad's main image 	 "image" "https //adpx b cdn net/campaigns/1284/598d561b6afb86b76d3137545572a3a9 png", "mini text" "", // d the impression beacon url to be fired when the offer is displayed to the user for impression tracking "pixel" "https //track adspostx com/sdk/v2/impression/p png?o id=4008\&c id=1284\&p id=1501\&sess id=03a7c834ffce7ff88ff45f980577ea42a03ec904\&fp=string\&cbuster=%7bcbuster%7d", 	 // d suggested copy for implementing a postitive cta button for the user to accept the offer "cta yes" "try out adspostx!", 	 // e suggested copy for implementing a negative cta button for the user to reject an offer "cta no" "no, thanks", "useraction cta" "", "useraction url" "", 	 // d advertiser may provide their own impression tracking url, fire this along with the pixel impression beacon url if it exists "adv pixel url" "", "beacons" { // f to be fired if you implement a container that houses multiple offers for reporting purposes 	 "close" "https //track adspostx com/event/record/close?oid=4008\&cid=1284\&pid=1501\&sess id=03a7c834ffce7ff88ff45f980577ea42a03ec904\&fp=string", // e to be fired when user clicks the negative cta element for reporting purposes 	 "no thanks click" "https //track adspostx com/event/record/no thanks click?oid=4008\&cid=1284\&pid=1501\&sess id=03a7c834ffce7ff88ff45f980577ea42a03ec904\&fp=string" }, "creatives" \[ { "id" 939, "url" "https //adpx b cdn net/campaigns/1284/598d561b6afb86b76d3137545572a3a9 png", "height" 1200, "width" 1200, "type" "png", "is primary" true, "aspect ratio" 1 } ], 	 // h use the short description in mobile and smaller formats for the description of the offer "short description" "capture revenue across your user’s moments get 3 months free!", 	 // i use the short headline in mobile and smaller formats for the title/headline of the offer "short headline" "3 free months of adspostx!", "advertiser name" "adspostx" }, { contents of 2nd offer }, 	 { contents of 3rd offer } ], "count" 3, 	 // g url for adspostx's privacy policy if required to implement "privacy url" "https //www adspostx com/end user privacy policy" } }