Publisher Ad Clicks by Ad Unit Name [Google Analytics 4]

Follow the Metric Recipe below to create the metric.

1. Configure the dataset

Ensure that you have the following views and columns included in your dataset. Read more about how to create a dataset.

a) Include these columns in the GoogleAnalytics4 Dataset

Data Source

Views

Columns

GoogleAnalytics4

Monetization Publisher Ads Ad Unit Report

DateTz

PublisherAdClicks

AdUnitName


2. Create the Custom Metric

  1. Navigate to Metric Builder and create a new Custom Metric by selecting the dataset created in the previous step. Fill out the fields as shown in the table below.

  2. Read more about how to create a custom metric.

Field

Value

Measure

PublisherAdClicks

Date

DateTz

Dimension

AdUnitName

Aggregation

SUM

Filters

/

Check out the Schema Explorer to learn more about all supported views and columns/properties: Google Analytics 4 Schema Explorer