use of com.google.api.ads.adwords.axis.v201809.cm.Operand in project googleads-java-lib by googleads.
the class BatchJobHelperTest method assertDownloadResponse.
@Override
protected void assertDownloadResponse(BatchJobMutateResponse downloadResponse) {
assertEquals("Wrong # of mutate results", 1, downloadResponse.getMutateResults().length);
Operand operand = downloadResponse.getMutateResults()[0].getOperand();
Campaign campaign = operand.getCampaign();
assertEquals("ID is incorrect", Long.valueOf(12345L), campaign.getId());
assertEquals("Status is incorrect", CampaignStatus.PAUSED, campaign.getStatus());
}
Aggregations