adClicked

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
adClicked <pAdName>
Summary

Sent when the user clicks on an ad.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pAdName

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

Example
on adClicked pAdName
   goToAddInfo pAdName
end adClicked
RelatedCommand: mobileAdCreate, mobileAdDelete, mobileAdSetVisible, mobileAdSetTopLeft, mobileAdRegister
Function: mobileAdGetTopLeft, mobileAdGetVisible
Message: adLoaded, adLoadFailed
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.