To view custom variables for contacts inside a campaign:
Open your campaign and go to the Contacts tab.
Bulk select the contacts you want to check.
Click Export Contacts.
The exported file will include all selected contacts along with any custom variables assigned to them.