Roblox API Reference

AdService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (8)

Type Member History
Tuple GetAdTeleportInfo () 565
Array GetReportAdInfo () 580
null ReturnToPublisherExperience (AdTeleportMethod adTeleportMethod) 565 573
null ShowVideoAd () 292 322 323 573
AdTeleportEnded () 547
AdTeleportInitiated () 547
PortalPrompt (int64 destinationId, Instance portal, bool requiresNoButton) 583 587
VideoAdClosed (bool adShown) 212 292 322 323
57 members inherited from Instance

History

Members

AdTeleportEnded On DevHub

Name Type Default
No parameters.

History

AdTeleportInitiated On DevHub

Name Type Default
No parameters.

History

GetAdTeleportInfo On DevHub

Name Type Default
No parameters.

History

GetReportAdInfo On DevHub

Name Type Default
No parameters.

History

PortalPrompt On DevHub

Name Type Default
destinationId int64 none
portal Instance none
requiresNoButton bool none

History

ReturnToPublisherExperience On DevHub

Name Type Default
adTeleportMethod AdTeleportMethod none

History

ShowVideoAd On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

VideoAdClosed On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
adShown bool none

History

Tags: [Deprecated]

Relevant classes (1)

Relevant enums (1)