fix tests for ads API