Get information about a specific offer’s geo

HTTP method Endpoint
GET /aff/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/aff/v1/offers/16/geo


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


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_geo": {
          "type": 1,
          "target": [
            {
              "type": 1,
              "country": "Albania",
              "country_code": "AL",
              "city": [
                "Sarandë",
                "Tirana"
              ],
              "id": 3132,
              "offer_id": 16
            },
            {
              "type": 2,
              "country": "Andorra",
              "country_code": "AD",
              "city": [
                "Ordino",
                "Llorts",
                "Engordany"
              ],
              "id": 3133,
              "offer_id": 16
            },
            {
              "type": 1,
              "country": "Korea, Democratic People's Republic of",
              "country_code": "KP",
              "city": [

              ],
              "id": 3134,
              "offer_id": 16
            }
          ]
        }
      }
    }

results matching ""

    No results matching ""