Skip to main content

"Section" attribute in Offer and User Data APIs

Updated over 5 months ago

We've added the "section" attribute to the Offer Data and User Data API responses.

Who it's for

This enhancement is for partners using our API integration.

How it works

You can use the "section" attribute along with "goal_type" to identify and organize goals in an offer card.

"Goal_type" can return two different values:

  • linear - sequential goals that must be completed within a set timeframe

  • non-linear - non-sequential goals that must be completed within a set timeframe

Linear goals should be arranged sequentially, while non-linear goals can be arranged separately from linear ones.

"Section" can return three different values:

  • linear - sequential goals that must be completed within a set timeframe and are part of the main goal structure or "timeline" as shown in the example below

  • turbo - non-linear goals that require faster gameplay to achieve on time

  • bonus - non-linear tasks that require an in-app purchase

Go here to learn more about turbo and bonus goals.

Because you're receiving this data via API, you can choose how to display it to your users. Here's an example of how you might arrange goals in an interface based on "goal_type" and "section".

Example of the Bingo Blitz game card with Key Points, Timeline, and Additional Info.

Did this answer your question?