The workflow aims to showcase how generative AI can help create Google Ads Headlines programmatically. The use case is to generate new Headlines based on the best performance keywords for an online store.
The most relevant nodes in the workflow are the Google Ads Keyword Ideas , which generates relevant keywords with metrics, and the OpenAI Chat Model Fine-Tuner node, which allows fine-tuning the chat model based on actual Headlines.
This workflow can inspire and provide additional ideas for creating your own Google Ads Headlines. A similar approach can be used to create the ads' descriptions.
Downloading this workflow allows you to run it in your local KNIME Analytics Platform installation.
Before you run the workflow, you need to authenticate actively. Using Google APIs with OAuth 2.0 "on your behalf" allows third-party applications to access and interact securely with your Google services, such as Google Ads, enhancing functionality and user experience while maintaining security and control over your data.
Additionally, you will need:
Google Ads Developer Token
Manager Customer Account ID
Account ID
Please refer to the description of the Google Ads Connector to get more information about how to obtain these items.
Workflow Step-by-Step
Authenticate and Connect
Use the Google Authenticator for interactive authentication, providing the custom scope in the node comments. Then, connect to the Google Ads Account by providing the specified items in the Google Ads Connector node.
Generate Keyword Ideas
Use the Google Ads Keyword Ideas node to generate new related keywords based on the default keyword seed, "running shoes," for searches in English within the UK.
Filter and Create Prompts
Filter the top 5 keywords by total search amount, and create prompts for the chat assistant to generate new Ad Headlines based on the Keywords Ideas and the Headlines style. For example: "Keyword is 'new balance trainers womens' using Announcement Headline style."
System message to provide context to the chat assistant: "You are an expert marketing content copywriter specializing in digital marketing paid campaigns. In particular, you are a master at creating headlines with a high click-through rate. You will be given a keyword and a headline style. Your task is to create a relevant Google Ad headline."
Connect to OpenAI
Connect to OpenAI using your API key in the Credentials Configuration node. Select and configure your chat model.
Fine-Tuning the Model
Use the OpenAI Chat Model Fine-Tuner to provide fine-tuning data to improve the chat assistant's performance. Provide ten different Google Ads headlines with varying styles as examples. Adjust this data according to your needs.
Generate Google Ad Headlines
Use a Table Row to Variable Loop Start to pass the system message and the prompt to generate the Google Ad Headline for each Keyword Idea and Headline style.
Collect and Process Data
Collect the data, process it, and plot it into a Table View to explore the headlines generated by the fine-tuned assistant.