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:
> Hi Alexandr,
>
> Test accounts will not contain any impressions and unfortunately, whenever
> segments
> <https://developers.google.com/google-ads/api/docs/reporting/zero-impressions#excluding_zero_impressions_by_segmenting>
>
> are used in a report, rows with zero impressions will not return.
>
> Regards,
> Anthony
>
> [image: Google Logo]
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2DKxkK: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
"AdWords API and Google Ads 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/6edd5b6c-d8d4-4e91-a62d-83508cbd7713n%40googlegroups.com.