//div[contains(@class,"wrapper")]//tr[contains(@class,"table__row") and .//span[contains(@class, "campaign-info-number") and contains(text(),'302177')]]
<div>
<div class="asdf wrapper">
<table>
<tr class="table__row">
<td>
<span class="campaign-info-number">302177</span>
</td>
</tr>
<tr class="table__row">
<td>
<span class="campaign-info-number">302178</span>
</td>
</tr>
<tr class="table__row">
<td>
asdf
</td>
</tr>
</table>
</div>
</div>
//div[contains(@class, 'wrapper')]//tr[contains(@class, 'table__row') and .//span[contains(@class, 'campaign-info-number')]/text() = '302177']
<tr class="table__row">
<td>
<span class="campaign-info-number">302177</span>
</td>
</tr>