Marketing preferences in a checkout process

I can see there's different approaches to showing the marketing preferences when buying a product. In your opinion, if the marketing preferences has a long text and a long list of opt-ins, do you think it's advisable to have these in an accordion/expandable section, like the one below enter image description here

Or do you think they should all be shown like the following exampleenter image description here

Cheers!