Commit a0692877 by Vladislav

remove dd

1 parent fc95f60a
Showing with 0 additions and 17 deletions
...@@ -57,23 +57,6 @@ class KeywordsAdd extends Command ...@@ -57,23 +57,6 @@ class KeywordsAdd extends Command
$factory = APIRequest::getInstance(API::YANDEX); $factory = APIRequest::getInstance(API::YANDEX);
$factory->setToken($token); $factory->setToken($token);
dd(DB::table('goal_keywords')
->join('keywords', 'goal_keywords.keyword_id', '=', 'keywords.id')
->whereNull('keywords.deleted_at')
->whereNull('goal_keywords.external_id')
->whereIn('goal_keywords.dictionary_campaign_id', $token->dictionaryCampaignsEnabledForExternalSynchronized->pluck('id'))
->select([
'goal_keywords.dictionary_campaign_id as dictionary_campaign_id',
'goal_keywords.goal_ad_group_external_id as goal_ad_group_external_id',
'keywords.keyword as keyword',
'keywords.bid as bid',
'keywords.context_bid as context_bid',
'keywords.strategy_priority as strategy_priority',
'keywords.user_param_1 as user_param_1',
'keywords.user_param_2 as user_param_2',
])
->get());
$factory->getRequest('Keywords', 'add') $factory->getRequest('Keywords', 'add')
->call([ ->call([
'goalKeywords' => DB::table('goal_keywords') 'goalKeywords' => DB::table('goal_keywords')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!