Affiliate API
1. Returns the geo information structure change.
IMPORTANT NOTICE: If you have used Offerslook API before this update, you must aware of this data change. In previous API, city will be deprecated and add two array regions and cities.When you set up offers or when the affiliates use API to pull out offers, in the case that the Offer Geo Targeting has been limited to state/province or to city, then you should update the API setting accordingly.
Field | Type | Description |
id | integer | |
offer_id | integer | A string that uniquely identifies this offer. |
country | string | Country to be targeted |
country_code | string | Country code. |
city | array | This parameter has been deprecated. [Deprecated] |
type | integer | An identifier included or excluded. |
regions | Regions in targeted country | |
type | integer | An identifier included or excluded. Type: 1 include ; 2 exclude |
region_ids | array | the unique id for the region |
region_name | string | the name of the region |
cities | City in targeted Region | |
type | integer | An identifier included or excluded. Type: 1 include ; 2 exclude |
region_id | integer | the unique id for the region |
city_ids | array | the unique id for the city |
city_name | string | the name of the |
Example response
Last updated