//Set your preferred impressions value (1000000000L), Time Unit and Level
FrequencyCap frequencyCap = new FrequencyCap(1000000000L, TimeUnit.DAY, Level.CAMPAIGN);
// Create campaign with updated status.
Campaign campaign = new Campaign();
campaign.setId(campaignId);
campaign.setStatus(CampaignStatus.PAUSED);
campaign.setFrequencyCap(frequencyCap);
// Create operations.
CampaignOperation operation = new CampaignOperation();
operation.setOperand(campaign);
operation.setOperator(Operator.SET);
CampaignOperation[] operations = new CampaignOperation[] {operation};
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201609" soapenv:mustUnderstand="0">
<ns1:clientCustomerId>YOUR_CUSTOMER_ID</ns1:clientCustomerId>
<ns1:developerToken>YOUR_DEVELOPER_TOKEN</ns1:developerToken>
<ns1:userAgent>YOUR_USER_AGENT</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<mutate xmlns="https://adwords.google.com/api/adwords/cm/v201609">
<operations>
<operator>SET</operator>
<operand>
<id>YOUR_CAMPAIGN_ID</id>
<status>PAUSED</status>
<frequencyCap>
<impressions>1000000000</impressions>
<timeUnit>DAY</timeUnit>
<level>CAMPAIGN</level>
</frequencyCap>
</operand>
</operations>
</mutate>
</soapenv:Body>
</soapenv:Envelope>