Objects
Campaign
Campaign
The Campaign
Object contains detailed information about a GrowSurf campaign.
Attributes | ||
id |
| The unique identifier of the campaign |
name |
| The campaign name |
referralCount |
| The total referral count |
participantCount |
| The total participant count |
impressionCount |
| The total number of impressions† |
winnerCount |
| The total number of winners†† |
inviteCount |
| The total number of invites sent by participants |
status |
| The campaign status: |
rewards |
| The list of Rewards associated with the campaign |
† Impressions = the collective amount of times participants' unique referral links have been viewed. †† Winners = all participants with at least one approved reward (includes referrers and referred friends).
Reward
Reward
The Reward
Object contains detailed reward information about a single reward for a campaign.
Note: This Reward
Object is different from a ParticipantReward
Object, which is a reward earned by a participant.
Attributes | ||
id |
| The unique identifier of the reward |
type |
| The reward type: |
description |
| The reward description for the referrer (see image) |
referralDescription |
| The reward description for the referred friend (only applicable for double-sided reward types -- see image) |
isUnlimited |
|
|
limit |
| The number of times a participant can earn this reward (this property is overridden if |
conversionsRequired |
| The number of referrals a participant must make to earn this reward |
numberOfWinners |
| The maximum number of total participants that can earn this reward |
imageUrl |
| The reward image URL |
metadata |
| The reward metadata |
Participant
Participant
The Participant
Object contains detailed information about a campaign participant.
Attributes | ||
id |
| The unique identifier of the participant |
firstName |
| The first name of the participant |
lastName |
| The last name of the participant |
referralCount |
| The total number of referrals made by the participant |
monthlyReferralCount |
| The total number of referrals made this month by the participant (resets at the end of the month) |
prevMonthlyReferralCount |
| The total number of referrals made the previous month by the participant. |
shareUrl |
| The unique share URL of the participant |
| The email of the participant | |
createdAt |
| The date the participant was added to the campaign (UTC milliseconds) |
fraudRiskLevel |
| A value that represents the integrity of the participant: |
fraudReasonCode |
| A value representing the reason for the |
isWinner |
|
|
shareCount |
| An Object containing various counts representing the number of times the participant has shared their referral link: |
impressionCount |
| The total number of impressions the participant has made |
uniqueImpressionCount |
| The total number of unique impressions the participant has made |
referrals |
| A list of |
monthlyReferrals |
| A list of |
referralSource |
| The source of how the participant joined the campaign: |
referralStatus |
| If the participant was referred, this value represents their referrer's status in receiving the referral credit: This property is only applicable if the participant was referred into the campaign. |
referrer |
| A shallow Object containing the participant's referrer information. This property is only applicable if the participant was referred into the campaign. |
referredBy |
| The ID of the referrer. This property is only applicable if the participant was referred into the campaign. |
rewards |
| A list of campaign |
notes |
| A value containing internal notes about the participant, added via the GrowSurf Dashboard |
metadata |
| An Object containing any custom key-value data, useful when you want to save additional data for the participant (e.g, Metadata is never used by GrowSurf and usage is optional. Metadata is returned only in REST API calls, and never returned in JavaScript Web API calls. For more information, please see API Guidelines. |
rank |
| The rank of the participant. |
monthlyRank |
| The monthly rank of the participant. This rank resets to 0 at the end of each month. |
prevMonthlyRank |
| The previous monthly rank of the participant. This rank will not be be returned if the participant did not exist within your campaign during the previous month. |
vanityKeys |
| The list of vanity keys that the participant has. |
ParticipantReward
ParticipantReward
The ParticipantReward
Object represents a reward that the participant has earned.
Note: This ParticipantReward
Object is different from a Reward
Object and contains information that is only pertinent to the participant that earned the reward.
Attributes | ||
id |
| The unique identifier of the participant's reward |
rewardId |
| The ID of the |
status |
| The status of the reward: |
isReferrer |
|
|
isAvailable |
|
|
approved |
|
|
approvedAt |
| The date and time the reward was approved for this participant (UTC milliseconds). It is |
isFulfilled |
|
|
fulfilledAt |
| The date and time the reward was fulfilled for this participant (UTC milliseconds). It is |
referredId |
| The id of the friend that was referred |
referrerId |
| The id of the participant that made the referral |
unread |
| |
Last updated