How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Pinterest Ads API

The Ads API from Pinterest — 7 operation(s) for ads.

Pinterest Ads API is one of 117 APIs that Pinterest publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Ads. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 9 operations across 7 paths, and defines 29 schemas. It is described by OpenAPI 3.2.0, at version 5.13.0.

Requests are made against a single base URL, https://api.pinterest.com/v5.

9 operations 7 paths 29 schemas 5 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
5.13.0
Base URL
https://api.pinterest.com/v5
Authentication
OAuth 2.0, HTTP Bearer, HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 3

Pinterest Ads API declares 3 security schemes for authenticating requests. It supports OAuth 2.0 (pinterest_oauth2) using the authorizationCode flow, exposing 18 scopes. It accepts HTTP bearer tokens (conversion_token). It accepts HTTP basic authentication (basic).

  • conversion_token — This security scheme only applies to the conversion events endpoint (POST /adaccounts/{adaccountid}/events). This endpoint requires a bearer token generated vi…

Paths & Operations 9

Across 7 paths, the API surfaces 9 operations — 5 GET, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Ads 9
POST
/ad_accounts/{ad_account_id}/ad_previews
Create ad preview with pin or image
ad_previews/create 1 param body → 200400default
GET
/ad_accounts/{ad_account_id}/ads
List ads
ads/list 8 params → 200400default
POST
/ad_accounts/{ad_account_id}/ads
Create ads
ads/create 1 param body → 200default
PATCH
/ad_accounts/{ad_account_id}/ads
Update ads
ads/update 1 param body → 200default
GET
/ad_accounts/{ad_account_id}/ads/analytics
Get ad analytics
ads/analytics 10 params → 200400default
GET
/ad_accounts/{ad_account_id}/ads_credit/discounts
Get ads credit discounts
ads_credits_discounts/get 3 params → 200default
POST
/ad_accounts/{ad_account_id}/ads_credit/redeem
Redeem ad credits
ads_credit/redeem 1 param body → 200400default
GET
/ad_accounts/{ad_account_id}/ads/targeting_analytics
Get targeting analytics for ads
ad_targeting_analytics/get 12 params → 200default
GET
/ad_accounts/{ad_account_id}/ads/{ad_id}
Get ad
ads/get 2 params → 200default

Schemas 29

The contract defines 29 schemas that model the data the API accepts and returns. The most detailed are AdCommon (19 properties), AdsCreditDiscountsResponse (7 properties), QuizPinResult (5 properties), TrackingUrls (5 properties). Each schema is shown below with its type and property counts.

QuizPinResult
objectnull
The result, and link out, based on the users choice.
5 properties
Exception
object
2 properties
AdsCreditDiscountsResponse
object
7 properties
MetricsResponse
object
1 property
AdPreviewURLResponse
object
1 property
AdArrayResponse
object
1 property
ConversionReportAttributionType
string
Attribution type. Refers to the Pinterest Tag endpoints
Paginated
object
2 properties 1 required
AdPinId
object
1 property
AdsCreditRedeemResponse
object
3 properties
AdsAnalyticsResponse
array
AdsAnalyticsTargetingType
string
Reporting targeting type
Granularity
string
Granularity
AdResponse
object
GridClickType
stringnull
Where a user is taken after clicking on an ad in grid. Note: This parameter is read-only and is set to DIRECTTODESTINATION by default for direct links supporte…
QuizPinOption
objectnull
This field contains multiple options to a quiz question.
2 properties
AdCommon
object
Creation fields
19 properties
AdArrayResponseElement
object
2 properties
EntityStatus
string
Entity status
TrackingUrls
objectnull
Third-party tracking URLs. Up to three tracking URLs - with a max length of 2,000 - are supported for each event type. Tracking URLs set at the ad group or ad…
5 properties
CreativeType
string
Ad creative type enum. For update, only draft ads may update creative type. Note: SHOPTHEPIN has been deprecated. Please use COLLECTION instead.
PinPromotionSummaryStatus
string
Summary status for pin promotions
AdCreateRequest
object
QuizPinQuestion
objectnull
A specific quiz inquiry.
3 properties
AdsCreditRedeemRequest
object
2 properties 2 required
Error
object
2 properties 2 required
AdPreviewRequest
QuizPinData
objectnull
This field includes all quiz data including questions, options, and results.
2 properties
AdUpdateRequest
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

pinterest-ads-api-openapi.yml Raw ↑

Other APIs Pinterest publishes across the network.

Pinterest Access API
Pinterest Accounts API
Pinterest Ad API
Pinterest Ad_groups API
Pinterest Analytics API
Pinterest Assets API
Pinterest Audience API
Pinterest Audience_insights API
Pinterest Audiences API
Pinterest Batch API
Pinterest Bid API
Pinterest Billing API
Where this information came from

This is an independent, third-party profile of Pinterest Ads API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.