See the requested info below:

Geo API: curl --location 
'https://googleads.googleapis.com/v15/customers/2574544911/googleAds:search' 
\
--header 'Authorization: Bearer 
ya29.a0AXooCgt2pCQygzHmfuHwGC2C5FGzfHJzb3vTyPwtpOZ4wjwxpd_4HBdhUEPa22s4je3L90nqyfLpzuNzWOdb5MPQthT-oiu1xw7vUtOjk3QDHaFEkUAn5-93bw4oioJrn1XHxZ0TWGWMS6i8G0XNvBMgtB5lJ9Q2e5Btv40aCgYKAcESARESFQHGX2MigOwHdh7P90dqXIwt0rss4w0174'
 
\
--header 'Developer-Token: wHW9zT2p9X3SKI8mhb7L9A' \
--header 'login-customer-id: 4742540146' \
--header 'Content-Type: application/json' \
--data '{"query":"SELECT segments.date, campaign.id , campaign.name, 
ad_group.id, ad_group.name, metrics.all_conversions, 
metrics.all_conversions_value, metrics.clicks, metrics.conversions, 
metrics.conversions_value, metrics.cost_micros, 
metrics.cross_device_conversions, metrics.impressions, metrics.video_views, 
metrics.interaction_event_types, metrics.interactions, 
metrics.view_through_conversions, segments.geo_target_city, 
segments.geo_target_metro, segments.geo_target_region, 
segments.geo_target_county, segments.geo_target_most_specific_location, 
geographic_view.location_type FROM geographic_view WHERE segments.date 
between '\''2024-06-05'\'' and '\''2024-06-05'\'' and metrics.clicks != 
'\''0'\''"
}'
Request ID: K4FfjuuC82b2k6PxYCZ_Ew
Developer-Token: wHW9zT2p9X3SKI8mhb7L9A
Customer ID: 4742540146

Daily APi: curl --location 
'https://googleads.googleapis.com/v15/customers/2574544911/googleAds:search' 
\
--header 'Authorization: Bearer 
ya29.a0AXooCgt2pCQygzHmfuHwGC2C5FGzfHJzb3vTyPwtpOZ4wjwxpd_4HBdhUEPa22s4je3L90nqyfLpzuNzWOdb5MPQthT-oiu1xw7vUtOjk3QDHaFEkUAn5-93bw4oioJrn1XHxZ0TWGWMS6i8G0XNvBMgtB5lJ9Q2e5Btv40aCgYKAcESARESFQHGX2MigOwHdh7P90dqXIwt0rss4w0174'
 
\
--header 'Developer-Token: wHW9zT2p9X3SKI8mhb7L9A' \
--header 'login-customer-id: 4742540146' \
--header 'Content-Type: application/json' \
--data '{"query":"SELECT segments.date, campaign.id, campaign.name, 
metrics.clicks, metrics.impressions FROM campaign WHERE segments.date 
between '\''2024-06-05'\'' and '\''2024-06-05'\''"
}'
Request ID: yEoPfcpTx9Un5qutP-2IFA
Developer-Token: wHW9zT2p9X3SKI8mhb7L9A
Customer ID: 4742540146


On Wednesday, July 3, 2024 at 2:46:58 PM UTC-4 Google Ads API Forum Advisor 
wrote:

Hi,

The screenshot which you have provided corresponds to the ad_group resource 
not the geographic_view, so I would recommend to use the query which was 
provided by us and then match the metrics data from the Google Ads UI. 
While mapping the data from the Google Ads UI to the Google Ads API you 
should use the same resource.

Kindly note that we have executed both queries provided by you and observed 
the same impression value of '83300' without any discrepancies in the 
results. I recommend re-running both queries and then comparing the 
impressions from the ad_group and campaign resources in the Google Ads API. 
However, if you are still facing discrepancies, then kindly provide us with 
the complete API logs (request 
<https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
 
and response 
<https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
 
logs with request-id 
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
 
and request header 
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
 
generated at your end to better assist you further. 

  


*This message is in relation to case "ref:!00D1U01174p.!5004Q02tJTqh:ref" 
(ADR-00244034) Thanks,*
  [image: Google Logo] *Google Ads API Team* 
*Register 
<https://adsonair.withgoogle.com/events/performance-max-api-workshop> for 
the upcoming workshop: Performance Max and the Google Ads API!*
 
​​​​​​​

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/509bc098-9ad0-46c9-a832-9f5d2dd98497n%40googlegroups.com.
  • Re... Carlie McLaughlin
    • ... Carlie McLaughlin
      • ... Carlie McLaughlin
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to