Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Not a Bug
-
Affects Version/s: Kinsei
-
Fix Version/s: Kinsei
-
Component/s: AdMax JMS Listener
-
Labels:None
-
Environment:
QA 7
bidmgr-distribution-2.9.4-BETA4-dev-t20160722-0824
-
Sprint:Sprint 3
Description
Ads Policy violation errors are not deleted after correcting the Error
Steps:
1.Deploy an order having display URL and destination URL in Ads as
http://tigerhospital.bsearch.mobi and http://tigerhospital.bsearch.mobi/ウドストレージサービス respectively - order gets deployed successfully with NO errors.
2.Edit the Ads, change the display URL as "http://tigerhospital.bsearch" and redeploy the order - order deployed successfully with partner support email. (Partner support email attached)
snippet of listener log
<SOAP-ENV:Body>
<ns1:mutateResponse>
<ns1:rval>
<ns1:ListReturnValue.Type>AdGroupAdReturnValue</ns1:ListReturnValue.Type>
<ns1:Operation.Type>ADD</ns1:Operation.Type>
<ns1:values>
<ns1:operationSucceeded>false</ns1:operationSucceeded>
<ns1:error>
<ns1:code>211003</ns1:code>
<ns1:message>Domain does not match with DisplayURL.</ns1:message>
<ns1:detail>
<ns1:requestKey>ad/displayUrl</ns1:requestKey>
<ns1:requestValue>tigerhospital.bsearch.</ns1:requestValue>
</ns1:detail>
<ns1:detail>
<ns1:requestKey>ad/advancedUrl</ns1:requestKey>
<ns1:requestValue>http://tigerhospital.bsearch.mobi/???????????</ns1:requestValue>
</ns1:detail>
</ns1:error>
</ns1:values>
<ns1:values>
<ns1:operationSucceeded>false</ns1:operationSucceeded>
<ns1:error>
<ns1:code>211003</ns1:code>
<ns1:message>Domain does not match with DisplayURL.</ns1:message>
<ns1:detail>
<ns1:requestKey>ad/displayUrl</ns1:requestKey>
<ns1:requestValue>tigerhospital.bsearch.</ns1:requestValue>
</ns1:detail>
<ns1:detail>
<ns1:requestKey>ad/advancedUrl</ns1:requestKey>
2016-07-26 07:48:08,462 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error *******
2016-07-26 07:48:08,462 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - code = 211003
2016-07-26 07:48:08,462 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - message = Domain does not match with DisplayURL.
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error Detail *******
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request key = ad/displayUrl
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request value = tigerhospital.bsearch.
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request key = ad/advancedUrl
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request value = http://tigerhospital.bsearch.mobi/???????????
2016-07-26 07:48:08,463 [pool-57-thread-1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error *******
mysql> select count from yjp.errors where campaignName like '%a239_%';
----------
count |
----------
404 |
----------
1 row in set (0.00 sec
3. Edit Ads again,revert it original "http://tigerhospital.bsearch.mobi" and redeploy the order
Actual Result:
Order gets deployed but listener log shows the same policy violation errors ; it send partner support email again. The errors from yjp.errors table aren't removed.
mysql> select count from yjp.errors where campaignName like '%a239_%';
----------
count |
----------
404 |
----------
1 row in set (0.00 sec)
Expected result:
After correcting the errors,those policy error should get removed from the DB and shouldn't send partner support email.