Commit 335b71d6 by Vladislav
2 parents 2900b73c 419b63c6
......@@ -17,7 +17,7 @@ class BidModifiersAdd extends Command
*
* @var string
*/
protected $signature = 'didModifiers:add';
protected $signature = 'bidModifiers:add';
/**
* The console command description.
......
......@@ -56,6 +56,12 @@ class CampaignsLoadUpdated extends Command
'ids' => $campaigns->pluck('external_id')->toArray(),
]);
$request = new GetBidModifiers();
$request->setToken($token)
->call([
'CampaignIds' => $campaigns->pluck('external_id')->toArray(),
]);
}
$tokens = Tokens::has('dictionaryCampaignsEnabledForExternalSynchronizedUpdatedSelf')
......@@ -73,12 +79,6 @@ class CampaignsLoadUpdated extends Command
->call([
'ids' => $ids,
]);
$request = new GetBidModifiers();
$request->setToken($token)
->call([
'CampaignIds' => $ids,
]);
}
return 0;
......
......@@ -81,16 +81,15 @@ class Kernel extends ConsoleKernel
$schedule->command(CampaignsLoadGroups::class)->hourlyAt(20);
$schedule->command(AdGroupsLoadUpdated::class)->hourlyAt(20);
$schedule->command(AdGroupsLoadKeywords::class)->hourlyAt(30);
$schedule->command(AdExtensionsLoad::class)->hourlyAt(20);
$schedule->command(SitelinksLoad::class)->hourlyAt(20);
$schedule->command(VCardsAdd::class)->hourlyAt(25);
$schedule->command(AdExtensionsLoad::class)->hourlyAt(25);
$schedule->command(AdExtensionsAdd::class)->hourlyAt(30);
$schedule->command(VCardsAdd::class)->hourlyAt(35);
$schedule->command(AdExtensionsAdd::class)->hourlyAt(35);
$schedule->command(SitelinksAdd::class)->hourlyAt(35);
$schedule->command(SitelinksLoad::class)->hourlyAt(25);
$schedule->command(SitelinksAdd::class)->hourlyAt(30);
$schedule->command(AdGroupsAdd::class)->hourlyAt(30);
$schedule->command(AdGroupsUpdate::class)->hourlyAt(30);
$schedule->command(AdGroupsAdd::class)->hourlyAt(35);
$schedule->command(AdGroupsUpdate::class)->hourlyAt(35);
$schedule->command(BidModifiersAdd::class)->hourlyAt(35);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!