I used the google analytical API to fetch the data for AdWords Reporting.
1. Not working
Endpoint - https://www
googleapis.com/analytics/v3/data/ga?ids=8xxx&start_date=2022-02-25&end_date=2022-02-25&metrics=ga:impressions,ga:adClicks,ga:adCost,ga:users,ga:sessions&dimensions=ga:date,ga:adGroup,ga:adwordsCampaignID,ga:campaign,ga:keyword,ga:sourceMedium,ga:channelGrouping
when I queried them all together, all values are coming fine except
Impression, clicks and cost. Impression, clicks and cost values are coming
as Zero.
2. Working after removing ga:channelGrouping.
Endpoint - https://www
googleapis.com/analytics/v3/data/ga?ids=8xxx&start_date=2022-02-25&end_date=2022-02-25&metrics=ga:impressions,ga:adClicks,ga:adCost,ga:users,ga:sessions&dimensions=ga:date,ga:adGroup,ga:adwordsCampaignID,ga:campaign,ga:keyword,ga:sourceMedium
This combinations of Metrics and Dimensions are giving all the results
along with Impressions, Cost and clicks.
I need to understand why the first endpoint is not giving the Clicks,
Impressions and Cost metrics values. please guide me on this.
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/8dc9ab5a-f5c1-4c27-a84a-83730ce0e0acn%40googlegroups.com.