Browse the help center

List placement ad-serving domains

Returns the ad-serving domains the placement's tags and URLs may be generated on — the values servingDomain accepts on every placements/update operation, as the console's Domain picker offers them.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/serving-domains.do

Returns the ad-serving domains the placement's tags and URLs may be generated on — the values servingDomain accepts on every placements/update operation, as the console's Domain picker offers them. servingDomain is the one in use: the stored domain, or the first offered when none is stored. editable tells whether the caller may change it, which takes the INVOCATION_CODE_DOMAIN permission and UPDATE access to the placement's site. Requires VIEW access to the placement's site (ALL, or SHARED with a share on the site).

Path Params

placementId integer required

Placement ID

4001

Responses

200

{domains: [..], servingDomain, editable}

400

Bad request — invalid or missing parameters

401

Authentication error

403

No VIEW access to the placement's site

404

Placement not found, deleted, or of a type the placement API does not manage

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.