Beginner needs Help with 1 Query

41 views
Skip to first unread message

Philipp Oberthür

unread,
Aug 6, 2022, 8:13:41 AM8/6/22
to Google Ads API and AdWords API Forum
Hi!
i got help with 1 Query please, im absolute beginner and i got this for my Google Sheet

{"query": " SELECT campaign.name, campaign_budget.amount_micros, campaign.status, campaign.optimization_score, campaign.advertising_channel_type, metrics.clicks, metrics.impressions, metrics.ctr, metrics.average_cpc, metrics.cost_micros,metrics.conversions,campaign.bidding_strategy_type FROM campaign WHERE segments.date DURING LAST_7_DAYS AND campaign.status != 'REMOVED' " }

But actually I just need an output about the daily Google Ads cost. Best updated every second.

Is something like this possible? If so, does anyone have an idea for the code?

Google Ads API Forum Advisor

unread,
Aug 8, 2022, 3:15:38 AM8/8/22
to adwor...@googlegroups.com

Hi Philipp,

Thank you for reaching out to our API support team.

You may use segments.date if you want to specify the date that you want or segments.day_of_week if you want the data for a specific day. I hope this helps.


Best,

Google Logo
Anthony Cyril
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dI7gS:ref
Reply all
Reply to author
Forward
0 new messages