Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Own-account API: ad accounts the authorizing Pinterest user can access. Needs an approved app with ads access.
- Lists page with bookmark: pass the answer’s bookmark back as bookmark until it is null.
- Analytics date ranges are capped at 90 days and cannot start more than 90 days back.
- Reads here; creating or updating ads is not included.
Endpoints
List ad accounts
List campaigns
List ad groups
List ads
Get ad account analytics
- Spend columns named *_IN_DOLLAR are whole dollars; *_IN_MICRO_DOLLAR are millionths.