Use multi-threading to pause more than 100 campaigns

Another tips that comes from our support team:

The current adCenter API includes a limit on the number of campaigns that can be paused or unpaused at any one time. If this limit is exceeded, it will return the error:

1119 The list of campaign Ids exceeds the limit.

If you’re pausing more than 100 campaigns at one time, you will receive an error such as below:

 <OperationErrors><OperationError><Code>1119</Code><Details i:nil="true"/>
 <ErrorCode>CampaignServiceCampaignIdsArrayExceedsLimit</ErrorCode>
 <Message>The list of campaign Ids exceeds the limit.</Message>
 </OperationError></OperationErrors>
  

Some customers have asked for an increase in the limit and this is a pending update.

Meanwhile, the best workaround is to use a multi-threading approach and to pass multiple requests for the pause and resume requirements for your campaigns.