mobileAdDelete

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileAdDelete <ad>
Summary

Delete a given ad.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
ad

The name of the loaded ad to delete.

Example
mobileAdDelete "Ad1"
Values
NameTypeDescription
The result
  • empty: If successful.
  • "not registered with service": if you did not register your app id using mobileAdRegister before calling mobileAdCreate.
  • "ad already exists": if an ad of the given name already exists.
  • "could not create ad": if the ad could not be created. This is the case, if the app does not have Internet permissions or the registered app key is not valid.
RelatedCommand: mobileAdCreate, mobileAdRegister
Function: mobileAds
Description

Use the mobileAdDelete command to delete a given ad.

Use this command to delete an ad that was created earlier.