GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts.adexchangebuyer2_accounts_proposals_update
You're seeing just the function
adexchangebuyer2_accounts_proposals_update
, go back to GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts module for more information.
Link to this function
adexchangebuyer2_accounts_proposals_update(connection, account_id, proposal_id, optional_params \\ [], opts \\ [])
View SourceSpecs
adexchangebuyer2_accounts_proposals_update( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AdExchangeBuyer.V2beta1.Model.Proposal.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision
, an ABORTED
error message will be returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a deal_id
, the server will assign a new unique ID and create the deal. If passed-in deal has a deal_id
, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a deal_id
not present at head.
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 unique ID of the proposal. -
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.Proposal.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AdExchangeBuyer.V2beta1.Model.Proposal{}}
on success -
{:error, info}
on failure