The Pinterest API (v5) enables advertisers to manage ads on Pinterest. This includes running ad campaigns, setting up targeting, and reporting on campaign performance.
Not all of these steps can be accomplished via the API, so for some of them, you will need to redirect the user to Pinterest. See Managing Ads
Overview of Ads
The image above illustrates the strict parent-child relationships between the different components of our ad system. Each entity must be contained inside the other.
To learn about how these concepts fit in the context of user accounts and pins, please read about Pinterest Entities.
To learn more about the definitions of campaigns, ad groups, and ads, please read this Help Center article.