I'm trying to filter out all 'dynamic' campaigns while fetching all display campaigns.
I then tried to match feeds campaign IDs from CampaignFeedService to the actual campaign IDs but this has 2 big down sides.
1. For some reason when a campaign has a data feed it doesn't always show up in the CampaignFeedService. Which makes this method very unreliable.
2. It needs 2 separate requests to the API and is therefore very slow. (about 5 times slower than only using CampaignService)
I was hoping there is some sort of predicate filter to filter out dynamic feeds but until now I did not find any...
This is my selector:
{
fields: [
'Id',
'Name',
'Status',
// 'Settings',
// 'AdvertisingChannelType',
// 'AdvertisingChannelSubType',
// 'Labels',
],
predicates: [
{
field: 'AdvertisingChannelType',
operator: 'EQUALS',
values: 'DISPLAY'
},
]
}