Hey Joe,
Can you share the http request you've used here?
I'm not sure which endpoint url to use..

On Tuesday, March 12, 2019 at 5:34:33 PM UTC+2, Joe Stedman wrote:
>
> You know what, i figured it out.
> $"SELECT name,selectable,enum_values WHERE category = 'ATTRIBUTE'" gives 
> you all the attributes. Then you can just include the ones with a 
> ResourceName that contains "/campaign.".
> There's probably a better way though.
>
> On Tuesday, March 12, 2019 at 2:00:30 PM UTC, Joe Stedman wrote:
>>
>> Hi, I'm trying to get a list of attributes+metrics for the campaign 
>> artifact along with their enum values if applicable.
>> I managed to get the metrics using the GoogleAdsFieldService with this as 
>> the query:
>> "SELECT name, category, selectable, enum_values, filterable, sortable, 
>> selectable_with, data_type, is_repeated WHERE category IN 
>> ('METRIC','ATTRIBUTE') AND selectable_with CONTAINS ALL ('campaign')"
>>
>> This only returns the metrics, which i understand. What should I do to 
>> get the attributes?
>>
>> Thanks,
>> Joe
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5366f25b-9de1-49db-92bd-8ffe3cddf810o%40googlegroups.com.

Reply via email to