An interface designed for notification of conversion-like events including registrations, installs, and other user triggers.
Method | Endpoint |
---|---|
GET | http://api.castleads.com/1.0/event |
Parameter | Data Type | Description | Required |
---|---|---|---|
type | String | Indicates what kind of event occurred: conversion, install, etc | TRUE |
originId | String | Unique ID generated by Castle Ads. E.g. on a tracking url | FALSE |
revenue | Double | Bounty payable for the event | FALSE |
String | Hashed or otherwise | FALSE | |
idfa | String | iOS identifier for advertising | FALSE |
aaid | String | Google's advertising id | FALSE |
Notify of recent install
wget http://api.castleads.com/1.0/event? \ token=a7740b207caa6b861378dc280626edcb& \ type=registration&originId=c78a90bc-c285-4954-a948-ab630521d8e9::1975351199& \ revenue=3.60
The API returns a status of 204 No Content.