Aggregate clicks and impressions by group

[ad_1]

Hello, I am developing a script so that when I download the csv with the statistics I can add the number of impressions and clicks per group. I understand that the groups are an “advanced_ads_groups” taxonomy. I need to know how to get the number of clicks and impressions per ad for each group assigned to that ad.

Can you provide us with the query or the diagram of how the database is designed with the added tables that contain the data for these clicks, impressions and groups/taxonomies?

Regards, thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer