Get information about a specific offer’s geo

HTTP method Endpoint
GET /v1/offers/{offer_id}/geo

Path parameters

Parameter Description
offer_id The unique id for the offer.

Response body parameters

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 City in targeted country.
type integer An identifier included or excluded.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/offers/3147/geo


Request GET http://{networkname}.api.offerslook.com/v1/offers/3147/geo


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_geo": {
          "type": 1,
          "target": [
            {
              "type": 1,
              "country": "Albania",
              "country_code": "AL",
              "city": [

              ],
              "id": 28574,
              "offer_id": 3147
            },
            {
              "type": 2,
              "country": "China",
              "country_code": "CN",
              "city": [
                "Guangtai",
                "Dongguan"
              ],
              "id": 28575,
              "offer_id": 3147
            },
            {
              "type": 1,
              "country": "Armenia",
              "country_code": "AM",
              "city": [
                "Kapan",
                "Agarak",
                "Azatamut"
              ],
              "id": 28576,
              "offer_id": 3147
            },
            {
              "type": 1,
              "country": "Western Sahara",
              "country_code": "EH",
              "city": [

              ],
              "id": 28577,
              "offer_id": 3147
            }
          ]
        }
      }
    }

results matching ""

    No results matching ""