Hi Team,
I am trying to build a pipeline to pull data from Google Ads. The 
attributes i need to pull are 
Campaign, Adgroup, Cost, Clicks and Impression. I am able to build the 
query for all fields except Cost. Please help me in adding Cost (i.e Sum of 
Spend ) attribute.

Please find the query that i am using.
SELECT ad_group.NAME,
       segments.day_of_week,
       ad_group.campaign,
       campaign.NAME,
       campaign.status,
       metrics.clicks,
       metrics.impressions,
FROM   keyword_view
WHERE  segments.date ='yyyy-MM-dd'
AND campaign.advertising_channel_type = 'SEARCH'
AND ad_group.status = 'ENABLED'
AND ad_group_criterion.status IN ('ENABLED', 'PAUSED')

Thanks
Saurav

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa9fbffe-23f7-49e2-ba3c-53dd549384edn%40googlegroups.com.
  • No... gadsm wiley
    • ... gadsm wiley
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to