accounts

POST /v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote

Changed on

Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note.

Request

  • Base URL
    https://adexchangebuyer.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/adexchange.buyer
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/adexchange.buyer

Path parameters

accountIdstring required

Account ID of the buyer.

proposalIdstring required

The ID of the proposal to attach the note to.

Request body

Response

Successful response

createTimestring google-datetime

Output only. The timestamp for when this note was created.

creatorRole'BUYER_SELLER_ROLE_UNSPECIFIED' | 'BUYER' | 'SELLER'

Output only. The role of the person (buyer/seller) creating the note.

notestring

The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

noteIdstring

Output only. The unique ID for the note.

proposalRevisionstring int64

Output only. The revision number of the proposal when the note is created.

Changes

    • breaking

      removed the request body

    • breaking

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