Sub Affiliates in CAKE

This article will cover the following:


What Is a Sub Affiliate?

A sub affiliate is a publisher you recruit and manage under your own affiliate account. Instead of joining an advertiser's program directly, sub affiliates run traffic through you — the primary affiliate — and you take responsibility for their performance, compliance, and payouts.

  • Media buying agencies managing multiple in-house traffic sources.
  • Affiliate networks that white-label campaigns for their own publishers.
  • Experienced affiliates who mentor and manage newer publishers.
Note:
Sub affiliates are sometimes called "sub publishers" or "tier-2 affiliates" depending on your network. In CAKE, the platform refers to them as sub affiliates throughout the interface.

How Sub Affiliate Tracking Works

CAKE uses sub IDs — small pieces of extra information appended to your tracking link — to identify which sub affiliate sent a conversion. When you pass a sub affiliate's unique identifier in your link, CAKE stamps every click and conversion with that value.

  1. You receive a tracking link from the advertiser or network for the offer you're running.
  2. You append a sub ID to that link identifying the sub affiliate — for example, ?s1=publisher42. Each sub affiliate gets a different value.
  3. The sub affiliate runs traffic to their version of the link. When a user clicks, CAKE records the sub ID alongside the click.
  4. A conversion fires. CAKE ties it to your account as the primary affiliate and records the sub ID for reporting.
  5. Reports populate in your dashboard, broken out by sub ID so you can analyze each sub affiliate individually.
Caution:
Sub ID values are passed as plain text in the URL. Never place sensitive personal data (full names, emails, payment details) in a sub ID field. Use internal codes or numeric identifiers instead.

Viewing Sub Affiliate Performance

All sub affiliate reports are available in your affiliate portal under Reports. Filter by offer, date range, or specific sub ID values. Group by sub ID to see clicks, conversions, conversion rate, revenue, and payout for each publisher.

Tip:
Set your reporting date range to match your payout period before exporting. This makes reconciliation much easier and helps you catch discrepancies before you process payments to your sub affiliates.

Payout Structures

Payout ModelHow It WorksCommon Use Case
Fixed splitYou pay the sub affiliate a fixed percentage of every conversion payout (e.g., 70% to them, 30% to you).Long-term relationships where performance is predictable.
Flat rateYou pay a set dollar amount per conversion regardless of your own payout rate.Standardizing payouts across many sub affiliates and offers.
Tiered rateThe sub affiliate earns more per conversion once they hit a volume threshold.Incentivizing high-volume publishers to scale up.
Negotiated ratePayout is agreed individually with each sub affiliate.Premium publishers who command higher rates based on traffic quality.
Caution:
CAKE does not process payments to your sub affiliates automatically. You use sub ID reporting to determine what each sub affiliate earned, then pay them according to your own agreement.

Managing Sub Affiliates

  1. Log in to your affiliate portal and navigate to Sub Affiliates (sometimes under Account or Network).
  2. Click Add Sub Affiliate or Invite and enter basic information — name, email, contact details.
  3. Assign a unique sub ID or let CAKE generate one automatically.
  4. If your network requires approval, the sub affiliate remains in a pending state until you or a network admin approves their account.
  5. Build their tracking link by appending their sub ID to your base tracking link and share it with them.

API: Sub Affiliate Endpoints

List Sub Affiliates

GET /api/2/sub_affiliates.json
ParameterTypeRequiredDescription
sub_affiliate_idintegerNoFilter to a single sub affiliate by ID.
affiliate_idintegerNoFilter to sub affiliates belonging to a specific parent affiliate.
sub_affiliate_statusstringNoFilter by status: active, inactive, or all. Default: all.

Sample request

GET https://your-instance.cakemarketing.com/api/2/sub_affiliates.json ?api_key=YOUR_API_KEY &affiliate_id=67890 &sub_affiliate_status=active

Sample response

{ "request_status": "Success", "sub_affiliates": [ {"sub_affiliate_id": 301, "sub_affiliate_name": "MediaPartner_A", "payout": 5.00, "payout_type": "cpa"}, {"sub_affiliate_id": 302, "sub_affiliate_name": "MediaPartner_B", "payout": 20.00, "payout_type": "percent"} ] }

Create Sub Affiliate

POST /api/2/sub_affiliate.json
ParameterTypeRequiredDescription
affiliate_idintegerYesThe parent affiliate under whom this sub affiliate will be created.
sub_affiliate_namestringYesDisplay name for the new sub affiliate. Must be unique within the parent affiliate.
payoutdecimalYesCommission amount. Flat currency value (cpa) or percentage (percent).
payout_typestringYesHow payout is calculated: cpa (flat amount) or percent (% of parent payout).

Sample request

POST https://your-instance.cakemarketing.com/api/2/sub_affiliate.json { "api_key": "YOUR_API_KEY", "affiliate_id": 67890, "sub_affiliate_name": "MediaPartner_C", "payout": 7.50, "payout_type": "cpa" }

Sample response

{ "request_status": "Success", "sub_affiliate": { "sub_affiliate_id": 303, "sub_affiliate_name": "MediaPartner_C", "payout": 7.50, "payout_type": "cpa" } }

If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.