enum AdSenseSettings.AdType (v202411)

  • AdSenseSettings.AdType defines the types of ads (text, image, or both) that can be displayed within an Ad Unit.

  • It's part of the AdSenseSettings object, which belongs to the InventoryService used in Google Ad Manager.

  • Possible values include TEXT, IMAGE, and TEXT_AND_IMAGE, specifying the allowed ad formats.

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


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