Back
3 mins read

We’ve Cut the Synchronization Time by 70%

0 1*fvv gycwei0z5uhd85hwra0 1*fvv gycwei0z5uhd85hwra
PPC Bee manages advertising campaigns of different sizes — from campaigns with several ad groups to campaigns that use millions of keywords and hundreds of thousands of ad texts. Campaigns of this magnitude bring about many technological challenges, one of them being the necessity to make sure that generation and synchronization are being done at an acceptable speed.
By
Michaela Zákopčaníková
| Nov 26, 2018
Despite regularly trying to make synchronizing faster, we never achieved the results we wanted to achieve — some campaigns took up to a couple of hours to generate and synchronize. Primarily, we struggled with insurmountable limits, imposed by the amount of data and API advertising systems in conjunction with the synchronization paradigm. Therefore, we had to change our entire approach in order to solve the synchronization issue.

The original paradigm was based on a complete comparison of two models — the “required” generated status in PPC Bee, and the current “outdated” status in the systems. This comparison yielded a set of API calls which unified the status of the two models (e.g. editing an ad text headline or adding a keyword into an ad group). This safe approach of making exhaustive comparisons had one serious disadvantage — the creation of complete models, regardless of the number of changes which needed to be actually made.

The new “Delta Sync” approach targets precisely this drawback. We don’t compare entire models, only those parts (ad groups) where we know that their ad group counterparts will have to be updated (edited parts = deltas). We find the relevant piece of information and save it with the individual campaign elements as early as during generation. That means we compare only those things that really need to be updated, hugely increasing the speed of most campaigns. Deltas have been used for all automated synchronizations as of October 15th, and the average synchronization time was cut by about 70%.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--33a49d79e63f770b320e12ef86aa1898a77e4b09/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/1-1*Fxz85x_aSig5BptETOD87w.jpeghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--33a49d79e63f770b320e12ef86aa1898a77e4b09/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/1-1*Fxz85x_aSig5BptETOD87w.jpeg


The original synchronization method can still be used manually, by clicking the “synchronize” button — this also preserves the option of making a complete comparison, regardless of any changes in data or generators. This can come in handy, for example when manual changes in advertising systems are made by accident (e.g. you delete your ads directly in Google Ads by mistake, etc.). Deltas are used for the rest of the synchronizations which not only decreases the average synchronization time, but also frees up capacities on the server, allowing them to be utilized for other interesting features.

Related articles

Read more

Data feed as a basis for product campaigns

Do you need to create PPC campaigns for searches that involve a large number of product or service variations? You can with PPC Bee — but you need to have a data feed at the ready. You’re in luck as data feeds are the subject of this article. We often encounter clients who’d like to use PPC Bee but don’t have any such data feed or aren’t even aware what it even is.

By Michaela ZákopčaníkováSep 3, 2018 | 4 mins read

Read more

A little throwback to 2018

How many lines of source code does PPC Bee consist of? How many new partners have joined our team? And how many pounds of honey have made the day of our clients and others?

By Michaela ZákopčaníkováJun 5, 2019 | 1 min read

Read more

Automating Search Campaigns

Are you creating PPC search campaigns and looking for ways to make your job as easy as possible? Here’s a couple of useful tips to make it less difficult with campaign automation and save lots of time.

By Adam VašendaOct 18, 2019 | 4 mins read