How to get list of all resource from Google Ads API?

1,332 views
Skip to first unread message

Alexey Seleznev

unread,
Jul 2, 2021, 11:53:14 AM7/2/21
to AdWords API and Google Ads API Forum
Hi All, 

For example i can get metadata from any resource or field (for example ad_group) like https://googleads.googleapis.com/v8/googleAdsFields/ad_group

But i cant find method for get list of all resource, could you help me?

Pete Lavetsky (AdWords API Guru)

unread,
Jul 6, 2021, 12:11:19 PM7/6/21
to AdWords API and Google Ads API Forum

Alexey Seleznev

unread,
Jul 6, 2021, 5:17:44 PM7/6/21
to AdWords API and Google Ads API Forum
Thanks, can you show url example like  https://googleads.googleapis.com/v8/googleAdsFields/ad_group for use  SearchGoogleAdsFieldsRequest

there is no example in the documentation
вторник, 6 июля 2021 г. в 19:11:19 UTC+3, Pete Lavetsky (AdWords API Guru):

Pete Lavetsky (AdWords API Guru)

unread,
Jul 6, 2021, 5:21:29 PM7/6/21
to AdWords API and Google Ads API Forum
SELECT name, category, data_type, selectable, filterable, sortable, selectable_with, metrics, segments, is_repeated, type_url, enum_values, attribute_resources where name = 'ad_group'

Pete

Alexey Seleznev

unread,
Jul 7, 2021, 3:10:39 AM7/7/21
to AdWords API and Google Ads API Forum
Thanks, url is https://googleads.googleapis.com/v8/googleAdsFields:search

среда, 7 июля 2021 г. в 00:21:29 UTC+3, Pete Lavetsky (AdWords API Guru):

Google Ads API Forum Advisor

unread,
Jul 9, 2021, 3:05:03 PM7/9/21
to alsey....@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. You can use the query suggested by Pete. In general, the Search method should be used where possible in place of a get method.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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