-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update group models with new properties
- Loading branch information
Showing
15 changed files
with
253 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\common\enum; | ||
|
||
use directapi\components\Enum; | ||
|
||
class ProcessingStatusEnum extends Enum | ||
{ | ||
public const EMPTY_RESULT = 'EMPTY_RESULT'; | ||
public const PROCESSED = 'PROCESSED'; | ||
public const UNKNOWN = 'UNKNOWN'; | ||
public const UNPROCESSED = 'UNPROCESSED'; | ||
} |
4 changes: 2 additions & 2 deletions
4
...es/keywordbids/enum/ServingStatusEnum.php → src/common/enum/ServingStatusEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?php | ||
|
||
namespace directapi\services\keywordbids\enum; | ||
namespace directapi\common\enum; | ||
|
||
|
||
class ServingStatusEnum | ||
{ | ||
public const ELIGIBLE = 'ELIGIBLE'; | ||
public const RARELY_SERVED = 'RARELY_SERVED'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\enum; | ||
|
||
|
||
use directapi\components\Enum; | ||
|
||
class AdGroupSubtypesEnum extends Enum | ||
{ | ||
public const WEBPAGE = 'WEBPAGE'; | ||
public const FEED = 'FEED'; | ||
public const NONE = 'NONE'; | ||
public const KEYWORDS = 'KEYWORDS'; | ||
public const USER_PROFILE = 'USER_PROFILE'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\enum; | ||
|
||
|
||
use directapi\components\Enum; | ||
|
||
class SourceTypeEnum extends Enum | ||
{ | ||
public const RETAIL_FEED = 'RETAIL_FEED'; | ||
public const UNKNOWN = 'UNKNOWN'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/services/adgroups/models/CpmBannerKeywordsAdGroupAdd.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
|
||
class CpmBannerKeywordsAdGroupAdd extends Model | ||
{ | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
src/services/adgroups/models/CpmBannerUserProfileAdGroupAdd.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
|
||
class CpmBannerUserProfileAdGroupAdd extends Model | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
|
||
class CpmVideoAdGroupAdd extends Model | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
use directapi\components\Model; | ||
use Symfony\Component\Validator\Constraints as Assert; | ||
|
||
class DynamicTextAdGroupAdd extends Model | ||
{ | ||
/** | ||
* @var string | ||
* @Assert\Length( | ||
* max = 100 | ||
* ) | ||
*/ | ||
public $DomainUrl; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
|
||
class DynamicTextAdGroupGet extends Model | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $DomainUrl; | ||
|
||
/** | ||
* @var \directapi\common\enum\ProcessingStatusEnum | ||
*/ | ||
public $DomainUrlProcessingStatus; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
use Symfony\Component\Validator\Constraints as Assert; | ||
|
||
class DynamicTextAdGroupUpdate extends Model | ||
{ | ||
/** | ||
* @var string | ||
* @Assert\Length( | ||
* max = 100 | ||
* ) | ||
*/ | ||
public $DomainUrl; | ||
} |
25 changes: 25 additions & 0 deletions
25
src/services/adgroups/models/DynamicTextFeedAdGroupGet.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
|
||
namespace directapi\services\adgroups\models; | ||
|
||
|
||
use directapi\components\Model; | ||
|
||
class DynamicTextFeedAdGroupGet extends Model | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $Source; | ||
|
||
/** | ||
* @var \directapi\services\adgroups\enum\SourceTypeEnum | ||
*/ | ||
public $SourceType; | ||
|
||
/** | ||
* @var \directapi\common\enum\ProcessingStatusEnum | ||
*/ | ||
public $SourceProcessingStatus; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters