API
Create Support Tickets
Offer Wall API Parameters
API parameters pubID
, adwallID
, and api_key
can be found via the "API
Details" link next to your profile at Your Offer Wall Profiles.
If you would like us to notify you whenever an offer is completed (lead generated), set up a server postback.
Create Support Tickets
One of the benefits of the Adscend offer wall is that we handle support. The offer wall view from the SDK has a built-in support pane where users can file a ticket. Using our API, you can also create a support ticket directly using this built-in method.
Response 400 when validation failed.
Response 404 when adwallId
doesn't exist for the pubId
specified.
http://adscendmedia.com/adwall/api/publisher/{pubId}/profile/{adwallId}/user/{subid1}/tickets.json?name={name}&email={email}&subject_id={subject_id}&message={message}&offer_name={offer_name}&completed_at={2015-07-22}&proof_image_url={url_to_image}&proof_video_url={url_to_video}
Parameters | Description | Type | |
---|---|---|---|
pubId |
Required | Your publisher ID | Number |
adwallId |
Required | Your Offer Wall profile ID | Number |
subid1 |
Required | Your user's primary unique identifier. Maximum length of 60. | String |
name |
Required | Name of user. Maximum length of 80. | String |
email |
Required | Email of user. Maximum length of 80. | String |
subject_id |
Required | 1 = Not credited, 2 = Misdirecting offer, 3 = Other | Number |
message |
Optional | Message of user. Required if subject_id is "2" or "3". Maximum length of 200. | String |
offer_name |
Optional | Name of the offer in question. Required if subject_id is "1". Maximum length of 90. | String |
completed_at |
Optional | Date the offer was completed (applicable to "not credited" subject). Required if subject_id is "1". Example: 2015-07-22 |
String |
proof_image_url |
Optional | Link to image (screenshot) Example: https://storage.s3.amazonaws.com/proofs/proof_img_659ec27412305.jpg Supported image extensions: 'jpg', 'jpeg', 'png', 'svg' |
String |
proof_video_url |
Optional | Link to video (screencast) Example: https://storage.s3.amazonaws.com/proofs/proof_video_659ec27412305.mp4 Supported video extensions: 'avi', 'mp4', 'mov', 'qt', 'quicktime' Important: URLs from online streaming services such as "YouTube" or "Steamable" are not supported! |
String |
Response 201
Content-Type: application/json
{ "ticket_id": 73812 }