feat: convert pasted Mintegral click links
This commit is contained in:
@@ -1,57 +1,85 @@
|
||||
window.LINK_TEMPLATES = [
|
||||
{
|
||||
name:'Mintegral', platformCode:'M_API_Self_Mintegral', status:'已配置',
|
||||
macros:[['{click_id}','媒体点击 ID'],['{offer_name}','Offer 名称'],['{ad_id}','素材 ID'],['{ad_name}','素材名称'],['{affiliate_id}','子渠道 ID'],['{idfa}','iOS 广告标识'],['{gaid}','Google 广告标识'],['{device_os}','设备系统'],['{country_code}','ISO 国家码'],['{ip}','设备 IP'],['{ua}','User Agent']],
|
||||
links:{
|
||||
click:{endpoint:'https://trident.bigpinggo.com/click', mappings:{clickid:'{click_id}',offer_name:'{offer_name}',creative_id:'{ad_id}',creative_name:'{ad_name}',affiliate_id:'{affiliate_id}',idfa:'{idfa}',gaid:'{gaid}',uagent:'{ua}',os_platform:'{device_os}',os_version:'{os_version}',device_model:'{device_model}',ip:'{ip}',country_code:'{country_code}',ext:'{uuid}',rta_token:'{rta_token}'}},
|
||||
imp:{endpoint:'https://typhoon.bigpinggo.com/imp', mappings:{clickid:'{impression_id}',offer_name:'{offer_name}',creative_id:'{ad_id}',creative_name:'{ad_name}',affiliate_id:'{affiliate_id}',idfa:'{idfa}',gaid:'{gaid}',uagent:'{ua}',os_platform:'{device_os}',device_model:'{device_model}',ip:'{ip}',country_code:'{country_code}',ext:'{uuid}'}}
|
||||
name: 'Mintegral',
|
||||
platformCode: 'M_API_Self_Mintegral',
|
||||
status: 'Click 已确认',
|
||||
macros: [
|
||||
['{ad_id}', 'Creative ID'],
|
||||
['{ad_name}', 'Creative name'],
|
||||
['{ad_type}', 'Ad type'],
|
||||
['{adv_campaign_id}', 'Campaign unique number ID'],
|
||||
['{adv_offer_id}', 'Offer unique number ID'],
|
||||
['{affiliate_id}', 'Sub channel ID on MTG platform'],
|
||||
['{amazon_id}', 'Amazon device ID'],
|
||||
['{android_id_md5_low}', 'Android ID MD5 lowercase'],
|
||||
['{android_id_md5}', 'Android ID MD5 (32-bit lowercase)'],
|
||||
['{android_id}', 'Android ID for attribution'],
|
||||
['{billing_type}', 'Billing type'],
|
||||
['{click_id}', 'Click ID defined by MTG'],
|
||||
['{cn_event_callback}', 'CN-region event callback URL'],
|
||||
['{cn_install_callback}', 'CN-region install callback URL'],
|
||||
['{country_code}', 'ISO 3166-1 alpha-2 country code'],
|
||||
['{creative_group}', 'Creative group'],
|
||||
['{creative_id}', 'Creative ID'],
|
||||
['{creative_name}', 'Creative name'],
|
||||
['{ctgv_usd}', 'Target goal value USD'],
|
||||
['{currency}', 'Currency type'],
|
||||
['{device_brand}', 'Device brand'],
|
||||
['{device_id}', 'IDFA for iOS or GAID for Android'],
|
||||
['{device_model}', 'Device model'],
|
||||
['{device_os}', 'Device OS: iOS or Android'],
|
||||
['{encode}', 'AppsFlyer encryption parameter'],
|
||||
['{event_callback}', 'Event callback URL'],
|
||||
['{event_callback_url}', 'Event callback URL for web'],
|
||||
['{gaid_md5}', 'GAID MD5 (32-bit lowercase)'],
|
||||
['{gaid}', 'Google advertising ID'],
|
||||
['{idfa_md5}', 'IDFA MD5 (32-bit lowercase)'],
|
||||
['{idfa}', 'iOS identifier for advertising'],
|
||||
['{idfv}', 'IDFV'],
|
||||
['{imei_md5}', 'IMEI MD5 (32-bit lowercase)'],
|
||||
['{imei}', 'IMEI for Android attribution'],
|
||||
['{impression_id}', 'Impression ID defined by MTG'],
|
||||
['{install_callback}', 'Install callback URL'],
|
||||
['{install_callback_url}', 'Install callback URL for web'],
|
||||
['{ip}', 'IP address for fingerprint attribution'],
|
||||
['{mac_md5}', 'MAC MD5 (32-bit lowercase)'],
|
||||
['{mac}', 'Media access control address'],
|
||||
['{microtime}', 'Microtime'],
|
||||
['{oaid_md5}', 'OAID MD5'],
|
||||
['{oaid}', 'OAID'],
|
||||
['{offer_name}', 'Offer name'],
|
||||
['{os_platform}', 'OS platform'],
|
||||
['{os_version}', 'OS version'],
|
||||
['{package_name}', 'Package name'],
|
||||
['{price}', 'Price'],
|
||||
['{timestamp}', 'Timestamp'],
|
||||
['{ua}', 'User agent'],
|
||||
['{uuid}', 'Promotion ID defined by MTG']
|
||||
],
|
||||
links: {
|
||||
click: {
|
||||
mappings: {
|
||||
clickid: '{click_id}',
|
||||
offer_name: '{offer_name}',
|
||||
creative_id: '{ad_id}',
|
||||
creative_name: '{ad_name}',
|
||||
affiliate_id: '{affiliate_id}',
|
||||
idfa: '{idfa}',
|
||||
gaid: '{gaid}',
|
||||
imei: '{imei}',
|
||||
android_id: '{android_id}',
|
||||
mac: '{mac}',
|
||||
oaid: '{oaid}',
|
||||
uagent: '{ua}',
|
||||
os_platform: '{device_os}',
|
||||
os_version: '{os_version}',
|
||||
device_model: '{device_model}',
|
||||
ip: '{ip}',
|
||||
country_code: '{country_code}',
|
||||
ext: '{uuid}',
|
||||
rta_token: '{rta_token}'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'Bigo', platformCode:'M_API_Self_Bigo', status:'已配置',
|
||||
macros:[['__SID__','广告请求 / 点击 ID'],['__APPID__','推广 App ID'],['__CAMPAIGN_ID__','广告系列 ID'],['__CAMPAIGN_NAME__','广告系列名称'],['__AD_ID__','广告 ID'],['__AD_NAME__','广告名称'],['__IDFA__','iOS 广告标识'],['__GAID__','Google 广告标识'],['__IP__','设备 IP'],['__OS__','操作系统'],['__PUBLISHER_ID__','子渠道 ID']],
|
||||
links:{
|
||||
click:{endpoint:'https://trident.bigpinggo.com/click', mappings:{clickid:'__SID__',offer_name:'__CAMPAIGN_NAME__',creative_id:'__AD_ID__',creative_name:'__AD_NAME__',affiliate_id:'__PUBLISHER_ID__',idfa:'__IDFA__',gaid:'__GAID__',os_platform:'__OS__',device_model:'__DEVICE_MODEL__',ip:'__IP__',country_code:'',ext:'__AD_EXT__',rta_token:'{rta_token}'}},
|
||||
imp:{endpoint:'https://typhoon.bigpinggo.com/imp', mappings:{clickid:'imp__SID__',offer_name:'__CAMPAIGN_NAME__',creative_id:'__AD_ID__',creative_name:'__AD_NAME__',affiliate_id:'__PUBLISHER_ID__',idfa:'__IDFA__',gaid:'__GAID__',os_platform:'__OS__',device_model:'__DEVICE_MODEL__',ip:'__IP__',country_code:'',ext:'__AD_EXT__'}}
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'Kwai', platformCode:'M_API_Self_Kwai_NB', status:'已配置',
|
||||
macros:[['__CALLBACK__','Click ID'],['__GAID1__','Google 广告标识'],['__IDFA__','iOS 广告标识'],['__IP__','设备 IP'],['__UA__','设备 User Agent'],['__CMPNID__','广告计划 ID'],['__ADSETID__','广告组 ID'],['__ADID__','广告 ID']],
|
||||
links:{
|
||||
click:{endpoint:'https://trident.bigpinggo.com/click', mappings:{clickid:'__CALLBACK__',offer_name:'__CMPNID__',creative_id:'__ADSETID__',creative_name:'__ADID__',affiliate_id:'__ADSETID__',idfa:'__IDFA__',gaid:'__GAID1__',uagent:'__UA__',ip:'__IP__',country_code:'',ext:'',rta_token:'{rta_token}'}},
|
||||
imp:{endpoint:'https://typhoon.bigpinggo.com/imp', mappings:{clickid:'__CALLBACK__',offer_name:'__CMPNID__',creative_id:'__ADSETID__',creative_name:'__ADID__',affiliate_id:'__CMPNID__',idfa:'__IDFA__',gaid:'__GAID1__',uagent:'__UA__',ip:'__IP__',country_code:'',ext:''}}
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'MediaGO', platformCode:'M_API_Self_Mediago', status:'已配置',
|
||||
macros:[['{TRACKING_ID}','完整用户旅程 Tracking ID'],['{CLICK_ID}','点击 ID'],['{ADVERTISING_ID}','通用广告标识'],['{ANDROID_ID}','Android 设备 ID'],['{AD_SET_ID}','广告组 / Affiliate ID']],
|
||||
links:{
|
||||
click:{endpoint:'https://trident.bigpinggo.com/click', mappings:{clickid:'{TRACKING_ID}',offer_name:'',creative_id:'',creative_name:'{AD_SET_ID}',affiliate_id:'{AD_SET_ID}',idfa:'',gaid:'{ADVERTISING_ID}',android_id:'{ANDROID_ID}',country_code:'',ext:'',rta_token:''}},
|
||||
imp:{endpoint:'https://typhoon.bigpinggo.com/imp', mappings:{clickid:'{TRACKING_ID}',affiliate_id:'{AD_SET_ID}',gaid:'{ADVERTISING_ID}',android_id:'{ANDROID_ID}',country_code:'',ext:''}}
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'NewsBreak', platformCode:'A_API_SPDragon', status:'待业务复核',
|
||||
macros:[['__CALLBACK_PARAM__','平台唯一回调参数'],['__CAMPAIGN_ID__','Campaign ID'],['__CAMPAIGN_NAME__','Campaign 名称'],['__FLIGHT_ID__','Ad Set ID'],['__FLIGHT_NAME__','Ad Set 名称'],['__CREATIVE_ID__','Creative ID'],['__CREATIVE_NAME__','Creative 名称'],['__ADID__','GAID'],['__IDFA__','IDFA'],['__OS__','操作系统']],
|
||||
links:{
|
||||
click:{endpoint:'https://trident.bigpinggo.com/l/click', mappings:{clickid:'__CALLBACK_PARAM__',offer_name:'__CAMPAIGN_NAME__',creative_id:'__CREATIVE_ID__',creative_name:'__CREATIVE_NAME__',affiliate_id:'__FLIGHT_ID_____FLIGHT_NAME__',idfa:'__IDFA__',gaid:'__ADID__',os_platform:'__OS__',country_code:'',ext:'',rta_token:'{rta_token}'}},
|
||||
imp:{endpoint:'https://typhoon.bigpinggo.com/imp', mappings:{clickid:'__CALLBACK_PARAM__',offer_name:'__CAMPAIGN_NAME__',creative_id:'__CREATIVE_ID__',creative_name:'__CREATIVE_NAME__',affiliate_id:'__FLIGHT_ID_____FLIGHT_NAME__',idfa:'__IDFA__',gaid:'__ADID__',os_platform:'__OS__',country_code:'',ext:''}}
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'Adsterra', platformCode:'P_API_Adsterra', status:'已配置',
|
||||
macros:[['##SUB_ID_SHORT(action)##','Click ID'],['##PLACEMENT_ID##','广告位 / Affiliate ID'],['##BANNER_ID##','素材 ID'],['##USERAGENT##','User Agent'],['##USER_OS##','设备系统'],['##USER_OS_VER##','系统版本'],['##REMOTE_IP##','设备 IP'],['##COUNTRY_CODE##','国家码']],
|
||||
links:{click:{endpoint:'https://trident.bigpinggo.com/l/click', mappings:{clickid:'##SUB_ID_SHORT(action)##',offer_name:'',creative_id:'##BANNER_ID##',creative_name:'',affiliate_id:'##PLACEMENT_ID##',uagent:'##USERAGENT##',os_platform:'##USER_OS##',os_version:'##USER_OS_VER##',ip:'##REMOTE_IP##',country_code:'##COUNTRY_CODE##',ext:''}}}
|
||||
},
|
||||
{
|
||||
name:'SmartyAds', platformCode:'M_API_Self_Smartyads', status:'已配置',
|
||||
macros:[['[CLICK_ID]','Click ID'],['[TIMESTAMP]','UNIX 时间戳'],['[CAMPAIGN_ID]','Campaign ID'],['[CREATIVE_ID]','素材 ID'],['[CREATIVE_NAME]','素材名称'],['[APP_BUNDLE]','媒体 App Bundle'],['[IFA]','设备广告标识'],['[USER_AGENT]','User Agent'],['[OS]','操作系统'],['[IP]','设备 IP'],['[COUNTRY]','国家码']],
|
||||
links:{click:{endpoint:'https://trident.bigpinggo.com/l/click', mappings:{clickid:'[CLICK_ID]_[TIMESTAMP]',offer_name:'[CAMPAIGN_ID]',creative_id:'[CREATIVE_ID]',creative_name:'[CREATIVE_NAME]',affiliate_id:'[APP_BUNDLE]',gaid:'[IFA]',uagent:'[USER_AGENT]',os_platform:'[OS]',os_version:'[OSV]',device_model:'[DEVICE_MAKE]',ip:'[IP]',country_code:'[COUNTRY]',ext:'[CLICK_ID]',rta_token:''}}}
|
||||
},
|
||||
{
|
||||
name:'Traffic Star', platformCode:'A_API_SPDragon', status:'待业务复核',
|
||||
macros:[['{click_id}','S2S Click ID'],['{campaign_id}','Campaign ID'],['{creative_id}','素材 ID'],['{site_id}','站点 ID'],['{os}','操作系统'],['{device_type_id}','设备类型 ID'],['{ip}','设备 IP'],['{geo}','两位国家码'],['{format}','素材格式']],
|
||||
links:{click:{endpoint:'https://trident.bigpinggo.com/l/click', mappings:{clickid:'{click_id}',offer_name:'{campaign_id}',creative_id:'{creative_id}',creative_name:'{format}',affiliate_id:'{site_id}',os_platform:'{os}',os_version:'{os_id}',device_model:'{device_type_id}',ip:'{ip}',country_code:'{geo}',ext:'',rta_token:''}}}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user