partners

Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.

post/v4/partners/{partnerId}/channels/{+channelId}/sites:replace

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{+channelId}/sites:replace
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)

Path parameters

partnerIdstring required

The ID of the partner that owns the parent channel.

channelIdstring required

Required. The ID of the parent channel whose sites will be replaced.

Request body

advertiserIdstring int64

The ID of the advertiser that owns the parent channel.

partnerIdstring int64

The ID of the partner that owns the parent channel.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status