MediationConfiguration

public class MediationConfiguration


มีการกำหนดค่าสื่อกลางที่ผู้เผยแพร่โฆษณากำหนดไว้ใน UI ของ AdMob หรือ DFP

สรุป

ค่าคงที่

static final String

ช่องในแพ็กเกจ serverParameters ที่มีพารามิเตอร์สําหรับเหตุการณ์ที่กําหนดเอง

ฟิลด์สาธารณะ

final AdFormat
final Bundle

ตัวสร้างแบบสาธารณะ

MediationConfiguration(AdFormat format, Bundle serverParameters)

เมธอดสาธารณะ

AdFormat

แสดงผลรูปแบบโฆษณาที่เชื่อมโยงกับการกำหนดค่า

Bundle

แสดงการตั้งค่าที่ผู้เผยแพร่โฆษณากำหนดไว้ใน UI

ค่าคงที่

CUSTOM_EVENT_SERVER_PARAMETER_FIELD

public static final String CUSTOM_EVENT_SERVER_PARAMETER_FIELD = "parameter"

ช่องในแพ็กเกจ serverParameters ที่มีพารามิเตอร์สําหรับเหตุการณ์ที่กําหนดเอง

ฟิลด์สาธารณะ

รูปแบบ

public final AdFormat format

serverParameters

public final Bundle serverParameters

ตัวสร้างแบบสาธารณะ

MediationConfiguration

public MediationConfiguration(AdFormat format, Bundle serverParameters)

เมธอดสาธารณะ

getFormat

public AdFormat getFormat()

แสดงผลรูปแบบโฆษณาที่เชื่อมโยงกับการกำหนดค่า

getServerParameters

public Bundle getServerParameters()

แสดงการตั้งค่าที่ผู้เผยแพร่โฆษณากำหนดไว้ใน UI