Update ads
Update multiple existing ads
Path parameters
Unique identifier of an ad account.
Request body
Example request
[
{
"collections_header_type": "SHOP_THIS_COLLECTION",
"customizable_cta_type": "LEARN_MORE",
"disclosure_type": "MED_GUIDE",
"grid_click_type": "CLOSEUP",
"quiz_pin_data": {
"questions": [
{
"question_id": 1,
"question_text": "Where do you thrive?",
"options": [
{
"text": "Hangout vibes"
},
{
"text": "Time to party!"
},
{
"text": "Keeping it lowkey"
}
]
},
{
"question_id": 2,
"question_text": "Where would you nap?",
"options": [
{
"text": "Hammock in the mountains"
},
{
"text": "Beach towel in the sand"
},
{
"text": "Tent under the stars"
}
]
},
{
"question_id": 2,
"question_text": "Who are you taking?",
"options": [
{
"text": "No one—solo trip!"
},
{
"text": "My best friend"
},
{
"text": "The family"
}
]
}
],
"results": [
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 1
},
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 2
},
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 3
}
]
},
"status": "ACTIVE",
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
}
}
]Response
The request has succeeded.
Example response
{
"items": [
{
"data": {
"collections_header_type": "SHOP_THIS_COLLECTION",
"customizable_cta_type": "LEARN_MORE",
"disclosure_type": "MED_GUIDE",
"grid_click_type": "CLOSEUP",
"quiz_pin_data": {
"questions": [
{
"question_id": 1,
"question_text": "Where do you thrive?",
"options": [
{
"text": "Hangout vibes"
},
{
"text": "Time to party!"
},
{
"text": "Keeping it lowkey"
}
]
},
{
"question_id": 2,
"question_text": "Where would you nap?",
"options": [
{
"text": "Hammock in the mountains"
},
{
"text": "Beach towel in the sand"
},
{
"text": "Tent under the stars"
}
]
},
{
"question_id": 2,
"question_text": "Who are you taking?",
"options": [
{
"text": "No one—solo trip!"
},
{
"text": "My best friend"
},
{
"text": "The family"
}
]
}
],
"results": [
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 1
},
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 2
},
{
"organicPinId": "1234",
"android_deep_link": "https://www.pinterest.com/",
"iOS_deep_link": "https://www.pinterest.com/",
"destination_url": "https://www.pinterest.com/",
"result_id": 3
}
]
},
"status": "ACTIVE",
"summary_status": "APPROVED",
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
}
},
"exceptions": {
"code": 2,
"message": "AdAccount not found."
}
}
]
}Changes
Changed in 14 of the 29 revisions of this API.1128119
- ▲
added the new required request property
/new-required-request-property
- ●
removed
subschema #2: AdUpdateRequestfrom therequest propertyallOflistrequest-property-all-of-removed
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
removed
subschema #3from the//response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
///became required for the statusresponse-property-became-required
- ○
the response property
///became required for the statusresponse-property-became-required
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
COLLAGEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
MAX_WIDTH_REGULAR_COLLECTIONenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
MAX_WIDTH_VIDEO_COLLECTIONenum value to the///////response property for the response statusresponse-property-enum-value-added
- ○
added the new
COLLAGEenum value to the request property/////request-property-enum-value-added
- ○
added the new
MAX_WIDTH_REGULAR_COLLECTIONenum value to the request property/////request-property-enum-value-added
- ○
added the new
MAX_WIDTH_VIDEO_COLLECTIONenum value to the request property/////request-property-enum-value-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
BUY_TICKETSenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
DONATE_NOWenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
DOWNLOADenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
EXPLORE_MOREenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
FIND_A_LOCATIONenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
GET_DEALenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
GET_RECIPEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
GET_SHOWTIMESenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
ON_SALEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
PLAY_GAMEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
TRY_ITenum value to the///////response property for the response statusresponse-property-enum-value-added
- ○
added the new
BUY_TICKETSenum value to the request property/////request-property-enum-value-added
- ○
added the new
DONATE_NOWenum value to the request property/////request-property-enum-value-added
- ○
added the new
DOWNLOADenum value to the request property/////request-property-enum-value-added
- ○
added the new
EXPLORE_MOREenum value to the request property/////request-property-enum-value-added
- ○
added the new
FIND_A_LOCATIONenum value to the request property/////request-property-enum-value-added
- ○
added the new
GET_DEALenum value to the request property/////request-property-enum-value-added
- ○
added the new
GET_RECIPEenum value to the request property/////request-property-enum-value-added
- ○
added the new
GET_SHOWTIMESenum value to the request property/////request-property-enum-value-added
- ○
added the new
ON_SALEenum value to the request property/////request-property-enum-value-added
- ○
added the new
PLAY_GAMEenum value to the request property/////request-property-enum-value-added
- ○
added the new
TRY_ITenum value to the request property/////request-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed the enum value
VISIT_WEBSITEof the request property/////request-property-enum-value-removed
- ●
added the new
VISIT_SITEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new
VISIT_SITEenum value to the request property/////request-property-enum-value-added
- ○
added the optional property
////////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////////////to the response with the statusresponse-optional-property-added
- ○
removed the
VISIT_WEBSITEenum value from the///////response property for the response statusresponse-property-enum-value-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
request property type changed from no type toobjectrequest-property-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
DELETED_DRAFTenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
DELETED_DRAFTenum value to the////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
DRAFTenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
DRAFTenum value to the////////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new
DELETED_DRAFTenum value to the request property/////request-property-enum-value-added
- ○
added the new
DRAFTenum value to the request property/////request-property-enum-value-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
- ●
added the new
COLLECTIONenum value to the///////response property for the response statusresponse-property-enum-value-added
- ●
added the new
SHOWCASEenum value to the///////response property for the response statusresponse-property-enum-value-added
- ○
added the new
COLLECTIONenum value to the request property/////request-property-enum-value-added
- ○
added the new
SHOWCASEenum value to the request property/////request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
QUIZenum value to the///////response property for the response statusresponse-property-enum-value-added
- ○
added the new
QUIZenum value to the request property/////request-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●