Follow up question sent in one more private email. Thanks! On Tuesday, February 8, 2022 at 12:21:11 PM UTC+2 Oksana Sulyma wrote:
> Hi Aryeh, > I appreciate your help very much. The answer makes a lot of sense to me. I > can confirm that I got data match. > Is it possible to edit your previous comment and remove customer_id from > public visibility? > Thanks again, > Oksana > > On Monday, February 7, 2022 at 9:17:38 PM UTC+2 adsapi wrote: > >> 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 >> <https://developers.google.com/google-ads/api/docs/reporting/segmentation#selectability_between_segments_and_metrics>, >> >> 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 >> <https://developers.google.com/google-ads/api/fields/v9/geo_target_constant> >> and walk up the geo_target_constant.parent_geo_target field >> <https://developers.google.com/google-ads/api/fields/v9/geo_target_constant#geo_target_constant.parent_geo_target>. >> >> 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, >> >> [image: Google Logo] >> 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 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/09dd106f-220a-4398-be82-63147489cdd4n%40googlegroups.com.