I am trying to migrate geo targeting reports from AdWords API to Ads API. I am doing the following query:
my $query = q{ SELECT
geographic_view.country_criterion_id,
geographic_view.location_type,
segments.geo_target_region,
segments.geo_target_city,
segments.geo_target_metro,
customer.currency_code,
customer.descriptive_name,
segments.device,
segments.date,
segments.year,
segments.day_of_week,
segments.month,
segments.quarter,
segments.week,
metrics.clicks,
metrics.cost_micros,
metrics.impressions,
metrics.conversions,
metrics.conversions_value,
metrics.all_conversions,
metrics.all_conversions_value,
metrics.interactions
FROM
geographic_view
WHERE segments.date BETWEEN 20201027 AND 20201027
};
I'm getting empty report. When I remove segments.geo_target_metro - I'm getting the similar data as from AdWords API. I can see, that in data from adwords API this dimension (geo_target_metro) is always empty for this case.
Also I noticed, that I'm not getting rows for empty city, etc, so the metrics numbers are a little different depending on dimensions.
I'm using python libs in version 7.0. Am I doing something wrong?