Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Google Ads Housekeeper

Problem statement

Managing Google Ads entities that can be excluded is a complex task which requires implementing many moving parts: parsing the rules, applying them, saving, updating, scheduling tasks and many more.

Solution

Ads Housekeeper simplifies tasks related to managing excludable entities (placements, keywords, search terms, ads, etc) based on a set of custom rules.

Deliverable (implementation)

The library provides googleads_housekeeper module you can using in your projects which abstracts the following aspects:

  • Applying rules that identify entities for modification
  • Creating and managing tasks with aforementioned with built-in persistence mechanism
  • Sending notifications to a channel of your choice
  • Sending message to message broker of your choice

Deployment

Prerequisites

  1. Python 3.9+
  2. Google Ads API access and google-ads.yaml file - follow documentation on API authentication.

Installation

pip install google-ads-housekeeper

Usage

from googleads_housekeeper import bootstrap
from googleads_housekeeper.domain import commands

# initialiaze message bus
bus = bootstrap.bootstrap()

# execute command
task_id = 1
cmd = commands.RunTask(task_id)
bus.handle(cmd)

Disclaimer

This is not an officially supported Google product.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

googleads_housekeeper-0.1.0.dev100.tar.gz (45.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googleads_housekeeper-0.1.0.dev100-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.12

2 files

0.3.10

2 files

0.3.9.post0

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5.post1

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0.post1

2 files

0.2.0

2 files

0.1.0

1 file

This release

0.1.0.dev100 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page