AdRepresentationManager.SetUsing

Syntax:

SetUsing(<Use>)

Parameters:

<Use> (optional)

Type: Boolean.
If False, components of the ad display in the interface are disabled, call to display a full-screen banner will be transferred to the completion handler.
If True, in the parameter AdUnitIdentifier it is required to transfer identifier.

Description:

Specifies the attribute of advertising display in the application.
If parameter Use is set to value False, the components displaying advertising in the interface are disabled and call for the method to display a full-screen banner will be transferred to its completion handler.
If parameter value Use is set True, it is required to transfer ad unit identifier as the second parameter.

Availability:

Mobile application (client).

    

1C:Enterprise Developer's Community