Fetch campaing type

It works with GetActiontype() but it’s returning Cart as type for all these 3 kind of campaigns:
image
Shouldn’t at least “Buy X of the same product, pay for Y” be a product-campaign?