Hi all,
Does the Distinct concept exist in GAQL when not segmenting by date or similar?
For instance, if we had an account that had 100,000 CALL AdGroup Extensions, we could run this query to get all the ad_group resource names but it performs slowly because it's examining each ad_group_extension_setting record:
SELECT ad_group_extension_setting.ad_group FROM ad_group_extension_setting WHERE ad_group_extension_setting.extension_type = 'CALL' ORDER BY ad_group_extension_setting.extension_type DESC
What I really want is:
SELECT distinct( ad_group_extension_setting.ad_group ) FROM ad_group_extension_setting WHERE ad_group_extension_setting.extension_type = 'CALL'
and I would want hat 2nd query to be very performant.
Is it possible to query for distinct resource_names?
Thanks
Pete