The Adtraction connector lets your AI agent act in each user's Adtraction account. Each user connects their own Adtraction API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 33 tools.
- Tools
- 33
- What they doRead · write · destructive
- 31 · 2 · 031 read2 write0 destructive
- Users sign in with
- API key
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Adtraction connection
In AgentKit > Connections, create an Adtraction connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'adtraction'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Adtraction:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'adtraction_applications_list',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "adtraction"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Adtraction:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="adtraction_applications_list",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their Adtraction credentials there. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_tooladtraction_applications_listList the status of your channels' applications to Adtraction partner programs.Read-onlyList Applications
List the status of your channels' applications to Adtraction partner programs. Returns each application's program, channel and approval status. Filter by program or channel ID.
Inputs
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_balance_getGet your Adtraction account balance in one currency.Read-onlyGet Account Balance
Get your Adtraction account balance in one currency. Returns the accumulated commission balance. Use List Payments for paid-out amounts.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
adtraction_channels_listList the approved channels (websites, newsletters, social accounts) in your Adtraction partner account.Read-onlyList Channels
List the approved channels (websites, newsletters, social accounts) in your Adtraction partner account. Returns each channel's id, name, type and URL. Use a channel ID in tracking links, feeds and statistics.
Inputs
This tool takes no inputs.
adtraction_clicks_listList the clicks tracked in your Adtraction account for a period.Read-onlyList Clicks
List the clicks tracked in your Adtraction account for a period. Returns each click with time, program, channel, EPI values and commission. Filter by program, channel, market, EPI or click IDs.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
commission_onlyboolean- If set to true, only clicks with commission will be returned. Example: false.
epistring- EPI value (your own tracking parameter in the tracking link). Example: newsletter-jan.
epi2string- EPI2 value (second tracking parameter). Example: banner-top.
epi3string- EPI3 value (third tracking parameter). Example: campaign-a.
epi4string- EPI4 value (fourth tracking parameter). Example: variant-b.
epi5string- EPI5 value (fifth tracking parameter). Example: user-42.
gbraidstring- Only clicks with this gbraid value. Example: gbraid123.
gclidstring- Only clicks with this Google Click ID. Example: Cj0KCQiA1234.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
wbraidstring- Only clicks with this wbraid value. Example: wbraid123.
adtraction_commission_by_payment_status_getGet the commission you earned in Adtraction over a period, grouped by payment status.Read-onlyGet Commission By Payment Status
Get the commission you earned in Adtraction over a period, grouped by payment status. Returns totals for not invoiced, invoiced, ready for payment and paid. Requires from_date, to_date and currency.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_commission_by_transaction_status_getGet the commission you earned in Adtraction over a period, grouped by transaction status.Read-onlyGet Commission By Transaction Status
Get the commission you earned in Adtraction over a period, grouped by transaction status. Returns totals for approved, pending and rejected transactions. Requires from_date, to_date and currency.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_commission_by_type_getGet the commission you earned in Adtraction over a period, grouped by commission type.Read-onlyGet Commission By Type
Get the commission you earned in Adtraction over a period, grouped by commission type. Returns commission totals per type. Requires from_date, to_date, currency and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_currencies_listList the currencies active on the Adtraction platform.Read-onlyList Currencies
List the currencies active on the Adtraction platform. Returns ISO 4217 currency codes. Use one in statistics, balance and payment tools.
Inputs
This tool takes no inputs.
adtraction_markets_listList the geographical markets where Adtraction runs partner programs.Read-onlyList Markets
List the geographical markets where Adtraction runs partner programs. Returns each market's id, name and country code. Use a market ID with the program category, directory and new-program tools.
Inputs
This tool takes no inputs.
adtraction_offers_listList coupon codes, vouchers and offers from Adtraction partner programs.Read-onlyList Coupons And Offers
List coupon codes, vouchers and offers from Adtraction partner programs. Returns each offer's program, code, description and validity. Filter by market, program or channel.
Inputs
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_payment_transactions_listList the transactions included in one Adtraction payment.Read-onlyList Payment Transactions
List the transactions included in one Adtraction payment. Returns the transactions with order value and commission. Use List Payments to find the payment ID.
Inputs
payment_idintegerrequired- Numerical ID of a payment, from List Payments. Example: 845521.
adtraction_payments_listList the payments Adtraction has generated to your account in one currency.Read-onlyList Payments
List the payments Adtraction has generated to your account in one currency. Returns each payment's id, date, amount and status. Use List Payment Transactions for a payment's contents.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
adtraction_product_feed_getGet all products in an advertiser's product feed for one of your channels, with tracking links.Read-onlyGet Product Feed
Get all products in an advertiser's product feed for one of your channels, with tracking links. Returns each product's name, price, URLs, tracking URL, image, stock and attributes. Use Get Product Feed Info for feed IDs and sizes first.
Inputs
channel_idintegerrequired- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
feed_idinteger- Numerical ID of a product feed. Example: 5521.
gtboolean- Set true to make tracking links comply with Google Ads' Transparent Click Tracker rules. Example: false.
set_epiboolean- If set to true, the epi will be set to the product name in tracking urls. Example: false.
adtraction_product_feed_info_getGet information about an advertiser's product feeds for one of your channels.Read-onlyGet Product Feed Info
Get information about an advertiser's product feeds for one of your channels. Returns each feed's id, name, product count, last update and download URL. Use Get Product Feed to fetch the products.
Inputs
channel_idintegerrequired- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_products_searchSearch the Adtraction product database by keyword, with program, market, currency, stock and price filters.Read-onlySearch Products
Search the Adtraction product database by keyword, with program, market, currency, stock and price filters. Returns a page of products with name, price, URLs, image, stock and program. Use Get Tracking Link to turn a product URL into a tracking link.
Inputs
keywordstringrequired- Search keyword. Supports AND, OR, -term, "phrases", trailing * wildcards, field:value (e.g. sku:1334868914) and AND discounted:true. Example: Nivea AND shower.
pageintegerrequired- Page number, starting at 0. Example: 0.
page_sizeintegerrequired- Products per page. Example: 10.
currencystring- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
in_stockboolean- Only return products that are (or are not) in stock. Example: true.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
max_pricenumber- Only show products with a price of at most maxPrice. Example: 500.
min_pricenumber- Only show products with a price of at least minPrice. Example: 10.
program_idstring- One or more program IDs, comma-separated. Example: 1229865361.
sortstring- Determines the sort order. The value of this parameter is a comma-separated list of sort keys. Sort directions 'asc' or 'desc' can optionally be appended to each sort key, separated by the ':' character. Available keys are: productPrice, programId, inStock, manufacturerArticleNumber, ean. Example: productPrice:asc.
adtraction_program_categories_listList the program categories on an Adtraction market, such as Banking & Finance.Read-onlyList Program Categories
List the program categories on an Adtraction market, such as Banking & Finance. Returns each category with the number of programs in it. Use List Markets for the market ID.
Inputs
market_idintegerrequired- Numerical ID of a geographical market, from List Markets. Example: 1.
adtraction_program_commissions_listList the commission types a partner program offers in its standard segment, such as a sale or a lead.Read-onlyList Commission Types
List the commission types a partner program offers in its standard segment, such as a sale or a lead. Returns each commission's id, name, type, value and category or threshold levels. Use a commission ID with Create Claim.
Inputs
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_program_directory_getList all Adtraction partner programs on a market with their categories.Read-onlyGet Program Directory
List all Adtraction partner programs on a market with their categories. Returns programs grouped with their category. Use Get Programs for one program's full terms.
Inputs
market_idintegerrequired- Numerical ID of a geographical market, from List Markets. Example: 1.
adtraction_programs_getGet Adtraction partner programs on a market, with their rules, commissions, feeds and tracking URL.Read-onlyGet Programs
Get Adtraction partner programs on a market, with their rules, commissions, feeds and tracking URL. Returns each program's id, name, category, currency, commissions, marketing rules, EPC and, with a channel, approval status and tracking URL. Filter by program, channel, approval status or program status.
Inputs
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
approval_statusinteger- Only programs where the channel's application has this status: 0 = rejected, 1 = approved, 2 = pending review. Needs channel_id. Example: 1.one of
012 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
statusinteger- Only programs with this platform status: 0 = live, 3 = closing. Example: 0.one of
03
adtraction_programs_new_listList partner programs added to an Adtraction market recently (usually the last 30 days).Read-onlyList New Programs
List partner programs added to an Adtraction market recently (usually the last 30 days). Returns the new programs with id and name. Use Get Programs for their terms.
Inputs
market_idintegerrequired- Numerical ID of a geographical market, from List Markets. Example: 1.
adtraction_statistics_by_ad_getGet your Adtraction traffic and earnings statistics grouped by ad for a period.Read-onlyGet Statistics By Ad
Get your Adtraction traffic and earnings statistics grouped by ad for a period. Returns impressions, clicks, transactions, conversion and commission grouped by ad. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_statistics_by_channel_getGet your Adtraction traffic and earnings statistics grouped by channel for a period.Read-onlyGet Statistics By Channel
Get your Adtraction traffic and earnings statistics grouped by channel for a period. Returns impressions, clicks, transactions, conversion and commission grouped by channel. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_statistics_by_day_getGet your Adtraction traffic and earnings statistics grouped by day for a period.Read-onlyGet Statistics By Day
Get your Adtraction traffic and earnings statistics grouped by day for a period. Returns impressions, clicks, transactions, conversion and commission grouped by day. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_statistics_by_epi_getGet your Adtraction traffic and earnings statistics grouped by EPI values for a period.Read-onlyGet Statistics By EPI
Get your Adtraction traffic and earnings statistics grouped by EPI values for a period. Returns impressions, clicks, transactions, conversion and commission grouped by EPI values. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
groupby_epiboolean- Determines whether the output should be grouped by the EPI attribute. Defaults to true. Example: true.
groupby_epi2boolean- Determines whether the output should be grouped by the EPI2 attribute. Defaults to false. Example: true.
groupby_epi3boolean- Determines whether the output should be grouped by the EPI3 attribute. Defaults to false. Example: true.
groupby_epi4boolean- Determines whether the output should be grouped by the EPI4 attribute. Defaults to false. Example: true.
groupby_epi5boolean- Determines whether the output should be grouped by the EPI5 attribute. Defaults to false. Example: true.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_statistics_by_program_getGet your Adtraction traffic and earnings statistics grouped by program for a period.Read-onlyGet Statistics By Program
Get your Adtraction traffic and earnings statistics grouped by program for a period. Returns impressions, clicks, transactions, conversion and commission grouped by program. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_statistics_getGet your Adtraction traffic and earnings statistics for a period.Read-onlyGet Statistics
Get your Adtraction traffic and earnings statistics for a period. Returns impressions, clicks, transactions, conversion and commission. Requires from_date, to_date, currency, market and transaction_status.
Inputs
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
marketstringrequired- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_tracking_errors_listList tracking errors in your Adtraction account from the last seven days.Read-onlyList Tracking Errors
List tracking errors in your Adtraction account from the last seven days. Returns each error with program, channel, type and time. Older errors are deleted automatically.
Inputs
channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_tracking_link_getCreate an Adtraction tracking link for a program and channel, optionally to a specific page and with EPI values.Read-onlyGet Tracking Link
Create an Adtraction tracking link for a program and channel, optionally to a specific page and with EPI values. Returns the tracking URL, or a short link. The target URL must be on the advertiser's domain.
Inputs
channel_idintegerrequired- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
epistring- EPI value (your own tracking parameter in the tracking link). Example: newsletter-jan.
epi2string- EPI2 value (second tracking parameter). Example: banner-top.
epi3string- EPI3 value (third tracking parameter). Example: campaign-a.
epi4string- EPI4 value (fourth tracking parameter). Example: variant-b.
epi5string- EPI5 value (fifth tracking parameter). Example: user-42.
short_linkboolean- If set to true, the output will be a short link instead of a traditional tracking link. Example: false.
urlstring- URL to the web page you want to link to. Must include protocol ("http:" or "https:") and be located on the advertiser's domain. Example: https://www.advertiser.example/products/123.
adtraction_transactions_gclid_listList Adtraction transactions that carry a Google Click ID (gclid) for a period.Read-onlyList Transactions With Gclid
List Adtraction transactions that carry a Google Click ID (gclid) for a period. Returns the transactions with their gclid, order value and commission. Use it to import conversions into Google Ads.
Inputs
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Impressions and clicks are not affected. Example: 3.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
adtraction_transactions_latest_listList your most recent approved or pending Adtraction transactions.Read-onlyList Latest Transactions
List your most recent approved or pending Adtraction transactions. Returns the latest transactions, 10 by default. Use List Transactions for a date range and filters.
Inputs
numberintegerrequired- How many transactions to return. Example: 10.
adtraction_transactions_listList the transactions (sales and leads) tracked in your Adtraction account for a period.Read-onlyList Transactions
List the transactions (sales and leads) tracked in your Adtraction account for a period. Returns each transaction with order value, commission, status, payment status, program, channel and EPI. Use List Latest Transactions for a quick recent view.
Inputs
from_datestringrequired- Start of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-01T00:00:00+0000. Example: 2026-01-01T00:00:00+0000.
to_datestringrequired- End of the period, as an ISO 8601 UTC timestamp, e.g. 2026-01-31T23:59:59+0000. Example: 2026-01-31T23:59:59+0000.
transaction_statusintegerrequired- Which transactions to include: 0 = all, 1 = approved, 2 = pending, 3 = approved + pending, 4 = open claims, 5 = rejected. Example: 0.one of
012345 channel_idinteger- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
currencystring- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
epistring- EPI value (your own tracking parameter in the tracking link). Example: newsletter-jan.
last_updatedstring- If used as input, the dataset will only include transactions that were updated after the specified time. Example: 2026-01-15T00:00:00+0000.
marketstring- Market as an ISO 3166-1 alpha-2 country code, e.g. SE. Example: SE.
payment_statusinteger- Only transactions with this payment status: 1 = not invoiced, 2 = invoiced to advertiser, 3 = ready for payment, 4 = paid to partner. Example: 4.one of
1234 program_idinteger- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
unique_idstring- Unique ID for the transaction. Example: TX-998812.
adtraction_claim_createCreate a claim for a transaction Adtraction did not track.WriteCreate Claim
Create a claim for a transaction Adtraction did not track. Returns the created claim; the advertiser reviews it. Get the commission ID from List Commission Types.
- Idempotent
Inputs
channel_idintegerrequired- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
commission_idintegerrequired- Numerical ID of the commission. Example: 4411.
currencystringrequired- Currency as an ISO 4217 code, e.g. SEK or EUR. Example: SEK.
order_idstringrequired- Advertiser order ID. Example: ORD-55123.
order_valuenumberrequired- Order value of the transaction. Example: 455.
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
transaction_datestringrequired- UTC timestamp of when the transaction was reported by the advertiser. Example: 2026-01-14T12:30:00+0000.
epistring- EPI value (your own tracking parameter in the tracking link). Example: newsletter-jan.
epi2string- EPI2 value (second tracking parameter). Example: banner-top.
epi3string- EPI3 value (third tracking parameter). Example: campaign-a.
epi4string- EPI4 value (fourth tracking parameter). Example: variant-b.
epi5string- EPI5 value (fifth tracking parameter). Example: user-42.
expected_commissionnumber- The expected commission amount for the claim. Should be used if the advertiser pays different commission for different product categories, meaning that a claim can consist of products from multiple categories, where each category gives the right to different commission. Example: 45.5.
adtraction_exclusive_coupon_getGet one exclusive coupon code an advertiser assigned to your channel.WriteGet Exclusive Coupon
Get one exclusive coupon code an advertiser assigned to your channel. Returns the coupon code for the unique ID you give. Use a new unique ID for each code you hand out.
- Idempotent
Inputs
channel_idintegerrequired- Numerical ID of one of your channels (website, newsletter, social account), from List Channels. Example: 1324738001.
program_idintegerrequired- Numerical ID of an Adtraction partner program (advertiser), from Get Programs or List Applications. Example: 1229865361.
unique_idstringrequired- Your own unique ID for this code, e.g. a visitor or order reference; each ID gets its own code. Example: visitor-8842.
No tools match.