Over the past few years, IBM (IBM -0.56%) has invested in higher-growth cloud and mobility services to pivot away from its fading IT services, middleware, and hardware businesses. It also divested lower-margin businesses like consumer PCs, low-end servers, and its chip foundry. CEO Ginni Rometty often refers to Big Blue's higher-growth businesses as its "strategic imperatives" and its divested ones as "empty calories."

IBM CEO Ginni Rometty. Image source: IBM.

To complement the expansion of its cloud and mobile businesses, IBM recently announced plans to acquire three online ad agencies -- Resource/Ammirati, Aperto, and exc.io -- all for undisclosed terms. The first company is based in the U.S., while the other two are located in Germany. Why is IBM buying these ad agencies, and how could they strengthen its strategic imperatives?

Understanding IBM's advertising ambitions
IBM's digital agency unit, IBM iX (Interactive Experience), helps clients improve their ad targeting capabilities by analyzing cloud-based data with its AI platform Watson. IBM claims that the unit, which has over 10,000 employees and 25 offices worldwide, is the world's largest digital agency. Resource/Ammirati and Aperto both have over 300 employees, while exc.io has about 200. All of those employees are expected to join IBM iX.

Big online advertisers have already tapped IBM for their analytics needs. In Oct. 2014, Twitter partnered with IBM to analyze its tweets for enterprise customers. The two companies expanded that partnership last March with new cloud-based services for businesses and developers looking to mine Twitter data or merge it with other data sources. Two months later, Facebook signed a similar deal with IBM to help its clients refine their ad-targeting abilities.

Buying Resource/Ammirati will give IBM iX more major clients like Sherwin Williams, Nestle, and Nationwide. Aperto's client list includes Airbus, Volkswagen, and Siemens, while exc.io serves companies like coating systems company Axalta and Dutch retailer SPAR. It's unclear how much revenue Aperto and exc.io generate, but Columbus Business First claims that Resource/Ammirati generated $75 million in revenue in 2014.

Gaining those clients complements IBM's $1.25 billion deal with WPP, the world's largest advertising firm. That deal, which was inked in Dec. 2014, will upgrade WPP's systems to the "hybrid cloud," which merges on-premise private cloud data with an off-site public cloud. That solution suits many large companies like WPP, which aren't willing or ready to migrate all their data to the public cloud. Offering analytics services to WPP's clients could further boost IBM iX's reach.

The business of martech
Another driving factor behind IBM's ad agency acquisitions is the rise of marketing clouds. By 2017, Gartner estimates that the largest portion of a company's IT spend will be controlled by CMOs (chief marketing officers) instead of CIOs (chief information officers). That shift has prompted tech companies to directly sell "martech" (marketing technology) to CMOs.

That's why Salesforce (CRM -7.28%) purchased ExactTarget for $2.5 billion in 2013 to beef up its marketing cloud. During the first nine months of 2015, Salesforce's marketing cloud revenue rose 29% annually to $470 million.

To compete more effectively against Salesforce and other martech vendors, IBM acquired companies like cloud-based marketing automation software firm Silverpop, cloud analytics firm DemandTec, and ad-focused mobile messaging firm Xtify. Last August, it finally put all those pieces together and launched its own marketing cloud.

IBM's marketing cloud. Data source: IBM.

But what does this all mean for IBM's top line?
While we can see how IBM is connecting IBM iX, Watson, its hybrid cloud installations, and its marketing cloud together, it's unclear that much revenue this effort actually generates.

Last year, Big Blue reported that its strategic imperatives (cloud, analytics, mobile, social, and security) revenue rose 17% and accounted for over a third of its top line. IBM noted that its business analytics revenue rose 7% to $17.9 billion, mobile revenue more than tripled, and security revenue rose 5%. The company's total cloud revenue rose 43% to $10.2 billion, while cloud "as a service" revenue rose 50% to $4.5 billion.

But despite all those positive figures, its global tech and business services revenue (15% of sales) respectively declined 7% and 10% annually, and total revenue fell 12%. IBM's marketing cloud exists somewhere between its gains in cloud/analytics and its declines in tech/business services. Until IBM discloses its marketing cloud revenue quarterly like Salesforce does, investors won't be able to gauge how much progress the company is actually making in the martech space. However, investors should still keep an eye on any major investments IBM makes in the space.