Design a metadata tagging schema: campaigns, audiences, offers, and creative versions.
- User
Design a metadata tagging schema: campaigns, audiences, offers, and creative versions.
- Assistant
Metadata Tagging Schema for Marketing Assets
As Sherlock, I've deduced a robust, scalable metadata tagging schema for your marketing ecosystem. This schema organizes campaigns, audiences, offers, and creative versions into a unified, searchable structure. It uses a key-value tag format (
namespace:key=value) for flexibility across databases, DAMs (Digital Asset Management), or ad platforms.Design Principles
- Hierarchical & Interconnected: Tags link entities (e.g., a creative references its campaign, audience, and offer).
- Extensible: Core tags are mandatory; custom tags can be added via namespaces.
- Queryable: Supports faceted search, A/B testing analysis, and performance segmentation.
- Standardized Vocabularies: Controlled lists prevent tag sprawl (e.g., enums for
objective). - Format: Tags as strings like
campaign:objective=conversion. Multi-value tags use JSON arrays (e.g.,audience:interests=["fashion","tech"]). - Mandatory Tags: Every asset gets
entity_typeandentity_id. - Namespaces:
campaign:,audience:,offer:,creative:,assoc:(for relationships),meta:(timestamps, status).
Core Tag Structure
All entities share these mandatory tags:
Tag Example Description entity_typecreativeOne of: campaign,audience,offer,creative.entity_idcamp-uuid-1234Unique alphanumeric ID (e.g., UUID or prefixed slug). nameSummer Sale Banner V2Human-readable name. meta:created_date2024-06-15ISO date of creation. meta:statusactive|draft|archivedLifecycle status. Entity-Specific Tags
1. Campaigns
High-level containers for all related assets.
Namespace Tag Example Value Type Vocab/Notes campaign:objectiveconversionenum awareness,acquisition,retention,upsell.campaign:channel["social","email"]array social,email,display,video,search.campaign:budget50000number USD or currency-specific. campaign:start_date2024-07-01date ISO format. campaign:end_date2024-07-31date ISO format. campaign:themesummer_salestring Free-text or enum (e.g., seasonal themes). Example Tags:
entity_type=campaign,entity_id=camp-uuid-001,name=Summer Sale 2024,campaign:objective=conversion,campaign:channel=["social"],campaign:start_date=2024-07-012. Audiences
Target segments for personalization.
Namespace Tag Example Value Type Vocab/Notes audience:demographics_age25-34enum 18-24,25-34,35-44,45+,unknown.audience:demographics_gender["female","non-binary"]array male,female,non-binary,prefer_not.audience:location["US","CA"]array Country/region codes (ISO). audience:interests["fashion","fitness"]array Free-text keywords or taxonomy IDs. audience:behaviorhigh_valueenum new_visitor,repeat_buyer,high_value,churn_risk.audience:size_estimate150000number Approximate audience size. Example Tags:
entity_type=audience,entity_id=aud-uuid-101,name=Young Fashion Enthusiasts,audience:demographics_age=25-34,audience:interests=["fashion"]3. Offers
Promotional incentives.
Namespace Tag Example Value Type Vocab/Notes offer:typediscountenum discount,bogo,free_shipping,bundle.offer:discount_value20number Percentage or fixed amount. offer:applies_to["shoes","apparel"]array Product categories/SKUs. offer:min_purchase50number Minimum spend threshold. offer:valid_from2024-07-01date ISO. offer:valid_until2024-07-31date ISO. offer:codeSUMMER20string Promo code if applicable. Example Tags:
entity_type=offer,entity_id=off-uuid-201,name=20% Off Apparel,offer:type=discount,offer:discount_value=204. Creative Versions
Ad variants for testing/optimization.
Namespace Tag Example Value Type Vocab/Notes creative:formatbannerenum banner,video,carousel,email,story.creative:size300x250string Dimensions or specs. creative:versionA2string A/B/n test label (e.g., A1, B3). creative:headlineSave 20% Now!string Key text elements. creative:ctaShop Nowenum Shop Now,Learn More,Sign Up.creative:visual_stylevibrantenum minimal,vibrant,dark_mode.creative:duration15number Video length in seconds. Example Tags:
entity_type=creative,entity_id=cre-uuid-301,name=Banner A2 Summer Sale,creative:format=banner,creative:version=A2,creative:cta=Shop NowRelationship Tags (Cross-Entity Links)
Use
assoc:to connect entities bidirectionally.Tag Example Description assoc:campaign_idcamp-uuid-001Links to parent campaign. assoc:audience_ids["aud-uuid-101","aud-uuid-102"]Targeted audiences. assoc:offer_ids["off-uuid-201"]Featured offers. assoc:creative_ids["cre-uuid-301","cre-uuid-302"]Variants under this entity. Full Example (Creative):
entity_type=creative,entity_id=cre-uuid-301,name=Banner A2,creative:format=banner,assoc:campaign_id=camp-uuid-001,assoc:audience_ids=["aud-uuid-101"],assoc:offer_ids=["off-uuid-201"]Implementation Recommendations
- Storage: JSON arrays in databases (e.g., MongoDB), or tag fields in Elasticsearch for search.
- Validation: Enforce enums via schemas (JSON Schema/YAML).
- Tools: Integrate with Airtable, Google Sheets, or custom UI for tag assignment.
- Analytics Queries:
- "Performance of creatives in campaign X for audience Y": Filter by
assoc:campaign_id+assoc:audience_ids. - "Best offers for high-value audiences": Aggregate
assoc:audience_idswhereaudience:behavior=high_value.
- "Performance of creatives in campaign X for audience Y": Filter by
- Extensibility: Add
custom:your_key=valuefor proprietary tags.
This schema is your digital filing cabinet—precise, interconnected, and ready for deduction. Need refinements or examples in JSON/YAML? The game is afoot!