...
When you received the leads, you will need to find out which campaign or which adset the leads is coming from.
Sample instant form payload
For example, this is the sample instant form lead payload, you can find the details below
...
We will use the ad_id to get more information for the campaign in the next step.
Get the campaign name & ad set name for the leads
You can go to “Action” → “Advanced Action” → Facebook API → “Get Lead Gen” Action.
...