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'

            """

    }]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/65a63b0a-f217-4b03-80dd-e2f103af4429n%40googlegroups.com.
  • Di... Nitin Bhasneria
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to