public function tearDown()
 {
     if ($this->adLabel !== null) {
         $this->adLabel->delete();
         $this->adLabel = null;
     }
     parent::tearDown();
 }
 public function tearDown()
 {
     if ($this->productCatalog) {
         $this->productCatalog->delete();
         $this->productCatalog = null;
     }
     parent::tearDown();
 }
 public function setup()
 {
     parent::setup();
     $ca = new CustomAudienceMultiKey(null, $this->getConfig()->accountId);
     $ca->{CustomAudienceFields::NAME} = $this->getConfig()->testRunId;
     $ca->{CustomAudienceFields::SUBTYPE} = CustomAudienceSubtypes::CUSTOM;
     $ca->create();
     $this->customaudience = $ca;
 }
Exemplo n.º 4
0
 public function tearDown()
 {
     $this->leadId = null;
     parent::tearDown();
 }
Exemplo n.º 5
0
 public function tearDown()
 {
     if ($this->adSet) {
         $this->adSet->delete();
         $this->adSet = null;
     }
     if ($this->campaign) {
         $this->campaign->delete();
         $this->campaign = null;
     }
     if ($this->adCreative) {
         $this->adCreative->delete();
         $this->adCreative = null;
     }
     if ($this->adImage) {
         $this->adImage->delete();
         $this->adImage = null;
     }
     parent::tearDown();
 }
Exemplo n.º 6
0
 public function tearDown()
 {
     $this->adCampaign->delete();
     $this->adCampaign = null;
     parent::tearDown();
 }
 public function tearDown()
 {
     if ($this->productSet) {
         $this->productSet->delete();
         $this->productSet = null;
     }
     if ($this->productCatalog) {
         $this->productCatalog->delete();
         $this->productCatalog = null;
     }
     if ($this->productAudience) {
         $this->productAudience->delete();
         $this->productAudience = null;
     }
     if ($this->adCampaign) {
         $this->adCampaign->delete();
         $this->adCampaign = null;
     }
     if ($this->adSet) {
         $this->adSet->delete();
         $this->adSet = null;
     }
     if ($this->adGroup) {
         $this->adGroup->delete();
         $this->adGroup = null;
     }
     if ($this->creative) {
         $this->creative->delete();
         $this->creative = null;
     }
     parent::tearDown();
 }