Construct URLs to access daily AD spending

33 views
Skip to first unread message

ql z

unread,
Jun 25, 2021, 4:35:28 AM6/25/21
to AdWords API and Google Ads API Forum
  • Construct URLs to access daily AD spending and locales

Google Ads API Forum Advisor

unread,
Jun 28, 2021, 10:09:26 AM6/28/21
to zqlj...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. You could query the  metrics.cost_micros from the ad_group_ad and include segments.date in the SELECT clause to segment the results by date to access the daily ad spending. To access the locales, you could query the geographic_view resource. To learn more about how to use cURL please refer to this section of the documentation.

Thanks and regards,
Xiaoming, Google Ads API Team
 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Iye2b:ref

ql z

unread,
Jun 30, 2021, 2:10:05 AM6/30/21
to AdWords API and Google Ads API Forum
Thanks ,
Xiaoming, Google Ads API Team
  • Can you build a URL to query it?

Google Ads API Forum Advisor

unread,
Jul 2, 2021, 8:27:24 AM7/2/21
to zqlj...@gmail.com, adwor...@googlegroups.com
Hi there,

I work with Xiaoming and will assist you. Access of the API requires headers for authentication along with the URL. We recommend you use our client libraries to access the API as they streamline access and have useful prebuilt example code.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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