<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Digital Marketing knowledge transfer to a rule-based reasoning system for massive optimization of campaigns</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Fernando Perales</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ignacio Martínez</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Javier Bielsa</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jose Cabanillas</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francisco Rodríguez</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>JOT INTERNET Media</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Madrid</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>SPAIN</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>firstname.lastname}@jot-im.com</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Digital Marketing is a domain where the reaching impact and market engagement drive the financial investments. Today, ad platforms allow the monitoring of the digital campaigns by means of a large set of variables which makes almost impossible to human account managers to process and exploit properly. Also account managers are generated background and unique experiences to optimize the campaign configuration to create the maximum impact with limited budget. In this paper, we detail the development of a rule-based system integrating the human knowledge concerning campaign optimization and, at the same time, enabling higher amount of data and variables that generate executable actions in the ad platforms. The rule-based system developed integrates all data value chain: data collection to a data base managed by SQLServer, data set processing and insights generation. The application user interface, coded in Flask, provides the account manager the freedom to define the rule in terms of indicator, analytics, periodicity, and executable action. In the discussion, the results of the rule-based system integration show that it has enabled a new massive and automated optimization methodology.</p>
      </abstract>
      <kwd-group>
        <kwd>Digital Marketing</kwd>
        <kwd>Optimization rules</kwd>
        <kwd>rules evaluation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Digital Marketing is an industry moving from a completely creative approach to a
