ads
Update an ad
Changed onPartial update. Send only the fields you want to change; omitted fields keep their values, and a field you do send replaces the stored value in full (arrays included). Changes reach the ad platforms on the next sync.
Errors
- 404 NOT_FOUND: no ad with this id in the active Space.
- 400 VALIDATION_ERROR: the body failed validation; details.issues[] names each field.
- 409 COMPETITOR_SIMILARITY: the copy is too close to an ad by a competitor this business tracks, or names one. details says which ad it collided with and whether overridable is true; resend with competitorSimilarityAck: true to save manual copy anyway (recorded on the ad). Generated copy can never override.
put/api/v1/ads/{id}
Request
- Base URL: https://api.growomat.com
- URL: https://api.growomat.com/api/v1/ads/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The ad id.
Headers
X-Space-Idstring
The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.
Request body
Response
OK. The result is in data. List responses also carry meta with nextCursor and total.
Changes
- info
added the new optional request property
- info