spec for ad_type