Label your ads with UTMs
UTMs are small labels on your ad links. The ad platforms fill them in automatically when you use their macros, and MIQAS reads them on every visit, so each order lands under the exact campaign that caused it. Name your UTM campaign the same as the campaign itself and the spend and revenue rows merge into one line.
Meta
In Ads Manager, ad level → Tracking → URL parameters, paste:
utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}}TikTok
utm_source=tiktok&utm_medium=cpc&utm_campaign=__CAMPAIGN_NAME__&utm_term=__ADGROUP_NAME__&utm_content=__CID_NAME__Snapchat
utm_source=snapchat&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_term={{adSet.name}}&utm_content={{ad.name}}Set them once at the ad-account or campaign level; new ads inherit them.
Verify it worked
Click your own ad, then check MIQAS → Insights: the visit shows the campaign name, and the Ad Campaigns table starts attributing orders to it.