Skip to main content
RegEx in Google Ads
Rishika Chowdhury avatar
Written by Rishika Chowdhury
Updated over a week ago

Regular Expressions, commonly referred to as RegEx, represent potent tools for pattern matching, employed to manipulate and filter text across various applications, including Google Ads. Within this article, we shall delve into the utilization of RegEx within Google Ads to elevate the quality of your reports within ReportGarden.

Suppose you desire to craft a view filter that encompasses campaign data from two distinct cities. In this case, you can construct a regular expression such as "San Francisco|New York" to achieve this purpose.
โ€‹

Here is the step by step guide:

Step 1: Begin by incorporating a table widget into your report.

Step 2: Select Google Ads as the data source

Step 3: Proceed by adding dimensions, specifying Campaigns to be included within the widget.

Step 4: You can now go to Manage Filters and select campaign name to which you want to apply Regular Expression to

Step 5: Navigate to the "Manage Filters" section, and designate the campaign name to which you intend to apply the Regular Expression.

Within the campaign names, opt for "Regular Expression" and introduce the conditions separated by a pipe character. Conclude by clicking the "Submit" button.

By harnessing the capabilities of Regular Expressions within Google Ads, advertisers can get details of their campaigns very effectively. You can refer to this documentation from Google Ads - link for more information.
โ€‹
For any question, you can reach us on live chat or drop an email to [email protected]

Did this answer your question?