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 80c9a8df
authored
Jun 28, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log info
1 parent
9b83cc01
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
14 additions
and
14 deletions
app/Service/Requests/Direct/AddAdGroups.php
app/Service/Requests/Direct/AddAds.php
app/Service/Requests/Direct/AddBidModifiers.php
app/Service/Requests/Direct/AddCampaigns.php
app/Service/Requests/Direct/AddKeywords.php
app/Service/Requests/Direct/DeleteKeywords.php
app/Service/Requests/Direct/ResumeCampaigns.php
app/Service/Requests/Direct/SuspendCampaigns.php
app/Service/Requests/Direct/UpdateAdGroups.php
app/Service/Requests/Direct/UpdateAds.php
app/Service/Requests/Direct/UpdateCampaigns.php
app/Service/Requests/Direct/UpdateKeywords.php
app/Service/Requests/Direct/AddAdGroups.php
View file @
80c9a8d
...
...
@@ -63,7 +63,7 @@ class AddAdGroups extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"AddAdGroup, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'AdGroups'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/AddAds.php
View file @
80c9a8d
...
...
@@ -64,7 +64,7 @@ class AddAds extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"AddAds, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Ads'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/AddBidModifiers.php
View file @
80c9a8d
...
...
@@ -62,7 +62,7 @@ class AddBidModifiers extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"AddBidModifiers, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'BidModifiers'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/AddCampaigns.php
View file @
80c9a8d
...
...
@@ -65,7 +65,7 @@ class AddCampaigns extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"AddCampaigns, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Campaigns'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/AddKeywords.php
View file @
80c9a8d
...
...
@@ -65,7 +65,7 @@ class AddKeywords extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"AddKeywords, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Keywords'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/DeleteKeywords.php
View file @
80c9a8d
...
...
@@ -55,7 +55,7 @@ class DeleteKeywords extends DirectRequest
if
(
!
isset
(
$delete_result
[
'Id'
]))
{
Log
::
debug
(
"DeleteKeywords, empty Id"
);
Log
::
debug
(
$delete_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'SelectionCriteria'
][
'Ids'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/ResumeCampaigns.php
View file @
80c9a8d
...
...
@@ -33,11 +33,11 @@ class ResumeCampaigns extends DirectRequest
public
function
handle
(
$response
)
{
try
{
foreach
(
$response
[
'result'
][
'ResumeResults'
]
as
$resume_result
)
{
foreach
(
$response
[
'result'
][
'ResumeResults'
]
as
$
key
=>
$
resume_result
)
{
if
(
!
isset
(
$resume_result
[
'Id'
]))
{
Log
::
debug
(
"ResumeCampaigns, empty Id"
);
Log
::
debug
(
$resume_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'SelectionCriteria'
][
'Ids'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/SuspendCampaigns.php
View file @
80c9a8d
...
...
@@ -34,11 +34,11 @@ class SuspendCampaigns extends DirectRequest
public
function
handle
(
$response
)
{
try
{
foreach
(
$response
[
'result'
][
'SuspendResults'
]
as
$suspend_result
)
{
foreach
(
$response
[
'result'
][
'SuspendResults'
]
as
$
key
=>
$
suspend_result
)
{
if
(
!
isset
(
$suspend_result
[
'Id'
]))
{
Log
::
debug
(
"SuspendCampaigns, empty Id"
);
Log
::
debug
(
$suspend_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'SelectionCriteria'
][
'Ids'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/UpdateAdGroups.php
View file @
80c9a8d
...
...
@@ -53,7 +53,7 @@ class UpdateAdGroups extends DirectRequest
if
(
!
isset
(
$update_result
[
'Id'
]))
{
Log
::
debug
(
"UpdateAdGroup, empty Id"
);
Log
::
debug
(
$update_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'AdGroups'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/UpdateAds.php
View file @
80c9a8d
...
...
@@ -51,7 +51,7 @@ class UpdateAds extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"UpdateAds, empty Id"
);
Log
::
debug
(
$update_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Ads'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/UpdateCampaigns.php
View file @
80c9a8d
...
...
@@ -52,7 +52,7 @@ class UpdateCampaigns extends DirectRequest
if
(
!
isset
(
$add_result
[
'Id'
]))
{
Log
::
debug
(
"UpdateCampaigns, empty Id"
);
Log
::
debug
(
$add_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Campaigns'
][
$key
]
);
continue
;
}
...
...
app/Service/Requests/Direct/UpdateKeywords.php
View file @
80c9a8d
...
...
@@ -51,7 +51,7 @@ class UpdateKeywords extends DirectRequest
if
(
!
isset
(
$update_result
[
'Id'
]))
{
Log
::
debug
(
"UpdateKeywords, empty Id"
);
Log
::
debug
(
$update_result
);
Log
::
debug
(
$this
->
getParams
());
Log
::
debug
(
$this
->
getParams
()
[
'Keywords'
][
$key
]
);
continue
;
}
...
...
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