resume
Resumes displays on the campaign level.
Note. If displays were suspended on the level of an individual ad, resuming displays on the campaign level does not affect it.
Restrictions
Maximum of 1000 campaigns per method call.
You can't resume displays for archived campaigns (the ARCHIVED state).
Request
Request structure in JSON format:
{
"method": "resume",
"params": { /* params */
"SelectionCriteria": { /* IdsCriteria */
"Ids": [(long), ... ] /* required */
} /* required */
}
}
Parameter | Type | Description | Required |
Params structure (for JSON) / ResumeRequest structure (for SOAP) | |||
---|---|---|---|
SelectionCriteria | IdsCriteria | Criteria for selecting campaigns to resume. | Yes |
IdsCriteria structure | |||
Ids | array of long | IDs of campaigns to resume (maximum of 1000). | Yes |
Parameter | Type | Description | Required |
Params structure (for JSON) / ResumeRequest structure (for SOAP) | |||
---|---|---|---|
SelectionCriteria | IdsCriteria | Criteria for selecting campaigns to resume. | Yes |
IdsCriteria structure | |||
Ids | array of long | IDs of campaigns to resume (maximum of 1000). | Yes |
Response
Response structure in JSON format:
{
"result": { /* result */
"ResumeResults": [{ /* ActionResult */
"Id": (long),
"Warnings": [{ /* ExceptionNotification */
"Code": (int), /* required */
"Message": (string), /* required */
"Details": (string)
}, ...
],
"Errors": [{ /* ExceptionNotification */
"Code": (int), /* required */
"Message": (string), /* required */
"Details": (string)
}, ...
]
}, ... ] /* required */
}
}
Parameter | Type | Description |
Result structure (for JSON) / ResumeResponse structure (for SOAP) | ||
---|---|---|
ResumeResults | array of ActionResult | Results of resuming campaigns. |
ActionResult structure | ||
Id | long | The campaign ID. Returned if there are no errors, see Operations on object arrays. |
Warnings | array of ExceptionNotification | Warnings that occurred during the operation. |
Errors | array of ExceptionNotification | Errors that occurred during the operation. |
Parameter | Type | Description |
Result structure (for JSON) / ResumeResponse structure (for SOAP) | ||
---|---|---|
ResumeResults | array of ActionResult | Results of resuming campaigns. |
ActionResult structure | ||
Id | long | The campaign ID. Returned if there are no errors, see Operations on object arrays. |
Warnings | array of ExceptionNotification | Warnings that occurred during the operation. |
Errors | array of ExceptionNotification | Errors that occurred during the operation. |