GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts.adexchangebuyer2_accounts_proposals_pause
You're seeing just the function
adexchangebuyer2_accounts_proposals_pause
, go back to GoogleApi.AdExchangeBuyer.V2beta1.Api.Accounts module for more information.
Link to this function
adexchangebuyer2_accounts_proposals_pause(connection, account_id, proposal_id, optional_params \\ [], opts \\ [])
View SourceSpecs
adexchangebuyer2_accounts_proposals_pause( 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 to pause serving. This method will set the DealServingMetadata.DealPauseStatus.has_buyer_paused
bit to true for all deals in the proposal. It is a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is not finalized or renegotiating.
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 pause. -
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.PauseProposalRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AdExchangeBuyer.V2beta1.Model.Proposal{}}
on success -
{:error, info}
on failure