Google is committed to advancing racial equity for Black communities. See how.

PublisherAdViewOptions.Builder

public static final class PublisherAdViewOptions.Builder extends Object

This class is deprecated.
Use AdManagerAdViewOptions.Builder.

Builder for a PublisherAdViewOptions.

Public Constructor Summary

Public Method Summary

PublisherAdViewOptions
build()
Constructs a PublisherAdViewOptions object with the specified attributes.
PublisherAdViewOptions.Builder
PublisherAdViewOptions.Builder
setManualImpressionsEnabled(boolean manualImpressionsEnabled)
Enables manual impression reporting for DFP reservations.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public PublisherAdViewOptions build ()

Constructs a PublisherAdViewOptions object with the specified attributes.

public PublisherAdViewOptions.Builder setAppEventListener (AppEventListener appEventListener)

Sets an AppEventListener for this PublisherAdView.

public PublisherAdViewOptions.Builder setManualImpressionsEnabled (boolean manualImpressionsEnabled)

Enables manual impression reporting for DFP reservations.