Wei,

That's an amazing discovery. Question though:
When you set the SummaryResultSetting 
<https://developers.google.com/google-ads/api/reference/rpc/v15/SummaryRowSettingEnum.SummaryRowSetting>
 
to SUMMARY_ROW_WITH_RESULTS, and you post the segmented query, what is 
written on the result row? 0.048 or 0.034?

Further I would suggest to try to reproduce this in the UI. Go to the 
campaigns page, filter on that particular campaign, select the right 
columns and date range.
Then try to include and exclude the date segment.

Either you get different results and the API is wrong in certain scenarios, 
or turning the date segment off and on results to a different a 
"Totals"-line, meaning you've got to ask the product support.


On Monday, February 19, 2024 at 9:59:36 PM UTC+1 Wei Zhong wrote:

> From our understanding, the "metrics.absolute_top_impression_percentage" 
> is from:
> "Search absolute top impression rate = Impressions on the absolute 
> top/Impressions"
>
> Also, we are trying to do it by `segments.date` which the result is 
> different than without the segments,
> example:
>
>
> Without `segments.date`:
> ```
>     metrics: {
>       clicks: '22',
>       conversions: 2,
>       absoluteTopImpressionPercentage: 0.04819277108433735, => the UI uses 
> this value, so the UI does not calculate their way
>       impressions: '196'
>     }
> ```
>
>
> With `segments.date`, we are trying to match back the result like above 
> because we need a daily metric for the chart:
> ```
>     metrics: {
>       clicks: '7',
>       conversions: 0,
>       absoluteTopImpressionPercentage: 0.06557377049180328,
>       impressions: '97'
>     },
>     segments: { date: '2024-01-01' }
>   },
>   {
>     campaign: { resourceName: 'xxxxxxx' },
>     metrics: {
>       clicks: '15',
>       conversions: 2,
>       absoluteTopImpressionPercentage: 0,
>       impressions: '99'
>     },
>     segments: { date: '2024-01-02' }
>   }
>
> >>> SUM(impressions*absolute_top_impression_percentage) / SUM(impressions) 
>  = 0.03245232519237203
> ```
>
> From these two examples: why these two numbers are different 
> "0.04819277108433735" vs  "0.03245232519237203"?
>
> It seems Google Ads API is using its way(hidden values) rather than just 
> like this simple formula:
> Search absolute top impression rate = Impressions on the absolute 
> top/Impressions
>
> Or the API has another internal metric "Impressions on the absolute top" 
> which is different than the normal "metrics.impressions"?
>
>
> Thanks
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/56acf4c0-edf7-4c1c-a85a-0fbb86e4804dn%40googlegroups.com.

Reply via email to