Hi Oksana,

I ran your Ads API report with modification  and summary row returned like 
AdWords:

curl -v 
"https://googleads.googleapis.com/v9/customers/1329679017/googleAds:search"; \

--header "Content-Type: application/json" \

--header "developer-token:{}" \

--header "Authorization: Bearer {}" \

--data '{

"query": "SELECT campaign.id, ad_group.id, segments.ad_network_type, 
geographic_view.country_criterion_id, 
segments.geo_target_most_specific_location, segments.date, metrics.impressions, 
metrics.clicks, metrics.cost_micros, metrics.conversions, 
metrics.view_through_conversions, metrics.conversions_value, 
metrics.video_views, metrics.all_conversions, metrics.all_conversions_value, 
metrics.cross_device_conversions, metrics.interactions FROM geographic_view 
WHERE segments.date = 20220115 AND ad_group.id = 123224461846" , 
"returnTotalResultsCount": true, "summaryRowSetting": 
"SUMMARY_ROW_WITH_RESULTS" }'

 "summaryRow": {

  "metrics": {

   "clicks": "39",

   "videoViews": "0",

   "viewThroughConversions": "0",

   "conversionsValue": 0,

   "conversions": 0,

   "costMicros": "29506445",

   "allConversionsValue": 0,

   "allConversions": 21,

   "impressions": "1851",

   "interactions": "40"

  }

 }

Note that Ads API excludes metrics that don't fit into each and every 
segmentation field, hence when including segments.geo_target_region and/or 
segments.geo_target_metro you run the risk of losing metrics that don't fit. To 
get all the encompassing geo targets you can run a geo_target_constant report 
and walk up  the geo_target_constant.parent_geo_target field. Also, Ads API 
segments by location type of area of interest and location of presence. I added 
the LocationType field to AdWords report to split the rows.

Regards,


Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2W3xu1:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/kDiIA000000000000000000000000000000000000000000000R6Y88I00s0Lf-aOCRYSICSeY0nyEYw%40sfdc.net.
  • Go... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
      • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
        • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum

Reply via email to