Documentation

resume

Resumes ad displays that were previously stopped by the owner.

Restrictions

A maximum of 10,000 ads per method call.

Displays can't be resumed for archived ads or drafts of ads (see Ad status and state), or for ads that belong to an archived campaign.

Request

Request structure in JSON format:

{
  "method": "resume",
  "params": { 
    "SelectionCriteria
[no-highlight[

Criteria for selecting ads to resume displaying.

Required

Yes

]no-highlight]
": { /* IdsCriteria */ "Ids
[no-highlight[

IDs of ads to resume displaying (no more than 10,000).

Required

Yes

]no-highlight]
": [(long), ... ] /* required */ } /* required */ } }
Parameter Type Description Required
params structure (for JSON) / ResumeRequest structure (for SOAP)
SelectionCriteria IdsCriteria Criteria for selecting ads to resume displaying.Yes
IdsCriteria structure
Ids array of longIDs of ads to resume displaying (no more than 10,000).Yes

Response

Response structure in JSON format:

{
  "result": {  
    "ResumeResults
[no-highlight[

Results of resuming ad displays.

]no-highlight]
": [{ /* ActionResult */ "Id
[no-highlight[

The ad ID. Returned if there are no errors; see the section Operations on object arrays.

]no-highlight]
": (long), "Warnings
[no-highlight[

Warnings that occurred during the operation.

]no-highlight]
": [{ /* ExceptionNotification */ "Code": (int), /* required */ "Message": (string), /* required */ "Details": (string) }, ... ], "Errors
[no-highlight[

Errors that occurred during the operation.

]no-highlight]
": [{ /* ExceptionNotification */ "Code": (int), /* required */ "Message": (string), /* required */ "Details": (string) }, ... ] }, ... ] /* required */ } }
Parameter Type Description
result structure (for JSON) / ResumeResponse structure (for SOAP)
ResumeResults array of ActionResultResults of resuming ad displays.
ActionResult structure
Id longThe ad ID. Returned if there are no errors; see the section Operations on object arrays.
Warnings array of ExceptionNotification

Warnings that occurred during the operation.

Errors array of ExceptionNotification

Errors that occurred during the operation.