Dear Google Ads API Support Team,
I have been utilizing the Google Ads API to retrieve performance metrics for various campaigns and ad groups. However, upon comparing the data fetched through the API with the data presented on the Google Ads UI, I have noticed variations in the numbers reported for certain metrics.
Specifically, I have observed differences in metrics such as impressions, clicks, and cost. The API responses consistently return values that are lower than what is shown on the Google Ads UI for the same date range and targeting criteria.
I am attaching the urls , queries used to fetch data for the reference.
Details of Data Fetching :-
Campaign
url = https://googleads.googleapis.com/v12/customers/{clientId}/googleAds:searchStream
query = [
{
"field": "campaign",
"query": """
SELECT campaign.id, campaign.resource_name ,segments.date, metrics.clicks, metrics.cost_micros, metrics.impressions
FROM campaign WHERE segments.date < '2023-06-14' AND segments.date >= '2023-06-01'
"""
}]
Hi Nitin,
Thank you for raising your concern to the Google Ads API team.
For us to investigate further, kindly provide the following information privately:
You may send it privately via the reply to author option. If this option is not available on your end, you may send it through our email (googleadsa...@google.com) instead.
Looking forward to your response.
![]() |
Google Ads API Team |