-
Notifications
You must be signed in to change notification settings - Fork 0
AdSDK Initial config Server Side
此文档只为支持ADSDK1.5.1以上版本
AppID:获取方式:
1.1 在Mopub中,创建一个Banner广告位
1.2 关闭Banner的自动刷新
1.3 添加App必须有的Lineitem,这个Lineitem配置在最后一层。
配置方式:
Custom event class: com.mopub.mobileads.ConfigDoneCustomBanner
Custom event data: {}
以下配置控制,均以Mopub中的Lineitem方式配置。
如果在产品中集成了相应的SDK,需要在AppId对应的Mopub广告位中,添加以下配置。
配置方式:
Custom event class: com.mopub.mobileads.ApsConfigCustomBanner
Custom event data: {"appId":"aps_app_id","mopubId":"mopub_unit_id","slotId":"aps_slot_id","timeout":"500"}
参数说明:
appId: app在APS中的ID。
mopubId: 此APS广告位,对应的Mopub Unit ID。
slotId: 此APS广告位的Slot ID。
timeout: 广告位,加载超时时间。
配置方式:
Custom event class: com.mopub.mobileads.GDPRConfigCustomBanner
Custom event data: {"GDPR_supported":"true"}
参数说明:
GDPR_supported: 获取到此配置的用户,是否为Mopub判断的GDPR用户。
配置方式:
Custom event class: com.mopub.mobileads.OguryConfigCustomBanner
Custom event data: {"appId":"ogury_app_id"}
参数说明:
appId: ogury的应用ID。
配置方式:
Custom event class: com.mopub.mobileads.AppMonetConfigCustomBanner
Custom event data: {"appId":"Appmonet_app_id"}
参数说明:
appId: Appmonet的应用ID。
配置方式:
Custom event class: com.inneractive.api.ads.mediations.InnneractiveConfigCustomBanner
Custom event data: {"appId":"Fyber_app_id"}
参数说明:
appId: Fyber的应用ID。
配置方式:
Custom event class: com.criteo.mediation.mopub.CriteoConfigCustomBanner
Custom event data: {"appId":"B-057903","BannerIds":"Messenger_320x50_tier3,Messenger_320x50_tier2,Messenger_320x50_tier1","MrecIds":"Messenger_300x250_tier3,Messenger_300x250_tier2,Messenger_300x250_tier1","NativeIds":"Messenger_native_tier3,Messenger_native_tier2,Messenger_native_tier1,190tsfngohsvfkh3hmkm","InterstitialIds":"Messenger_interstitial_tier3,Messenger_interstitial_tier2,Messenger_interstitial_tier1"}
参数说明:
appId: Criteo的账号 PublisherID
BannerIds:在此应用中,使用的Banner Id列表,使用","分割
MrecIds:在此应用中,使用的Mrec Id列表,使用","分割
NativeIds:在此应用中,使用的Native Id列表,使用","分割
InterstitialIds:在此应用中,使用的Interstitial Id列表,使用","分割
配置方式:
Custom event class: com.mopub.mobileads.PubNativeConfigCustomBanner
Custom event data: {"appId":"a27cb31652954cbf90a69b015dde9b0c"}
参数说明:
appId: PubNative的应用ID。