Details
-
Type:
Story
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Artemis
-
Fix Version/s: Artemis
-
Component/s: None
-
Labels:None
-
Sprint:Sprint 1
Description
The user would like to make an API call to 'pin' or reserve ad copy for the specified merchant and return the pinned ad copy to the requester.
Requirements:
*Merchant must already be created.
*Only 1 ba/loc combination can be requested per call.
*Returns the same ads displayed in the AML UI Edit Ads dialog. 2 Ads without keyword insertion headline and two with headline inserted headlines.
*Will not show display or destination URL
*These ads are now pinned to that merchant for the requested BA/Loc combination.
Example Code:
Request : GET /deploymentapi/deployments/{merchant_uuid}/ads/ba/{ba_id}/location/{location_id}
Returns : Pins ad content for the merchant, ba, location and returns the pinned base ad content.
Example response :
{
"baId": 10237,
"locationId": 316,
"ads": [
{
"headline": "Tone Your Abs",
"description1": "Range Of Ab Exercise Equipment.",
"description2": "Friendly and Experienced."
},
{
"headline": "Tone Your Abs",
"description1": "Affordable Ab Exercise Equipment.",
"description2": "Equipment & Supplies For Less."
},
{
"headline": "{KeyWord:Tone Your Abs"},
"description1": "Range Of Ab Exercise Equipment.",
"description2": "Friendly and Experienced."
},
{
"headline": "{KeyWord: Tone Your Abs}",
"description1": "Affordable Ab Exercise Equipment.",
"description2": "Equipment & Supplies For Less."
}
]
}
This shall work for all search distributions so be sure to test against Google, Bing and YJ.