Want to turn on/off ad groups based on weather? Or update campaigns' bid based on demand? It can be crazy for a human to monitor these and update the campaigns manually but what if there is an automated method based on rules? Introducing
If This Then That Ads(IFTTA)
Let's explore the architect of this solution:
As you can see, the solution will build a web UI for easy setting up of rules and the under lying tool will be Google Sheet.
Now.. Here is what you need to start.
Requirements:
- Google Cloud Project. Can be new/reuse existing. (Setup here: Google Cloud)
- Google Ads Account(Duh)
- Google Ads API Developer Token with access level "Basic". (Please find information on how to get it in the official documentation)
- API & API access. For fetching the data you need
Steps:
- Go to this Git Link
- Create a Google Cloud project or re-use an existing one
- (I pretty much just copy the start up guide from the Git. It's quite straight forward.)
- Create an OAuth Consent Screen
- Follow the instructions in the setup wizard
- Enable the following APIs:
- A break from the steps from GIT link.. They kind of miss this out but you need to copy and run the setup in your Cloud Project.. Steps here.
- Make a copy of the IFTTA Template
- Set your GCP Project Number at Extensions > Apps Script > Project Settings > Google Cloud Platform (GCP) Project
- Choose a JSON API to be used as data source
- Set up an account for activation (see Supported Target Agents below)
- Get creative with coming up with rules that suit your marketing needs (guide)
If all is good, you will be greeted with this view when you navigate to the newly created project.
Right.. Now you must be asking.. There are so many things going on, what if I do not have a Google Cloud account? I have a solution! That will be for Part 2!