Browse the help center

Preview re-applying auto-linking to a site

What re-applying auto-linking to every placement of the site would change, after its categories or its placements' labels changed.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/auto-linking.do

What re-applying auto-linking to every placement of the site would change, after its categories or its placements' labels changed. Nothing is written. linkCount: creative-placement links to add, unlinkCount: links to remove, placementCount: placements affected. All zero means the links already follow the auto-linking rules. With auto=true the answer is never an error: without access to the entity, or when nothing can change, it is skipped=false with zero counts. A site of more than 1000 placements open to auto-linking is checked in the background instead: auto=true answers the stored result with checkedAt (epoch milliseconds), or, while there is none or it is out of date, skipped=true, pending=true and placementCount, how many such placements the site has. Without auto the site is checked in full and the result is stored. Requires UPDATE share on the site and APPLY_AUTO_LINKING.

Path Params

siteId integer required

ID of the site

1001

Query Params

auto boolean

Unattended check, e.g. on opening the edit page — answers zero counts instead of an error and skips what cannot change without reading links

true

Responses

200

The change; with auto=true for a large site the stored one, or skipped=true while it is being checked

400

Bad request — invalid or missing parameters

401

Authentication error

403

Missing share or permission; the message names the permission

404

Site not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.