Skip to main content

adClicked

Type​

message

Summary​

Sent when the user clicks on an ad.

Syntax​

adClicked <pAdName>

Description​

Handle the adClicked message if you want to perform an action when a user clicks on an ad.

The adClicked message is sent to the object that created the ad when the user clicks on ad.

Parameters​

NameTypeDescription

pAdName

The name of ad that has been clicked (as specified in mobileAdCreate)

Examples​

on adClicked pAdName
goToAddInfo pAdName
end adClicked

function: mobileAdGetTopLeft, mobileAdGetVisible

message: adLoaded, adLoadFailed

command: mobileAdCreate, mobileAdDelete, mobileAdSetVisible, mobileAdSetTopLeft, mobileAdRegister

Compatibility and Support​

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?