SKAdNetwork IDs 리스트 XcodePostProssor
SKAdNetwork IDs 추가 할 게 많아서 내가 사용하는 광고 플랫폼에서 제공하는 리스트 모두 모아서 추가 함
※ 중복되는 SDAdNetwork ID는 주석처리 함
[사용하는 광고 플랫폼] Admob(미디에이션), FAN, UnityAds, Vungle
namespace blueasa
{
public class XcodeSettingsPostProcessor
{
[PostProcessBuild(444)]
public static void OnPostprocessBuild(BuildTarget buildTarget, string pathToBuiltProject)
{
/// Stop processing if targe is NOT iOS
if (buildTarget != BuildTarget.iOS)
return;
/// Initialize PbxProject
var projectPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj";
PBXProject pbxProject = new PBXProject();
pbxProject.ReadFromFile(projectPath);
string targetGuid = pbxProject.TargetGuidByName("Unity-iPhone");
var plistPath = System.IO.Path.Combine(pathToBuiltProject, "Info.plist");
var plist = new PlistDocument();
plist.ReadFromFile(plistPath);
/// Add string setting
// SKAdNetwork IDs integration(for iOS14+)
// https://blueasa.tistory.com/2482
var arraySKAdNetworkItems = plist.root.CreateArray("SKAdNetworkItems");
// for Admob(Google)
// https://developers.google.com/admob/ios/ios14#skadnetwork
var dictSKAdNetworkIdentifier_Admob = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Admob.SetString("SKAdNetworkIdentifier", "cstr6suwn9.skadnetwork"); // Admob
// for FAN
// https://developers.facebook.com/docs/audience-network/guides/SKAdNetwork
var dictSKAdNetworkIdentifier_FAN_1 = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_FAN_1.SetString("SKAdNetworkIdentifier", "v9wttpbfk9.skadnetwork"); // FAN 1
var dictSKAdNetworkIdentifier_FAN_2 = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_FAN_2.SetString("SKAdNetworkIdentifier", "n38lu8286q.skadnetwork"); // FAN 2
// for UnityAds
// https://unityads.unity3d.com/help/ios/skadnetwork-ids?fbclid=IwAR3T6BWG6-SIdWipZaB-PEtUQhg1DAnU_kQ22iiSv4Z5Q6nItq2edtpIIkM
// https://skan.mz.unity3d.com/v2/partner/skadnetworks.plist.xml?_ga=2.140049011.1591405619.1607905486-1813266944.1603773122
var dictSKAdNetworkIdentifier_Unity_1 = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Unity_1.SetString("SKAdNetworkIdentifier", "4DZT52R2T5.skadnetwork"); // Unity Technologies 1
var dictSKAdNetworkIdentifier_Unity_2 = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Unity_2.SetString("SKAdNetworkIdentifier", "bvpn9ufa9b.skadnetwork"); // Unity Technologies 2
var dictSKAdNetworkIdentifier_Mintegral = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Mintegral.SetString("SKAdNetworkIdentifier", "KBD757YWX3.skadnetwork"); // Mintegral
var dictSKAdNetworkIdentifier_CriteoSA = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_CriteoSA.SetString("SKAdNetworkIdentifier", "9RD848Q2BZ.skadnetwork"); // Criteo SA (Manage.com)
var dictSKAdNetworkIdentifier_mkhoj = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_mkhoj.SetString("SKAdNetworkIdentifier", "WZMMZ9FP6W.skadnetwork"); // mkhoj Solutions Private Limited
var dictSKAdNetworkIdentifier_Snap = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Snap.SetString("SKAdNetworkIdentifier", "424M5254LK.skadnetwork"); // Snap Inc.
var dictSKAdNetworkIdentifier_Cheetah = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Cheetah.SetString("SKAdNetworkIdentifier", "24t9a8vw3c.skadnetwork"); // Cheetah Medialink
var dictSKAdNetworkIdentifier_Appier = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Appier.SetString("SKAdNetworkIdentifier", "v72qych5uu.skadnetwork"); // Appier Inc.
var dictSKAdNetworkIdentifier_Liftoff = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Liftoff.SetString("SKAdNetworkIdentifier", "7UG5ZH24HU.skadnetwork"); // Liftoff Mobile, Inc.
var dictSKAdNetworkIdentifier_Beeswax = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Beeswax.SetString("SKAdNetworkIdentifier", "c6k4g5qg8m.skadnetwork"); // Beeswax
var dictSKAdNetworkIdentifier_Adikteev = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Adikteev.SetString("SKAdNetworkIdentifier", "ydx93a7ass.skadnetwork"); // Adikteev SA
var dictSKAdNetworkIdentifier_Realtime = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Realtime.SetString("SKAdNetworkIdentifier", "4468km3ulz.skadnetwork"); // Realtime Technologies GmbH
var dictSKAdNetworkIdentifier_Remerge = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Remerge.SetString("SKAdNetworkIdentifier", "2U9PT9HC89.skadnetwork"); // Remerge GmbH
var dictSKAdNetworkIdentifier_CriteoCorp = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_CriteoCorp.SetString("SKAdNetworkIdentifier", "hs6bdukanm.skadnetwork"); // Criteo Corp
var dictSKAdNetworkIdentifier_Aarki = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Aarki.SetString("SKAdNetworkIdentifier", "4FZDC2EVR5.skadnetwork"); // Aarki, Inc.
//var dictSKAdNetworkIdentifier_Google = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Google.SetString("SKAdNetworkIdentifier", "cstr6suwn9.skadnetwork"); // Google LLC(Admob)
var dictSKAdNetworkIdentifier_YouAppi = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_YouAppi.SetString("SKAdNetworkIdentifier", "3RD42EKR43.skadnetwork"); // YouAppi Inc
var dictSKAdNetworkIdentifier_LifeStreet = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_LifeStreet.SetString("SKAdNetworkIdentifier", "t38b2kh725.skadnetwork"); // LifeStreet Corporation
var dictSKAdNetworkIdentifier_SPOTAD = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_SPOTAD.SetString("SKAdNetworkIdentifier", "f73kdq92p3.skadnetwork"); // SPOTAD LTD
var dictSKAdNetworkIdentifier_BYTEMOD_Global = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_BYTEMOD_Global.SetString("SKAdNetworkIdentifier", "22mmun2rn5.skadnetwork"); // BYTEMOD PTE. LTD-global
var dictSKAdNetworkIdentifier_DATASEAT = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_DATASEAT.SetString("SKAdNetworkIdentifier", "M8DBW4SV7C.skadnetwork"); // DATASEAT LTD
var dictSKAdNetworkIdentifier_Kidoz = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Kidoz.SetString("SKAdNetworkIdentifier", "v79kvwwj4g.skadnetwork"); // Kidoz Ltd.
var dictSKAdNetworkIdentifier_Sabio = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Sabio.SetString("SKAdNetworkIdentifier", "GLQZH8VGBY.skadnetwork"); // Sabio Mobile Inc.
var dictSKAdNetworkIdentifier_Moloco = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Moloco.SetString("SKAdNetworkIdentifier", "9T245VHMPL.skadnetwork"); // Moloco, Inc
var dictSKAdNetworkIdentifier_Bidmachine = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Bidmachine.SetString("SKAdNetworkIdentifier", "wg4vff78zm.skadnetwork"); // Bidmachine
var dictSKAdNetworkIdentifier_BYTEMOD_CN = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_BYTEMOD_CN.SetString("SKAdNetworkIdentifier", "238da6jt44.skadnetwork"); // BYTEMOD PTE. LTD-CN
var dictSKAdNetworkIdentifier_Apptimus = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Apptimus.SetString("SKAdNetworkIdentifier", "lr83yxwka7.skadnetwork"); // Apptimus LTD
var dictSKAdNetworkIdentifier_Centro = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Centro.SetString("SKAdNetworkIdentifier", "3sh42y64q3.skadnetwork"); // Centro Inc.
var dictSKAdNetworkIdentifier_UNICORN = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_UNICORN.SetString("SKAdNetworkIdentifier", "578prtvx9j.skadnetwork"); // UNICORN Inc.
var dictSKAdNetworkIdentifier_REVX = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_REVX.SetString("SKAdNetworkIdentifier", "5a6flpkh64.skadnetwork"); // REVX TECHNOLOGY PRIVATE LIMITED
var dictSKAdNetworkIdentifier_RTBHouse = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_RTBHouse.SetString("SKAdNetworkIdentifier", "8s468mfl3y.skadnetwork"); // RTBHouse Pte LTD
var dictSKAdNetworkIdentifier_CrossInstall = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_CrossInstall.SetString("SKAdNetworkIdentifier", "prcb7njmu6.skadnetwork"); // CrossInstall
var dictSKAdNetworkIdentifier_Maiden = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Maiden.SetString("SKAdNetworkIdentifier", "zmvfpc5aq8.skadnetwork"); // Maiden Marketing Pvt Ltd.
var dictSKAdNetworkIdentifier_AdColony = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_AdColony.SetString("SKAdNetworkIdentifier", "4PFYVQ9L8R.skadnetwork"); // AdColony, Inc.
var dictSKAdNetworkIdentifier_Spyke = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Spyke.SetString("SKAdNetworkIdentifier", "44n7hlldy6.skadnetwork"); // Spyke Media GmbH
var dictSKAdNetworkIdentifier_LoopMe = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_LoopMe.SetString("SKAdNetworkIdentifier", "5lm9lj6jb7.skadnetwork"); // LoopMe Ltd
var dictSKAdNetworkIdentifier_Smadex = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Smadex.SetString("SKAdNetworkIdentifier", "ppxm28t8ap.skadnetwork"); // Smadex SL
var dictSKAdNetworkIdentifier_ADTIMING = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_ADTIMING.SetString("SKAdNetworkIdentifier", "488r3q3dtq.skadnetwork"); // ADTIMING TECHNOLOGY PTE. LTD.
var dictSKAdNetworkIdentifier_Jampp = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Jampp.SetString("SKAdNetworkIdentifier", "YCLNXRL5PM.skadnetwork"); // Jampp LTD
var dictSKAdNetworkIdentifier_PubNative = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_PubNative.SetString("SKAdNetworkIdentifier", "TL55SBB4FM.skadnetwork"); // PubNative GMBH
var dictSKAdNetworkIdentifier_Chartboost = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Chartboost.SetString("SKAdNetworkIdentifier", "F38H382JLK.skadnetwork"); // Chartboost, Inc.
var dictSKAdNetworkIdentifier_ScaleMonk = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_ScaleMonk.SetString("SKAdNetworkIdentifier", "av6w8kgt66.skadnetwork"); // ScaleMonk Inc.
var dictSKAdNetworkIdentifier_Persona = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Persona.SetString("SKAdNetworkIdentifier", "44jx6755aq.skadnetwork"); // Persona.ly LTD
var dictSKAdNetworkIdentifier_Triapodi = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Triapodi.SetString("SKAdNetworkIdentifier", "mlmmfzh3r3.skadnetwork"); // Triapodi Ltd.
// for Vungle
// https://support.vungle.com/hc/en-us/articles/360002925791-Integrate-Vungle-SDK-for-iOS#3-add-the-%E2%80%9C-objc%E2%80%9D-linker-flag-0-9
// https://vungle.com/skadnetworkids.xml
var dictSKAdNetworkIdentifier_Vungle = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_Vungle.SetString("SKAdNetworkIdentifier", "GTA9LK7P23.skadnetwork"); // Vungle
//var dictSKAdNetworkIdentifier_Adikteev = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Adikteev.SetString("SKAdNetworkIdentifier", "ydx93a7ass.skadnetwork"); // Adikteev
//var dictSKAdNetworkIdentifier_Aarki = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Aarki.SetString("SKAdNetworkIdentifier", "4FZDC2EVR5.skadnetwork"); // Aarki
//var dictSKAdNetworkIdentifier_AdColony = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_AdColony.SetString("SKAdNetworkIdentifier", "4PFYVQ9L8R.skadnetwork"); // AdColony
//var dictSKAdNetworkIdentifier_Appier = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Appier.SetString("SKAdNetworkIdentifier", "v72qych5uu.skadnetwork"); // Appier
//var dictSKAdNetworkIdentifier_Appreciate = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Appreciate.SetString("SKAdNetworkIdentifier", "mlmmfzh3r3.skadnetwork"); // Appreciate
//var dictSKAdNetworkIdentifier_Beeswax = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Beeswax.SetString("SKAdNetworkIdentifier", "c6k4g5qg8m.skadnetwork"); // Beeswax
//var dictSKAdNetworkIdentifier_Jampp = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Jampp.SetString("SKAdNetworkIdentifier", "YCLNXRL5PM.skadnetwork"); // Jampp
//var dictSKAdNetworkIdentifier_LoopMe = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_LoopMe.SetString("SKAdNetworkIdentifier", "5lm9lj6jb7.skadnetwork"); // LoopMe
var dictSKAdNetworkIdentifier_MyTarget = arraySKAdNetworkItems.AddDict();
dictSKAdNetworkIdentifier_MyTarget.SetString("SKAdNetworkIdentifier", "n9x2a789qt.skadnetwork"); // MyTarget
//var dictSKAdNetworkIdentifier_Pubnative = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Pubnative.SetString("SKAdNetworkIdentifier", "TL55SBB4FM.skadnetwork"); // Pubnative
//var dictSKAdNetworkIdentifier_Remerge = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Remerge.SetString("SKAdNetworkIdentifier", "2U9PT9HC89.skadnetwork"); // Remerge
//var dictSKAdNetworkIdentifier_RTBHouse = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_RTBHouse.SetString("SKAdNetworkIdentifier", "8s468mfl3y.skadnetwork"); // RTB House
//var dictSKAdNetworkIdentifier_Sabio = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Sabio.SetString("SKAdNetworkIdentifier", "GLQZH8VGBY.skadnetwork"); // Sabio
//var dictSKAdNetworkIdentifier_Webeye = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_Webeye.SetString("SKAdNetworkIdentifier", "22mmun2rn5.skadnetwork"); // Webeye
//var dictSKAdNetworkIdentifier_YouAppi = arraySKAdNetworkItems.AddDict();
//dictSKAdNetworkIdentifier_YouAppi.SetString("SKAdNetworkIdentifier", "3RD42EKR43.skadnetwork"); // YouAppi
/// Apply editing settings to Info.plist
plist.WriteToFile(plistPath);
}
}
}
[SKAdNetwork IDs 참조]
[Admob] developers.google.com/admob/ios/ios14#skadnetwork
[Vungle.xml] vungle.com/skadnetworkids.xml
[AppsFlyer 제공 리스트] docs.google.com/spreadsheets/d/e/2PACX-1vSqwIBW3FzbrXKqluDQ2hEec7zcvVrxQ02ivWsHnGQTvLMeFmHHjGz1R5TVy6_cqAIVh0pAy4Yud7Qx/pubhtml
'Unity3D > iOS' 카테고리의 다른 글
[RuntimeError] http, https 이슈 (0) | 2020.12.28 |
---|---|
[펌] iOS 응용 프로그램을 위한 유효한 ‘aps-environment’ 인타이틀먼트 문자열을 찾을 수 없습니다. (0) | 2020.12.22 |
[펌][xcode] iPhone Not Available. Please reconnect the device / Xcode 12.2 iOS 14.2 (0) | 2020.12.08 |
[펌] Unity Firebase + AdMob conflict (GoogleAppMeasurement) (0) | 2020.12.08 |
[펌] iOS 14で必要な?NSUserTrackingUsageDescriptionの設定方法 (0) | 2020.11.27 |