保留正文与补采附件。源页面当前未重新核验;具体限制见交付清单。
We value your privacy
We use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking "Accept All", you consent to our use of cookies.
Customise Reject All Accept All
Customise Consent Preferences
We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... Show more
NecessaryAlways Active
Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.
Cookie BCTempID
Duration 10 minutes
Description No description available.
Cookie __cf_bm
Duration 1 hour
Description This cookie, set by Cloudflare, is used to support Cloudflare Bot Management.
Cookie AWSALBCORS
Duration 7 days
Description Amazon Web Services set this cookie for load balancing.
Cookie _cfuvid
Duration session
Description Cloudflare sets this cookie to track users across sessions to optimize user experience by maintaining session consistency and providing personalized services
Cookie li_gc
Duration 6 months
Description Linkedin set this cookie for storing visitor's consent regarding using cookies for non-essential purposes.
Cookie __hssrc
Duration session
Description This cookie is set by Hubspot whenever it changes the session cookie. The __hssrc cookie set to 1 indicates that the user has restarted the browser, and if the cookie does not exist, it is assumed to be a new session.
Cookie __hssc
Duration 1 hour
Description HubSpot sets this cookie to keep track of sessions and to determine if HubSpot should increment the session number and timestamps in the __hstc cookie.
Cookie wpEmojiSettingsSupports
Duration session
Description WordPress sets this cookie when a user interacts with emojis on a WordPress site. It helps determine if the user's browser can display emojis properly.
Cookie BCSessionID
Duration 1 year 1 month 4 days
Description Blueconic sets this cookie as a unique identifier for the BlueConic profile.
Cookie _octo
Duration 1 year
Description No description available.
Cookie logged_in
Duration 1 year
Description No description available.
Cookie __Secure-YEC
Duration past
Description YouTube sets this cookie to stores the user's video player preferences using embedded YouTube video
Cookie __eoi
Duration 6 months
Description Description is currently not available.
Cookie AWSALBTGCORS
Duration 7 days
Description No description available.
Cookie login-status-p
Duration past
Description Description is currently not available.
Cookie AWSALBTG
Duration 7 days
Description No description available.
Cookie csrf_token
Duration session
Description No description available.
Cookie token_v2
Duration 1 day
Description Description is currently not available.
Cookie D
Duration 1 year
Description Description is currently not available.
Cookie PHPSESSID
Duration session
Description This cookie is native to PHP applications. The cookie stores and identifies a user's unique session ID to manage user sessions on the website. The cookie is a session cookie and will be deleted when all the browser windows are closed.
Cookie VISITOR_PRIVACY_METADATA
Duration 6 months
Description YouTube sets this cookie to store the user's cookie consent state for the current domain.
Cookie cookietest
Duration session
Description The cookietest cookie is typically used to determine whether the user's browser accepts cookies, essential for website functionality and user experience.
Cookie __Host-airtable-session
Duration 1 year
Description This cookie is used to enable us to integrate the services of Airtable.
Cookie __Host-airtable-session.sig
Duration 1 year
Description This cookie is used to enable us to integrate the services of Airtable.
Cookie m
Duration 1 year 1 month 4 days
Description Stripe sets this cookie for fraud prevention purposes. It identifies the device used to access the website, allowing the website to be formatted accordingly.
Cookie BIGipServer*
Duration session
Description Marketo sets this cookie to collect information about the user's online activity and build a profile about their interests to provide advertisements relevant to the user.
Cookie __cfruid
Duration session
Description Cloudflare sets this cookie to identify trusted web traffic.
Cookie _GRECAPTCHA
Duration 6 months
Description Google Recaptcha service sets this cookie to identify bots to protect the website against malicious spam attacks.
Cookie __Secure-YNID
Duration 6 months
Description Google cookie used to protect user security and prevent fraud, especially during the login process.
Cookie cookieyes-consent
Duration 1 year
Description CookieYes sets this cookie to remember users' consent preferences so that their preferences are respected on subsequent visits to this site. It does not collect or store any personal information about the site visitors.
Functional Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.
Cookie lidc
Duration 1 day
Description LinkedIn sets the lidc cookie to facilitate data center selection.
Cookie brw
Duration 1 year
Description No description available.
Cookie brwConsent
Duration 5 minutes
Description Description is currently not available.
Cookie WMF-Uniq
Duration 1 year
Description Description is currently not available.
Cookie loom_anon_comment
Duration 1 year
Description No description available.
Cookie loom_referral_video
Duration session
Description Description is currently not available.
Cookie VISITOR_INFO1_LIVE
Duration 6 months
Description A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
Cookie yt-remote-connected-devices
Duration Never Expires
Description YouTube sets this cookie to store the user's video preferences using embedded YouTube videos.
Cookie ytidb::LAST_RESULT_ENTRY_KEY
Duration Never Expires
Description The cookie ytidb::LAST_RESULT_ENTRY_KEY is used by YouTube to store the last search result entry that was clicked by the user. This information is used to improve the user experience by providing more relevant search results in the future.
Cookie yt-remote-device-id
Duration Never Expires
Description YouTube sets this cookie to store the user's video preferences using embedded YouTube videos.
Cookie yt-remote-session-name
Duration session
Description The yt-remote-session-name cookie is used by YouTube to store the user's video player preferences using embedded YouTube video.
Cookie yt-remote-fast-check-period
Duration session
Description The yt-remote-fast-check-period cookie is used by YouTube to store the user's video player preferences for embedded YouTube videos.
Cookie yt-remote-session-app
Duration session
Description The yt-remote-session-app cookie is used by YouTube to store user preferences and information about the interface of the embedded YouTube video player.
Cookie yt-remote-cast-available
Duration session
Description The yt-remote-cast-available cookie is used to store the user's preferences regarding whether casting is available on their YouTube video player.
Cookie yt-remote-cast-installed
Duration session
Description The yt-remote-cast-installed cookie is used to store the user's video player preferences using embedded YouTube video.
Cookie cp_session
Duration 3 months
Description Codepen sets this cookie for Help systems found in the website.
Cookie loid
Duration 1 year 1 month 4 days
Description This cookie is set by the Reddit. The cookie enables the sharing of content from the website onto the social media platform.
Analytics Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.
Cookie __hstc
Duration 6 months
Description Hubspot set this main cookie for tracking visitors. It contains the domain, initial timestamp (first visit), last timestamp (last visit), current timestamp (this visit), and session number (increments for each subsequent session).
Cookie hubspotutk
Duration 6 months
Description HubSpot sets this cookie to keep track of the visitors to the website. This cookie is passed to HubSpot on form submission and used when deduplicating contacts.
Cookie _ga
Duration 1 year 1 month 4 days
Description Google Analytics sets this cookie to calculate visitor, session and campaign data and track site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognise unique visitors.
Cookie ga*
Duration 1 year 1 month 4 days
Description Google Analytics sets this cookie to store and count page views.
Cookie __Host-psifi.analyticsTrace
Duration 6 hours
Description Description is currently not available.
Cookie __Host-psifi.analyticsTraceV2
Duration 6 hours
Description Description is currently not available.
Cookie _gh_sess
Duration session
Description GitHub sets this cookie for temporary application and framework state between pages like what step the user is on in a multiple step form.
Cookie YSC
Duration session
Description YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
Cookie ajs_anonymous_id
Duration 1 year
Description This cookie is set by Segment to count the number of people who visit a certain site by tracking if they have visited before.
Cookie vuid
Duration 1 year 1 month 4 days
Description Vimeo installs this cookie to collect tracking information by setting a unique ID to embed videos on the website.
Performance Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Cookie AWSALB
Duration 7 days
Description AWSALB is an application load balancer cookie set by Amazon Web Services to map the session to the target.
Cookie acq
Duration past
Description Description is currently not available.
Cookie acq.sig
Duration past
Description Description is currently not available.
Cookie ptc
Duration 2 years
Description No description available.
Advertisement Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.
Cookie muc_ads
Duration 1 year 1 month 4 days
Description Twitter sets this cookie to collect user behaviour and interaction data to optimize the website.
Cookie guest_id_marketing
Duration 1 year 1 month 4 days
Description Twitter sets this cookie to identify and track the website visitor.
Cookie guest_id_ads
Duration 1 year 1 month 4 days
Description Twitter sets this cookie to identify and track the website visitor.
Cookie personalization_id
Duration 1 year 1 month 4 days
Description Twitter sets this cookie to integrate and share features for social media and also store information about how the user uses the website, for tracking and targeting.
Cookie guest_id
Duration 1 year 1 month 4 days
Description Twitter sets this cookie to identify and track the website visitor. It registers if a user is signed in to the Twitter platform and collects information about ad preferences.
Cookie bcookie
Duration 1 year
Description LinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser IDs.
Cookie __Secure-ROLLOUT_TOKEN
Duration 6 months
Description YouTube sets this cookie to manage feature rollout and experimentation. It helps Google control which new features or interface changes are shown to users as part of testing and staged rollouts, ensuring consistent experience for a given user during an experiment.
Cookie yt.innertube::nextId
Duration Never Expires
Description YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.
Cookie yt.innertube::requests
Duration Never Expires
Description YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.
Cookie session_tracker
Duration session
Description This cookie is set by the Reddit. This cookie is used to identify trusted web traffic. It also helps in adverstising on the website.
Cookie edgebucket
Duration session
Description Reddit sets this cookie to save the information about a log-on Reddit user, for the purpose of advertisement recommendations and updating the content.
Cookie did
Duration 1 year
Description Arbor sets this cookie to show targeted ads to site visitors.This cookie expires after 2 months or 1 year.
Uncategorised Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet. No cookies to display. Reject All Save My Preferences Accept All Toggle SearchToggle Mobile Navigation Publish AI, ML & data-science insights to a global community of data professionals. Sign inSubmit an Article LatestEditor's PicksNewsletterShipAI
Write For TDS LinkedInXToggle Search Data Science
Fundamentals, responsibilities, and challenges Naser Tamimi August 30, 202418 min read
Image generated by the author.
In today's digital landscape, marketing is increasingly driven by data. Unlike traditional marketing (examples: television, radio, billboards, signs, and print), where measuring the impact of marketing channels, strategies, and ads was often unclear, digital marketing allows us to measure these impacts with precision. In fact, digital marketing has become a more effective approach not just because of the large audiences online, but because it enables us to evaluate our marketing efforts with greater accuracy and adjust its targeting more effectively.
Therefore, marketing teams need robust and scalable data infrastructure that allows them to ingest, process, and analyze data from multiple sources or channels. Of course, this is where Marketing Data Engineering becomes an important topic. Marketing Data Engineering is the backbone of modern digital marketing. The quality of data engineering products in this specific field, enables data-driven decisions that can significantly impact a company's goals.
While Marketing Data Engineering is a vast field that can't be fully covered in a single article, I've aimed to provide a concise introduction packed with essential information. Each of the topics mentioned has much more depth, which I hope to explore in future articles. To stay updated and receive the latest insights, be sure to subscribe to my Medium channel.
Marketing Data Engineering involves the design, development, and maintenance of data products (including tables, data pipelines, dashboards, etc.) that ingest and process data from various marketing channels and partners. It requires a deep understanding of both digital marketing concepts and data engineering principles. In one sentence, if I want to express the goal of marketing data engineering, I should say:
The goal of Marketing Data Engineering is to ensure that marketing data are:
- Reliable: accurately and continuously validated
- Available: consistently available and meets its SLA
- Scalable: capable of accommodating more data, partners, or channels
- Actionable: ready for use by decision-makers
At its core, Marketing Data Engineering is about transforming raw marketing and business data into actionable marketing insights. Later you will see a whole section in this article on Marketing Data Engineers responsibilities.
Before diving into the roles of Marketing Data Engineers, it's essential to understand marketing channels. Marketing channels are the various platforms through which companies reach their target audience, including search engines, media outlets, social media platforms, and email, among others. Each marketing channel may encompass different partners and platforms. For instance, Google and Bing both fall under the search engine marketing channel, even though they are distinct platforms (often referred to as marketing partners). They share similar marketing components and concepts, so they're grouped within the same channel but recognized as different partners. However, the data generated from search marketing campaigns is vastly different from that of social media campaigns. The challenge for Marketing Data Engineers is to standardize this diverse data to enable consistent and meaningful analysis. Here, we will briefly introduce a few widely-used marketing channels.
Search Engines are critical digital marketing platforms and can be divided into three main marketing channels: Organic (SEO), Paid (SEM), and Metasearch
SEO (Search Engine Optimization) or Organic Search Channel: This involves optimizing your website and content to rank higher in search engine results pages (SERPs) without paying for placement. The collected data here must show how to optimize your website to rank higher in each search engine (impression) and attract more audience (click). Google, Bing, and Yahoo are some well-known search engines that many SEO optimization techniques are studied and developed for them.
SEM (Search Engine Marketing) or Paid Search Channel: This involves paying for ads to appear in Search Engineer Results Pages (SERPs). Unlike SEO channel, SEM pricing model involves bidding processes for different keywords. Your goal is to collect data that identifies which keywords with which bidding prices are effective in your ads and which are not. Similar to SEO, Google, Bing, and Yahoo are big names in SEM world.
Metasearch Engine Channel: These marketing channels are slowly become popular in recent years specifically for e-commerce, hotels, air travel advertisements. Examples are Google, Bing, TripAdvisor, Kayak, Trivago, and Skyscanner all offer metasearch.
The following figure shows all three mentioned marketing channels associated with search engines on a sample Google result page.
Paid (SEM), metasearch, and organic (SEO) search results on a sample Google page ((Image by the author).
Regardless of which search engine channels we use, a marketing data engineer must be able to handle data from all kinds of search engine campaigns, ensuring that it can be analyzed side by side to measure overall search marketing effectiveness.
Media marketing is traditionally associated with channels like TV, radio, and newspaper advertisements. However, many of these traditional media outlets have recently transitioned to the digital realm or recognized the value of incorporating digital marketing strategies. As a result, they have adopted digital tools to create, monitor, and measure the effectiveness of ad campaigns on their platforms. While it may still be challenging to track every user interaction with ads through these channels, we can assess their effectiveness in a broader sense.
Social media marketing is another key area that has both organic and paid components as well. Meta (with Facebook and Instagram platforms), TikTok, X (or Twitter), LinkedIn, Snapchat, YouTube, and Pinterest are a few examples of partners in this type of marketing. Although it seems that SMM is a single marketing channel, we have two distinct marketing channels under SMM which have different campaigns and ways of measurement. Organic Social Media Marketing Channel: This refers to the content you post on social media platforms without paying for distribution (for example through your company social media pages). Here, key metrics include likes, shares, comments, and follower growth. Also, we might be able to link conversion on our website to this channel if we have a good tracking system in place. Paid Social Media Marketing Channel: This involves investing in ads or boosted posts on social media platforms. Key metrics include ad spend, impressions, clicks, conversions, etc. The challenge lies in crafting effective campaigns and managing them regularly to optimize costs while maximizing conversions. Cost Per Click (pay each time a user clicks), Cost Per Thousand Impressions (pay for every thousand times the ad is shown), Cost Per Action (pay when a user takes a specific action), and Cost Per Engagement (pay based on user interactions with the ad, such as likes, shares, comments, or other forms of engagement) are few pricing model in this type of marketing channel.
Though email marketing is considered a traditional digital marketing channel, it remains one of the most widely used. Recently, it has successfully integrated with advanced content marketing techniques like automation and personalization. A prominent service provider in this space is Mailchimp. Price modeling for this kind of marketing is usually based on the number of emails and contacts per month.
This channel is particularly important for businesses that have apps and promote their apps. Currently, Apple App Store and Google Plays App are the two most important platforms for promoting apps. The goal for these kinds of marketing campaigns is to install the app for the targeted audience. Therefore the way we measure conversion and define the goals for them are different. Apple Search Ads and Google Ads are two important marketing partners in this type of marketing. Cost Per Tap (pay when a user tap on your ad), and Cost Per Install (pay when a user installs your app) are two pricing models in this marketing channel.
Understanding the structure of digital advertising is crucial for effective campaign management and data analysis. The typical hierarchy in most advertising platforms, such as Google Ads or Facebook Ads, follows a multi-level structure that includes the Ad Account, Ad Campaign, Ad Group (sometimes called Ad Set too), and Ads (see the following figure).
A typical ad structure includes ad account, campaign, ad group, ad levels (Image by the author).
Each level serves a specific purpose and allows for detailed targeting, budgeting, and optimization.
The Ad Account is the highest level in the advertising hierarchy. It represents the organization or individual running the ads and is where billing and payment information is managed. An Ad Account typically contains multiple campaigns and is the central hub for tracking overall ad spend and performance across all campaigns. Key responsibilities at the Ad Account level include setting up payment methods, managing user permissions (e.g., who can create or view ads), and accessing reporting dashboards that provide insights into the performance of all campaigns under the account.
The next level is the Ad Campaign, which is where you define the broader objectives of your advertising efforts. An Ad Campaign is designed around a specific goal, such as increasing brand awareness, driving traffic to a website, or generating leads. Each campaign has its budget and schedule, and you can choose different campaign types depending on your objectives, such as search campaigns, display campaigns, or video campaigns. The settings at the campaign level, such as targeting criteria and bid strategy, apply to all the ad groups and ads within that campaign. Since each campaign can have a unique name, it's more effective to use a standardized naming convention rather than descriptive names. By establishing clear naming patterns within the marketing team, data engineers can later parse essential information, such as campaign objectives or point of sale, directly from the campaign name.
Within each campaign, you have Ad Groups (or Ad Sets, depending on the platform). Ad Groups allow for more granular control over your ads, enabling you to organize them based on specific targeting criteria, such as audience demographics, interests, or keywords. Ad Groups are where you define more detailed settings, such as the bid for each click or impression and the specific targeting options, like location or device type. Each Ad Group can contain multiple ads, all of which share the same targeting and bidding settings defined at the group level. Just like campaign names, ad group names can follow a specific pattern to include key objectives, such as targeted device type or geo-location. It's crucial that everyone on the marketing team adheres to these naming conventions. This consistency allows data engineering teams to extract valuable information from the ad group names and provide more context for the measured data.
At the bottom of the hierarchy are the Ads themselves, which are the individual pieces of content that users will see. This is where you define the creative elements of your campaign, such as the headline, text, images, or video, as well as the call to action (CTA). Each Ad within an Ad Group is subject to the targeting and bidding settings of the group but can be tested against other ads in the same group to see which performs best. This process, known as A/B testing, allows advertisers to optimize their creative assets by comparing the performance of different ad variations.
The structure of Ad Accounts, Campaigns, Ad Groups, and Ads is designed to give marketers flexibility and control over their advertising efforts. By organizing your ads in this hierarchical way, you can manage large-scale campaigns more effectively, ensuring that your marketing budget is allocated efficiently and that your ads are reaching the right audience with the right message. For Marketing Data Engineers, understanding this structure is essential. It informs how data is collected and organized within the platform and impacts how performance metrics are reported and analyzed. Properly structuring your ad campaigns can lead to more accurate data insights, enabling better optimization and more effective marketing strategies.
After understanding different marketing channels and a generic ad structure, it is essential to get familiar with marketing data. Data engineers love to divide data into dimensions and facts (aligned with data warehousing). Here, I also divide the marketing data into these two groups to make it easier for you to understand them.
Everything that gives us a context about a marketing activity (such as ads) is considered as dimension (or context). Here are some common dimensions for marketing measurements. Ads structure dimensions: As mentioned in the previous section, each ad has a hierarchy of ad account, ad campaign, ad group (or ad set). Ids and names of different parts of this hierarchy (such as account id, account name, campaign id, campaign name, and so on). These data helps us to aggregate different level of reports easier. Device and User Attributes: Nowadays, you can get information far more details on user interactions with app. Information regarding the impression device (where the ad is shown) such as device OS (ios, Android), and device type (mobile, tablet, or desktop). Sometimes the same information is shown for the device that eventually the conversion happened (usually called conversion or action device). In addition, if the user breakdowns are selected properly, you might get user attributes such as age, gender, location, and so on in an aggregated way. In particular, location breakdown is important for many advertisers. Two common subdivisions in the location breakdown are Country and Metro. Attribution Windows: Conversion metrics have a close relationship with attribution windows. Attribution windows refer to the time period during which a conversion is attributed to a particular marketing effort. When we are talking about conversion, we are talking about many kinds of conversions which might be the purpose of an ad or campaign. Some examples are purchasing, checking out, booking, installing, registration, signing up, donating, etc. In addition, different platforms may have different default attribution windows, which can significantly impact your analysis. Some platforms can provide you data in different attribution windows based on your report request. For example, they let you choose one of these attribution windows: 1day-view, 7day-click, or 7day-view-30day-click. It is highly recommended to review different partners attribution windows and find common (or similar) attribution windows for your further analytics. For instance, a 7-day click attribution window means that if a user clicks on an ad and converts within 7 days, the conversion is attributed to that ad. Understanding and customizing attribution windows is crucial for accurately measuring the impact of your marketing activities.
Basic Metrics: These fundamental metrics are essential for any digital marketing campaign and often serve as a starting point for more detailed analysis and advanced KPIs.
Action and Conversion Metrics: These metrics go beyond the basics to measure user engagement and conversion actions. Conversions can vary widely, including actions such as purchases, checkouts, bookings, installations, registrations, sign-ups, and donations. Conversion metrics are closely tied to the attribution window, which defines the time frame within which a conversion is attributed to an ad interaction. For example, you might want to track whether a user makes a purchase 1 day or 30 days after interacting with an ad. As the time between ad interaction and conversion increases, the direct causality between the ad and the conversion may diminish. Additionally, different platforms may report conversions based on their data and they are blind to all your marketing efforts. For instance, Google might attribute a specific conversion to its platform based on a 30-day click window, while Facebook (Meta) might attribute the same conversion to itseld based a 1-day click window conversion. As you see, both of these platforms are claiming this specific conversion to themselves, but ultimately, it's up to you to determine how to attribute it based on your internal data and analysis. This is where the value of marketing analytics becomes evident, as you'll explore in the following sections.
Now that you have a grasp of digital marketing fundamentals, the structure of generic ads, and key marketing data features, let's explore the specific roles and responsibilities of data engineers in supporting marketing goals.
One of the primary responsibilities in Marketing Data Engineering is designing, implementing, and maintaining marketing data lakes. Data engineers must ingest two main types of data from various sources into a centralized data lake: 1. Ads Data from Marketing Platforms: This involves downloading data from platforms like Google, Meta, Bing, etc. Integrating these platforms through APIs requires a deep understanding of APIs, data formats, and data transformation techniques. Many platforms provide SDKs (e.g., Meta Business SDK), while others rely on RESTful APIs (e.g., [TikTok API for Business](https://ads.tiktok.com/help/article/marketing-api?lang=en)). As a data engineer, you'll spend considerable time exploring API capabilities and limitations by reviewing official documentation and conducting API tests using tools like Postman. Often, official documentation may be insufficient, necessitating the use of third-party resources for more comprehensive insights. For example, here you can find third-party documentation for Facebook and TikTok. A proof-of-concept (POC) phase is highly recommended to thoroughly explore the APIs before building data pipelines. Understanding the granularity of the data available from APIs is crucial, as some may limit data to daily levels at the ad group level, while others allow more detailed breakdowns by factors like age, device, gender, and location. Additionally, assessing the available metrics, such as basic or action/conversion metrics with varying attribution windows, is vital for enhancing future analytics. Testing API thresholds for request limits and data volume per day is also critical. To manage these restrictions, you may need to divide requests into smaller, parallel ones using threading, which requires careful handling of its complexities. 2. Business Performance Data: This includes data from business activities such as orders, invoicing, bookings, transactions, and clickstream data. Typically stored in transactional systems (OLTP), these data must first be ingested into the marketing data lake using batch- or stream-processing pipelines. It's essential to consider how to store this data in the marketing data lake, as some may be sensitive customer or financial information that cannot be stored in its raw form. The sheer volume of this data can also significantly increase costs if not managed carefully. Regardless of the data source or type, the primary goal is to ensure seamless data flow from source to destination. Given that this data serves as the foundation for many downstream processes, defining a reasonable SLA and developing a strategy to meet it is crucial. The processes at this stage often consume the most resources and incur the highest costs, making good design essential. For example, indiscriminately dumping large amounts of clickstream data without a clear business use case can lead to significant storage costs, while running API request processes without leveraging threading can result in longer processing times and higher costs. These examples underscore the importance of efficiency in this stage to meet SLAs and minimize expenses.
After data is ingested into marketing data lakes, it often arrives in an unorganized, unstructured, and unclean state. Before business or analytics teams can utilize this data effectively, it needs to be cleaned, transformed, and validated - tasks where data engineers focus much of their efforts. Applying data warehousing principles is critical in this process, with dimensional modeling remaining a popular approach in marketing data warehousing. By organizing marketing data into fact and dimension tables, stakeholders, data analysts, and scientists can more easily conduct further analysis, driving insights that inform business decisions. One of the common challenges of applying dimensional modeling to ad data is how to deal with slowly changing dimensions. Many marketing teams reuse an ad account, or campaign for different purposes over time. Deciding on how to keep track of these changes must be considered in dimensional modeling of marketing data. Since marketing data are coming from different advertising platforms, it is a challenge on how to define a more or less similar grain and schema. Each platform has its own limitations and naming convention, but for our stakeholders, it is much easier to find a similar grain and naming convention among all channels and partners. Another challenge associated with marketing data warehousing is to choose a right approach for complex conversion metrics. Sometimes conversion metrics are reported in STRUCT or MAP formats due to their complex nature. It is the data engineer design choice on how to report these metrics in the business tables. Remember, your stakeholders are not data engineers and one of your responsibilities is to simplify the data as much as possible to make it available to most of your stakeholder. Keeping complex data structures, make your data products less interesting for them to use in their decision making process.
In certain situations, it becomes necessary to share marketing and business data with your marketing partners. But why is this sharing important? While marketing and business data are valuable assets, sharing specific data with partners can optimize the marketing process and improve targeting efforts. Consider this: if your marketing partner drives traffic to your site but doesn't know whether that traffic leads to conversions, they're essentially working blind. You could rely on their algorithm and hope for the best, but a more strategic approach involves sharing conversion data with them. By providing insights into which redirected traffic results in conversions - such as purchases or app installs - you empower their algorithm to focus on the audience most likely to convert. This collaboration enhances the effectiveness of the partnership, benefiting both parties. One of the key responsibilities of a data engineer is to establish secure and reliable connections between your business data resources and those of your partners. This allows for the seamless sharing of marketing and conversion data. Typically, this involves creating customized data pipelines and collaborating closely with the engineers on the marketing platform.
A crucial task in Marketing Data Engineering is mapping website events to marketing metrics. Website events are user actions on your site, such as page views, purchases, bookings, or form submissions. These events need to be tracked, labeled, and mapped to relevant marketing metrics to provide a complete picture of user behavior. For example, a button click on a product page might be mapped to a "product interest" metric, while a form submission could be mapped to a "lead generation" metric. This mapping process is essential for accurate attribution and performance measurement, enabling businesses to understand and optimize user interactions effectively.
Once data is collected and processed, it needs to be analyzed to derive insights. Analytics involves applying statistical and machine learning techniques to marketing data to uncover trends, predict outcomes, and optimize campaigns, distribute budget among channels and partners. Common analytics tasks include A/B testing, cohort analysis, and customer segmentation. The insights gained from these analyses can then be used to inform marketing strategy and drive better decision-making.
In conclusion, Marketing Data Engineering is a complex but essential field that bridges the gap between marketing strategy and data-driven insights. By understanding the fundamentals of digital marketing, integrating data from various channels, and applying advanced analytics, Marketing Data Engineers empower marketing teams to make informed decisions that drive business success. In future, we will talk about some of the topic in this article in more details. Please ensure to follow me and subscribe to my channel for upcoming articles.
All articles on Towards Data Science are available to registered users. Create a free account today to access this article and thousands more. Register for freeSign in to your account
Written By
See all from Naser Tamimi Data EngineeringData ScienceDigital MarketingGetting StartedMarketing Share This Article
Towards Data Science is a community publication. Submit your insights to reach our global audience and earn through the TDS Author Payment Program. Write for TDS
Artificial Intelligence A comprehensive practical guide for pandas Soner Yıldırım January 27, 20215 min read
Data Visualization In a world of shrinking attention spans and rising AI-generated noise, true data literacy is no longer about charts and stats — it's about context, clarity, and connecting with humans who are more distracted than ever. Michal Szudejko July 30, 202516 min read
Artificial Intelligence Want to apply AI in healthcare? Do these projects to hone your skills. Huma Shah October 25, 202110 min read
Artificial Intelligence Let's talk about Unsupervised Deep Learning AI, and Transfer Learning. Daniel Shapiro, PhD September 26, 20173 min read
Coding An introduction to SQL UDFs with examples Jye Sawtell-Rickson October 7, 20224 min read
Data Engineering Learning a little about these tools and how to integrate them João Pedro April 6, 202317 min read
Programming Python Helper Classes for EDA, Feature Engineering and Machine Learning Sadrach Pierre, Ph.D. December 30, 202211 min read
Data Science It's a little more complicated than you may think at first... Celso M. Cantanhede Silva December 15, 20204 min read
Machine Learning And how to use a custom class to extract frames as images Eryk Lewinson February 16, 20205 min read
Your home for data science and AI. The world's leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals. Subscribe to Our NewsletterWrite For TDS•About•Advertise•Privacy Policy•Terms of Use © Insight Media Group, LLC 2026•The New Stack•roadmap.sh•Creator Network
Close