Discrepancy in Data between Google Ads API and Google Ads UI

118 views
Skip to first unread message

Nitin Bhasneria

unread,
Jun 19, 2023, 2:28:01 AM6/19/23
to Google Ads API and AdWords API Forum

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_microsmetrics.impressions

                FROM campaign WHERE segments.date < '2023-06-14' AND segments.date >= '2023-06-01'

            """

    }]

Google Ads API Forum Advisor

unread,
Jun 21, 2023, 2:51:21 AM6/21/23
to nitin.b...@clickmerito.com, adwor...@googlegroups.com

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:

  • Complete API request and response logs with request-id in text format
  • Full and uncropped screenshot of the UI showing the expected data you want to retrieve

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.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2mV8me:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages