Пример #1
0
 public function testSuspend()
 {
     $response = Ads::suspend()->setSelectionCriteria((new IdsCriteria())->setIds([self::DEFAULT_AD]))->sendRequest(self::$connection);
     $ads = $response->getResult('SuspendResults');
     $this->assertEquals(self::DEFAULT_AD, $ads[0]->Id);
 }