Creatives

πŸ“˜

GET https://api.kayzen.io/v1/meta/creatives

Returns a list of creative names and other attributes. If no specific search query is specified, returns all creatives.

Field

Param

Required/ Optional

Description

q

string

optional

Search query parameter. Returns result for a specific creative. If no value is specified, then all creative data will be returned

per_page

int

optional

Number of rows per page. Default Value- 30 entries

page

int

optional

Returns page number.Default Value- 1 page

advertiser_id

int

required

Advertiser ID of the user

curl -X GET \
'https://api.kayzen.io/v1/meta/creatives?page=1&per_page=25&q=germ&advertiser_id=10001' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "data":[  
      {  
         "id":50266969,
         "name":"CL_Native_test1",
         "type":"native",
         "created_at":"2019-02-18T05:09:37.000Z",
         "campaigns_count":1,
         "height":null,
         "width":null,
         "preview":"",
         "size":null,
         "click_url":"https://www.test.com",
         "pixel_url":null,
         "tracking_url":null,
         "title":"",
         "rating":null,
         "description":"",
         "call_to_action":"",
         "icon_mime":"image/",
         "main_mime":"image/",
         "app_url":"",
         "icon_image":"",
         "icon_width":null,
         "icon_height":null,
         "main_image":"",
         "main_width":null,
         "main_height":null
      },
      {  
         "id":50210107,
         "name":"CL_Native_test2",
         "type":"native",
         "created_at":"2018-05-04T07:17:31.000Z",
         "campaigns_count":5,
         "height":627,
         "width":1200,
         "preview":"https://advert-creatives.s3.amazonaws.com/assets/6f3b26fd-4d32-4659-bb47-0851f28563b.jpeg",
         "size":96431,
         "click_url":"https://www.starktest.com/en",
         "pixel_url":null,
         "tracking_url":null,
         "title":"Your Favorite App",
         "rating":"4.5",
         "description":"Satisfy your hunger",
         "call_to_action":"Order Now",
         "icon_mime":"image/png",
         "main_mime":"image/jpeg",
         "app_url":"",
         "icon_image":"https://advert-creatives.s3.amazonaws.com/assets/794667e7-4daa-4d54-92f8-16567acc9cc.png",
         "icon_width":80,
         "icon_height":80,
         "main_image":"https://advert-creatives.s3.amazonaws.com/assets/6f3b26fd-4d32-4659-bb47-0851f28563b.jpeg",
         "main_width":1200,
         "main_height":627
      }
   ],
   "meta":{  
      "current_page":1,
      "total_pages":1,
      "total_entries":2
   }
}