Pinterest · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Pinterest Ad API
86 actions
86 updates
phrasing
extends
openapi/pinterest-ad-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Pinterest's API. It is a proposal applied on top of the contract, not a document Pinterest publishes.
What the actions change
x-apievangelist-phrasing
Targets 86 · first 16 shown; the file carries all of them
$.info
$.paths['/ad_accounts'].get
$.paths['/ad_accounts'].post
$.paths['/ad_accounts/{ad_account_id}'].get
$.paths['/ad_accounts/{ad_account_id}/ad_groups'].get
$.paths['/ad_accounts/{ad_account_id}/ad_groups'].post
$.paths['/ad_accounts/{ad_account_id}/ad_groups'].patch
$.paths['/ad_accounts/{ad_account_id}/ad_groups/analytics'].get
$.paths['/ad_accounts/{ad_account_id}/ad_groups/targeting_analytics'].get
$.paths['/ad_accounts/{ad_account_id}/ad_groups/audience_sizing'].post
$.paths['/ad_accounts/{ad_account_id}/ad_groups/{ad_group_id}'].get
$.paths['/ad_accounts/{ad_account_id}/ad_previews'].post
$.paths['/ad_accounts/{ad_account_id}/ads'].get
$.paths['/ad_accounts/{ad_account_id}/ads'].post
$.paths['/ad_accounts/{ad_account_id}/ads'].patch
$.paths['/ad_accounts/{ad_account_id}/ads/analytics'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Pinterest Ad API
version: 1.0.0
extends: openapi/pinterest-ad-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 85
- target: $.paths['/ad_accounts'].get
update:
x-apievangelist-phrasing:
intent: List ad accounts
effect: read
questions:
- Which ad accounts can my user account access?
- Can I include shared ad accounts in the list?
instructions:
- text: List my ad accounts.
- text: 'List ad accounts including shared ones: {include_shared_accounts}.'
slots:
include_shared_accounts: query.include_shared_accounts
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts'].post
update:
x-apievangelist-phrasing:
intent: Create an ad account
effect: write
questions:
- How do I create a new ad account?
- Can I set the country and name of a new ad account?
instructions:
- text: Create an ad account named {name}.
slots:
name: requestBody.name
- text: Create an ad account {name} in {country} for owner {owner_user_id}.
slots:
name: requestBody.name
country: requestBody.country
owner_user_id: requestBody.owner_user_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}'].get
update:
x-apievangelist-phrasing:
intent: Get an ad account
effect: read
questions:
- What are the details of one ad account?
- Can I fetch a single ad account by ID?
instructions:
- text: Get ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show the details of ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups'].get
update:
x-apievangelist-phrasing:
intent: List ad groups
effect: read
questions:
- Which ad groups are in an ad account?
- Can I list ad groups for specific campaigns?
instructions:
- text: List ad groups in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: List ad groups for campaigns {campaign_ids} in {ad_account_id}.
slots:
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups'].post
update:
x-apievangelist-phrasing:
intent: Create ad groups
effect: write
questions:
- How do I create new ad groups?
- Can I set a budget and bid when creating ad groups?
instructions:
- text: Create ad groups in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Create new ad groups under {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups'].patch
update:
x-apievangelist-phrasing:
intent: Update ad groups
effect: write
questions:
- Can I edit several ad groups at once?
- What's the way to update existing ad groups?
instructions:
- text: Update ad groups in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Edit the existing ad groups under {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups/analytics'].get
update:
x-apievangelist-phrasing:
intent: Get ad group analytics
effect: read
questions:
- How are my ad groups performing?
- Can I get ad group analytics for a date range?
instructions:
- text: Get ad group analytics for {ad_group_ids} in {ad_account_id} from {start_date} to {end_date}, columns {columns}, granularity {granularity}.
slots:
ad_group_ids: query.ad_group_ids
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
columns: query.columns
granularity: query.granularity
- text: Show daily analytics for ad groups {ad_group_ids} in {ad_account_id} between {start_date} and {end_date}.
slots:
ad_group_ids: query.ad_group_ids
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups/targeting_analytics'].get
update:
x-apievangelist-phrasing:
intent: Get ad group targeting analytics
effect: read
questions:
- Which audiences are my ad groups reaching?
- Can I break down ad group performance by age and gender?
instructions:
- text: Get targeting analytics for ad groups {ad_group_ids} in {ad_account_id} from {start_date} to {end_date}, columns {columns}, granularity {granularity}, targeting {targeting_types}.
slots:
ad_group_ids: query.ad_group_ids
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
columns: query.columns
granularity: query.granularity
targeting_types: query.targeting_types
- text: Break down ad group {ad_group_ids} performance by {targeting_types} in {ad_account_id} between {start_date} and {end_date}.
slots:
ad_group_ids: query.ad_group_ids
targeting_types: query.targeting_types
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups/audience_sizing'].post
update:
x-apievangelist-phrasing:
intent: Estimate an ad group's audience size
effect: read
questions:
- How many people could my ad group reach?
- Can I estimate audience size before launching an ad group?
instructions:
- text: Estimate the audience size of ad group {ad_group_id} in {ad_account_id}.
slots:
ad_group_id: path.ad_account_id
ad_account_id: path.ad_account_id
- text: Size the potential audience for ad group {ad_group_id} in {ad_account_id} with targeting {targeting_spec}.
slots:
ad_group_id: path.ad_account_id
ad_account_id: path.ad_account_id
targeting_spec: requestBody.targeting_spec
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_groups/{ad_group_id}'].get
update:
x-apievangelist-phrasing:
intent: Get an ad group
effect: read
questions:
- What are the settings of one ad group?
- Can I fetch a single ad group by ID?
instructions:
- text: Get ad group {ad_group_id} in {ad_account_id}.
slots:
ad_group_id: path.ad_group_id
ad_account_id: path.ad_account_id
- text: Show the details of ad group {ad_group_id} under {ad_account_id}.
slots:
ad_group_id: path.ad_group_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ad_previews'].post
update:
x-apievangelist-phrasing:
intent: Create an ad preview
effect: write
questions:
- How do I preview an ad before launching it?
- Can I create an ad preview from an existing pin?
instructions:
- text: Create an ad preview in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Create an ad preview for ad account {ad_account_id} from a pin.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads'].get
update:
x-apievangelist-phrasing:
intent: List ads
effect: read
questions:
- Which ads are in an ad account?
- Can I list ads by campaign or ad group?
instructions:
- text: List ads in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: List ads for campaigns {campaign_ids} in {ad_account_id}.
slots:
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads'].post
update:
x-apievangelist-phrasing:
intent: Create ads
effect: write
questions:
- How do I create new ads?
- What do I need to create an ad, like an ad group and creative type?
instructions:
- text: Create ads in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Create new ads under {ad_account_id} with creative type and source pin.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads'].patch
update:
x-apievangelist-phrasing:
intent: Update ads
effect: write
questions:
- Can I edit several ads at once?
- What's the way to update existing ads?
instructions:
- text: Update ads in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Edit the existing ads under {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads/analytics'].get
update:
x-apievangelist-phrasing:
intent: Get ad analytics for a date range
effect: read
questions:
- How do I pull spend and impressions for several ads over a custom date range?
- What is the oldest date analytics can go back for these ads?
instructions:
- text: Get {columns} for ads {ad_ids} in ad account {ad_account_id} from {start_date} to {end_date}, granularity {granularity}.
slots:
columns: query.columns
ad_ids: query.ad_ids
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
granularity: query.granularity
- text: Pull {columns} for ad {ad_ids} in {ad_account_id} by {granularity} between {start_date} and {end_date}, converted from {click_window_days} days.
slots:
columns: query.columns
ad_ids: query.ad_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
start_date: query.start_date
end_date: query.end_date
click_window_days: query.click_window_days
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads_credit/discounts'].get
update:
x-apievangelist-phrasing:
intent: List ad credit discounts
effect: read
questions:
- What discounts have been applied to my ad account?
- Can I see the ad credit discount history?
instructions:
- text: List ad credit discounts for ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show the discount history of {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads_credit/redeem'].post
update:
x-apievangelist-phrasing:
intent: Redeem ad credits
effect: write
questions:
- How do I redeem an ad credit offer code?
- Can I validate an ad credit code before redeeming it?
instructions:
- text: Redeem ad credit offer code {offerCodeHash} in {ad_account_id}.
slots:
offerCodeHash: requestBody.offerCodeHash
ad_account_id: path.ad_account_id
- text: Validate ad credit code {offerCodeHash} for {ad_account_id} with validate only {validateOnly}.
slots:
offerCodeHash: requestBody.offerCodeHash
ad_account_id: path.ad_account_id
validateOnly: requestBody.validateOnly
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads/targeting_analytics'].get
update:
x-apievangelist-phrasing:
intent: Get ad targeting analytics
effect: read
questions:
- Can I see spend broken down by age and gender for selected ads?
- What do conversion metrics look like when the click attribution window is 14 days?
instructions:
- text: Get {columns} for ads {ad_ids} in account {ad_account_id} by {granularity} from {start_date} to {end_date}, targeting {targeting_types}.
slots:
columns: query.columns
ad_ids: query.ad_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
start_date: query.start_date
end_date: query.end_date
targeting_types: query.targeting_types
- text: Break down the {columns} for ad {ad_ids} in {ad_account_id} by {granularity} between {start_date} and {end_date}, attributed to {click_window_days}-day clicks.
slots:
columns: query.columns
ad_ids: query.ad_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
start_date: query.start_date
end_date: query.end_date
click_window_days: query.click_window_days
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/ads/{ad_id}'].get
update:
x-apievangelist-phrasing:
intent: Get an ad by ID
effect: read
questions:
- Why was a particular ad rejected by Pinterest's review?
- Can I fetch one ad's ID, name and status in a single call?
instructions:
- text: Get ad {ad_id} in account {ad_account_id}.
slots:
ad_id: path.ad_id
ad_account_id: path.ad_account_id
- text: Show the status and rejection reasons for ad {ad_id} in {ad_account_id}.
slots:
ad_id: path.ad_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/analytics'].get
update:
x-apievangelist-phrasing:
intent: Get ad account analytics
effect: read
questions:
- How is my ad account performing overall?
- Can I get account analytics for a date range?
instructions:
- text: Get ad account analytics for {ad_account_id} from {start_date} to {end_date}, columns {columns}, granularity {granularity}.
slots:
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
columns: query.columns
granularity: query.granularity
- text: Show daily analytics for ad account {ad_account_id} between {start_date} and {end_date}.
slots:
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audience_insights'].get
update:
x-apievangelist-phrasing:
intent: Get audience insights for an ad account
effect: read
questions:
- How engaged is my ad account's audience on Pinterest?
- What are the total and engaged audience sizes for my ad account?
instructions:
- text: Get {audience_insight_type} audience insights for ad account {ad_account_id}.
slots:
audience_insight_type: query.audience_insight_type
ad_account_id: path.ad_account_id
- text: Show {audience_insight_type} audience numbers for ad account {ad_account_id}.
slots:
audience_insight_type: query.audience_insight_type
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audiences'].get
update:
x-apievangelist-phrasing:
intent: List audiences in an ad account
effect: read
questions:
- Which audiences have I created in my ad account?
- Can I filter my audiences by ownership type?
instructions:
- text: List audiences in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show {ownership_type} audiences in ad account {ad_account_id}.
slots:
ownership_type: query.ownership_type
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audiences'].post
update:
x-apievangelist-phrasing:
intent: Create a targeting audience
effect: write
questions:
- How do I create an audience to target specific users?
- Can I build an audience from a customer list?
instructions:
- text: Create a {audience_type} audience named {name} in ad account {ad_account_id}.
slots:
audience_type: requestBody.audience_type
name: requestBody.name
ad_account_id: path.ad_account_id
- text: Create a {audience_type} audience {name} in ad account {ad_account_id} with rule {rule}.
slots:
audience_type: requestBody.audience_type
name: requestBody.name
ad_account_id: path.ad_account_id
rule: requestBody.rule
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audiences/{audience_id}'].get
update:
x-apievangelist-phrasing:
intent: Get an audience
effect: read
questions:
- What rule defines a specific audience?
- Can I look up one audience by its ID?
instructions:
- text: Get audience {audience_id} in ad account {ad_account_id}.
slots:
audience_id: path.audience_id
ad_account_id: path.ad_account_id
- text: Show the rule of audience {audience_id} in ad account {ad_account_id}.
slots:
audience_id: path.audience_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audiences/{audience_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update or remove an audience
effect: write
questions:
- How do I change the rule of an existing audience?
- Can I remove an audience I no longer target?
instructions:
- text: Update audience {audience_id} in ad account {ad_account_id} with rule {rule}.
slots:
audience_id: path.audience_id
ad_account_id: path.ad_account_id
rule: requestBody.rule
- text: Set operation {operation_type} on audience {audience_id} in ad account {ad_account_id}.
slots:
operation_type: requestBody.operation_type
audience_id: path.audience_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/audiences/custom'].post
update:
x-apievangelist-phrasing:
intent: Create a custom audience
effect: write
questions:
- How do I target only people on my email list with a custom audience?
- Can a custom audience be shared with syndicated partners?
instructions:
- text: Create a {sharing_type} audience {name} in account {ad_account_id} from the rule {rule}.
slots:
sharing_type: requestBody.sharing_type
name: requestBody.name
ad_account_id: path.ad_account_id
rule: requestBody.rule
- text: Share a custom audience for {name} in {ad_account_id} with {sharing_type} partners, ruled by {rule}.
slots:
name: requestBody.name
ad_account_id: path.ad_account_id
sharing_type: requestBody.sharing_type
rule: requestBody.rule
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/bid_floor'].post
update:
x-apievangelist-phrasing:
intent: Get bid floors for ad groups
effect: read
questions:
- What bid floors are set for my ad groups?
- Can I check bid floors for a specific targeting spec?
instructions:
- text: Get bid floors for ad account {ad_account_id} with specs {bid_floor_specs}.
slots:
ad_account_id: path.ad_account_id
bid_floor_specs: requestBody.bid_floor_specs
- text: Check bid floors for targeting spec {targeting_spec} in ad account {ad_account_id}.
slots:
targeting_spec: requestBody.targeting_spec
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/billing_profiles'].get
update:
x-apievangelist-phrasing:
intent: Get billing profiles
effect: read
questions:
- Which billing profiles are set up for my ad account?
- Can I list only the active billing profile?
instructions:
- text: List billing profiles in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show active billing profiles in ad account {ad_account_id}, is_active {is_active}.
slots:
ad_account_id: path.ad_account_id
is_active: query.is_active
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/bulk/download'].post
update:
x-apievangelist-phrasing:
intent: Download campaigns, ad groups and ads in bulk
effect: write
questions:
- How do I export my campaigns and ad groups to a file?
- Can I download only the campaigns that changed recently?
instructions:
- text: Create a bulk download of {entity_types} in ad account {ad_account_id}.
slots:
entity_types: requestBody.entity_types
ad_account_id: path.ad_account_id
- text: Export campaigns {campaign_filter} in ad account {ad_account_id} changed since {updated_since}.
slots:
campaign_filter: requestBody.campaign_filter
ad_account_id: path.ad_account_id
updated_since: requestBody.updated_since
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/bulk/upsert'].post
update:
x-apievangelist-phrasing:
intent: Create or update ad entities in bulk
effect: write
questions:
- How do I create many campaigns and ad groups at once?
- Can I update existing ads in bulk?
instructions:
- text: Create campaigns and ad groups in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Upsert {create} and update {update} in ad account {ad_account_id}.
slots:
create: requestBody.create
update: requestBody.update
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/bulk/{bulk_request_id}'].get
update:
x-apievangelist-phrasing:
intent: Download bulk upsert results
effect: read
questions:
- Where do I download the results of a bulk upsert request?
- Did my bulk upsert request succeed?
instructions:
- text: Get bulk request {bulk_request_id} in ad account {ad_account_id}.
slots:
bulk_request_id: path.bulk_request_id
ad_account_id: path.ad_account_id
- text: Download the results of bulk request {bulk_request_id} in ad account {ad_account_id}.
slots:
bulk_request_id: path.bulk_request_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns'].get
update:
x-apievangelist-phrasing:
intent: List campaigns in an ad account
effect: read
questions:
- Which campaigns are running in my ad account?
- Can I list only the campaigns with a given status?
instructions:
- text: List campaigns in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show campaigns {campaign_ids} in ad account {ad_account_id} with status {entity_statuses}.
slots:
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
entity_statuses: query.entity_statuses
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns'].post
update:
x-apievangelist-phrasing:
intent: Create campaigns
effect: write
questions:
- How do I create several new campaigns?
- What spend caps do I set when creating campaigns?
instructions:
- text: Create new campaigns in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Set up several campaigns in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns'].patch
update:
x-apievangelist-phrasing:
intent: Update campaigns
effect: write
questions:
- How do I pause or edit several campaigns at once?
- Can I change the daily spend cap on existing campaigns?
instructions:
- text: Update campaigns in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Edit the existing campaigns in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns/analytics'].get
update:
x-apievangelist-phrasing:
intent: Get campaign analytics
effect: read
questions:
- How are my campaigns performing over time?
- Can I see campaign spend broken down by day or hour?
instructions:
- text: Get analytics for campaigns {campaign_ids} in ad account {ad_account_id} from {start_date} to {end_date}.
slots:
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
start_date: query.start_date
end_date: query.end_date
- text: Show {columns} for campaigns {campaign_ids} in ad account {ad_account_id} by {granularity}.
slots:
columns: query.columns
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns/targeting_analytics'].get
update:
x-apievangelist-phrasing:
intent: Get campaign targeting analytics
effect: read
questions:
- Can I see where my campaign spend by age and gender is going?
- Which age and gender buckets drove the most conversions for my campaign?
instructions:
- text: Get {columns} for campaigns {campaign_ids} in account {ad_account_id} by {granularity} from {start_date} to {end_date}, targeting {targeting_types}.
slots:
columns: query.columns
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
start_date: query.start_date
end_date: query.end_date
targeting_types: query.targeting_types
- text: Break down campaign {campaign_ids} spend in {ad_account_id} by {granularity} between {start_date} and {end_date}, attributing conversions to {engagement_window_days}-day engagement conversions.
slots:
campaign_ids: query.campaign_ids
ad_account_id: path.ad_account_id
granularity: query.granularity
start_date: query.start_date
end_date: query.end_date
engagement_window_days: query.engagement_window_days
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/campaigns/{campaign_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a campaign
effect: read
questions:
- What are the settings of a specific campaign?
- Can I look up one campaign by its ID?
instructions:
- text: Get campaign {campaign_id} in ad account {ad_account_id}.
slots:
campaign_id: path.campaign_id
ad_account_id: path.ad_account_id
- text: Show the settings of campaign {campaign_id} in ad account {ad_account_id}.
slots:
campaign_id: path.campaign_id
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/conversion_tags'].get
update:
x-apievangelist-phrasing:
intent: List conversion tags
effect: read
questions:
- Which conversion tags are set up in my ad account?
- Can I exclude deleted conversion tags from the list?
instructions:
- text: List conversion tags in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show conversion tags in ad account {ad_account_id} with filter {filter_deleted}.
slots:
ad_account_id: path.ad_account_id
filter_deleted: query.filter_deleted
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/conversion_tags'].post
update:
x-apievangelist-phrasing:
intent: Create a conversion tag
effect: write
questions:
- How do I set up the Pinterest tag to track conversions?
- Can I enable enhanced match when creating a conversion tag?
instructions:
- text: Create conversion tag {name} in ad account {ad_account_id}.
slots:
name: requestBody.name
ad_account_id: path.ad_account_id
- text: Create conversion tag {name} in ad account {ad_account_id} with enhanced match {aem_enabled}.
slots:
name: requestBody.name
ad_account_id: path.ad_account_id
aem_enabled: requestBody.aem_enabled
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/conversion_tags/ocpm_eligible'].get
update:
x-apievangelist-phrasing:
intent: Get conversion events eligible for OCPM
effect: read
questions:
- Which conversion events are eligible for optimized cost per mille?
- What events can I target with OCPM bidding?
instructions:
- text: Get OCPM eligible conversion events for ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: List conversion events eligible for OCPM in ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
- target: $.paths['/ad_accounts/{ad_account_id}/conversion_tags/page_visit'].get
update:
x-apievangelist-phrasing:
intent: List page visit conversion tags
effect: read
questions:
- Which page visit events have been tracked for my ad account?
- Can I see the page visit conversion tags on an account?
instructions:
- text: List page visit conversion tags for ad account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
- text: Show page visit events for account {ad_account_id}.
slots:
ad_account_id: path.ad_account_id
method: generated
generated: '2026-11-16'
# --- truncated at 32 KB (67 KB total) ---
# Full source: https://artifacts.apis.io/pinterest/overlays/pinterest-ad-api-phrasing-overlay.yaml
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/pinterest-ad-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.