Do you have to use in-app purchases if your app allows users to advertise within the app?

Do you have to use in-app purchases if your app allows users to advertise within the app? An example of what I mean would be an app like Instagram. On Instagram you can run ads to have your posts show up for a given audience of users. You can "target" users and show them an ad. This is all done within the Instagram app.

I noticed though, that Instagram has you set up your credit card when running ads, instead of in-app purchases. Does this mean that other similar apps can use a 3rd party payment processor for such a use case as well?

I can't find anything related to having an ads product like this in an app in the Apple Guidelines. Does anyone have any information on this? Thanks.

Do you have to use in-app purchases if your app allows users to advertise within the app?
 
 
Q