Commit c9fa1c98 by Vladislav

fix fillable in Campaigns

1 parent a6031dad
Showing with 19 additions and 0 deletions
...@@ -9,6 +9,25 @@ class Campaigns extends Model ...@@ -9,6 +9,25 @@ class Campaigns extends Model
{ {
use HasFactory; use HasFactory;
protected $fillable = [
'external_id',
'token',
'name',
'time_targeting',
'negative_keywords',
'blocked_ips',
'excluded_sites',
'daily_budget',
'text_campaign_strategy_search',
'text_campaign_strategy_network',
'settings',
'counter_ids',
'relevant_keywords_setting_budget_percent',
'relevant_keywords_setting_optimize_goal_id',
'attribution_model',
'updated'
];
public function scopeForUpdated($query) public function scopeForUpdated($query)
{ {
$query->whereNotNull('updated'); $query->whereNotNull('updated');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!