Get an affiliate blocked of the affiliate

HTTP method

Endpoint

GET

/v1/affiliate_blocks/{affiliate_block_id}

Path parameters

Parameter

Description

affiliate_block_id

The unique id for the block.

Response body parameters

Field

Type

Description

id

integer

The unique id for the block.

affiliate_id

integer

The unique id for the affiliate.

offer_id

integer

The unique id for the offer.

type

integer

The type for this affiliate blocked. Allow type: 1 Source ID 2 Aff Sub1 3 Aff Sub2 4 Aff Sub3 5 Aff Sub4 6 Aff Sub5

value

string

The value for the affiliate blocked.

create_time

integer

Create time.

update_time

integer

Update time.

advertiser_id

integer

The unique id for the advertiser.

category

string

The type for this affiliate blocked. Allow type: 1 Offer 2 Advertiser.

list_type

string

Allow Values: 1 Blacklist; 2 Whitelist. Note:if list_type=1, all the clicks and conversions with this value will be rejected. If list_type=2, all the clicks and conversions won't success without this value.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/affiliate_blocks/1

Request GET http://{networkname}.api.offerslook.com/v1/affiliate_blocks/1

Example response

    {
    "code": 0,
    "message": "Success",
    "data": {
        "affiliate_block": {
            "id": 1,
            "affiliate_id": 4979,
            "offer_id": 0,
            "type": 1,
            "value": "marry",
            "create_time": 1477637797,
            "update_time": 0,
            "advertiser_id": 0,
            "category": 1,
            "list_type": 1

        }
    }
}

Last updated