Search Console Connector retrieve wrong page ranking for specific keyword

Hi Community!
I'm trying to retrieve clicks, impressions and page ranking for a set of keywords.
If I only pick clicks and impressions, the overall number matches to what GSC shows.
If I add, in the same retrieval, clicks and impressions are shown for just one page which is not the most important page for that keyword.
If I make two separate operations, one for clicks and impressions, the second for page, the result is that the retrieved page is again not the best in class.

Any idea why this is happening?

This may be related to how Google Search Console handles page-level data. Average position is not necessarily the ranking of the single best-performing page for a keyword. When you include both the query and page dimensions, GSC reports metrics for each query-page combination, and its aggregation can differ from the overall property-level figures.

I’d suggest checking the exact query with the Page dimension in GSC and comparing the impressions and average position for each URL. Also check the connector’s aggregation settings and date range. Google notes that adding page and query dimensions can result in some data being omitted.

It would be useful to know whether the connector is using page-level or property-level aggregation, as that could explain the difference.