예제 #1
0
파일: AdsTest.php 프로젝트: perf2k2/direct
 public function setUp()
 {
     Campaigns::unarchive()->setSelectionCriteria((new IdsCriteria())->setIds([CampaignsTest::DEFAULT_CAMPAIGN]))->sendRequest(self::$connection);
 }
예제 #2
0
 public function testUnarchive()
 {
     $response = Campaigns::unarchive()->setSelectionCriteria((new IdsCriteria())->setIds([self::DEFAULT_CAMPAIGN]))->sendRequest(self::$connection);
     $campaigns = $response->getResult('UnarchiveResults');
     $this->assertEquals(self::DEFAULT_CAMPAIGN, $campaigns[0]->Id);
 }