Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Aquidneck
-
Fix Version/s: 2.0.0, sprint 14: 12-05-2012, Aquidneck
-
Component/s: API
-
Labels:None
-
Environment:
AML dev/qa/demo (not required to fix for Tuesday demo)
-
Sprint:Sprint 13, Sprint 14
Description
Expected result: The URL entered in the UI needs to parsed by the service and the request going to ADS needs to have the customLandingPage displayURL and destinationURL populated:
The problem when custom URL is not used, ADS auto-generates destination URLs that assumes TSA Site Generation Service is being used to generate sites. Example:
http://www.merchant.com/sem-mensclothingmassachusettsunitedstates.html?refcd=go97_60
{ifsearch:s} {ifcontent:c}&tsacr=GO
{creative}I opend AML-844 to address the validation that currently requires the "domainName" field to start with "www." ...
example request that is failing:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><core:deployCampaigns xmlns:core="http://thesearchagency.com/smb/core">
<deployCampaignsRequest>
<header>
<requestID>622b2b1d-b349-4069-b241-89a5b19b0c8b</requestID>
<retryID>1</retryID>
</header>
<customer>
<customerID>6ce88e5e-a690-4011-9718-ea8cd860dd58</customerID>
<domainName>jeff.com</domainName>
<budget>5.0</budget>
<anniversaryDate>2012-11-16Z</anniversaryDate>
<currencyID>1</currencyID>
</customer>
<campaignList>
<campaignID>6ce88e5e-a690-4011-9718-ea8cd860dd58-0</campaignID>
<businessAreaID>10012</businessAreaID>
<businessLocationID>33</businessLocationID>
</campaignList>
</deployCampaignsRequest>
</core:deployCampaigns></soap:Body></soap:Envelope>
example request with custom url:
<customer>
<customerID>autumn-ba-ids-test1</customerID>
<domainName>www.example.com</domainName>
<budget>10</budget>
<anniversaryDate>2012-11-10-05:00</anniversaryDate>
<currencyID>1</currencyID>
</customer>
<campaignList>
<businessAreaID>10193</businessAreaID>
<businessLocationID>2</businessLocationID>
<!-Optional:->
<customLandingPage>
<destinationURL>http://test2.com/test.html</destinationURL>
<displayURL>test2.com</displayURL>
</customLandingPage>
</campaignList>