Google Builders Web site: Marketing campaign Anomaly Detector

Connection copied to clipboard

Posted by Elad Ben-David, Meirav Shaul, Dvir Kalev, Roy Sela, Omri Levy, and Tal Rimon Edelstein

A although ago Google unveiled “Account Anomaly Detector” which you know.

A number of customers approached the gTech staff at Google, inquiring to include some monitoring capabilities.

That is why we established an unofficial, open up-source evolved model of it. We named it “Campaign Anomaly Detector”. It has a short while ago been revealed on github, ready for advertisers to deploy and use it for defining and detecting metrics anomalies.

Hosted on github, absolutely everyone is much more than welcome to contribute a lot more code to this at any time-developing venture. Satisfied checking!

Answer Demands

Important Attributes

  • Entity to Observe – alternative to pick out all/some baby accounts underneath an MCC/precise campaigns.
  • Period variety – option to find both recent and previous periods for comparison
  • Metrics Collection & Anomaly Definition solution to choose essential metrics to be monitored, and the threshold values which will be regarded as as anomalies.
  • Dashboard – Facts studio dashboard that provides identified anomalies
  • E-mail alerts selection to outline the e-mails to notify at the time anomaly is recognized

Key Components

The remedy incorporates the pursuing elements:

  • Configuration Sheet (“input”) – Google Sheet for placing the monitoring parameters (entities for monitoring, period of time range, metrics & thresholds, electronic mail alerts)
  • Simulator to help the interval calculation and configurations
  • Dashboard Sheet (“results”) – dedicated tab in the configuration sheet, that offers the discovered anomalies
  • Facts Studio Dashboard that provides the determined anomalies

Tutorial Video


  • Obtain the open source repository in this article. 


Copyright 2022 Google LLC. This option, together with any associated sample code or information, is made accessible on an “as is,” “as obtainable,” and “with all faults” foundation, entirely for illustrative reasons, and with no guarantee or representation of any type. This alternative is experimental, unsupported and delivered solely for your advantage. Your use of it is topic to your agreements with Google, as relevant, and could represent a beta element as outlined beneath these agreements. To the extent that you make any info offered to Google in relationship with your use of the alternative, you represent and warrant that you have all needed and correct legal rights, consents and permissions to permit Google to use and course of action that information. By employing any portion of this resolution, you acknowledge, think and accept all challenges, acknowledged and unknown, associated with its utilization, together with with regard to your deployment of any portion of this answer in your programs, or utilization in relationship with your organization, if at all.

Resource website link