Get the campaigns list

Get campaign list and campaing information

Method: GET

HTTP Request

https://api.accesstrade.vn/v1/campaign

Query parameter:

Param

Require

Description

approval

Optional

approved=successful filter registed campaign

campaign_id

Optional

filter by campaign id

https://api.accesstrade.vn/v1/campaigns?limit=20&page=25&approval=successful

Describe results

Parameters

Description

total

Number of campaigns.

data.id

Id of campaign.

data.name

Name of campaign.

data.approval

  • Unregistered: User has not register for the campaign.

  • Pending: Campaign request is in review waiting for approval.

  • Successful: User campaign’s request is approved.

data.status

Status of the campaign: 1: Running

data.merchant

Name of the merchant.

data.conversion_policy

data.cookie_duration

Time duration of the cookie (second).

data.cookie_policy

data.description

Description of the campaign.

data.start_time

The start date of the campaign.

data.end_time

The end date of the campaign

data.category

Campaign category

data.sub_category

data.type

Campaign type

data.url

Url campaign.

Data Response:

Example (Using tool Postman to call API)

Last updated

Was this helpful?