setGeoRedirectOffer
1.1.1 Summary
Set affiliate GEO redirect offer for the specified offer.When traffic is not allowed by the GEO targeting rules, it will be redirect to the GEO Redirect Offer.
1.1.2 Request
Request Method: POSTQuery String Parameters:
Parameter | Description | Type | Data Range |
key |
Network API Key; * Required |
string | |
a |
Affiliate ID * Required |
Int |
POST Parameters
Parameter | Description | Type | Data Range |
offer_id |
Master Offer ID * Required |
Int | |
geo_redirect_offer_id |
GEO Redirect Offer ID * Required |
Int | 0:Means no GEO redirect offer. |
1.1.3 Response
Header:HTTP Status | Object | Description | Error Code |
202 | Set GEO Redirect Offer OK | 0 | |
400 | Parameter | Invalid Parameters | 66XX |
Formatted in JSON.
1.1.4 Example
Request URL:http://{Your_Network_Domain}/api/v1/setGeoRedirectOffer?key=Aj0CDE889012&a=2
[POST DATA]
Response:
{ "httpStatus": 202, "data": "", "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)