Awin Publisher
Official documentation: Awin Publisher API docs
Authentication
Awin Publisher uses API key authentication.
- Go to the Connections page and create a New Connection
- Select Awin Publisher API from the Connector dropdown
- Enter a Connection name
- Fill in the following credentials:
| Field | Required |
|---|---|
| Api Token | ✅ |
| Publisher Id | ✅ |
In order to start using the hibase connector to the Awin Publisher API (v4), you need to create an API Token for your account.
Log into your Awin Dashboard and navigate to the API Credentials page
Type in your password and click on Show my API token, then copy the OAuth2 Token that is displayed
Navigate to your Manage Accounts page and copy the ID of the Publisher account you want to query from hibase, shown in parentheses next to the account name
In hibase, provide the API Token and Publisher ID you just copied when adding the Awin Publisher API connector
Endpoints
Accounts (API docs)
Retrieve publisher account details from the Awin affiliate network.
Returned Data
| Column | Type |
|---|---|
account_id |
integer |
account_name |
string |
account_type |
string |
user_role |
string |
Commission Groups (API docs)
Retrieve commission group structures for an advertiser.
| Parameter | Description | Required |
|---|---|---|
advertiser_id |
The advertiser ID to retrieve commission groups for. | ✅ |
Returned Data
| Column | Type |
|---|---|
group_id |
integer |
group_code |
string |
group_name |
string |
type |
string |
amount |
integer |
currency |
string |
percentage |
integer |
Programmes (API docs)
Retrieve advertiser programmes available to the publisher on the Awin network.
| Parameter | Description | Required |
|---|---|---|
relationship |
Filter programmes by relationship status. Values: joined, notjoined, pending |
— |
country_code |
Filter by country code (ISO 3166-1 alpha-2, e.g. DE, US, GB). | — |
Returned Data
| Column | Type |
|---|---|
id |
integer |
name |
string |
display_url |
string |
click_through_url |
string |
logo_url |
string |
primary_region_name |
string |
primary_region_country_code |
string |
currency_code |
string |
Reports By Advertiser (API docs)
Retrieve performance reports broken down by advertiser.
| Parameter | Description | Required |
|---|---|---|
start_date |
Start date for the report (format: YYYY-MM-DD). | ✅ |
end_date |
End date for the report (format: YYYY-MM-DD). | ✅ |
region |
Filter by region code. | ✅ |
timezone |
Timezone for date boundaries. Values: UTC, Europe/Berlin, America/New_York |
✅ |
date_type |
Which date field to use for filtering. Values: transaction, validation |
— |
Returned Data
| Column | Type |
|---|---|
advertiser_id |
integer |
advertiser_name |
string |
publisher_id |
integer |
publisher_name |
string |
region |
string |
currency |
string |
impressions |
integer |
clicks |
integer |
pending_no |
integer |
pending_value |
integer |
pending_comm |
integer |
confirmed_no |
integer |
confirmed_value |
integer |
confirmed_comm |
integer |
bonus_no |
integer |
bonus_value |
integer |
bonus_comm |
integer |
total_no |
integer |
total_value |
integer |
total_comm |
integer |
declined_no |
integer |
declined_value |
integer |
declined_comm |
integer |
Reports By Creative (API docs)
Retrieve performance reports broken down by creative asset.
Returned Data
| Column | Type |
|---|---|
advertiser_id |
integer |
advertiser_name |
string |
publisher_id |
integer |
publisher_name |
string |
region |
string |
currency |
string |
impressions |
integer |
clicks |
integer |
creative_id |
integer |
creative_name |
string |
tag_name |
string |
pending_no |
integer |
pending_value |
integer |
pending_comm |
integer |
confirmed_no |
integer |
confirmed_value |
integer |
confirmed_comm |
integer |
bonus_no |
integer |
bonus_value |
integer |
bonus_comm |
integer |
total_no |
integer |
total_value |
integer |
total_comm |
integer |
declined_no |
integer |
declined_value |
integer |
declined_comm |
integer |
Transactions (API docs)
Retrieve affiliate transactions aggregated by various dimensions.
| Parameter | Description | Required |
|---|---|---|
start_date |
Start date for the query (format: YYYY-MM-DD). | ✅ |
end_date |
End date for the query (format: YYYY-MM-DD). | ✅ |
timezone |
Timezone for date boundaries. | ✅ |
advertiser_id |
Filter transactions by advertiser ID. | — |
status |
Filter by transaction status. Values: pending, approved, declined, bonus |
— |
date_type |
Which date field to use for filtering. Values: transaction, validation |
— |
include_custom_parameters |
Include custom tracking parameters in the response. Values: true, false |
— |
include_transaction_parts |
Include item-level transaction parts. Values: true, false |
— |
Returned Data
| Column | Type |
|---|---|
id |
integer |
url |
string |
advertiser_id |
integer |
publisher_id |
integer |
commission_sharing_publisher_id |
integer |
site_name |
string |
commission_status |
string |
commission_amount_amount |
decimal |
commission_amount_currency |
string |
sale_amount_amount |
decimal |
sale_amount_currency |
string |
ip_hash |
string |
customer_country |
string |
click_refs_click_ref |
string |
click_refs_click_ref2 |
string |
click_refs_click_ref3 |
string |
click_refs_click_ref4 |
string |
click_refs_click_ref5 |
string |
click_refs_click_ref6 |
string |
click_date |
datetime |
transaction_date |
datetime |
validation_date |
datetime |
type |
string |
decline_reason |
string |
voucher_code_used |
boolean |
voucher_code |
string |
lapse_time |
integer |
amended |
boolean |
amend_reason |
string |
old_sale_amount_amount |
decimal |
old_sale_amount_currency |
string |
old_commission_amount_amount |
decimal |
old_commission_amount_currency |
string |
click_device |
string |
transaction_device |
string |
publisher_url |
string |
advertiser_country |
string |
order_ref |
string |
transaction_parts_commission_group_id |
integer |
transaction_parts_amount |
decimal |
transaction_parts_commission_amount |
decimal |
transaction_parts_commission_group_code |
string |
transaction_parts_commission_group_name |
string |
paid_to_publisher |
boolean |
payment_id |
integer |
transaction_query_id |
integer |
original_sale_amount_amount |
decimal |
original_sale_amount_currency |
string |
Additional columns may be returned depending on the resource properties requested.