How to use GoogleAdsFieldService?

259 views
Skip to first unread message

Alexander

unread,
Mar 19, 2019, 7:14:20 AM3/19/19
to AdWords API and Google Ads API Forum
How can I get all fields of some resource (for example "user_interest") using GoogleAdsFieldService?
I can get only something like following - which is of little use.

resource_name: "googleAdsFields/user_interest"
name {
  value: "user_interest"
}
category: RESOURCE
selectable {
}
filterable {
}
sortable {
}
data_type: MESSAGE
type_url {
  value: "com.google.ads.googleads.v1.resources.UserInterest"
}
is_repeated {
}

googleadsapi...@google.com

unread,
Mar 20, 2019, 1:51:06 AM3/20/19
to a.ti...@pa.ag, AdWords API and Google Ads API Forum
Greetings!

Have you given the query in this guide a try? Is what you were trying similar to this?

SELECT name, category, selectable, filterable, sortable, selectable_with, data_type, is_repeated
  WHERE name = user_interest

To sanity-check yourself, you can check out this page.
If you were trying something else, please get back to me.

Thanks,
Nadine Sundquist, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b861b72d-3ad9-4495-a4ae-75bc97c38e81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages