Get information about a specific offer

HTTP method

Endpoint

GET

/aff/v1/offers/{offer_id}

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Response body parameters

Field

Type

Description

offer

id

integer

A string that uniquely identifies this offer.

name

string

The name of the this offer

end_date

integer

The expiration date of the offer.

status

string

The current status of the offer.

category

string

The category of the this offer (categroy means the tag information)

pricing_type

string

The current pricing_type of the offer. Possible Values: CPA · CPL · CPC · CPM · CPI · CPS · CPA+CPS

payout

string

The payout of the offer.

percent_payout

string

Percent payout.

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.

description

string

A description for the Offer.

push_allowed

integer

[Deprecated]

incent_allowed

integer

[Deprecated]

adult_allowed

integer

[Deprecated]

thumbnail

string

The offer’s thumbnail of the link address.

offer_approval

integer

Whether this Offer requires manual approval before an Affiliate can run it. Possible Values: 1 Require Approval 2 Public 3 Private

tracking_link

string

Tracking link. NOTE: tracking link can be acquired only in the case of Personal Offer.

currency

string

The currency of the Offer.

conversion_protocol

integer

The Conversion tracking method to use for the Offer. Possible Values: 1:Image Pixel; 2:Postback URL; 3:iFrame Pixel

impression_pixel

string

impression pixel. NOTE: impression_pixel link can be acquired only in the case of Personal Offer.

carrier_mode

integer

carrier_mode indicates the Mobile Carrier type.1 indicates include. 2 indicates exclude.

event

event_id

integer

Event id.

event_name

string

Event name.

event_payout_type

string

Possible Values: CPC · CPI · CPM · CPA · CPL · CPS · CPA+CPS

event_payout

string

Event payout.

event_percent_payout

string

Event percent payout.

conversion_protocol

integer

The Conversion tracking method to use for the event. Possible Values: 1:Image Pixel 2:Postback URL 3:iFrame Pixel

carrier

array

Mobile Carrier

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

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

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer": {
          "id": 102,
          "name": "Demo_J",
          "status": "active",
          "category": "Game,test,Music and Audio,Games,TESTSS,Mobile Incent,Real Money Gambling,Mobile Android,Downloads",
          "end_date": 1496505599,
          "pricing_type": "CPA",
          "payout": "1.212",
          "percent_payout": "-1",
          "preview_url": "https://www.offerslook.com",
          "description": "https://offerslook.gitbooks.io/api-documentation/content/affiliate_api/offers.html",
          "push_allowed": -1,
          "incent_allowed": -1,
          "adult_allowed": -1,
          "thumbnail": "https://s3-ap-southeast-1.amazonaws.com/offerslook-bucket/partner_40/campaign/thumb_7.3_311c806ca1b6410fa95b5b3539a43658.jpg",
          "offer_approval": 1,
          "tracking_link": "https://click.dev.offerslook.com/index.php?offer_id=102&aff_id=161",
          "currency": "EUR",
          "conversion_protocol": 2,
          "impression_pixel": "<img src='http://qoqololo.iuniontrack.com:9080/impr.php?offer_id=102&aff_id=161'  border='0'  width='1'  height='1' />",
          "event": [
            {
              "event_id": 1,
              "event_name": "Initial Event",
              "event_payout_type": "CPA",
              "event_payout": "1.212",
              "event_percent_payout": "-1",
              "conversion_protocol": 2
            },
            {
              "event_id": 4,
              "event_name": "test",
              "event_payout_type": "CPA",
              "event_payout": "2.222",
              "event_percent_payout": "-1",
              "conversion_protocol": 1
            },
            {
              "event_id": 5,
              "event_name": "Demo",
              "event_payout_type": "CPA+CPS",
              "event_payout": "1.23",
              "event_percent_payout": "10",
              "conversion_protocol": 1
            }
          ]
        }
      }
    }

Last updated