If you want to stub outgoing requests (and do not care about the response) use Webmock and stub it like below:

stub_request(:any, /googleadservices\.com/)

for more examples how to stub the response read the documentation