Yes, ad optimization can be used only for ad groups, because it rotates and tests ads that are specific to one ad group.