This article applies to customers who have the legacy version of Scaleo.
Please visit our new API Guide.
Edit offer's basic info
URL
http://[platform_URL]/api/manager/edit-offer/[Offer_ID]
Input Parameters
Field Name | Required | Description |
---|---|---|
api-key | Yes | Ask your Admin for API activation. API Key could be found on your Profile page. |
POST parameters | ||
name | Yes | Offer's title |
advertiser_id | Yes | The advertiser's ID |
status_id | Yes | Offer's status ID 1=Testing, 3=Live, 4=Inactive |
redirect_url | Yes | Offer's Landing Page URL |
featured | No | Set the offer as featured (1=Featured, 2=Not featured) |
deep_linking | No | Enable Deep Linking (1=On, 2=Off) |
hide_referer_url | No | Switch the "Hide Referrer URL" option (1=Hide, 2=Do not hide) |
traffic_type | No | (1=Non-Incentivized, 2=Incentivized) |
traffic_type_redirection | No | Switch the redirection type for Inappropriate Traffic (1=Redirect according to Advanced Rules or Global Redirect, 2=Redirect to Offer URL, ignore conversions) |
notes | No | Offer's notes |
Sample
Request
http://demo.scaleo-up.com/api/manager/edit-offer/14?api-key=699f482aefec6e61e82f8ab785d36deeed7dfbe9
Send with POST:
name=Smooth offer!
advertiser_id=3
status_id=3
redirect_url=https://www.youtube.com/?oid={offer_id}
featured=1
deep_linking=1
hide_referer_url=2
traffic_type=2
traffic_type_redirection=2
notes=Here we go again
Response
{
"status": "success",
"code": 200,
"offer_id": 14
}