# Update an ad **PATCH /advertising/v1.0/ads/{adId}** Endpoint for updating advertisements. ## Servers - http://apis.public-staging.reas.cz: http://apis.public-staging.reas.cz () ## Authentication methods - Token ## Parameters ### Path parameters - **adId** (string) Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be **thirdPartyId**, if it has been provided in the request body of the advertisement **insert** endpoint. ### Body: application/json (object) - **status** (string | null) This field controls the publicity status of the ad. Ads with status `open` and `reserved` will be publicly visible. Others will be hidden. If the advertised property was sold, use status `sold`. If the advertised property failed to sell and should be hidden, use the status `lost`. If you don't have the information about whether the property was sold or failed to sell or you want to hide it for any other reason, use the status `inactive`. If not provided upon insertion, it will default to `open`. - **type** (string | null) - **advertiserId** (string) Id of an advertiser. It is either id that was provided in the response of the insert endpoint or it can be **thirdPartyId**, if it has been provided in the request body of the advertiser **insert** endpoint. - **advertisingCompanyId** (string | null) Id of a company. It is either id that was provided in the response of the insert endpoint or it can be **thirdPartyId**, if it has been provided in the request body of the company **insert** endpoint. - **price** (number(float) | null) Use total price for type `sell` and monthly rent for type `rent`. - **currency** (string | null) - **priceNote** (string | null) - **location** (string) Most accurate location description of a location. Preferably exact address in the format common for the given country. If that isn't possible, provide us with the most accurate location description possible. (eg. '{street name}, {city}') - **locationAccuracy** (string | null) Accuracy of the provided location. If not provided upon insertion, will default to `exact`. - If accuracy is missing or is set to `exact` we will display the exact location that was provided. - If accuracy is set to other value we will try to find the closest entity of provided type, if we don't find it we will display the nearest non-exact entity we can find (eg. street) - **description** (string | null) - **referenceId** (string | null) Also known as 'advert_code' on other platforms. - **matterportUrl** (string | null) - **possibleMoveInDate** (string(date-time) | null) - **estimatedOtherCosts** (number(float) | null) - **point** (object | null) - **property** (object) ## Responses ### 200 Advertisement successfully updated #### Body: application/json (object) - **success** (boolean) - **data** (object) ### 404 Advertisement does not exist. [Powered by Bump.sh](https://bump.sh)