Hello,
I am trying to make a GAQL query for campaigns of specific advertising channel type and excluding all campaigns where advertising channel type is set.
While this query returns many campaigns where majority doesn't have advertising channel subtype set:
SELECT
metrics.clicks, campaign.advertising_channel_type, campaign.advertising_channel_sub_type
FROM campaign
Then this query doesn't return any campaigns at all. Expected is that it will return all those campaigns of SEARCH and SHOPPING without advertising channel subtype set:
SELECT
metrics.clicks, campaign.advertising_channel_type, campaign.advertising_channel_sub_type
FROM campaign
WHERE campaign.advertising_channel_sub_type NOT IN (
'SEARCH_EXPRESS',
'DISPLAY_EXPRESS',
'DISPLAY_SMART_CAMPAIGN',
'SHOPPING_SMART_ADS'
/* and all the other advertising sub channel types */
)
Is there a way to query for all campaigns where advertising_channel_sub_type is NULL/EMPTY/NOT SET?
Best,
Ales