Hello Team, I have a request where i am building a pipeline to pull data from Google Ads to our local environment. In body section i need to pass the dimension an metrics for which data needs to be pulled. In Google Ads docs i found we need to pass it in form of query. So when i am trying to add metrics it is throwing error as incorrect attribute. So please guide to build the query to pull information of above kpis.
Sample query which i found in docs. Any Sample document to connect to KPIs will help. SELECT campaign.id, campaign.name, ad_group.id, ad_group.name, ad_group_criterion.criterion_id, ad_group_criterion.keyword.text, ad_group_criterion.keyword.match_type, metrics.impressions, metrics.clicks, metrics.cost_micros FROM keyword_view WHERE segments.date DURING LAST_7_DAYS AND campaign.advertising_channel_type = 'SEARCH' AND ad_group.status = 'ENABLED' AND ad_group_criterion.status IN ('ENABLED', 'PAUSED') ORDER BY metrics.impressions DESC Thanks Saurav On Friday, June 24, 2022 at 8:05:52 PM UTC+5:30 adsapi wrote: > Hello, > > Thanks for reaching out. Can you please clarify your request? For which > resource would you like to retrieve the listed attributes and metrics? > > Thanks, > > [image: Google Logo] > Matt > Google Ads API Team > > > ref:_00D1U1174p._5004Q2cCaxv: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 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/b3f2c93d-aa67-4934-b26b-b5a2fc7486d9n%40googlegroups.com.