Sub topic 4
Structuring campaigns, activities and assets
This chapter assumes you have a flat calendar table with the standard fields (campaign, channel, owner, status, dates) and that you know how work moves between writers, designers and approvers. Here you add structure so one campaign can hold many pieces of work without the calendar becoming a pile of unrelated rows.
The three levels
A calendar with one row per item gets hard to read once a campaign has twenty items. Group the rows into three levels:
- Campaign: a goal-driven effort with a name, a date window and a goal. Example: "Spring Sale".
- Activity: one scheduled action on one channel. Example: "Launch email" on email.
- Asset: a deliverable that an activity needs. Example: the email copy, the header image, the landing page.
An activity is the unit that ships and appears on the calendar. An asset is the unit that gets produced and approved. A campaign is the unit you report on.
What belongs at each level
Put a field at the level where its value is stable. Repeating it elsewhere invites mismatches.
| Field | Level | Reason |
|---|---|---|
| Goal, budget | Campaign | Applies to every activity in the campaign |
| Channel, publish date | Activity | Each activity has its own channel and date |
| Format, due date, approver | Asset | Production and sign-off happen per deliverable |
| Owner | Activity and asset | The person who ships may differ from the person who produces |
The flat table from the data model chapter already carries the campaign name on each row:
campaign,activity,channel,owner,status,start_date,end_date
Spring Sale,Launch email,email,Priya,in_review,2026-03-02,2026-03-02
Spring Sale,Social teaser,social,Marcus,draft,2026-02-27,2026-03-01
Product Launch,Announcement post,web,Dana,planned,2026-03-10,2026-03-10Each row is an activity. The campaign column is the link to the parent. For assets, add a second table whose rows point back to an activity.
Linking the levels with IDs
Names change. "Spring Sale" becomes "Spring Sale 2026" and every text match breaks. Give each record a stable ID and have children store the parent's ID.
campaigns = {
"C-001": {"name": "Spring Sale", "goal": "Drive 500 orders"},
}
activities = {
"A-101": {"campaign_id": "C-001", "name": "Launch email", "channel": "email"},
"A-102": {"campaign_id": "C-001", "name": "Social teaser", "channel": "social"},
}
assets = {
"S-1001": {"activity_id": "A-101", "name": "Email copy", "status": "draft"},
"S-1002": {"activity_id": "A-101", "name": "Header image", "status": "planned"},
"S-1003": {"activity_id": "A-102", "name": "Post copy", "status": "draft"},
}
def assets_for_campaign(campaign_id):
activity_ids = {
key for key, a in activities.items() if a["campaign_id"] == campaign_id
}
return [s["name"] for s in assets.values() if s["activity_id"] in activity_ids]
print(assets_for_campaign("C-001"))The function walks down the hierarchy: campaign to activities, then activities to assets. In a spreadsheet the same idea is a lookup column on an ID. In a project tool it is a parent-child relation.
Common errors
- Too many levels. Adding "sub-campaign" and "workstream" layers before you need them makes entry slow, and people stop filling it in. Start with three.
- Activities with no campaign. Orphan rows cannot be reported on later. Make the campaign field required.
- Assets tracked as activities. If "Header image" sits on the calendar next to "Launch email", the calendar shows production tasks instead of what the audience sees. Keep assets in a separate view or table.
- Status stored only on the campaign. A campaign cannot be "in review" as a whole when its email is approved and its social posts are drafts. Track status on activities and assets, and derive the campaign's state from them.
Exercise
A team lists "Blog hero image" as a row in the main calendar, with channel "web" and the same date as "Launch blog post". Which level is each row, and what should change?
Show answer
"Launch blog post" is an activity and "Blog hero image" is an asset. Move the image to the asset table with the blog post's activity ID as its parent. The main calendar then shows only what the audience sees, and the image's due date and approver are tracked on the asset.
Exercise
Why store a campaign_id on each activity instead of repeating the campaign name?
Show answer
The ID stays the same when the campaign is renamed, so links do not break. It also avoids typos and variants such as "Spring sale" versus "Spring Sale" that would split reports.