Skip to content

Commit

Permalink
Add mobile adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsenb committed Oct 17, 2019
1 parent 684ebfb commit f1d8e1a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/services/bidmodifiers/enum/BidModifierTypeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class BidModifierTypeEnum extends Enum
{
public const MOBILE_ADJUSTMENT = 'MOBILE_ADJUSTMENT';
public const DEMOGRAPHICS_ADJUSTMENT = 'DEMOGRAPHICS_ADJUSTMENT';
public const RETARGETING_ADJUSTMENT = 'RETARGETING_ADJUSTMENT';
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
class MobileAdjustmentFieldEnum extends Enum
{
public const BID_MODIFIER = 'BidModifier';
public const OPERATING_SYSTEM_TYPE = 'OperatingSystemType';
}
12 changes: 12 additions & 0 deletions src/services/bidmodifiers/enum/OperatingSystemTypeEnum.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace directapi\services\bidmodifiers\enum;


use directapi\components\Enum;

class OperatingSystemTypeEnum extends Enum
{
public const IOS = 'IOS';
public const ANDROID = 'ANDROID';
}
6 changes: 6 additions & 0 deletions src/services/bidmodifiers/models/MobileAdjustmentAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace directapi\services\bidmodifiers\models;

use directapi\components\Model;
use directapi\services\bidmodifiers\enum\OperatingSystemTypeEnum;
use Symfony\Component\Validator\Constraints as Assert;

class MobileAdjustmentAdd extends Model
Expand All @@ -16,4 +17,9 @@ class MobileAdjustmentAdd extends Model
* )
*/
public $BidModifier;

/**
* @var OperatingSystemTypeEnum
*/
public $OperatingSystemType;
}
6 changes: 6 additions & 0 deletions src/services/bidmodifiers/models/MobileAdjustmentGet.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@


use directapi\components\Model;
use directapi\services\bidmodifiers\enum\OperatingSystemTypeEnum;

class MobileAdjustmentGet extends Model
{
/**
* @var int
*/
public $BidModifier;

/**
* @var OperatingSystemTypeEnum
*/
public $OperatingSystemType;
}

0 comments on commit f1d8e1a

Please sign in to comment.