{ "opencollection": "1.0.0", "info": { "name": "Pinterest Keywords API", "version": "5.13.0" }, "items": [ { "info": { "name": "Keywords", "type": "folder" }, "items": [ { "info": { "name": "Get keywords", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/ad_accounts/:ad_account_id/keywords", "params": [ { "name": "ad_account_id", "value": "", "type": "path", "description": "Unique identifier of an ad account." }, { "name": "campaign_id", "value": "", "type": "query", "description": "Campaign Id to use to filter the results." }, { "name": "ad_group_id", "value": "123123123", "type": "query", "description": "Ad group Id." }, { "name": "match_types", "value": "", "type": "query", "description": "Keyword match type" }, { "name": "page_size", "value": "", "type": "query", "description": "Maximum number of items to include in a single page of the response. See documentation on Pagination for more information." }, { "name": "bookmark", "value": "", "type": "query", "description": "Cursor used to fetch the next page of items" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "
Get a list of keywords based on the filters provided. If no filter is provided, it will default to the ad_account_id filter, which means it will only return keywords that specifically have parent_id set to the ad_account_id. Note: Keywords can have ad_account_ids, campaign_ids, and ad_group_ids set as their parent_ids. Keywords created through Ads Manager will have their parent_id set to an ad_group_id, not ad_account_id.
\nFor more information, see Create keywords for following entity types(advertiser, campaign, ad group or ad).
For more information, see Keyword targeting.
\nNotes:
For more information on match types, se" }, { "info": { "name": "Update keywords", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.pinterest.com/v5/ad_accounts/:ad_account_id/keywords", "params": [ { "name": "ad_account_id", "value": "", "type": "path", "description": "Unique identifier of an ad account." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "
Update one or more keywords' bid and archived fields.
Archiving a keyword effectively deletes it - keywords no longer receive metrics and no longer visible within the parent entity's keywords list.
" }, { "info": { "name": "Get country's keyword metrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/ad_accounts/:ad_account_id/keywords/metrics", "params": [ { "name": "ad_account_id", "value": "", "type": "path", "description": "Unique identifier of an ad account." }, { "name": "country_code", "value": "US", "type": "query", "description": "Two letter country code (ISO 3166-1 alpha-2)" }, { "name": "keywords", "value": "", "type": "query", "description": "Comma-separated keywords" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.pinterest.com/oauth/", "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "See keyword metrics for a specified country, aggregated across all of Pinterest.\n(Definitions are available from the \"Get delivery metrics definitions\"\nAPI endpoint)." }, { "info": { "name": "List trending keywords", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/trends/keywords/:region/top/:trend_type", "params": [ { "name": "region", "value": "", "type": "path", "description": "The geographic region of interest. Only top trends within the specified region will be returned.Get the top trending search keywords among the Pinterest user audience.
\nTrending keywords can be used to inform ad targeting, budget strategy, and creative decisions about which products and Pins will resonate with your audience.
\nGeographic, demographic and interest-based filters are available to narrow down to the top trends among a specific audience. Multiple trend types are supported that can be used to identify newly-popular, evergreen or seasonal keywords.
\nFor an int" } ] } ], "bundled": true }