Skip to main content

description

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.3.8

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.3.8.tar.gz (41.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.3.8-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page