Get information about a specific offer’s tracking link

HTTP method

Endpoint

GET

/aff/v1/offers/{offer_id}/tracking_links

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Note: If you want to get the tracking link of an offer, on the premise that the offer should have been audited (visible in the personal list), or when the offer_approval field is equal to 2 (Public), the tracking link can be obtained!

Response body parameters

Field

Type

Description

url

string

The tracking link url of the offer.

impression_pixel

string

The impression pixel url of the offer.

offer_url

type

string

the type of preview url for opposite tracking link: 1). default: the default preview url of this offer. 2).random: the random preview url of this offer. 3).offer url: other types of preview urls.

name

string

The name of the this multiple

tracking_link

string

The tracking link url of the landing page

preview_url

string

URL that often skips any geo-targeting or other re-targeting implemented by the Offer URL. Allows Affiliates to view sample landing page.

Example request

Request GET https://{networkname}.api.offerslook.com/aff/v1/offers/16/tracking_links

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

Example response

    {
    "code": 0,
    "message": "Success",
    "data": {
        "tracking_link": {
            "url": "http://oltest1.offerstrack.net/index.php?offer_id=16&aff_id=5547",
            "impression_pixel": "<img src='http://qoqololo.iuniontrack.com:9080/impr.php?offer_id=16&aff_id=5547'  border='0'  width='1'  height='1' />",
            "offer_url": [
                {
                    "type": "Default",
                    "tracking_link": "http://oltest1.offerstrack.net/index.php?offer_id=16&aff_id=5547",
                    "preview_url": "http://www.offerslook.com"
                },
                {
                    "type": "Random",
                    "tracking_link": "http://oltest1.offerstrack.net/index.php?offer_id=16&aff_id=5547&random_url=1"
                },
                {
                    "type": "Offer URL",
                    "name": "360",
                    "tracking_link": "http://oltest1.offerstrack.net/index.php?offer_id=16&aff_id=5547&url_id=7",
                    "preview_url": "http://www.360.com"
                },
                {
                    "type": "Offer URL",
                    "name": "qq",
                    "tracking_link": "http://oltest1.offerstrack.net/index.php?offer_id=16&aff_id=5547&url_id=8",
                    "preview_url": "http://www.qq.com"
                }
            ]
        }
    }
}

Last updated