Fetch campaigns
Call this when you need to retrieve available campaigns for a specific placement. Passlocation and device to target campaigns to your user’s context.
Track impression
Call this immediately after a campaign becomes visible to the user. Use theid field from the fetched campaign object as campaignId.
Track click
Call this when the user clicks or otherwise interacts with the campaign. Pass the samecampaignId, placement, location, and device values you used for the impression call.