fully data driven methodology thanks to the complete set of performance indicators
provided by the ad platforms like Google Ads (https://ads.google.com/), Bing Ads
(https://ads.microsoft.com/) and Facebook (https://es-es.facebook.com/business/ads).
The access to such amount of information and the possibility of impacting any user
worldwide enables the development of new analytical services automating the
optimization process.</p>
      <p>In this paper we report on a pilot implementation that enables the marketing
knowledge transfer from high skilled account managers into a rule-based system for
massive digital marketing campaign optimization. The pilot has been fully developed
Copyright © 2020 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
by JOT Internet Media1 – a Spanish SME operating in the digital marketing domain.
The main mission of the company is to reach the right audience (web traffic) at the
right time by investing in sponsored ads (Search Engine Marketing, SEM) in the most
popular search platforms, such as Google and Bing. How to engage the users by this
strategy has been widely studied in the last years [1] [2]. Currently the company is
implementing campaigns and investing in more than 75 countries and 17 different
languages. This unique approach allows the accounts to gather large amount of data
describing the campaign performance [3] [4], but at the same time, makes it almost
impossible to keep a manual data processing and campaign optimization [4],[5] . At
the same time, this human intensive activity has generated a very deep knowledge
concerning how to optimize the campaigns to reach high impact values in terms of
clicks, impressions, revenues and return of investment.</p>
      <p>Main goal of this rule system is to replicate the process interiorized by the account
managers to optimize the campaigns while adjusting to the specific data model and
structure of the digital marketing campaigns. To this aim, a complete end-to-end
system has been developed to exploit the existing APIs and databases, mainly in the
cloud [5] and integrating the application within the JOT internal suite of tools to
execute the actions generated when the conditions are fulfilled. [6]</p>
      <p>In the rest of the paper the technological developments and main results are
presented. Section 2 describes the business case and the approach implemented to
integrate the rule system at productive level. Section 3 presents the main technological
challenges solved to implement all the rule generation. Section 4 explains the rule
generation system as well as their evaluation and data access. In Section 5 main
results are presented in terms the implementation of the final application and interface.
Section 6 summarizes the main impacts of JOT’s business model related to digital
marketing campaigns optimization. Finally, Section 7 highlights the conclusions and
outlines the roadmap for future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Business case: Case and value proposition</title>
      <p>JOT’s business case was motivated by the account managers who noticed there was a
set of rules and methodologies that are repeated when certain conditions are fulfilled.
Today, account managers must analyze the collected data using large Excel sheets
containing just a small number of KPIs that are selected based on the background of
the specialist and expertise. The assumption was that it is possible to identify core
indicators together with trends and patterns that motivates the generation of
predefined actions over the digital marketing campaigns configurations and optimize
their impacts, mainly based on clicks and impressions.</p>
      <p>The workflow describing the generation of the rule-based system enabling the
digitalization and automation of the human knowledge is shown in Fig. 1 and explained
as follows.</p>
      <sec id="sec-2-1">
        <title>1 https://www.jot-im.com</title>
        <p>Performance data and digital marketing campaign optimization background.
These represent the input for the rule definition. The performance data is formed by
all the indicators provided by the ad platforms describing the impact of the
campaigns. These indicators are gathered per account, campaign, code and keywords. In
addition, account managers provide procedures, actions and optimization strategies in
order to improve business related indicators, like cost, revenue, profit, clicks and
impressions.</p>
        <p>Rules Definition and Generation. With the aim of transferring the human
knowledge into the system, a dedicated application was developed where account
managers can define the rule. The rules specification must contain the variable to be
analyzed, the analytics to process the information, the action to be implemented and
the periodicity of the rule.</p>
        <p>Rule Selection and Actions Activation. Every time a rule is active, the system
will launch it over the specified marketing structure to check if the related
optimization action, also included in the rule definition, has to be generated and executed via
API in the required ad platform.</p>
        <p>Data Output. The day after the actions are implemented and the campaigns
configuration is updated, the account manager collects the new performance indicator to
check the effectiveness of the action and activate the corresponding rule based on the
new conditions.</p>
        <p>Marketing
Backgound</p>
        <p>Accout manager</p>
        <p>Data Input
(Historical marketing KPIs)</p>
        <p>Rules Definition and</p>
        <p>Generation
Rule Selection</p>
        <p>Optimization
Actions Activation</p>
        <p>Data Output
(Marketing campaign KPIs)</p>
        <p>With this approach, it was possible to integrate the human knowledge with data to
generate an end-to-end rule system supporting the data analysis and action generation
over large marketing structure, reducing optimization time and human errors due to
lack of experience.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Technological challenges: why the business case is difficult to be solved by using traditional technologies</title>
      <p>Traditionally digital marketing has been focused on the management of small
number of campaigns for a specific client, dedicating 1-2 persons to daily optimize
the campaigns configuration directly in the ad marketing platforms based on the
reported performance indicators. However, this approach is not scalable in global
marketing campaigns with more than 40 different landing pages with general content,
which results in more than 3,000 different campaigns. This situation has motivated
the JOT develops a new data driven approach to automate the optimization of
marketing campaigns at large scale without reducing the effectiveness of the strategy
supported by the account manager team skills.</p>
      <p>The implementation of a data-driven approach applied to digital marketing
followed by the generation of a rule based system automating the decision making is
associated to the development of technical solutions dealing with the whole data value
chain: (i) Acquisition and access to data sources, (ii) Definition of rule periodicity and
(iii) integration of human knowledge
3.1</p>
      <sec id="sec-3-1">
        <title>Databases and data models</title>
        <p>As explained in the introduction, JOT Internet can implement this methodology
thanks to the disposal and access of a huge database containing the main performance
indicators of world-wide all-categories marketing campaigns. Currently, data are
stored in the Cloud to ensure the architecture flexibility and storage scalability. The
access to the required data used by the rule system is managed by SQL Server. In this
case, the database is divided in two different schemas named: dimensions and
automations.</p>
        <p>I. The Dimensions database contains all the values that can be assigned to each
variable.</p>
        <p>II. Automations contains all the parameters defining the actions like rule name,
KPI-based conditions, periodicity, filters at code (identifier of a list of keywords
by which ad platforms report the revenue), campaign and keyword level and
keyword-based conditions.</p>
        <p>Depending on the type of information and the level of the rule application, this
information is hierarchically structured in: Action, periodicity, campaign and keyword
levels.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Periodicity</title>
        <p>When dealing with the development of a rule-based decision support, the definition
of which data and time period is used in each case is critical. It has been observed in
different projects like EWSHOPP2 and other works like published by Rajagopal [7]
and Pei Ling Lim [8] that user behavior is highly affected by external factors [11] like
weather, events, and spontaneous hot topics. Therefore, the best way to define the
time period used for data analysis is a combination of short term and periodic
analysis, depending on the rule and type of action implemented.</p>
        <sec id="sec-3-2-1">
          <title>2 www.ew-shopp.eu</title>
          <p>The rule based system aims to be the core engine driving the optimization strategy
of the marketing campaign, for that reason; the user interface has to : (i) be integrated
in the internal toolkit of the company, (ii) enable modifications and adjustments
depending on account manager teams and (iii) be edited following the company look
and feel to avoid usage refusal and “pilot” feeling. To solve all these issues, the JOT
rule system has been formatted following the company HTML and CSS templates and
colors. The configuration and development of the forms has been coded in Flask and
JavaScript which supports Python coding. At technical level, the daily evaluation of
the rules is processed by a console application code in VB.NET. The final version of
the framework and interface is show in section 5.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Rule-based solution (technical details and usage of rules)</title>
      <sec id="sec-4-1">
        <title>Rules definition and conditions</title>
        <p>The main goal of this solution is the knowledge transfer from high experienced and
skilled account managers and the rule system. In this way, the definition of the rules is
based on the most typical and simple operations a human analyst can apply without
using advanced tools: addition, average, trend, and analysis.</p>
        <p>The rule-based system implemented also allows the data filtering when launching a
specific rule. The different layers as well as main parameters and its relation to the
periodicity is shown in Fig. 4. For example, if the account manager would like to
activate a rule to increase the number of impressions, it will be active the days
selected in the periodicity section and will be launched only when the particular conditions
(filters) selected are fulfilled.</p>
        <p>In this case, it is important to mention the different data structuring and
configuration in the ad platforms and the finance related data collected. For campaign
configuration data are divided in the following layers: Account/Campaign/Group/Keyword,
so the configuration parameters can be defined at keyword level. However, when
collecting the financial data, like the revenue or profit, they are acquired at code level,
formed by the aggregation of many keywords. That is the reason justifying the
integration of a code-based filter at the beginning, as the financial data is one of the most
critical to check the performance of the campaign and is directly linked with JOT
business model.</p>
        <p>There are two cases where the period of time definition is not needed to select the
statistics and process the data. When the filter is based on campaign name and
account. In these cases, time frame is not needed because the rule will be directly acting
on a specific campaign filtered by the corresponding attribute: language, category,
list, matching, code, money, and location.</p>
        <p>The main result of this development is the generation of a data system embedding
the marketing knowledge generated by account managers during several years of
human optimization. The paper has demonstrated that the performance of the digital
marketing campaigns is monitored by tens of different variables and optimization
actions can be customized depending on the marketing business goals. In order to
enable an agile and user-friendly knowledge transfer involving the definition of the
most common rules, it is required that the user interface of the application is simple,
easy to use and easy to modify.</p>
        <p>In this section are shown different mock-ups. Fig. 6 presents the form used to
define the rules. It includes the application level, the KPI to be analyzed, type of
condition and analysis as well as range of the values.</p>
        <p>Once the rule is set, the periodicity must be selected, Fig. 7 shows how the concept
illustrated in Fig.2 is implemented. The main variables are schedule type (once or
recurrent), start/end day, day of the week and so on.
The former actions generate the rule library available to be used for the account
managers. The next step is to select which ones can be applied to a specific business
unit. In Fig. 8, it is summarizes the selection of the rule for a particular business unit,
defined by the ad platform (Google, Bing,…) destination landing, country and device,
also the account manager name is included for traceability issues.</p>
        <p>The last step is to monitor the conditions applied to specific KPIS a dedicated table
has been also created. Fig. 9 shows the interface to manage the conditions for specific
KPIs, in this case “Cost”, the same KPI can be applied at different levels (campaign,
code or business unit) and with different conditions in this case, like average, at least,
and most.
In this way, the rule system support has been fully embedded in an application
covering all the rule value chain: definition, periodicity, implementation and monitoring, so
the marketing knowledge that marketing specialists possessed, can be digitalized and
transferred to a unique data analytic system enabling the automation of the marketing
campaigns optimization.
6</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Importance and impact</title>
      <p>In order to evaluate the performance of the system on the business side and the impact
on the account managers productivity, it was evaluated some general indicators like
number of rules implemented, number of actions executed and business unit managed
per account.</p>
      <p>Since the generation and integration of this rule system it has been created more
than 4,000 different rules to automate the optimization of the marketing campaigns.
All of them have been created by the JOT account manager teams, which shows that
the process is fully integrated in the workflow it is enough easy to use to be massively
exploited by the team.</p>
      <p>In Fig. 10 is shown the monthly number of optimization actions executed by the
account managers. The beta version of the rule-based system was integrated in
April’19 and the full version in May’19. The figure shows that on average the account
team generated 1,000 – 2,000 actions manually without this system. After the system
integration manual actions were kept at the same level, but the number of automatic
actions was significantly increased. It is also shown that, as an innovative tool, its
usage experienced a hype-type curve, reaching the peak during summer vacation,
when many accounts were on holidays, and then trending to stabilized the number of
automatic actions around 20,000. Additionally, the Covid pandemic has generated
anomalous behavior in the campaign performance and has shown a requirement for
more specific and low-level actions.</p>
      <p>Fig. 10 Number of automatic (green) and manual (red) actions activated for marketing
campaign optimization</p>
      <p>If the data are analyzed at daily level, the integration of the rule system has also
modified the account production model. In Fig. 11 is presented the distribution of the
number of actions per day of the week. In the figure it is compared the same time
period, from January to March of 2019 (blue) and 2020 (orange). Before the
development of the rule-based system the account managers used to implement the manual
actions during the working days, with low activity on Friday (in order to avoid
unexpected occurrences over the weekend) and no actions during the weekends. Now, the
actions are distributed over entire week, keeping Friday and Saturday as less-active
days but with a significant number of actions. The most remarkable success indicator
is that now Sundays’ are a very active optimization day, as the rules are scheduled
and launched automatically, preparing the marketing campaigns, mainly keyword
prices, for the working days period.</p>
      <p>Finally, we mention that the development and integration of the rule-based system
for massive optimization of the digital marketing campaign has represented an
innovative way to work for the account managers and was successfully received. This has
enabled the management and web traffic generation to more than 40 different landing
pages of 4 partners. The final consequence is that now the account managers are more
focused on special optimization requirements from the client dealing with specific
business units, definition of new highly efficiency rules and the learning curve of new
members of the account team is much quicker as the knowledge transfer is also
embedded in the system.</p>
    </sec>
    <sec id="sec-6">
      <title>7. Summary and Outlook</title>
      <p>Digital marketing is an industry that reapidly has integrated analytical solutions to
analyse and process the data provided by the ad platforms to monitor the performance
of the marketing campaigns. In this paper, we have shown how the combination of
human knowledge and data has enabled the generation of a rule-based system
supporting the account managers to analyze more information and activate massive
campaign optimization actions. The technical development process has covered the whole
data value chain, from the acquisition and collection to the rule definition and
generation executable actions activated by means of the ad platforms. The rule-based system
has been developed based on the marketing structure and performance data hierarchy
as well as all the marketing knowledge that was so far only at human side. Results of
the paper showed that the use of this system has allowed the implementation of more
optimization actions as well as the distribution of the action over the whole week.</p>
      <p>As part of future work, we consider the development of action triggers that
digitalize and automate the selection of the most adequate rule and action depending on the
case. This will represent the next step for the full digitalization of the account
manager and the generation of the digital twin. This approach can be initially tested on small
business units to check the performance of the actions limiting the potential damage
on the marketing budget.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>García</surname>
          </string-name>
          et al. “
          <source>Digital Marketing Actions That Achieve a Better Attraction and Loyalty of Users: An Analytical Study” Future Internet</source>
          <year>2019</year>
          ,
          <volume>11</volume>
          , 130; doi:10.3390/fi11060130 Baye, M et al. “
          <article-title>Search Engine Optimization: What Drives Organic Traffic to Retail Sites?”</article-title>
          .
          <source>Journal of Economics &amp; Management Strategy</source>
          ,
          <volume>25</volume>
          (
          <issue>1</issue>
          ),
          <fpage>6</fpage>
          -
          <lpage>31</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>José</given-names>
            <surname>Ramón</surname>
          </string-name>
          Saura et al. “
          <article-title>Understanding the Digital Marketing Environment with KPIs andWeb Analytics”</article-title>
          .
          <source>Future Internet</source>
          <year>2017</year>
          ,
          <volume>9</volume>
          ,
          <fpage>76</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>Bus.</given-names>
            <surname>Res</surname>
          </string-name>
          .
          <year>2016</year>
          ,
          <volume>69</volume>
          ,
          <fpage>1562</fpage>
          -
          <lpage>1566</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Järvinen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Karjaluoto,
          <string-name>
            <surname>H.</surname>
          </string-name>
          “
          <article-title>The use of Web analytics for digital marketing performance measurement”</article-title>
          .
          <source>Ind. Mark. Manag</source>
          .
          <year>2015</year>
          ,
          <volume>50</volume>
          ,
          <fpage>117</fpage>
          -
          <lpage>127</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>Jenny</given-names>
            <surname>Nilsson</surname>
          </string-name>
          Vestola and
          <string-name>
            <given-names>Karolina</given-names>
            <surname>Vennström</surname>
          </string-name>
          . “
          <article-title>Digital Marketing for Conversion Rate Optimization”</article-title>
          . 2019
          <string-name>
            <given-names>Mykola</given-names>
            <surname>Ivanov</surname>
          </string-name>
          . “
          <article-title>The digital marketing with the application of cloud technologies”</article-title>
          .
          <source>SHS Web of Conferences</source>
          <volume>65</volume>
          ,
          <fpage>04019</fpage>
          <string-name>
            <surname>(2019) J. Francisco</surname>
          </string-name>
          Figueroa-Pérez et al. “
          <article-title>The Use of Marketing Decision Support Systems for New Product Design: A Review”</article-title>
          .
          <source>International Journal of Computational Intelligence Systems</source>
          Vol.
          <volume>12</volume>
          (
          <issue>2</issue>
          ),
          <year>2019</year>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          761-774
          <string-name>
            <surname>Rajagopal</surname>
          </string-name>
          (
          <year>2019</year>
          )
          <article-title>Consumer Behavior: External Factors</article-title>
          . In: Contemporary Marketing Strategy. Palgrave Macmillan, Cham Pei Ling Lim et al. “
          <source>What Internal and External Factors Influence Impulsive Buying Behavior in online Shopping”</source>
          Vol
          <volume>15</volume>
          .
          <source>Global Journal of Management and Business Research (E)</source>
          .2015 Francisco Díez-Martín et al. “Research Challenges in Digital Marketing: Sustainability”.
          <source>Sustainability</source>
          <year>2019</year>
          ,
          <volume>11</volume>
          ,
          <fpage>2839</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>