Get campaign
Changed onGet a specific campaign given the campaign ID.
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
Campaign ID, must be associated with the ad account ID provided in the path.
Unique identifier of an ad account.
Response
The request has succeeded.
Example response
{
"ad_account_id": "549755885175",
"bid_options": {
"age_bucket_multipliers": {
"18-24": 0.9,
"25-34": 1.1,
"35-44": 1.2
},
"app_type_multipliers": {
"android_mobile": 1.1,
"android_tablet": 1.1,
"ipad": 1.2,
"iphone": 1.2,
"web": 0.9,
"web_mobile": 0.8
},
"audience_multipliers": {
"123": 1.1,
"456": 1.2
},
"frequency_multipliers": {
"0": 1.5,
"1": 1.3,
"2": 0.8
},
"gender_multipliers": {
"female": 2.1,
"male": 0.8
},
"placement_multipliers": {
"browse": 0.9,
"search": 1.2,
"related_pins": 1.1
}
},
"created_time": 1432744744,
"daily_spend_cap": 1432744744,
"end_time": 1644023526,
"id": "549755885175",
"is_automated_campaign": true,
"is_campaign_budget_optimization": true,
"is_carting": true,
"is_flexible_daily_budgets": true,
"is_ltv_optimized": true,
"is_performance_plus": true,
"is_top_of_search": true,
"lifetime_spend_cap": 1432744744,
"name": "ACME Tools",
"order_line_id": "549755885175",
"start_time": 1580865126,
"status": "ACTIVE",
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
},
"type": "campaign",
"updated_time": 1432744744
}Changes
- info
removed
subschema #3from the response bodyallOflist for the response 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
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the optional property
/to the response with the status - info
removed the
VIDEO_VIEWenum value from the/response property for the response status - info
removed the
WEB_SESSIONSenum value from the/response property for the response status
- info