suspend

Stops displays for keywords and autotargetings.

Learn more

Restrictions

A maximum of ids-select of objects per method call.

Request

Request structure in JSON format:

{
  "method": "suspend",
  "params": { /* params */
    "SelectionCriteria": {  /* IdsCriteria */
      "Ids": [(long), ... ] /* required */
    } /* required */
  }
}

Parameter

Type

Description

Required

params structure (for JSON) / SuspendRequest structure (for SOAP)

SelectionCriteria

IdsCriteria

Criteria for selecting the keywords and autotargetings to stop.

Yes

IdsCriteria structure

Ids

array of long

IDs of the keywords and autotargetings that you want to stop (a maximum of ids-select).

Yes

Response

Response structure in JSON format:

{
  "result": { /* result */
    "SuspendResults": [{  /* 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) / SuspendResponse structure (for SOAP)

SuspendResults

array of ActionResult

Results of suspending keywords and autotargetings.

ActionResult structure

Id

long

ID of the keyword or autotargeting. Returned if there aren't any 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.

Previous
Next