Got it, thank you very much.
I also ran into the following situation: I make a request like this
query = """
SELECT
campaign.name,
campaign.status,
campaign.manual_cpm,
campaign.manual_cpv,
metrics.impressions,
metrics.clicks,
metrics.ctr,
metrics.average_cpc,
metrics.cost_micros
FROM campaign
WHERE segments.date = '2021-03-03'"""
And in response I get this
{'results': [{'campaign': {'resourceName': 'customers/
3653719092/campaigns/12448062856', 'status': 'ENABLED', 'name': 'Display-1'}, 'metrics': {'clicks': '0', 'costMicros': '0', 'impressi
ons': '0'}}, {'campaign': {'resourceName': 'customers/
3653719092/campaigns/12463863982', 'status': 'ENABLED', 'name': 'NewCampaign'}, 'metrics': {'clicks': '0', 'costMicros': '0', 'impres
sions': '0'}}], 'fieldMask':'
campaign.name,campaign.status,campaign.manualCpm,campaign.manualCpv,metrics.impressions,metrics.clicks,metrics.ctr,metrics.averageCpc,metrics.costMicros'}
Here, as you can see, some metrics come, but some do not, although those that come are filled with zeros. Why then don't the rest of the metrics come through?
And another question, what is the difference between the metrics that I request, starting with the campaign.~ and the metric.~ ?
четверг, 4 марта 2021 г. в 18:22:31 UTC+2, adsapiforumadvisor: