I also tried using user_location_view, 
user_location_view.country_critterion_id, then got a third version report.
On Wednesday, March 9, 2022 at 9:54:57 AM UTC-8 jubap...@gmail.com wrote:

> Hi, 
> I would like to have a geo performance report with a specific campaing ID
> I used to use  'GEO_PERFORMANCE_REPORT' date range report.
> Fields I am using is below.:
> report_type_geo = 'GEO_PERFORMANCE_REPORT'
> fields_geo = ['CityCriteriaId', 'CountryCriteriaId', 'MetroCriteriaId', 
> 'MostSpecificCriteriaId', 'RegionCriteriaId', 
> 'Impressions','CampaignName','CampaignId','AdGroupName','Clicks', 'Cost', 
> 'Conversions', ConversionValue']
> start_date, end_date example : 2022-01-08 , 2022-01-010
>
> Now, I am using 'SearchGoogleAdsStreamRequest' with metrics 
> geographic_view.
> query example below:
> SELECT segments.geo_target_city,
>             geographic_view.country_criterion_id, 
>             segments.geo_target_metro, 
>             segments.geo_target_most_specific_location, 
>             segments.geo_target_region,
>             metrics.impressions, 
>             campaign.name, 
>             campaign.id, 
>             ad_group.name, 
>             metrics.clicks, 
>             metrics.cost_micros, 
>             metrics.conversions, 
>             metrics.conversions_value 
>         FROM geographic_view
>         WHERE segments.date BETWEEN '"""  + start_date + """' AND '""" + 
> end_date + """'
>
> This query can help me concat the right format report I want however, the 
> report will be slightly different between GoogleAds API and AdWords API. 
> Do I need other segments for  GoogleAds API for my report? 
>
> Thank you!
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b1371fee-45b9-47bc-8e74-86a089edeeban%40googlegroups.com.
  • Ge... jubap...@gmail.com
    • ... jubap...@gmail.com
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to