Skip to content

Commit

Permalink
Add media ad types in AddGetItem
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Apr 30, 2019
1 parent aaba344 commit 6d90bb2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/services/ads/models/AdGetItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ class AdGetItem extends Model
*/
public $MobileAppAdBuilderAd;

/**
* @var CpcVideoAdBuilderAdGet
*/
public $CpcVideoAdBuilderAd;

/**
* @var CpmBannerAdBuilderAdGet
*/
public $CpmBannerAdBuilderAd;

/**
* @var int
Expand Down Expand Up @@ -130,4 +139,4 @@ public function getDescription(): ?string

return null;
}
}
}
19 changes: 19 additions & 0 deletions src/services/ads/models/CpcVideoAdBuilderAdGet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php


namespace directapi\services\ads\models;


use directapi\components\Model;

class CpcVideoAdBuilderAdGet extends Model
{
/**
* @var AdBuilderAdAddItem
*/
public $Creative;
/**
* @var string
*/
public $Href;
}
24 changes: 24 additions & 0 deletions src/services/ads/models/CpmBannerAdBuilderAdGet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php


namespace directapi\services\ads\models;


use directapi\components\Model;

class CpmBannerAdBuilderAdGet extends Model
{
/**
* @var AdBuilderAdAddItem
*/
public $Creative;
/**
* @var string
*/
public $Href;

/**
* @var \directapi\common\containers\ArrayOfString
*/
public $TrackingPixels;
}

0 comments on commit 6d90bb2

Please sign in to comment.