Hi Aram,
Thank you for reaching out. Doing the total search_impression_share calculation is not simply adding up the individual search_impression_share and having it divided by the number of items. For instance, in your case, if 479 is the total impressions, you would need to use this formula (89.62% * 285 + 89.40% * 194) / 479 = 89.53% to calculate the total search_impression_share.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Sorry, I believe the provided response is not accurate. Even though it tests successfully with the initial given case it fails in most situations. Take the following data as an example:
Here I'm looking for the 33.45% for the campaign aggregated. Again, requesting metrics.search_impression_share, metrics.impressions, segment.date FROM campaign WHERE segment.date BETWEEN '2020-08-01' AND '2020-08-10' to the search_stream endpoint results in the following response (find attached as csv):
Hi Aram,
Thank you for reaching out. Zweitze has given a great explanation on what happened behind the scene. Please try to use the segments.ad_network_type segmentation to exclude non-Search campaigns.
Thanks and regards,
Xiaoming, Google Ads API Team