GS2-AdReward API Reference

Ad reward feature

This is a feature to realize the advertising reward function. You can implement the process of obtaining resources managed by GS2 by watching advertisements in the game.

In general, GS2 exchanges resources by setting compensation and rewards, but since the specifications for server-to-server communication differ among advertising platforms and the granularity of data also differs, GS2-AdReward always adds exactly one “Ad Viewing Point” when an ad view is verified.

The “Ad Viewing Point” earned can be consumed as a consume action that can be used in GS2-Exchange, GS2-Showcase, and other services. This loosely couples ad viewing with any in-game reward, so the reward design can be reused when adding new ad campaigns.


Use in your game

Game Engine

Specifications of models and API references for GS2-AdReward SDK for Game Engine

SDK

Specification of models and API references for GS2-AdReward SDK for various programming languages

Configuration and integrations

Deploy/CDK

The template format used when creating stacks with GS2-Deploy, and implementation examples of template output in various languages using CDK

Script

Reference for event triggers that call extended scripts

Transaction Action

Specification of verify/consume/acquire transaction actions