Sub topic 4
Structuring campaigns, activities and assets
This chapter assumes you have read the previous chapter on choosing the fields every entry needs. You should be comfortable with a flat table of rows and columns, and you should know how writers, designers and approvers hand work to each other. Here you will turn that flat table into a three-level hierarchy: campaigns, activities and assets.
Why a flat list is not enough
A flat calendar with one row per item works for a few weeks. It breaks down when a single campaign produces dozens of items. Three problems show up:
- Nobody can answer "what is the Spring Sale?" without filtering on a naming convention that someone has to remember to type.
- A change to the launch date means editing every row by hand.
- Reporting at campaign level is guesswork, because nothing says which rows belong together.
A hierarchy fixes these by recording the parent of each item explicitly. The parent link is data, not a naming habit.
The three levels
Each level answers a different question and has a different owner and time scale.
| Level | Question it answers | Typical example | Time scale |
|---|---|---|---|
| Campaign | Why are we doing this, and for which goal? | Spring Sale | Weeks to months |
| Activity | What goes out, where and when? | Launch email, social teaser | A day to a few weeks |
| Asset | What must be produced to make the activity happen? | Email copy, hero image, landing page | A production task with one due date |
Campaign
A campaign is a coordinated effort tied to one goal, such as "increase spring orders by 10%". It carries the goal, the overall date window, the budget and the accountable owner. It does not carry a channel, because one campaign normally runs on several channels.
Activity
An activity is one planned appearance of the campaign in front of an audience on one channel. A launch email, a paid social burst and a web announcement are three activities. The activity is the unit that has a channel and a publish date, so it is also the unit you check for conflicts later in this tutorial.
Asset
An asset is a deliverable that an activity needs: copy, an image, a video, a landing page, a tracking link. Assets are the unit of production work. They have their own owner, due date and status, and these usually differ from those of the activity they feed.
Parent links and identifiers
Every child row stores the identifier of its parent. An activity stores campaign_id. An asset stores activity_id. This is a foreign key, a column whose value must match the identifier of a row in another table.
Follow these rules for identifiers:
- Give every row a stable ID that never changes, even if the name does. Use short codes such as
C-001,A-014andS-102, or a tool-generated ID. - Never use the name as the key. Marketing teams rename campaigns often, and a renamed key silently orphans all of its children.
- Store only the immediate parent. An asset needs
activity_id, and the campaign is found by following the activity. Storing both invites contradictions where the two disagree.
In a spreadsheet, you can keep three tabs, one per level, and use a lookup to pull the campaign name into the activity tab. In a project management tool, the same structure is usually a project, a task and a subtask.
Here is the activity level from the earlier flat table, extended with IDs and a parent link:
activity_id,campaign_id,activity,channel,owner,status,start_date,end_date
A-001,C-001,Launch email,email,Priya,in_review,2026-03-02,2026-03-02
A-002,C-001,Social teaser,social,Marcus,draft,2026-02-27,2026-03-01
A-003,C-002,Announcement post,web,Dana,planned,2026-03-10,2026-03-10The campaign_id column replaces the free-text campaign name. The name now lives in one place, on the campaign row.
What each level owns
Decide which fields belong where, and avoid copying them down the tree. A field stored at two levels will eventually disagree.
| Field | Campaign | Activity | Asset |
|---|---|---|---|
| Goal and target metric | Yes | No, inherited | No, inherited |
| Channel | No | Yes | No, inherited |
| Audience | Default | Override if different | No, inherited |
| Owner | Accountable owner | Delivery owner | Producer |
| Status | Derived or simple | Yes | Yes |
| Dates | Window, derived from children | Publish window | Single due date |
Two patterns keep this clean:
- Inheritance. A child uses the parent's value unless it sets its own. An activity inherits the campaign's audience by default, and a team can override it for one activity.
- Rollup. A parent's value is computed from its children. The campaign's date window is the earliest activity start and the latest activity end. Entering it by hand is a common source of stale data.
Rollup and integrity checks in code
The script below stores the three levels as plain lists and does two jobs. It rolls up a campaign's date window from its activities, and it reports assets that are orphaned or due after the activity they feed has already begun.
from datetime import date
activities = [
{"id": "A-001", "campaign_id": "C-001", "name": "Launch email",
"start": date(2026, 3, 2), "end": date(2026, 3, 2)},
{"id": "A-002", "campaign_id": "C-001", "name": "Social teaser",
"start": date(2026, 2, 27), "end": date(2026, 3, 1)},
]
assets = [
{"id": "S-101", "activity_id": "A-001", "type": "email_copy", "due": date(2026, 2, 20)},
{"id": "S-102", "activity_id": "A-001", "type": "hero_image", "due": date(2026, 2, 25)},
{"id": "S-103", "activity_id": "A-002", "type": "teaser_video", "due": date(2026, 3, 3)},
{"id": "S-104", "activity_id": "A-009", "type": "landing_page", "due": date(2026, 3, 1)},
]
activity_by_id = {a["id"]: a for a in activities}
def campaign_window(campaign_id):
rows = [a for a in activities if a["campaign_id"] == campaign_id]
return min(a["start"] for a in rows), max(a["end"] for a in rows)
def check_assets():
for asset in assets:
activity = activity_by_id.get(asset["activity_id"])
if activity is None:
print(f"{asset['id']}: orphan, no activity {asset['activity_id']}")
elif asset["due"] > activity["start"]:
print(f"{asset['id']}: due {asset['due']} after activity start {activity['start']}")
start, end = campaign_window("C-001")
print("Spring Sale window:", start, end)
check_assets()Running it prints:
Spring Sale window: 2026-02-27 2026-03-02
S-103: due 2026-03-03 after activity start 2026-02-27
S-104: orphan, no activity A-009Both reports describe real calendar failures. The late teaser video cannot be ready for its own activity. The orphan asset belongs to nothing, so no one will notice if it slips.
Choosing the right granularity
The main design decision is where to stop splitting. Too coarse and the calendar hides work. Too fine and nobody keeps it up to date.
Use these tests:
- Create a separate activity when the item has its own channel, its own publish date or its own audience. Two emails to different segments on different days are two activities.
- Make something an asset when it is produced once and consumed by an activity. A banner image used by three ads is one asset linked to three activities.
- Do not track as an asset a task with no handoff, such as "check spelling". Put it in the checklist for the parent asset.
- Keep a small campaign small. A single email with no supporting work can be one campaign, one activity and two assets. Do not invent layers to look thorough.
A useful rule of thumb is that a campaign should have between two and twenty activities. A campaign with one activity is probably a one-off activity that does not need a campaign. A campaign with fifty is probably several campaigns.
Edge cases
Shared assets
One asset can serve several activities, such as a logo lockup or a product photo. A strict tree allows only one parent, so you have two choices:
- Link the asset to its main activity and note the others in a
used_byfield. This is simple but the extra links are not enforced. - Use a join table with one row per activity and asset pair. This is a many-to-many relationship, and it is correct when reuse is common.
Start with the first choice. Move to the second only when reuse causes real confusion about which deadline governs.
Evergreen and always-on work
Some work has no campaign, such as the weekly newsletter or routine social posts. Create a long-running campaign called "Always-on" or one per channel per quarter. This keeps the rule that every activity has a parent, and the calendar stays queryable.
Activities that span campaigns
A product launch email may also carry a Spring Sale banner. Do not give the activity two campaign parents. Assign the primary campaign, and tag the secondary one in a separate field. Reporting stays unambiguous, and the secondary link is still visible.
Moving and splitting
When a launch date moves, you should change the activity dates and let dependent asset dates follow through back-planning, which a later chapter covers. If an activity is split in two, create the new activity row and re-point the affected assets. Do not copy the old row, because duplicates will double-count in reports.
Common errors
- Using names as identifiers, so a rename breaks the links.
- Storing the campaign name as free text on every activity, which leads to variants such as "Spring Sale" and "Spring sale 2026".
- Putting the channel on the campaign, which prevents multi-channel campaigns.
- Giving assets only an owner and no due date, so the asset cannot be back-planned.
- Creating assets without a parent activity, so they appear in no campaign view.
Exercises
Exercise
A campaign row lists a start date of 2026-03-01, but its earliest activity starts on 2026-02-24. Which design rule was broken, and how do you prevent the problem?
Show answer
The campaign's date window was entered by hand instead of being rolled up from its activities. Compute the campaign start as the earliest activity start and the end as the latest activity end, so the window changes whenever an activity moves.
Exercise
A hero image is used by a launch email, a social post and a web banner. Describe two ways to model this, and say which one you would start with.
Show answer
Option 1: link the image to its main activity and list the other activities in a used_by field. Option 2: use a join table with one row per activity and asset pair (many-to-many). Start with option 1 because it is simpler, and move to option 2 only when reuse creates confusion over which deadline applies.
Exercise
Why should an asset store only activityid and not also campaignid?
Show answer
The campaign can always be found by following the activity's campaign_id. Storing both lets the two values disagree, for example after an activity is moved to another campaign, and then reports give conflicting answers.