Get Image Creatives

  • GET /v1/publishers/me/sites/{siteId}/campaigns/{campaignId}/creatives/image

    • campaignId : a merchant campaign ID
    • siteId : a publisher site ID
  • Publisher API Authentication required

  • Request : empty

  • Response:

    • 200 OK on success
[
    {
        "id": 1,
        "name": "test",
        "imageUrl": "http://google.com",
        "description": "tteesstt",
        "creatives": [
              {
                  "id": 1704,
                  "width": 250,
                  "height": 250,
                  "imageUrl": "http://ad.accesstrade.co.id/274ad4786c3abca69fa097b85867d9a4/1704_250x250-real-accesstrade.jpg",
                  "imageLink": "<a href="http://click.st-dsbd-id.asean-accesstrade.net/adv.php?rk=0001bc000001" target="_blank"><img src="http://imp.st-dsbd-id.asean-accesstrade.net/img.php?rk=0001bc000001" border="0"/></a>"
              },
              {
                  "id": 1703,
                  "width": 250,
                  "height": 250,
                  "imageUrl": "https://s3-ap-southeast-1.amazonaws.com/images.accesstrade.co.id/274ad4786c3abca69fa097b85867d9a4/1703_at 250x250_20170126041921061.jpg",
                  "imageLink": "<a href="http://click.st-dsbd-id.asean-accesstrade.net/adv.php?rk=0001bb000001" target="_blank"><img src="http://imp.st-dsbd-id.asean-accesstrade.net/img.php?rk=0001bb000001" border="0"/></a>"
              }
        ]
    }
]

Get Text Creatives

  • GET /v1/publishers/me/sites/{siteId}/campaigns/{campaignId}/creatives/text

    • campaignId : a merchant campaign ID
    • siteId : a publisher site ID
  • Publisher API Authentication required

  • Request : empty

  • Response:

    • 200 OK on success
[
    {
        "id": 2352,
        "text": "ACCESS TRADE",
        "textLink": "<a href=\"http://click.accesstrade.co.id/adv.php?rk=00000m000002\">www.accesstrade.co.id<img src=\"http://imp.accesstrade.co.id/img.php?rk=00000m000002\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" /></a>"
    },
    {
        "id": 2353,
        "text": "ACCESS TRADEEEE",
        "textLink": "<a href=\"http://click.accesstrade.co.id/adv.php?rk=00000m000002\">www.accesstrade.co.id<img src=\"http://imp.accesstrade.co.id/img.php?rk=00000m000003\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" /></a>"
    }
]

Get Quick Link

  • GET /v1/publishers/me/sites/{siteId}/campaigns/{campaignId}/creatives/quicklink

    • campaignId : a merchant campaign ID
    • siteId : a publisher site ID
  • Publisher API Authentication required

  • Request : empty

  • Response:

    • 200 OK on success
    • 404 Not Found when no active quick link is found for the campaign, or the given site is not affiliated with the given campaign
{
    "affiliateLink": "http://click.accesstrade.co.id/adv.php?rk=00000p000003"
}