Skip to content

Naming Conventions

This page documents the naming conventions used throughout the SUSE Paid Advertising Data Warehouse V2, covering campaign names, table names, view names, and UDF names.

Campaign Naming Convention

Campaign names encode metadata in a pipe-separated format. This is the naming convention used by the paid media team when creating campaigns on advertising platforms.

Standard Format

SUSE | {CHANNEL} | {GEO} | {TIER} | {LANGUAGE} | {PRODUCT_LINE} | {PRODUCT} | {SUBPRODUCT}

Field Reference

PositionFieldExample Values
1BrandSUSE (always)
2ChannelSRCH, PSOC, DISP, NAT, VID, DGEN, PMAX, YT, BUILD
3GeographyNA, EMEA, APAC, LATAM, EMEA APAC LATAM
4TierT1, T2, T1+2, T1+2+3
5LanguageEN, DE, FR, ES, PT, IT, JA, KO, ZH
6Product LineLinux, Cloud Native, AI, Edge, Digital Sovereignty, All
7ProductSLES, Rancher, Rancher AWS, MLS, Edge, ECM, Telco, Kubernetes, All
8Sub-ProductFree text (optional)

Example

SUSE | SRCH | NA | T1 | EN | Linux | SLES | Brand

This tells us:

  • Channel: Search
  • Geo: North America
  • Tier: Tier 1 markets
  • Language: English
  • Product Line: Linux
  • Product: SLES
  • Sub-Product: Brand campaigns

Platform Variations

Not all platforms follow this exact format. The UDFs handle platform-specific differences:

  • StackAdapt uses underscore-delimited naming and Tier N instead of TN
  • 6sense uses underscore-delimited naming
  • Reddit has a modified field order
  • LinkedIn may use slightly different field positions

Ad/Creative Naming Convention

Ad and creative names use a code-prefixed format:

{CAMPAIGN_CODE} | {CONTENT_NAME} | {DIMENSIONS} | {VERSION}

Example

0005547 | gartner_webinar | 1200x628 | v2
  • Campaign Code: 0005547 (links to internal campaign management)
  • Content Name: gartner_webinar (human-readable content identifier)
  • Dimensions: 1200x628 (creative asset size in pixels)
  • Version: v2 (creative version number)

Variations exist -- see get_content_name for the full set of patterns.

Table Naming

Pattern

suse_{platform}_{type}_{layer}_v2

Components

ComponentValuesDescription
suseAlways suseProject prefix
{platform}google, microsoft, linkedin, reddit, 6sense, stackadaptAdvertising platform
{type}adlevel, creativeData type
{layer}staging, finalProcessing layer
v2Always v2Version identifier

Examples

Table NameDescription
suse_google_adlevel_staging_v2Google ad-level data as written by Dataslayer
suse_google_adlevel_final_v2Google ad-level data after refresh (partitioned, historical)
suse_linkedin_creative_staging_v2LinkedIn creative metadata from Dataslayer
suse_linkedin_creative_final_v2LinkedIn creative metadata after MERGE (lookup table)

Layer Descriptions

  • staging -- Raw data written by the ingestion tool (Dataslayer). Overwritten on each ingestion run. Contains only data within the lookback window.
  • final -- Partitioned, historical data maintained by the refresh scripts. Preserves data outside the lookback window. Includes the _ingested_at audit column.

View Naming

Creative Performance Views

{platform}_creative_performance_v2

These views join the creative final table with the adlevel final table and add UDF-derived metadata columns.

View NameDescription
linkedin_creative_performance_v2LinkedIn creative + adlevel with parsed metadata
reddit_creative_performance_v2Reddit creative + adlevel with parsed metadata

Future Views

View NameDescription
unified_performance_v2Cross-platform aggregation (planned)

UDF Naming

Pattern

get_{field_name}()

All UDFs use the get_ prefix followed by the metadata field name in snake_case.

UDF NameExtracted Field
get_channelMarketing channel
get_product_lineProduct line
get_productProduct
get_subproductSub-product
get_geoGeographic region
get_tierMarket tier
get_languageLanguage
get_audienceAudience type
get_campaign_codeCampaign tracking code
get_content_nameHuman-readable content name

Fully Qualified UDF References

In SQL queries, UDFs are referenced with the dataset prefix:

sql
customer_ads_suse.get_channel(CampaignName)

Log Table Naming

Table NameDescription
refresh_log_v2Adlevel refresh script execution log
creative_refresh_log_v2Creative refresh script execution log
udf_metadataUDF version and change tracking

ID Column Naming by Platform

Different platforms use different naming conventions for their ID columns:

PlatformCampaign IDAd Group IDAd/Creative ID
GoogleCampaignIDAdgroupIDAdID
MicrosoftCampaignIDAdGroupIDAdID
LinkedInCampaignGroupID, CampaignID--CreativeID
RedditCampaignIDAdgroupIDAdID
6senseCampaign_IDAdGroup_IDAd_ID
StackAdaptCampaign_IDAdGroup_IDAd_ID

Note the inconsistencies in capitalization (AdgroupID vs AdGroupID) and delimiter style (camelCase vs underscore). These are inherited from the platform APIs and preserved as-is.

SUSE Paid Advertising Data Warehouse V2