Get audience sizing
Changed onGet potential audience size for an ad group with given targeting criteria. Potential audience size estimates the number of people you may be able to reach per month with your campaign. It is based on historical advertising data and the targeting criteria you select. It does not guarantee results or take into account factors such as bid, budget, schedule, seasonality or product experiments.
Request
- Base URLhttps://api.pinterest.com/v5
- Auth
- OAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesads:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Request body
Example request
{
"keywords": [
{
"match_type": "BROAD"
}
],
"targeting_spec": {
"SHOPPING_RETARGETING": [
{
"lookback_window": 30,
"exclusion_window": 14,
"tag_types": [
0,
6
]
}
]
}
}Response
The request has succeeded.
Changes
- breaking
added to the
request propertyallOflist - breaking
the request property
//became not nullable - breaking
removed the enum value
undefinedof the request property// - breaking
the
request property type changed fromstringto no type - breaking
the
//request property type changed from no type tostring - warning
removed from the
request propertyallOflist - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
added the success response with the status
- breaking
- breaking
request body became required
- breaking