Skip to main content

OfferGoal

References an offer goal.

type OfferGoal {
id: String!
amount: Float!
payout_usd: Float!
non_linear: Boolean!
is_purchase_goal: Boolean!
description: String
name: String
order: Int
}

Fields

OfferGoal.id ● String! non-null scalar

The unique id for the offer goal.

Example: "123456789012345678"

OfferGoal.amount ● Float! non-null scalar

The amount of virtual currency awarded to the user for completing the goal.

Example: 25

OfferGoal.payout_usd ● Float! non-null scalar

The potential payout for a goal's completion by a player.

Example: 0.25

OfferGoal.non_linear ● Boolean! non-null scalar

Indicates whether the offer goal is linear or non-linear.

Example: true

OfferGoal.is_purchase_goal ● Boolean! non-null scalar

Indicates whether the offer goal is a purchase goal.

Example: true

OfferGoal.description ● String scalar

The description of the offer goal.

Example: "Complete task 1"

OfferGoal.name ● String scalar

The name of the offer goal.

Example: "Task 1"

OfferGoal.order ● Int scalar

The linear order of the goal to be completed.

Example: 1

Member Of

Offer object