Cmdlets for Google Analytics

Build 24.0.9060

MonetizationPublisherAdsAdUnitReport

A predefined view that retrieves publisher ads ad unit data.

n

Select

The cmdlet uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • AdUnitName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE PropertyId = 342020667
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE AdUnitName = 'Test' 
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date = '01/05/2023' 
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE PropertyId = 342020667  AND AdUnitName = 'Test' AND Date = '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date <= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >  '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the cmdlet.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AdUnitName String True True Space on the website or app that displayed the ad.
Date Date True True The date of the session formatted as YYYYMMDD.
PublisherAdImpressions Integer False True The number of times an ad was displayed on the publishers site.
adUnitExposure Integer False True The amount of time the ad unit was exposed to the user.
PublisherAdClicks Integer False True The number of times an ad was clicked on the publishers site.
TotalAdRevenue Integer False True Sum of all advertising revenue.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060