Search

Mobile web offerwall guide

1. 참고 사항

2. History

Search
버전
내용
작성일자
담당자

3. Web offerwall 연동

1) iframe 삽입

삽입 전 필수 확인 사항 모바일 웹 무료 충전소를 이용하려면 트래킹 앱을 설치해야 합니다. 트래킹앱이 설치되어있지 않다면 자동으로 플레이스토어 다운로드 페이지로 이동합니다. (앱 명 : greenp agent)
appcode : 그린피에서 발급한 매체코드
app_uid : 매체사 고유 회원번호 또는 아이디
etc : custom parameter (포스트백 전송 시 사용됩니다.)
<iframe name="iframe_greenp" id="iframe_greenp" src="https://api.greenp.kr/offerwall/index.html?appcode=그린피매체코드&app_uid=매체사 회원고유키&etc=커스텀파라미터" frameborder="0" scrolling="1" style="width:100%; height:800px; overflow:hidden;"></iframe> <script type="text/javascript"> let iframe = document.getElementById('iframe_greenp'); window.addEventListener('message', function(e) { let message = e.data; iframe.style.height = message.height + "px"; } , false); </script>
JavaScript
복사

2) 포스트백 전송(매체 관리자 페이지에서 설정하실 수 있습니다)

http://매체사 callback
2-1) Content Type
content-type=text/html;charset=UTF-8
2-2) Send Parameter Information
HTTP Method : - GET, POST, POST(JSON)
param : 전송받으실 포스트백 변수 설정 가능
Search
Param
Macro
Type
Desc
{ads_idx}
int
광고번호
{ads_type}
int
광고형식(1:CPI, 2:CPE, 3:CPA, 4:CPS, 6:CPC, 7:CPSNS, 8:뉴스 피드 적립형)
{ads_name}
string
광고명
{rwd_cost}
int
리워드금액
{etc}
string
매체용 추가정보 (매체 uniq 클릭값 등)
{app_uid}
string
매체사에서 보낸 app_uid 값
{gp_key}
string
그린피 전환키 값
{rwd_date}
date
전환일자(0000-00-00 00:00:00)
{adid_or_idfa}
string
adid or idfa
{ads_re_participate}
string
Y: 중복지급가능, N:중복지급불가