enum AdSenseSettings.AdType (v202502)

  • AdSenseSettings.AdType specifies the type of ads that can be served through an AdUnit.

  • This enumeration is part of the InventoryService and has dependencies on AdSenseSettings.

  • The possible values for AdType are TEXT, IMAGE, and TEXT_AND_IMAGE.

Specifies the type of ads that can be served through this AdUnit.


Namespace
https://www.google.com/apis/ads/publisher/v202502
Enumeration Description
TEXT Allows text-only ads.
IMAGE Allows image-only ads.
TEXT_AND_IMAGE Allows both text and image ads.