GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts.adexchangebuyer2_accounts_proposals_accept

You're seeing just the function adexchangebuyer2_accounts_proposals_accept, go back to GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts module for more information.
Link to this function

adexchangebuyer2_accounts_proposals_accept(connection, account_id, proposal_id, optional_params \\ [], opts \\ [])

View Source

Specs

adexchangebuyer2_accounts_proposals_accept(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.AdExchangeBuyer.V2beta1.Model.Proposal.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Mark the proposal as accepted at the given revision number. If the number does not match the server's revision number an ABORTED error message will be returned. This call updates the proposal_state from PROPOSED to BUYER_ACCEPTED, or from SELLER_ACCEPTED to FINALIZED. Upon calling this endpoint, the buyer implicitly agrees to the terms and conditions optionally set within the proposal by the publisher.

Parameters

  • connection (type: GoogleApi.AdExchangeBuyer.V2beta1.Connection.t) - Connection to server
  • account_id (type: String.t) - Account ID of the buyer.
  • proposal_id (type: String.t) - The ID of the proposal to accept.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.AcceptProposalRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.AdExchangeBuyer.V2beta1.Model.Proposal{}} on success
  • {:error, info} on failure