Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a0692877
authored
Jun 18, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dd
1 parent
fc95f60a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
app/Console/Commands/KeywordsAdd.php
app/Console/Commands/KeywordsAdd.php
View file @
a069287
...
...
@@ -57,23 +57,6 @@ class KeywordsAdd extends Command
$factory
=
APIRequest
::
getInstance
(
API
::
YANDEX
);
$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'
)
->
call
([
'goalKeywords'
=>
DB
::
table
(
'goal_keywords'
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment