Get advertiser entities in bulk
Changed onCreate an asynchronous report that may include information on campaigns, ad groups, product groups, ads, keywords, schedules,and/or labels; can filter by campaigns. Though the entities may be active, archived, or paused, only active entities will return data.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads: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
{
"campaign_filter": {
"end_time": "1622848072",
"name": "campaign name",
"start_time": "1622848072"
},
"entity_types": [
"CAMPAIGN",
"AD_GROUP"
],
"updated_since": "1622848072"
}Response
The request has succeeded.
Example response
{
"request_id": "2680059592705"
}Changes
- breaking
request property
/was restricted to a list of enum values - breaking
the
request property type changed fromstringto no type - warning
removed from the
/request propertyallOflist - info
added the new
ADenum value to the request property/ - info
added the new
AD_GROUPenum value to the request property/ - info
added the new
APP_INSTALLenum value to the request property// - info
added the new
CAMPAIGNenum value to the request property/ - info
added the new
CTV_CONSIDERATIONenum value to the request property// - info
added the new
ENTITY_HISTORYenum value to the request property/ - info
added the new
KEYWORDenum value to the request property/ - info
added the new
LABELenum value to the request property/ - info
added the new
LEADSenum value to the request property// - info
added the new
PRODUCT_GROUPenum value to the request property/ - info
added the new
SALESenum value to the request property// - info
added the new
SCHEDULEenum value to the 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
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
added the success response with the status
- breaking
- info
added the new
SCHEDULEenum value to the request property/////
- info