광고
광고 작업 상태
변경할 수 없는 광고 작업 상태와 원래 명령을 읽습니다. 수락은 플랫폼 성공이 아니며, 영향을 알 수 없는 작업은 재전송하면 안 됩니다.
POST /advertising-api/actions/status계약 검토: · sha256:9aedef8d43dd4514
개요
변경할 수 없는 광고 작업 상태와 원래 명령을 읽습니다. 수락은 플랫폼 성공이 아니며, 영향을 알 수 없는 작업은 재전송하면 안 됩니다.
HTTP 성공 응답은 완료가 아닌 접수를 뜻할 수 있습니다. 백그라운드 작업은 반환 ID를 저장하고 완료까지 같은 작업을 확인하세요. 예약 또는 접수 게시물은 플랫폼이 확인해야 게시 완료입니다. 클라이언트 시간 초과로 결과를 판단할 수 없습니다.
인증 및 권한
토큰은 소유자의 권한만 사용할 수 있습니다. 각 요청은 Workspace 멤버십, 리소스 소유권, 선택 Workspace, 부여 기능을 확인합니다. core와 full 프로필은 표시 도구를 바꾸며 접근 권한은 부여하지 않습니다.
요청 필드
필수는 상위 객체와 선택 분기 안에서 필수라는 뜻입니다. 필수 자식이 선택적 상위 객체를 필수로 만들지는 않습니다. 아래 규칙과 필드명은 계약에서 복사했습니다.
| 필드 / 분기 | 유형 / 필수 여부 | 제약 조건 |
|---|---|---|
$ | object상위 객체에서 필수 |
|
workspace_id | string상위 객체에서 필수 |
|
action_id | string상위 객체에서 필수 |
|
전체 JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"action_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"workspace_id",
"action_id"
],
"additionalProperties": false
}응답 및 완료
성공 HTTP 상태: 200. 작업 완료 시: synchronous_http_response.
HTTP 성공 응답은 완료가 아닌 접수를 뜻할 수 있습니다. 백그라운드 작업은 반환 ID를 저장하고 완료까지 같은 작업을 확인하세요. 예약 또는 접수 게시물은 플랫폼이 확인해야 게시 완료입니다. 클라이언트 시간 초과로 결과를 판단할 수 없습니다.
필수는 상위 객체와 선택 분기 안에서 필수라는 뜻입니다. 필수 자식이 선택적 상위 객체를 필수로 만들지는 않습니다. 아래 규칙과 필드명은 계약에서 복사했습니다.
| 필드 / 분기 | 유형 / 필수 여부 | 제약 조건 |
|---|---|---|
$ | object상위 객체에서 필수 | — |
contract_version | string상위 객체에서 필수 |
|
action | object상위 객체에서 필수 | — |
action.id | string상위 객체에서 필수 |
|
action.workspace_id | string상위 객체에서 필수 |
|
action.advertising_account_id | string상위 객체에서 필수 |
|
action.mutation_id | string상위 객체에서 필수 |
|
action.status | string상위 객체에서 필수 |
|
action.command | object상위 객체에서 필수 | — |
action.commandoneOf 1 | object상위 객체에서 필수 | — |
action.command.operationoneOf 1 | string상위 객체에서 필수 |
|
action.command.nameoneOf 1 | string상위 객체에서 필수 |
|
action.command.budgetoneOf 1 | object선택 / 항목 | — |
action.command.budget.kindoneOf 1 | string상위 객체에서 필수 |
|
action.command.budget.amount_minoroneOf 1 | string상위 객체에서 필수 |
|
action.command.objectiveoneOf 1 | string상위 객체에서 필수 |
|
action.command.special_ad_categoriesoneOf 1 | array상위 객체에서 필수 |
|
action.command.special_ad_categories[]oneOf 1 | string선택 / 항목 |
|
action.command.statusoneOf 1 | string상위 객체에서 필수 |
|
action.commandoneOf 2 | object상위 객체에서 필수 | — |
action.command.operationoneOf 2 | string상위 객체에서 필수 |
|
action.command.object_idoneOf 2 | string상위 객체에서 필수 |
|
action.command.nameoneOf 2 | string선택 / 항목 |
|
action.command.budgetoneOf 2 | object선택 / 항목 | — |
action.command.budget.kindoneOf 2 | string상위 객체에서 필수 |
|
action.command.budget.amount_minoroneOf 2 | string상위 객체에서 필수 |
|
action.command.statusoneOf 2 | string선택 / 항목 |
|
action.commandoneOf 3 | object상위 객체에서 필수 | — |
action.command.operationoneOf 3 | string상위 객체에서 필수 |
|
action.command.campaign_idoneOf 3 | string상위 객체에서 필수 |
|
action.command.nameoneOf 3 | string상위 객체에서 필수 |
|
action.command.budgetoneOf 3 | object선택 / 항목 | — |
action.command.budget.kindoneOf 3 | string상위 객체에서 필수 |
|
action.command.budget.amount_minoroneOf 3 | string상위 객체에서 필수 |
|
action.command.targetingoneOf 3 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locationsoneOf 3 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locations.countriesoneOf 3 | array상위 객체에서 필수 |
|
action.command.targeting.geo_locations.countries[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.age_minoneOf 3 | integer상위 객체에서 필수 |
|
action.command.targeting.age_maxoneOf 3 | integer상위 객체에서 필수 |
|
action.command.targeting.gendersoneOf 3 | array선택 / 항목 |
|
action.command.targeting.genders[]oneOf 3 | number선택 / 항목 | — |
action.command.targeting.genders[]oneOf 3 / anyOf 1 | number선택 / 항목 |
|
action.command.targeting.genders[]oneOf 3 / anyOf 2 | number선택 / 항목 |
|
action.command.targeting.localesoneOf 3 | array선택 / 항목 |
|
action.command.targeting.locales[]oneOf 3 | integer선택 / 항목 |
|
action.command.targeting.publisher_platformsoneOf 3 | array상위 객체에서 필수 |
|
action.command.targeting.publisher_platforms[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.facebook_positionsoneOf 3 | array선택 / 항목 |
|
action.command.targeting.facebook_positions[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.instagram_positionsoneOf 3 | array선택 / 항목 |
|
action.command.targeting.instagram_positions[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.threads_positionsoneOf 3 | array선택 / 항목 |
|
action.command.targeting.threads_positions[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.custom_audience_idsoneOf 3 | array선택 / 항목 |
|
action.command.targeting.custom_audience_ids[]oneOf 3 | string선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_idsoneOf 3 | array선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_ids[]oneOf 3 | string선택 / 항목 |
|
action.command.billing_eventoneOf 3 | string상위 객체에서 필수 |
|
action.command.optimization_goaloneOf 3 | string상위 객체에서 필수 |
|
action.command.bid_strategyoneOf 3 | string상위 객체에서 필수 |
|
action.command.start_timeoneOf 3 | string선택 / 항목 |
|
action.command.end_timeoneOf 3 | string선택 / 항목 |
|
action.command.promoted_objectoneOf 3 | object선택 / 항목 | — |
action.command.promoted_object.page_idoneOf 3 | string선택 / 항목 |
|
action.command.promoted_object.pixel_idoneOf 3 | string선택 / 항목 |
|
action.command.promoted_object.custom_event_typeoneOf 3 | string선택 / 항목 |
|
action.command.statusoneOf 3 | string상위 객체에서 필수 |
|
action.commandoneOf 4 | object상위 객체에서 필수 | — |
action.command.operationoneOf 4 | string상위 객체에서 필수 |
|
action.command.object_idoneOf 4 | string상위 객체에서 필수 |
|
action.command.nameoneOf 4 | string선택 / 항목 |
|
action.command.budgetoneOf 4 | object선택 / 항목 | — |
action.command.budget.kindoneOf 4 | string상위 객체에서 필수 |
|
action.command.budget.amount_minoroneOf 4 | string상위 객체에서 필수 |
|
action.command.statusoneOf 4 | string선택 / 항목 |
|
action.command.targetingoneOf 4 | object선택 / 항목 | — |
action.command.targeting.geo_locationsoneOf 4 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locations.countriesoneOf 4 | array상위 객체에서 필수 |
|
action.command.targeting.geo_locations.countries[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.age_minoneOf 4 | integer상위 객체에서 필수 |
|
action.command.targeting.age_maxoneOf 4 | integer상위 객체에서 필수 |
|
action.command.targeting.gendersoneOf 4 | array선택 / 항목 |
|
action.command.targeting.genders[]oneOf 4 | number선택 / 항목 | — |
action.command.targeting.genders[]oneOf 4 / anyOf 1 | number선택 / 항목 |
|
action.command.targeting.genders[]oneOf 4 / anyOf 2 | number선택 / 항목 |
|
action.command.targeting.localesoneOf 4 | array선택 / 항목 |
|
action.command.targeting.locales[]oneOf 4 | integer선택 / 항목 |
|
action.command.targeting.publisher_platformsoneOf 4 | array상위 객체에서 필수 |
|
action.command.targeting.publisher_platforms[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.facebook_positionsoneOf 4 | array선택 / 항목 |
|
action.command.targeting.facebook_positions[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.instagram_positionsoneOf 4 | array선택 / 항목 |
|
action.command.targeting.instagram_positions[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.threads_positionsoneOf 4 | array선택 / 항목 |
|
action.command.targeting.threads_positions[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.custom_audience_idsoneOf 4 | array선택 / 항목 |
|
action.command.targeting.custom_audience_ids[]oneOf 4 | string선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_idsoneOf 4 | array선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_ids[]oneOf 4 | string선택 / 항목 |
|
action.command.start_timeoneOf 4 | string선택 / 항목 |
|
action.command.end_timeoneOf 4 | string선택 / 항목 |
|
action.commandoneOf 5 | object상위 객체에서 필수 | — |
action.command.operationoneOf 5 | string상위 객체에서 필수 |
|
action.command.nameoneOf 5 | string상위 객체에서 필수 |
|
action.command.adset_idoneOf 5 | string상위 객체에서 필수 |
|
action.command.creative_idoneOf 5 | string상위 객체에서 필수 |
|
action.command.statusoneOf 5 | string상위 객체에서 필수 |
|
action.commandoneOf 6 | object상위 객체에서 필수 | — |
action.command.operationoneOf 6 | string상위 객체에서 필수 |
|
action.command.object_idoneOf 6 | string상위 객체에서 필수 |
|
action.command.nameoneOf 6 | string선택 / 항목 |
|
action.command.creative_idoneOf 6 | string선택 / 항목 |
|
action.command.statusoneOf 6 | string선택 / 항목 |
|
action.commandoneOf 7 | object상위 객체에서 필수 | — |
action.command.operationoneOf 7 | string상위 객체에서 필수 |
|
action.command.nameoneOf 7 | string상위 객체에서 필수 |
|
action.command.object_story_speconeOf 7 | object선택 / 항목 | — |
action.command.object_story_spec.page_idoneOf 7 | string상위 객체에서 필수 |
|
action.command.object_story_spec.instagram_user_idoneOf 7 | string선택 / 항목 |
|
action.command.object_story_spec.link_dataoneOf 7 | object상위 객체에서 필수 | — |
action.command.object_story_spec.link_data.linkoneOf 7 | string상위 객체에서 필수 |
|
action.command.object_story_spec.link_data.messageoneOf 7 | string상위 객체에서 필수 |
|
action.command.object_story_spec.link_data.nameoneOf 7 | string선택 / 항목 |
|
action.command.object_story_spec.link_data.image_hashoneOf 7 | string상위 객체에서 필수 |
|
action.command.object_story_spec.link_data.call_to_actiononeOf 7 | string선택 / 항목 |
|
action.command.object_story_idoneOf 7 | string선택 / 항목 |
|
action.commandoneOf 8 | object상위 객체에서 필수 | — |
action.command.operationoneOf 8 | string상위 객체에서 필수 |
|
action.command.nameoneOf 8 | string상위 객체에서 필수 |
|
action.command.targetingoneOf 8 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locationsoneOf 8 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locations.countriesoneOf 8 | array상위 객체에서 필수 |
|
action.command.targeting.geo_locations.countries[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.age_minoneOf 8 | integer상위 객체에서 필수 |
|
action.command.targeting.age_maxoneOf 8 | integer상위 객체에서 필수 |
|
action.command.targeting.gendersoneOf 8 | array선택 / 항목 |
|
action.command.targeting.genders[]oneOf 8 | number선택 / 항목 | — |
action.command.targeting.genders[]oneOf 8 / anyOf 1 | number선택 / 항목 |
|
action.command.targeting.genders[]oneOf 8 / anyOf 2 | number선택 / 항목 |
|
action.command.targeting.localesoneOf 8 | array선택 / 항목 |
|
action.command.targeting.locales[]oneOf 8 | integer선택 / 항목 |
|
action.command.targeting.publisher_platformsoneOf 8 | array상위 객체에서 필수 |
|
action.command.targeting.publisher_platforms[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.facebook_positionsoneOf 8 | array선택 / 항목 |
|
action.command.targeting.facebook_positions[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.instagram_positionsoneOf 8 | array선택 / 항목 |
|
action.command.targeting.instagram_positions[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.threads_positionsoneOf 8 | array선택 / 항목 |
|
action.command.targeting.threads_positions[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.custom_audience_idsoneOf 8 | array선택 / 항목 |
|
action.command.targeting.custom_audience_ids[]oneOf 8 | string선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_idsoneOf 8 | array선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_ids[]oneOf 8 | string선택 / 항목 |
|
action.commandoneOf 9 | object상위 객체에서 필수 | — |
action.command.operationoneOf 9 | string상위 객체에서 필수 |
|
action.command.object_idoneOf 9 | string상위 객체에서 필수 |
|
action.command.nameoneOf 9 | string선택 / 항목 |
|
action.command.targetingoneOf 9 | object선택 / 항목 | — |
action.command.targeting.geo_locationsoneOf 9 | object상위 객체에서 필수 | — |
action.command.targeting.geo_locations.countriesoneOf 9 | array상위 객체에서 필수 |
|
action.command.targeting.geo_locations.countries[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.age_minoneOf 9 | integer상위 객체에서 필수 |
|
action.command.targeting.age_maxoneOf 9 | integer상위 객체에서 필수 |
|
action.command.targeting.gendersoneOf 9 | array선택 / 항목 |
|
action.command.targeting.genders[]oneOf 9 | number선택 / 항목 | — |
action.command.targeting.genders[]oneOf 9 / anyOf 1 | number선택 / 항목 |
|
action.command.targeting.genders[]oneOf 9 / anyOf 2 | number선택 / 항목 |
|
action.command.targeting.localesoneOf 9 | array선택 / 항목 |
|
action.command.targeting.locales[]oneOf 9 | integer선택 / 항목 |
|
action.command.targeting.publisher_platformsoneOf 9 | array상위 객체에서 필수 |
|
action.command.targeting.publisher_platforms[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.facebook_positionsoneOf 9 | array선택 / 항목 |
|
action.command.targeting.facebook_positions[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.instagram_positionsoneOf 9 | array선택 / 항목 |
|
action.command.targeting.instagram_positions[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.threads_positionsoneOf 9 | array선택 / 항목 |
|
action.command.targeting.threads_positions[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.custom_audience_idsoneOf 9 | array선택 / 항목 |
|
action.command.targeting.custom_audience_ids[]oneOf 9 | string선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_idsoneOf 9 | array선택 / 항목 |
|
action.command.targeting.excluded_custom_audience_ids[]oneOf 9 | string선택 / 항목 |
|
action.reviewed_digest | string상위 객체에서 필수 |
|
action.effects | object상위 객체에서 필수 | — |
action.effects.creates_object | boolean상위 객체에서 필수 | — |
action.effects.initial_status | string | null상위 객체에서 필수 | — |
action.effects.initial_statusanyOf 1 | string상위 객체에서 필수 |
|
action.effects.initial_statusanyOf 2 | null상위 객체에서 필수 | — |
action.effects.activates_delivery | boolean상위 객체에서 필수 | — |
action.effects.changes_budget | boolean상위 객체에서 필수 | — |
action.effects.changes_audience | boolean상위 객체에서 필수 | — |
action.effects.changes_creative | boolean상위 객체에서 필수 | — |
action.effects.currency | string상위 객체에서 필수 |
|
action.effects.timezone | string상위 객체에서 필수 |
|
action.effects.budget | object | null상위 객체에서 필수 | — |
action.effects.budgetanyOf 1 | object상위 객체에서 필수 | — |
action.effects.budget.kindanyOf 1 | string상위 객체에서 필수 |
|
action.effects.budget.amount_minoranyOf 1 | string상위 객체에서 필수 |
|
action.effects.budgetanyOf 2 | null상위 객체에서 필수 | — |
action.live_approval | object상위 객체에서 필수 | — |
action.live_approval.required | boolean상위 객체에서 필수 | — |
action.live_approval.state | string상위 객체에서 필수 |
|
action.live_approval.reason | string | null상위 객체에서 필수 | — |
action.live_approval.reasonanyOf 1 | string상위 객체에서 필수 |
|
action.live_approval.reasonanyOf 2 | null상위 객체에서 필수 | — |
action.live_approval.expires_at | string | null상위 객체에서 필수 | — |
action.live_approval.expires_atanyOf 1 | string상위 객체에서 필수 |
|
action.live_approval.expires_atanyOf 2 | null상위 객체에서 필수 | — |
action.live_approval.approved_by | string | null상위 객체에서 필수 | — |
action.live_approval.approved_byanyOf 1 | string상위 객체에서 필수 |
|
action.live_approval.approved_byanyOf 2 | null상위 객체에서 필수 | — |
action.provider_object_id | string | null상위 객체에서 필수 | — |
action.provider_object_idanyOf 1 | string상위 객체에서 필수 |
|
action.provider_object_idanyOf 2 | null상위 객체에서 필수 | — |
action.failure_code | string | null상위 객체에서 필수 | — |
action.failure_codeanyOf 1 | string상위 객체에서 필수 |
|
action.failure_codeanyOf 2 | null상위 객체에서 필수 | — |
action.created_at | string상위 객체에서 필수 |
|
action.completed_at | string | null상위 객체에서 필수 | — |
action.completed_atanyOf 1 | string상위 객체에서 필수 |
|
action.completed_atanyOf 2 | null상위 객체에서 필수 | — |
replayed | boolean상위 객체에서 필수 | — |
전체 JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"const": "advertising/v1"
},
"action": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspace_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"advertising_account_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"mutation_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"enum": [
"prepared",
"queued",
"processing",
"succeeded",
"failed",
"unknown",
"cancelled"
]
},
"command": {
"oneOf": [
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create_campaign"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"budget": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"daily",
"lifetime"
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$"
}
},
"required": [
"kind",
"amount_minor"
]
},
"objective": {
"type": "string",
"enum": [
"OUTCOME_AWARENESS",
"OUTCOME_ENGAGEMENT",
"OUTCOME_LEADS",
"OUTCOME_SALES",
"OUTCOME_TRAFFIC",
"OUTCOME_APP_PROMOTION"
]
},
"special_ad_categories": {
"default": [],
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREDIT",
"EMPLOYMENT",
"HOUSING",
"ISSUES_ELECTIONS_POLITICS"
]
}
},
"status": {
"default": "PAUSED",
"type": "string",
"const": "PAUSED"
}
},
"required": [
"operation",
"name",
"objective",
"special_ad_categories",
"status"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "update_campaign"
},
"object_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"budget": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"daily",
"lifetime"
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$"
}
},
"required": [
"kind",
"amount_minor"
]
},
"status": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED",
"ARCHIVED"
]
}
},
"required": [
"operation",
"object_id"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create_adset"
},
"campaign_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"budget": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"daily",
"lifetime"
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$"
}
},
"required": [
"kind",
"amount_minor"
]
},
"targeting": {
"type": "object",
"properties": {
"geo_locations": {
"type": "object",
"properties": {
"countries": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
}
},
"required": [
"countries"
]
},
"age_min": {
"default": 18,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"age_max": {
"default": 65,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"genders": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
}
},
"locales": {
"maxItems": 25,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"publisher_platforms": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"facebook",
"instagram",
"threads"
]
}
},
"facebook_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"feed",
"story",
"facebook_reels",
"video_feeds"
]
}
},
"instagram_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"stream",
"story",
"reels",
"explore"
]
}
},
"threads_positions": {
"maxItems": 1,
"type": "array",
"items": {
"type": "string",
"const": "threads_stream"
}
},
"custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
},
"excluded_custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
}
},
"required": [
"geo_locations",
"age_min",
"age_max",
"publisher_platforms"
]
},
"billing_event": {
"type": "string",
"enum": [
"IMPRESSIONS",
"LINK_CLICKS"
]
},
"optimization_goal": {
"type": "string",
"enum": [
"REACH",
"IMPRESSIONS",
"LINK_CLICKS",
"LANDING_PAGE_VIEWS",
"OFFSITE_CONVERSIONS",
"LEAD_GENERATION"
]
},
"bid_strategy": {
"default": "LOWEST_COST_WITHOUT_CAP",
"type": "string",
"const": "LOWEST_COST_WITHOUT_CAP"
},
"start_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"end_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"promoted_object": {
"type": "object",
"properties": {
"page_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"pixel_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"custom_event_type": {
"type": "string",
"enum": [
"PURCHASE",
"LEAD",
"COMPLETE_REGISTRATION",
"ADD_TO_CART"
]
}
}
},
"status": {
"default": "PAUSED",
"type": "string",
"const": "PAUSED"
}
},
"required": [
"operation",
"campaign_id",
"name",
"targeting",
"billing_event",
"optimization_goal",
"bid_strategy",
"status"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "update_adset"
},
"object_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"budget": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"daily",
"lifetime"
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$"
}
},
"required": [
"kind",
"amount_minor"
]
},
"status": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED",
"ARCHIVED"
]
},
"targeting": {
"type": "object",
"properties": {
"geo_locations": {
"type": "object",
"properties": {
"countries": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
}
},
"required": [
"countries"
]
},
"age_min": {
"default": 18,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"age_max": {
"default": 65,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"genders": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
}
},
"locales": {
"maxItems": 25,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"publisher_platforms": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"facebook",
"instagram",
"threads"
]
}
},
"facebook_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"feed",
"story",
"facebook_reels",
"video_feeds"
]
}
},
"instagram_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"stream",
"story",
"reels",
"explore"
]
}
},
"threads_positions": {
"maxItems": 1,
"type": "array",
"items": {
"type": "string",
"const": "threads_stream"
}
},
"custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
},
"excluded_custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
}
},
"required": [
"geo_locations",
"age_min",
"age_max",
"publisher_platforms"
]
},
"start_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"end_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"operation",
"object_id"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create_ad"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"adset_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"creative_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"status": {
"default": "PAUSED",
"type": "string",
"const": "PAUSED"
}
},
"required": [
"operation",
"name",
"adset_id",
"creative_id",
"status"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "update_ad"
},
"object_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"creative_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"status": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED",
"ARCHIVED"
]
}
},
"required": [
"operation",
"object_id"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create_creative"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"object_story_spec": {
"type": "object",
"properties": {
"page_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"instagram_user_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"link_data": {
"type": "object",
"properties": {
"link": {
"type": "string",
"maxLength": 2048,
"format": "uri"
},
"message": {
"type": "string",
"maxLength": 5000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"image_hash": {
"type": "string",
"pattern": "^[a-fA-F0-9]{16,128}$"
},
"call_to_action": {
"type": "string",
"enum": [
"LEARN_MORE",
"SHOP_NOW",
"SIGN_UP",
"CONTACT_US"
]
}
},
"required": [
"link",
"message",
"image_hash"
]
}
},
"required": [
"page_id",
"link_data"
]
},
"object_story_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}_[1-9]\\d{1,24}$"
}
},
"required": [
"operation",
"name"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create_saved_audience"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"targeting": {
"type": "object",
"properties": {
"geo_locations": {
"type": "object",
"properties": {
"countries": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
}
},
"required": [
"countries"
]
},
"age_min": {
"default": 18,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"age_max": {
"default": 65,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"genders": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
}
},
"locales": {
"maxItems": 25,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"publisher_platforms": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"facebook",
"instagram",
"threads"
]
}
},
"facebook_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"feed",
"story",
"facebook_reels",
"video_feeds"
]
}
},
"instagram_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"stream",
"story",
"reels",
"explore"
]
}
},
"threads_positions": {
"maxItems": 1,
"type": "array",
"items": {
"type": "string",
"const": "threads_stream"
}
},
"custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
},
"excluded_custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
}
},
"required": [
"geo_locations",
"age_min",
"age_max",
"publisher_platforms"
]
}
},
"required": [
"operation",
"name",
"targeting"
]
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "update_saved_audience"
},
"object_id": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"targeting": {
"type": "object",
"properties": {
"geo_locations": {
"type": "object",
"properties": {
"countries": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
}
},
"required": [
"countries"
]
},
"age_min": {
"default": 18,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"age_max": {
"default": 65,
"type": "integer",
"minimum": 18,
"maximum": 65
},
"genders": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
}
},
"locales": {
"maxItems": 25,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"publisher_platforms": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"facebook",
"instagram",
"threads"
]
}
},
"facebook_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"feed",
"story",
"facebook_reels",
"video_feeds"
]
}
},
"instagram_positions": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"stream",
"story",
"reels",
"explore"
]
}
},
"threads_positions": {
"maxItems": 1,
"type": "array",
"items": {
"type": "string",
"const": "threads_stream"
}
},
"custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
},
"excluded_custom_audience_ids": {
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
}
}
},
"required": [
"geo_locations",
"age_min",
"age_max",
"publisher_platforms"
]
}
},
"required": [
"operation",
"object_id"
]
}
]
},
"reviewed_digest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"effects": {
"type": "object",
"properties": {
"creates_object": {
"type": "boolean"
},
"initial_status": {
"anyOf": [
{
"type": "string",
"const": "PAUSED"
},
{
"type": "null"
}
]
},
"activates_delivery": {
"type": "boolean"
},
"changes_budget": {
"type": "boolean"
},
"changes_audience": {
"type": "boolean"
},
"changes_creative": {
"type": "boolean"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"budget": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"daily",
"lifetime"
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$"
}
},
"required": [
"kind",
"amount_minor"
]
},
{
"type": "null"
}
]
}
},
"required": [
"creates_object",
"initial_status",
"activates_delivery",
"changes_budget",
"changes_audience",
"changes_creative",
"currency",
"timezone",
"budget"
]
},
"live_approval": {
"type": "object",
"properties": {
"required": {
"type": "boolean"
},
"state": {
"type": "string",
"enum": [
"not_required",
"missing",
"approved",
"expired",
"revoked",
"invalid"
]
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"expires_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"approved_by": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"required",
"state",
"reason",
"expires_at",
"approved_by"
]
},
"provider_object_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[1-9]\\d{1,24}$"
},
{
"type": "null"
}
]
},
"failure_code": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"completed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspace_id",
"advertising_account_id",
"mutation_id",
"status",
"command",
"reviewed_digest",
"effects",
"live_approval",
"provider_object_id",
"failure_code",
"created_at",
"completed_at"
]
},
"replayed": {
"type": "boolean"
}
},
"required": [
"contract_version",
"action",
"replayed"
]
}오류 및 안전한 재시도
HTTP 상태와 응답 본문을 확인하세요. 400 검증 오류에는 ZodError가 포함될 수 있으며, 핸들러 오류는 error, message, code 필드를 사용합니다. 진단용 request_id 또는 x-request-id를 자격 증명 없이 보관하세요. 401/403 접근 오류는 재시도 전에 해결하고 429에는 Retry-After를 따르세요. 쓰기 결과가 불확실하거나 5xx를 반환하면 먼저 기존 결과를 읽으세요. 지원하는 작업에서만 멱등성 키를 재사용하세요. 재시도 동작은 작업마다 다르며 정확히 한 번 전송을 보장하지 않습니다.
문제 해결 안내예제
예제는 스키마로 확인한 가상 값을 사용합니다. ID를 사용 권한이 있는 값으로, 미디어를 준비된 에셋으로, 날짜를 확인된 게시 시각으로 바꾸세요. 쓰기 제출 전에 계정 적격성을 확인하세요. 이 페이지는 API 요청을 보내지 않습니다.
서버에서 SOSOAPI_ACCESS_TOKEN에 이 작업이 허용하는 자격 증명을 설정하고 브라우저 코드에 넣지 마세요. AI 에이전트는 sosoapi auth login으로 브라우저 로그인하며 CLI가 자격 증명을 갱신하게 하세요.
request.json
{
"workspace_id": "11111111-1111-4111-8111-111111111111",
"action_id": "11111111-1111-4111-8111-111111111111"
}cURL
curl --request POST \
"https://gqeshlawtcexsapabaui.supabase.co/functions/v1/advertising-api/actions/status" \
-H "Authorization: Bearer $SOSOAPI_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
--data-binary @request.jsonJavaScript
// Server-side JavaScript. Do not print tokens or credential-bearing responses.
const token = process.env.SOSOAPI_ACCESS_TOKEN;
if (!token) throw new Error("Set an accepted credential for this operation");
const response = await fetch("https://gqeshlawtcexsapabaui.supabase.co/functions/v1/advertising-api/actions/status", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer " + token },
body: JSON.stringify({
"workspace_id": "11111111-1111-4111-8111-111111111111",
"action_id": "11111111-1111-4111-8111-111111111111"
})
});
const result = await response.json();
// Check response.ok, the operation-specific body and completion state before continuing.CLI
npx sosoapi api post /advertising-api/actions/status < request.json합성 응답 예제
{
"contract_version": "advertising/v1",
"action": {
"id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "11111111-1111-4111-8111-111111111111",
"advertising_account_id": "11111111-1111-4111-8111-111111111111",
"mutation_id": "11111111-1111-4111-8111-111111111111",
"status": "prepared",
"command": {
"operation": "create_campaign",
"name": "example",
"objective": "OUTCOME_AWARENESS",
"special_ad_categories": [],
"status": "PAUSED"
},
"reviewed_digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"effects": {
"creates_object": false,
"initial_status": null,
"activates_delivery": false,
"changes_budget": false,
"changes_audience": false,
"changes_creative": false,
"currency": "USD",
"timezone": "UTC",
"budget": null
},
"live_approval": {
"required": false,
"state": "not_required",
"reason": null,
"expires_at": null,
"approved_by": null
},
"provider_object_id": null,
"failure_code": null,
"created_at": "2099-01-15T09:00:00Z",
"completed_at": null
},
"replayed": false
}