Campaigns & Creatives in CAKE

This article will cover the following:


What Is a Campaign?

In CAKE, a campaign is the connection between an affiliate and a specific offer. When a network approves an affiliate to promote an offer, CAKE creates a campaign that ties their account to that offer — and from that campaign, CAKE generates a unique tracking link.

ComponentWhat It Represents
OfferThe product or service being promoted
AffiliateThe publisher driving traffic
CampaignThe approved relationship between the two
Tracking LinkThe unique URL generated from the campaign
Note:
Each campaign has its own ID in CAKE — useful when troubleshooting conversion attribution issues.

How to Generate a Tracking Link

For Affiliates

  1. Log in to your affiliate portal and go to Offers.
  2. Find the offer and click its name to open the detail page.
  3. Scroll to the Tracking Link section. Your unique link is displayed there.
  4. If the offer supports multiple landing pages or creatives, select them before copying your link.
  5. Copy the link and use it in your promotion. Do not alter the URL structure — changing parameters breaks tracking.

For Network Managers

  1. Go to Campaigns and search by affiliate name, offer name, or campaign ID.
  2. Open the campaign record. The tracking link is displayed near the top.
  3. To create a new campaign, click Add Campaign, select an affiliate and offer, and save. CAKE generates the tracking link automatically.
Caution:
Never manually construct a tracking link by copying someone else's link and changing the affiliate ID. Each campaign must be properly set up in CAKE for reporting, caps, and payouts to work correctly.

Creative Types

Creative TypeWhat it isCommon use
BannersStatic or animated image files (JPG, PNG, GIF) in standard ad sizes.Display advertising, ad networks.
HTML CreativesRaw HTML code for rich media or formatted ads.Email newsletters, custom ad placements.
Text LinksPlain hyperlinked text.Inline blog links, email copy, social posts.
Landing PagesPre-approved destination URLs for the offer.Sending traffic to a specific version of the offer page.

How to Select a Creative

  1. On the offer detail page, scroll to the Creatives section.
  2. Browse available creatives — type, dimensions if applicable, and a preview.
  3. Click Get Code or Get Link next to the creative you want.
  4. CAKE displays the code or link with your affiliate tracking already built in. Copy and place it in your promotion.
Caution:
Only use creatives listed as active on the offer. Using outdated or unapproved creatives may violate your agreement with the network or advertiser.

Landing Pages and Tracking

A landing page in CAKE is a destination URL the advertiser has approved for a specific offer. When you select a landing page in the tracking link generator, CAKE encodes that choice into your link and routes the visitor to the correct page.

  • Not all offers have multiple landing pages — if only one is available, it is selected automatically.
  • Landing pages are controlled by the network or advertiser; you cannot add your own unless the network permits it.
  • If a landing page is deactivated, CAKE falls back to the offer's default URL.

API: Campaign & Creative Endpoints

List Campaigns

GET /api/2/campaigns.json
ParameterTypeRequiredDescription
campaign_idintegerNoReturn a single campaign by ID.
offer_idintegerNoFilter campaigns for a specific offer.
affiliate_idintegerNoFilter campaigns for a specific affiliate.
campaign_statusstringNoFilter by status: active, inactive, or deleted.
start_at_rowintegerNoRow offset. Default: 1.
row_limitintegerNoMax rows. Default: 100; max: 500.

Sample request

GET https://yourdomain.cake.com/api/2/campaigns.json ?api_key=YOUR_API_KEY &offer_id=12345 &affiliate_id=67890 &campaign_status=active

Sample response

{ "request_status": "Success", "campaigns": [{ "campaign_id": 8801, "offer_id": 12345, "affiliate_id": 67890, "campaign_status": "active", "tracking_link": "https://yourdomain.cake.com/click?c=8801" }] }

Create Campaign

POST /api/2/campaign.json
ParameterTypeRequiredDescription
offer_idintegerYesID of the offer this campaign belongs to.
affiliate_idintegerYesID of the affiliate being assigned.
display_link_type_idintegerYesDisplay link format type. Obtain valid IDs from your CAKE admin.
creative_idintegerNoID of the creative asset to assign.
landing_page_idintegerNoID of the landing page to assign.

Sample request

POST https://yourdomain.cake.com/api/2/campaign.json?api_key=YOUR_API_KEY { "offer_id": 12345, "affiliate_id": 67890, "display_link_type_id": 2, "creative_id": 441, "landing_page_id": 309 }

Sample response

{ "request_status": "Success", "campaign": { "campaign_id": 8802, "tracking_link": "https://yourdomain.cake.com/click?c=8802" } }

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.