Hi,
if you use DTM rules to fire Adobe Analytics, just write rules for each query parameter: eg. you have query parameter "cid1" and "cid2" fro campaigns, just write a rule (R1) to catch query parameter cid1 and another rule (R2) for cid2. So, if query parameter cid1 is present, then R1 will fire and set s.campaign, if cid2 is present, R2 will fire and set s.campaign.
Hope this helps.
Regards, Michael