사이드 메뉴
Getting started
Kakao Developers
Login
Communication
Advertisement
- Concepts
- Ad creation: Ad account
- Ad creation: Campaign
- Ad creation: Ad group
- Targeting for ad group
- Custom audience targeting for ad group
- Ad creation: Creative common
- Ad creation: Display creative
- Ad creation: Message creative
- Ad creation: Personalized message creative
- Bizboard landing settings
- Report
- Message management
- Personalized message management
- Message ad management
- Message ad operation
- Ad View management
- Business Form linkage management
- Pixel & SDK linkage management
- Audience management
- Engagement targeting management
- Customer file management
- Friend group management
- Ad account management
- Reference
- Type information
- Error code
Message ad management
This document describes how to use the Message ad management API for Kakao Moment message ads. The Message ad management API provides common management functions required for Message ad operation.
Message creatives, under Kakao Talk Channel x reach campaigns can be found in Ad creation: Message creative, and personalized message x reach campaign message materials can be found in Ad creation: Personalized message creative.
| Method | URL | Authorization |
|---|---|---|
POST | https://apis.moment.kakao.com/openapi/message/v2/message-ads | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Retrieves a list of message ads created under the Kakao Talk Channel.
Send a POST request with the business token, ad account ID, and Kakao Talk Channel profile ID in the header. If the request is successful, the response includes a list of message ads. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| page | Integer | Page number Starts from 0 | X |
| limit | Integer | Page size | X |
| from | String | Metric lookup period start date (default: 2 years before the lookup date)yyyy-MM-dd format | X |
| to | String | Metric lookup period end date (default: lookup date)yyyy-MM-dd format | X |
| Name | Type | Description | Required |
|---|---|---|---|
| filter | Filter | List lookup filter | X |
| Name | Type | Description | Required |
|---|---|---|---|
| messageAdType | String | Message ad typeBROADCAST: Message ad | X |
| messageAdIds | String[] | List of message ad numbers (identification numbers assigned when first created) | X |
| statuses | String[] | Message statusDRAFT: DraftREADY: Before sendingSENDING: SendingFINISHED: Send completeADMIN_STOP: Admin stopDEL: Delete | X |
| messageTypes | String[] | Message typeBASIC_TEXT_MESSAGE: Basic textWIDE_MESSAGE: Wide imageWIDE_LIST_MESSAGE: Wide listCAROUSEL_COMMERCE_MESSAGE: Carousel commerceCAROUSEL_FEED_MESSAGE: Carousel feedPREMIUM_VIDEO_MESSAGE: Premium videoCATALOG_MESSAGE: Catalog | X |
| start | String | Send time start date, YYYY-MM-DD formatImportant: Required when end is included | X |
| end | String | Send time end date, YYYY-MM-DD formatEnd date can be set from start date to lookup date Important: Required when start is included | X |
| searchKeyword | String | Message name search keyword Returns search results containing the keyword in the message name ( like search) | X |
| Name | Type | Description |
|---|---|---|
| content | Content[] | Message ad list |
| totalPages | Long | Total number of pages, total number of pages that will be responded when looking up |
| totalElements | Long | Total number of message ads that can be responded |
| first | Boolean | Whether it's the first page, one of the following
|
| last | Boolean | Whether it's the last page, one of the following
|
| size | Integer | Page size, number of message ads per page |
| number | Integer | Page number |
| numberOfElements | Integer | Number of message ads included in the current page |
| Name | Type | Description |
|---|---|---|
| messageAdId | String | Message ad number, identification number assigned when first created |
| messageAdType | String | Message ad typeBROADCAST: Message ad |
| message | SimpleMessage | Message simple information |
| name | String | Message name (maximum: 50 characters), value with automatic generation rules applied when not entered during first creation |
| status | String | Message status, one of the followingDRAFT: DraftREADY: Before sendingSENDING: SendingFINISHED: Send completeADMIN_STOP: Admin stopDEL: Delete |
| sendingReservation | SendingReservation | Message send reservation information |
| metrics | Metrics | Message summary report |
| createdDate | String | Message ad creation date, yyyy-MM-dd HH:mm:ss format |
| lastModifiedDate | String | Message ad last modification date, yyyy-MM-dd HH:mm:ss format |
| Name | Type | Description |
|---|---|---|
| type | String | Message type, one of the followingBASIC_TEXT_MESSAGE: Basic textWIDE_MESSAGE: Wide imageWIDE_LIST_MESSAGE: Wide listCAROUSEL_COMMERCE_MESSAGE: Carousel commerce typeCAROUSEL_FEED_MESSAGE: Carousel feed typePREMIUM_VIDEO_MESSAGE: Premium videoCATALOG_MESSAGE: Catalog |
| mainImageUrl | String | Message image Basic text (no image registered)
Basic text, wide image, wide list
Carousel commerce, carousel feed
Catalog
|
| mainTitle | String | Message representative text Basic text, wide image, wide list, catalog
Carousel commerce, carousel feed
message.carousel.title of the 1st carousel |
| Name | Type | Description |
|---|---|---|
| deviceTypes | String[] | Device typeANDROID: AndroidIOS: iOS |
| targeting | Targeting | Targeting information |
| price | Long | Send unit price (unit: won), one of the following15: No targeting applied20: Targeting applied |
| contractCount | Integer | Purchase send count, message ad send reservation count |
| totalBudget | Long | Purchase amount, total amount for message ad send reservation |
| totalBudgetWithVAT | Long | Purchase amount including VAT, amount including VAT in totalBudget |
| date | String | Send start date and time, yyyy-MM-dd'T'HH:mm format |
| Name | Type | Description |
|---|---|---|
| genderType | String | Gender overall selection type, one of the followingALL: All selectedNOT_ALL: Partial selection |
| genders | String[] | GenderM: MaleF: Female |
| ageType | String | Age overall selection type, one of the followingALL: All selectedNOT_ALL: Partial selection |
| ages | String[] | Age group15: 15-1920: 20-2425: 25-2930: 30-3435: 35-3940: 40-4445: 45-4950: 50-5455: 55-5960: 60-6465: 65-69 |
| locationType | String | Location selection type, one of the followingALL: All (domestic, overseas)DOMESTIC: Domestic onlyAREA: Area selection |
| depth1Locations | Location[] | Demographics > Administrative district > City/Province Refer to City/province lookup |
| depth2Locations | Depth2Location[] | Demographics > Administrative district > City/County/District Refer to City/County/District lookup |
| depth3Locations | Depth3Location[] | Demographics > Administrative district > Dong/Eup/Myeon Refer to Dong/Eup/Myeon lookup |
| Name | Type | Description |
|---|---|---|
| cost | Long | Message send cost (VAT excluded), total cost charged for completed message ad sending |
| msg_send | Long | Message send count, cumulative number of messages sent to users |
| msg_send_fail | Long | Message send failure count, cumulative number of messages that failed to send to users |
| msg_open | Long | Message view count, number of users who viewed sent messages after entering chat room |
| msg_click | Long | Message click count, total number of clicks generated from messages |
Request
curl -X POST "https://apis.moment.kakao.com/openapi/message/v2/message-ads" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json" \-d '{"filter": {"messageAdType": "PERSONAL","messageAdIds": [],"statuses": [],"messageTypes": [],"start": null,"end": null,"searchKeyword": "Message"}}'
Response
HTTP/1.1 200 OKContent-Type: application/json;charset=UTF-8{"content": [{"messageAdId": "msg-ad-1196357486962585601","messageAdType": "PERSONAL","name": "Message_Ad_Test_Wide_Image","status": "READY","sendingReservation": {"deviceTypes": [],"targeting": {"genderType": "ALL","genders": [],"ageType": "ALL","ages": [],"locationType": "ALL","depth1Locations": [],"depth2Locations": [],"depth3Locations": []},"date": "2024-01-15 16:37"},"metrics": null,"createdDate": "2024-01-15 16:37:32","lastModifiedDate": "2024-01-15 16:37:32"}],"pageable": {"pageNumber": 0,"pageSize": 10,"sort": {"empty": false,"sorted": true,"unsorted": false},"offset": 0,"paged": true,"unpaged": false},"last": false,"totalElements": 19,"totalPages": 2,"first": true,"size": 10,"number": 0,"sort": {"empty": false,"sorted": true,"unsorted": false},"numberOfElements": 10,"empty": false}
| Method | URL | Authorization |
|---|---|---|
GET | https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID} | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Retrieves detailed information about individual message ads.
You can check message content, send time, send target, etc.
Send a GET request with the business token, ad account ID, and Kakao Talk Channel profile ID in the header. If the request is successful, the response includes message ad detailed information as a JSON object. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| MESSAGE_AD_ID | String | Message ad number (messageAdId) | O |
| Name | Type | Description |
|---|---|---|
| messageAdId | String | Message ad number, identification number assigned when first created |
| messageAdType | String | Message ad typeBROADCAST: Message ad |
| name | String | Message name (maximum: 50 characters), value with automatic generation rules applied when not entered during first creation |
| message | ResponseMessage | Message information |
| sendingReservation | SendingReservation | Message send reservation information |
| status | String | Message status, one of the followingDRAFT: DraftREADY: Before sendingSENDING: SendingFINISHED: Send completeADMIN_STOP: Admin stopDEL: Delete |
| ageVerification | Boolean | Whether age verification is required for the message
|
| createdDate | String | Message ad creation date, yyyy-MM-dd HH:mm:ss format |
| lastModifiedDate | String | Message ad last modification date, yyyy-MM-dd HH:mm:ss format |
Request
curl -X GET "https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json"
Response
HTTP/1.1 200 OKContent-Type: application/json;charset=UTF-8{"messageAdId": "msg-ad-1195183093423038464","messageAdType": "BROADCAST","name": "Message_Ad_Test_Wide_Image","message": {"type": "WIDE_MESSAGE","title": "Promotional Text","items": [{"imageUrl": "https://t1.kakaocdn.net/b2/creative/56493/72750c9573241f3409d6f8e44cd66ac8.jpg","pcLandingUrl": "https://daum.net","mobileLandingUrl": "https://daum.net"}],"buttons": [{"title": "Button 1 Name","pcLandingUrl": "https://daum.net/1","mobileLandingUrl": "https://daum.net/1"}],"couponBook": {"title": "Coupon Detailed Description","pcLandingUrl": "https://daum.net","mobileLandingUrl": "https://daum.net","couponBookTitle": "Coupon Title","couponBookTitleType": "UPGRADE"},"ageVerification": false,"adFlag": true,"shareFlag": true},"sendingReservation": {},"status": "DRAFT","ageVerification": false,"createdDate": "2024-01-12 10:50:54","lastModifiedDate": "2024-01-12 10:50:54"}
| Method | URL | Authorization |
|---|---|---|
DELETE | https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID} | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Deletes a message ad.
Deleted message information can no longer be retrieved and cannot be recovered.
Send a DELETE request with the business token, ad account ID, and Kakao Talk Channel profile ID in the header. If the request is successful, the response returns only HTTP 200 status code without a body. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| MESSAGE_AD_ID | String | Message ad number (messageAdId) | O |
Request
curl -v -X DELETE "https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json"
Response
HTTP/1.1 200 OKContent-Length: 0Content-Type: application/json;charset=UTF-8
| Method | URL | Authorization |
|---|---|---|
GET | https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}/message | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Retrieves detailed message content.
Send a GET request with the business token, ad account ID, and Kakao Talk Channel profile ID in the header. If the request is successful, the response includes detailed message information. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| MESSAGE_AD_ID | String | Message ad number (messageAdId) | O |
- Message ads: Message Type Components
| Name | Type | Description |
|---|---|---|
| messageAdId | String | Message ad number, identification number assigned when first created |
| name | String | Message name (maximum: 50 characters), value with automatic generation rules applied when not entered during first creation |
| type | String | Message type, one of the followingBASIC_TEXT_MESSAGE: Basic textWIDE_MESSAGE: Wide imageWIDE_LIST_MESSAGE: Wide listCAROUSEL_COMMERCE_MESSAGE: Carousel commerce typeCAROUSEL_FEED_MESSAGE: Carousel feed typePREMIUM_VIDEO_MESSAGE: Premium videoCATALOG_MESSAGE: Catalog |
| title | String | Promotional text |
| items | Item[] | List information |
| buttons | Button[] | Button information |
| couponBook | CouponBook[] | Coupon information |
| introCarousel | IntroCarousel | Intro information |
| carousels | Carousel[] | Carousel information |
| ageVerification | Boolean | Whether age verification is required for the message
|
| adFlag | Boolean | Ad message
|
| shareFlag | Boolean | Whether to use share
Important: Cannot be used when ageVerification value is true |
Request
curl -X GET "https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}/message" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json"
Response
HTTP/1.1 200 OKContent-Type: application/json;charset=UTF-8{"messageAdId": "msg-ad-1195179794616258561","name": "Message_Ad_Test_Basic_Text","type": "BASIC_TEXT_MESSAGE","title": "Promotional Text","items": [{"imageUrl": "https://t1.kakaocdn.net/b2/creative/56493/3912ceec1584f2ec1ccf8fad73145254.jpg"}],"buttons": [{"title": "Button 1 Name","pcLandingUrl": "https://daum.net/1","mobileLandingUrl": "https://daum.net/1"},{"title": "Button 2 Name","pcLandingUrl": "https://daum.net/1","mobileLandingUrl": "https://daum.net/1"}],"couponBook": {"title": "Coupon Detailed Description","pcLandingUrl": "https://daum.net","mobileLandingUrl": "https://daum.net","couponBookTitle": "Coupon Title","couponBookTitleType": "UPGRADE"},"ageVerification": false,"adFlag": false,"shareFlag": true}
| Method | URL | Authorization |
|---|---|---|
POST | https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}/copy | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Copies the message that will be sent from the Kakao Talk Channel.
Send a POST request with the business token, ad account ID, and Kakao Talk Channel profile ID in the header. If the request is successful, the response includes detailed information of the copied message as a JSON object. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| MESSAGE_AD_ID | String | Message ad number (messageAdId) | O |
- Message ads: Message Type Components
| Name | Type | Description |
|---|---|---|
| messageAdId | String | Message ad number, identification number assigned when first created |
| name | String | Message name (maximum: 50 characters), value with automatic generation rules applied when not entered during first creation |
| type | String | Message type, one of the followingBASIC_TEXT_MESSAGE: Basic textWIDE_MESSAGE: Wide imageWIDE_LIST_MESSAGE: Wide listCAROUSEL_COMMERCE_MESSAGE: Carousel commerce typeCAROUSEL_FEED_MESSAGE: Carousel feed typePREMIUM_VIDEO_MESSAGE: Premium videoCATALOG_MESSAGE: Catalog |
| title | String | Promotional text |
| items | Item[] | Item information |
| buttons | Button[] | Button information |
| couponBook | CouponBook[] | Coupon information |
| introCarousel | IntroCarousel | Intro information |
| carousels | Carousel[] | Carousel information |
| ageVerification | Boolean | Whether age verification is required for the message
|
| adFlag | Boolean | Ad message
|
| shareFlag | Boolean | Whether to use share
Important: Cannot be used when ageVerification value is true |
Request
curl -X POST "https://apis.moment.kakao.com/openapi/message/v2/message-ads/${MESSAGE_AD_ID}/copy" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json"
Response
HTTP/1.1 200 OKContent-Type: application/json;charset=UTF-8{"messageAdId": "msg-ad-1195179794616258561","name": "Message_Ad_Test_Basic_Text","type": "BASIC_TEXT_MESSAGE","title": "Promotional Text Changed","items": [{"imageUrl": "https://t1.kakaocdn.net/b2/creative/56493/3912ceec1584f2ec1ccf8fad73145254.jpg"}],"buttons": [{"title": "Button 1 Name","pcLandingUrl": "https://daum.net/1","mobileLandingUrl": "https://daum.net/1"},{"title": "Button 2 Name","pcLandingUrl": "https://daum.net/1","mobileLandingUrl": "https://daum.net/1"}],"couponBook": {"title": "Coupon Detailed Description","pcLandingUrl": "https://daum.net","mobileLandingUrl": "https://daum.net","couponBookTitle": "Coupon Title","couponBookTitleType": "UPGRADE"},"ageVerification": false,"adFlag": false,"shareFlag": true}
| Method | URL | Authorization |
|---|---|---|
POST | https://apis.moment.kakao.com/openapi/message/v2/message-ads/reports | Business token |
| Permission | Prerequisite | Business Authentication | Business consent items |
|---|---|---|---|
| Required: Request permission | Switch to a Biz app Set Business redirect URI Business consent items | Required | Required |
Retrieves reports for messages.
Report metric groups (metricsGroup) can be selected multiple times.
Reports for specific dates are variable real-time metrics for reference until 8 AM the next day. If you're interested in today's (real-time) report, use datePreset=TODAY, and if you want hourly data, use dimension=HOUR.
You can request one of dataPreset or start, end. If requested in duplicate, data under start, end conditions will be retrieved.
Report lookup criteria (dimension) provides MESSAGE_TYPE (message type), DEVICE_TYPE (device), HOUR (time period).
Send a POST request with the business token and Kakao Talk Channel profile ID in the header. If the request is successful, the response includes report data as an array under the data field. If failed, see Error code.
| Name | Description | Required |
|---|---|---|
| Authorization | Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}Authorization method, authenticate with Business token | O |
| adAccountId | adAccountId: ${AD_ACCOUNT_ID}Ad account ID | O |
| channel-profile-id | channel-profile-id: ${CHANNEL_PROFILE_ID}Kakao Talk Channel profile ID | O |
| Content-Type | Content-Type: application/jsonRequest data type | O |
| Name | Type | Description | Required |
|---|---|---|---|
| messageAdIds | String[] | List of message ad numbers (maximum: 100) | X |
| datePreset | DatePreset | Report lookup period, one of the followingTODAY: Today (default)YESTERDAY: YesterdayLAST_7DAY: Last 1 weekLAST_14DAY: Last 2 weeksLAST_30DAY: Last 30 daysTHIS_MONTH: This monthLAST_MONTH: Last month | X |
| start | String | Report lookup period start date, YYYY-MM-DD formatIf either start or end is null, lookup based on datePresetIf datePreset is also not specified, lookup based on TODAY in datePresetStart date can be set up to the day before lookup date | X |
| end | String | Report lookup period end date, YYYY-MM-DD formatEnd date can be set from start date to the day before lookup date | X |
| dimension | Dimension | Report lookup criteria, criteria by which data will be grouped when looking up reports | O |
| metricsGroup | MetricsGroup[] | Report metric groups | O |
| Value | Description | Code |
|---|---|---|
| MESSAGE_AD | Message ad | MESSAGE_AD |
| MESSAGE_TYPE | Message type
|
|
| DEVICE_TYPE | Device
|
|
| HOUR | Hour
|
|
| Value | Description | Code |
|---|---|---|
| MESSAGE | Message basic metrics
|
|
| MESSAGE_ADDITION | Message additional metrics
|
|
| PIXEL_SDK_CONVERSION | Pixel & SDK conversion metrics
|
|
| MESSAGE_CLICK | Message click metrics
|
|
| MESSAGE_CAROUSEL_VIEW | Message impression metrics
|
|
| Name | Type | Description |
|---|---|---|
| code | Integer | Response code |
| message | String | Result notification message |
| data | Data | Each report detailed data |
| Name | Type | Description |
|---|---|---|
| start | String | Start date, YYYY-MM-DD format |
| end | String | End date, YYYY-MM-DD format |
| dimensions | Dimension | Report criteria and values |
| metrics | MetricsGroup | Report metrics and values |
| Value | Description | Code |
|---|---|---|
| message_ad_id | Message ad number Identification number assigned when first created | - |
| MESSAGE_AD | Message ad | MESSAGE_AD |
| MESSAGE_TYPE | Message type
|
|
| DEVICE_TYPE | Device
|
|
| HOUR | Hour
|
|
| Value | Description | Code |
|---|---|---|
| MESSAGE | Message basic metrics
|
|
| MESSAGE_ADDITION | Message additional metrics
|
|
| PIXEL_SDK_CONVERSION | Pixel & SDK conversion metrics
|
|
| MESSAGE_CLICK | Message Click Metrics
|
|
Request
curl -X POST "https://apis.moment.kakao.com/openapi/message/v2/message-ads/reports" \-H "Authorization: Bearer ${BUSINESS_ACCESS_TOKEN}" \-H "adAccountId: ${AD_ACCOUNT_ID}" \-H "channel-profile-id: ${CHANNEL_PROFILE_ID}" \-H "Content-Type: application/json" \-d '{"dimension": "MESSAGE_AD","start": null,"end": null,"datePreset": "LAST_30DAY","messageAdIds": ["msg-ad-1164368618878062593"],"metricsGroup": ["MESSAGE", "MESSAGE_ADDITION", "MESSAGE_CLICK", "PIXEL_SDK_CONVERSION"]}'
Response
HTTP/1.1 200 OKContent-Type: application/json;charset=UTF-8{"code":200,"message":"Success","data":[{"start":"2023-10-10","end":"2023-10-10","dimensions":{"message_ad_id":"msg-ad-1"},"metrics":{"msg_click":0,"msg_send":0,"cost":0.0,"msg_send_fail":0,"msg_open":1}}]}