{"id":691,"date":"2024-01-08T14:50:46","date_gmt":"2024-01-08T14:50:46","guid":{"rendered":"https:\/\/olxdoc.wpenginepowered.com\/?p=691"},"modified":"2024-01-29T14:55:33","modified_gmt":"2024-01-29T14:55:33","slug":"advert-status-codes","status":"publish","type":"post","link":"https:\/\/doc.olxgroup.com\/api\/?p=691","title":{"rendered":"Advert status codes"},"content":{"rendered":"\r\n<h1>Advert status codes<\/h1>\r\n<p><strong>Code<\/strong>\u00a0is sent (when exist) on our notifications webhook, and it represents the actual\u00a0<strong>status<\/strong>\u00a0of the advert as given by the site.<\/p>\r\n<p>You should use these statuses in your own implementation so that you can provide proper feedback to your users, as well as determine which operations you can execute. To see more which operations can be executed for each code, look at\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/publish-advert\" target=\"_self\" rel=\"noopener\">Publish Advert<\/a>\u00a0page.<\/p>\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Code<\/th>\r\n<th>Description<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>active<\/td>\r\n<td>The advert was successfully\u00a0<strong>created<\/strong>\u00a0and\u00a0<strong>published<\/strong>.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>unpaid<\/td>\r\n<td>The advert was\u00a0<strong>not<\/strong>\u00a0successfully\u00a0<strong>created<\/strong>\u00a0due to an unavailable package or insertion slots.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>moderated<br \/>removed_by_moderator<\/td>\r\n<td>The advert was moderated (by a moderator or by a moderation process) and is\u00a0<strong>not published<\/strong>.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>removed_by_user<\/td>\r\n<td>The advert was removed by the user and is\u00a0<strong>not published<\/strong>.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>outdated_by_package<\/td>\r\n<td><strong>Imovirtual Only<\/strong><br \/>The advert expired due to package expiration, is\u00a0<strong>not published<\/strong>\u00a0and will be automatically re-published with package activation.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>removed_by_parent_ad<\/td>\r\n<td><strong>Investments Units Only<\/strong><br \/>* The advert was removed due to parent advert removal.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>outdated<\/td>\r\n<td>The advert got expired after a given period of time and is\u00a0<strong>not published<\/strong>.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n","protected":false},"excerpt":{"rendered":"<p>Advert status codes Code\u00a0is sent (when exist) on our notifications webhook, and it represents the actual\u00a0status\u00a0of the advert as given by the site. You should use these statuses in your own implementation so that you can provide proper feedback to your users, as well as determine which operations you can execute. To see more which&#8230;  <a href=\"https:\/\/doc.olxgroup.com\/api\/?p=691\" title=\"Read Advert status codes\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/691"}],"collection":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=691"}],"version-history":[{"count":0,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/691\/revisions"}],"wp:attachment":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}