Ad Exchange Buyer API II: accounts. Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. See: https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts
Ad Exchange Buyer API II: accounts. Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. See: https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts
(clients-create$ auth args body)
Required parameters: accountId
Optional parameters: none
Body:
{:role string, :entityName string, :partnerClientId string, :clientAccountId string, :visibleToSeller boolean, :status string, :entityId string, :entityType string, :clientName string}
Creates a new client buyer.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/create Required parameters: accountId Optional parameters: none Body: {:role string, :entityName string, :partnerClientId string, :clientAccountId string, :visibleToSeller boolean, :status string, :entityId string, :entityType string, :clientName string} Creates a new client buyer.
(clients-get$ auth args)
Required parameters: accountId, clientAccountId
Optional parameters: none Gets a client buyer with a given client account ID.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/get Required parameters: accountId, clientAccountId Optional parameters: none Gets a client buyer with a given client account ID.
(clients-invitations-create$ auth args body)
Required parameters: accountId, clientAccountId
Optional parameters: none
Body:
{:clientAccountId string, :invitationId string, :email string}
Creates and sends out an email invitation to access an Ad Exchange client buyer account.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/invitations/create Required parameters: accountId, clientAccountId Optional parameters: none Body: {:clientAccountId string, :invitationId string, :email string} Creates and sends out an email invitation to access an Ad Exchange client buyer account.
(clients-invitations-get$ auth args)
Required parameters: accountId, clientAccountId, invitationId
Optional parameters: none Retrieves an existing client user invitation.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/invitations/get Required parameters: accountId, clientAccountId, invitationId Optional parameters: none Retrieves an existing client user invitation.
(clients-invitations-list$ auth args)
Required parameters: accountId, clientAccountId
Optional parameters: pageToken, pageSize Lists all the client users invitations for a client with a given account ID.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/invitations/list Required parameters: accountId, clientAccountId Optional parameters: pageToken, pageSize Lists all the client users invitations for a client with a given account ID.
(clients-list$ auth args)
Required parameters: accountId
Optional parameters: pageToken, partnerClientId, pageSize Lists all the clients for the current sponsor buyer.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/list Required parameters: accountId Optional parameters: pageToken, partnerClientId, pageSize Lists all the clients for the current sponsor buyer.
(clients-update$ auth args body)
Required parameters: accountId, clientAccountId
Optional parameters: none
Body:
{:role string, :entityName string, :partnerClientId string, :clientAccountId string, :visibleToSeller boolean, :status string, :entityId string, :entityType string, :clientName string}
Updates an existing client buyer.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/update Required parameters: accountId, clientAccountId Optional parameters: none Body: {:role string, :entityName string, :partnerClientId string, :clientAccountId string, :visibleToSeller boolean, :status string, :entityId string, :entityType string, :clientName string} Updates an existing client buyer.
(clients-users-get$ auth args)
Required parameters: accountId, clientAccountId, userId
Optional parameters: none Retrieves an existing client user.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/users/get Required parameters: accountId, clientAccountId, userId Optional parameters: none Retrieves an existing client user.
(clients-users-list$ auth args)
Required parameters: clientAccountId, accountId
Optional parameters: pageToken, pageSize Lists all the known client users for a specified sponsor buyer account ID.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/users/list Required parameters: clientAccountId, accountId Optional parameters: pageToken, pageSize Lists all the known client users for a specified sponsor buyer account ID.
(clients-users-update$ auth args body)
Required parameters: userId, accountId, clientAccountId
Optional parameters: none
Body:
{:status string, :userId string, :email string, :clientAccountId string}
Updates an existing client user. Only the user status can be changed on update.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/clients/users/update Required parameters: userId, accountId, clientAccountId Optional parameters: none Body: {:status string, :userId string, :email string, :clientAccountId string} Updates an existing client user. Only the user status can be changed on update.
(creatives-create$ auth args body)
Required parameters: accountId
Optional parameters: duplicateIdMode
Body:
{:video {:videoUrl string, :videoVastXml string}, :detectedProductCategories [integer], :servingRestrictions [{:disapprovalReasons [Disapproval], :contexts [ServingContext], :disapproval Disapproval, :status string}], :declaredClickThroughUrls [string], :advertiserName string, :adTechnologyProviders {:hasUnidentifiedProvider boolean, :detectedProviderIds [string]}, :adChoicesDestinationUrl string, :impressionTrackingUrls [string], :dealsStatus string, :apiUpdateTime string, :detectedSensitiveCategories [integer], :openAuctionStatus string, :restrictedCategories [string], :corrections [{:type string, :contexts [ServingContext], :details [string]}], :detectedDomains [string], :detectedLanguages [string], :creativeId string, :native {:clickLinkUrl string, :headline string, :starRating number, :storeUrl string, :logo Image, :advertiserName string, :appIcon Image, :priceDisplayText string, :callToAction string, :clickTrackingUrl string, :videoUrl string, :image Image, :body string}, :detectedAdvertiserIds [string], :vendorIds [integer], :agencyId string, :version integer, :attributes [string], :accountId string, :clickThroughUrls [string], :html {:height integer, :width integer, :snippet string}}
Creates a creative.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/create Required parameters: accountId Optional parameters: duplicateIdMode Body: {:video {:videoUrl string, :videoVastXml string}, :detectedProductCategories [integer], :servingRestrictions [{:disapprovalReasons [Disapproval], :contexts [ServingContext], :disapproval Disapproval, :status string}], :declaredClickThroughUrls [string], :advertiserName string, :adTechnologyProviders {:hasUnidentifiedProvider boolean, :detectedProviderIds [string]}, :adChoicesDestinationUrl string, :impressionTrackingUrls [string], :dealsStatus string, :apiUpdateTime string, :detectedSensitiveCategories [integer], :openAuctionStatus string, :restrictedCategories [string], :corrections [{:type string, :contexts [ServingContext], :details [string]}], :detectedDomains [string], :detectedLanguages [string], :creativeId string, :native {:clickLinkUrl string, :headline string, :starRating number, :storeUrl string, :logo Image, :advertiserName string, :appIcon Image, :priceDisplayText string, :callToAction string, :clickTrackingUrl string, :videoUrl string, :image Image, :body string}, :detectedAdvertiserIds [string], :vendorIds [integer], :agencyId string, :version integer, :attributes [string], :accountId string, :clickThroughUrls [string], :html {:height integer, :width integer, :snippet string}} Creates a creative.
(creatives-dealAssociations-add$ auth args body)
Required parameters: accountId, creativeId
Optional parameters: none
Body:
{:association {:accountId string, :creativeId string, :dealsId string}}
Associate an existing deal with a creative.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/dealAssociations/add Required parameters: accountId, creativeId Optional parameters: none Body: {:association {:accountId string, :creativeId string, :dealsId string}} Associate an existing deal with a creative.
(creatives-dealAssociations-list$ auth args)
Required parameters: accountId, creativeId
Optional parameters: pageToken, pageSize, query List all creative-deal associations.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/dealAssociations/list Required parameters: accountId, creativeId Optional parameters: pageToken, pageSize, query List all creative-deal associations.
(creatives-dealAssociations-remove$ auth args body)
Required parameters: accountId, creativeId
Optional parameters: none
Body:
{:association {:accountId string, :creativeId string, :dealsId string}}
Remove the association between a deal and a creative.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/dealAssociations/remove Required parameters: accountId, creativeId Optional parameters: none Body: {:association {:accountId string, :creativeId string, :dealsId string}} Remove the association between a deal and a creative.
(creatives-get$ auth args)
Required parameters: accountId, creativeId
Optional parameters: none Gets a creative.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/get Required parameters: accountId, creativeId Optional parameters: none Gets a creative.
(creatives-list$ auth args)
Required parameters: accountId
Optional parameters: pageToken, pageSize, query Lists creatives.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/list Required parameters: accountId Optional parameters: pageToken, pageSize, query Lists creatives.
(creatives-stopWatching$ auth args body)
Required parameters: accountId, creativeId
Optional parameters: none
Body:
{}
Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/stopWatching Required parameters: accountId, creativeId Optional parameters: none Body: {} Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.
(creatives-update$ auth args body)
Required parameters: accountId, creativeId
Optional parameters: none
Body:
{:video {:videoUrl string, :videoVastXml string}, :detectedProductCategories [integer], :servingRestrictions [{:disapprovalReasons [Disapproval], :contexts [ServingContext], :disapproval Disapproval, :status string}], :declaredClickThroughUrls [string], :advertiserName string, :adTechnologyProviders {:hasUnidentifiedProvider boolean, :detectedProviderIds [string]}, :adChoicesDestinationUrl string, :impressionTrackingUrls [string], :dealsStatus string, :apiUpdateTime string, :detectedSensitiveCategories [integer], :openAuctionStatus string, :restrictedCategories [string], :corrections [{:type string, :contexts [ServingContext], :details [string]}], :detectedDomains [string], :detectedLanguages [string], :creativeId string, :native {:clickLinkUrl string, :headline string, :starRating number, :storeUrl string, :logo Image, :advertiserName string, :appIcon Image, :priceDisplayText string, :callToAction string, :clickTrackingUrl string, :videoUrl string, :image Image, :body string}, :detectedAdvertiserIds [string], :vendorIds [integer], :agencyId string, :version integer, :attributes [string], :accountId string, :clickThroughUrls [string], :html {:height integer, :width integer, :snippet string}}
Updates a creative.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/update Required parameters: accountId, creativeId Optional parameters: none Body: {:video {:videoUrl string, :videoVastXml string}, :detectedProductCategories [integer], :servingRestrictions [{:disapprovalReasons [Disapproval], :contexts [ServingContext], :disapproval Disapproval, :status string}], :declaredClickThroughUrls [string], :advertiserName string, :adTechnologyProviders {:hasUnidentifiedProvider boolean, :detectedProviderIds [string]}, :adChoicesDestinationUrl string, :impressionTrackingUrls [string], :dealsStatus string, :apiUpdateTime string, :detectedSensitiveCategories [integer], :openAuctionStatus string, :restrictedCategories [string], :corrections [{:type string, :contexts [ServingContext], :details [string]}], :detectedDomains [string], :detectedLanguages [string], :creativeId string, :native {:clickLinkUrl string, :headline string, :starRating number, :storeUrl string, :logo Image, :advertiserName string, :appIcon Image, :priceDisplayText string, :callToAction string, :clickTrackingUrl string, :videoUrl string, :image Image, :body string}, :detectedAdvertiserIds [string], :vendorIds [integer], :agencyId string, :version integer, :attributes [string], :accountId string, :clickThroughUrls [string], :html {:height integer, :width integer, :snippet string}} Updates a creative.
(creatives-watch$ auth args body)
Required parameters: accountId, creativeId
Optional parameters: none
Body:
{:topic string}
Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/creatives/watch Required parameters: accountId, creativeId Optional parameters: none Body: {:topic string} Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
(finalizedProposals-list$ auth args)
Required parameters: accountId
Optional parameters: pageToken, pageSize, filterSyntax, filter List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will not be returned.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/finalizedProposals/list Required parameters: accountId Optional parameters: pageToken, pageSize, filterSyntax, filter List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will not be returned.
(products-get$ auth args)
Required parameters: accountId, productId
Optional parameters: none Gets the requested product by ID.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/products/get Required parameters: accountId, productId Optional parameters: none Gets the requested product by ID.
(products-list$ auth args)
Required parameters: accountId
Optional parameters: pageToken, pageSize, filter List all products visible to the buyer (optionally filtered by the specified PQL query).
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/products/list Required parameters: accountId Optional parameters: pageToken, pageSize, filter List all products visible to the buyer (optionally filtered by the specified PQL query).
(proposals-accept$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{:proposalRevision string}
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
.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/accept Required parameters: accountId, proposalId Optional parameters: none Body: {:proposalRevision string} 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`.
(proposals-addNote$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{:note {:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}}
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.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/addNote Required parameters: accountId, proposalId Optional parameters: none Body: {:note {:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}} 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.
(proposals-cancelNegotiation$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{}
Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/cancelNegotiation Required parameters: accountId, proposalId Optional parameters: none Body: {} Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally.
(proposals-completeSetup$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{}
Update the given proposal to indicate that setup has been completed.
This method is called by the buyer when the line items have been created
on their end for a finalized proposal and all the required creatives
have been uploaded using the creatives API. This call updates the
is_setup_completed
bit on the proposal and also notifies the seller.
The server will advance the revision number of the most recent proposal.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/completeSetup Required parameters: accountId, proposalId Optional parameters: none Body: {} Update the given proposal to indicate that setup has been completed. This method is called by the buyer when the line items have been created on their end for a finalized proposal and all the required creatives have been uploaded using the creatives API. This call updates the `is_setup_completed` bit on the proposal and also notifies the seller. The server will advance the revision number of the most recent proposal.
(proposals-create$ auth args body)
Required parameters: accountId
Optional parameters: none
Body:
{:isSetupComplete boolean, :displayName string, :billedBuyer {:accountId string}, :proposalRevision string, :originatorRole string, :updateTime string, :proposalState string, :notes [{:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}], :lastUpdaterOrCommentorRole string, :deals [{:syndicationProduct string, :description string, :createProductRevision string, :isSetupComplete boolean, :displayName string, :creativePreApprovalPolicy string, :createTime string, :targetingCriterion [TargetingCriteria], :dealServingMetadata DealServingMetadata, :updateTime string, :creativeSafeFrameCompatibility string, :programmaticCreativeSource string, :webPropertyCode string, :createProductId string, :buyerPrivateData PrivateData, :externalDealId string, :creativeRestrictions CreativeRestrictions, :proposalId string, :deliveryControl DeliveryControl, :availableStartTime string, :sellerContacts [ContactInformation], :dealTerms DealTerms, :dealId string, :targeting MarketplaceTargeting, :availableEndTime string}], :buyerPrivateData {:referenceId string}, :buyerContacts [{:email string, :name string}], :proposalId string, :buyer {:accountId string}, :sellerContacts [{:email string, :name string}], :privateAuctionId string, :seller {:subAccountId string, :accountId string}, :isRenegotiating boolean}
Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/create Required parameters: accountId Optional parameters: none Body: {:isSetupComplete boolean, :displayName string, :billedBuyer {:accountId string}, :proposalRevision string, :originatorRole string, :updateTime string, :proposalState string, :notes [{:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}], :lastUpdaterOrCommentorRole string, :deals [{:syndicationProduct string, :description string, :createProductRevision string, :isSetupComplete boolean, :displayName string, :creativePreApprovalPolicy string, :createTime string, :targetingCriterion [TargetingCriteria], :dealServingMetadata DealServingMetadata, :updateTime string, :creativeSafeFrameCompatibility string, :programmaticCreativeSource string, :webPropertyCode string, :createProductId string, :buyerPrivateData PrivateData, :externalDealId string, :creativeRestrictions CreativeRestrictions, :proposalId string, :deliveryControl DeliveryControl, :availableStartTime string, :sellerContacts [ContactInformation], :dealTerms DealTerms, :dealId string, :targeting MarketplaceTargeting, :availableEndTime string}], :buyerPrivateData {:referenceId string}, :buyerContacts [{:email string, :name string}], :proposalId string, :buyer {:accountId string}, :sellerContacts [{:email string, :name string}], :privateAuctionId string, :seller {:subAccountId string, :accountId string}, :isRenegotiating boolean} Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.
(proposals-get$ auth args)
Required parameters: accountId, proposalId
Optional parameters: none Gets a proposal given its ID. The proposal is returned at its head revision.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/get Required parameters: accountId, proposalId Optional parameters: none Gets a proposal given its ID. The proposal is returned at its head revision.
(proposals-list$ auth args)
Required parameters: accountId
Optional parameters: filterSyntax, filter, pageToken, pageSize List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being renegotiated, see the FinalizedProposals resource. Note that Bidder/ChildSeat relationships differ from the usual behavior. A Bidder account can only see its child seats' proposals by specifying the ChildSeat's accountId in the request path.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/list Required parameters: accountId Optional parameters: filterSyntax, filter, pageToken, pageSize List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being renegotiated, see the FinalizedProposals resource. Note that Bidder/ChildSeat relationships differ from the usual behavior. A Bidder account can only see its child seats' proposals by specifying the ChildSeat's accountId in the request path.
(proposals-pause$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{:reason string}
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.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/pause Required parameters: accountId, proposalId Optional parameters: none Body: {:reason string} 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.
(proposals-resume$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{}
Update the given proposal to resume serving.
This method will set the
DealServingMetadata.DealPauseStatus.has_buyer_paused
bit to false for all
deals in the proposal.
Note that if the has_seller_paused
bit is also set, serving will not
resume until the seller also resumes.
It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/resume Required parameters: accountId, proposalId Optional parameters: none Body: {} Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.
(proposals-update$ auth args body)
Required parameters: accountId, proposalId
Optional parameters: none
Body:
{:isSetupComplete boolean, :displayName string, :billedBuyer {:accountId string}, :proposalRevision string, :originatorRole string, :updateTime string, :proposalState string, :notes [{:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}], :lastUpdaterOrCommentorRole string, :deals [{:syndicationProduct string, :description string, :createProductRevision string, :isSetupComplete boolean, :displayName string, :creativePreApprovalPolicy string, :createTime string, :targetingCriterion [TargetingCriteria], :dealServingMetadata DealServingMetadata, :updateTime string, :creativeSafeFrameCompatibility string, :programmaticCreativeSource string, :webPropertyCode string, :createProductId string, :buyerPrivateData PrivateData, :externalDealId string, :creativeRestrictions CreativeRestrictions, :proposalId string, :deliveryControl DeliveryControl, :availableStartTime string, :sellerContacts [ContactInformation], :dealTerms DealTerms, :dealId string, :targeting MarketplaceTargeting, :availableEndTime string}], :buyerPrivateData {:referenceId string}, :buyerContacts [{:email string, :name string}], :proposalId string, :buyer {:accountId string}, :sellerContacts [{:email string, :name string}], :privateAuctionId string, :seller {:subAccountId string, :accountId string}, :isRenegotiating boolean}
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.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/proposals/update Required parameters: accountId, proposalId Optional parameters: none Body: {:isSetupComplete boolean, :displayName string, :billedBuyer {:accountId string}, :proposalRevision string, :originatorRole string, :updateTime string, :proposalState string, :notes [{:creatorRole string, :note string, :proposalRevision string, :noteId string, :createTime string}], :lastUpdaterOrCommentorRole string, :deals [{:syndicationProduct string, :description string, :createProductRevision string, :isSetupComplete boolean, :displayName string, :creativePreApprovalPolicy string, :createTime string, :targetingCriterion [TargetingCriteria], :dealServingMetadata DealServingMetadata, :updateTime string, :creativeSafeFrameCompatibility string, :programmaticCreativeSource string, :webPropertyCode string, :createProductId string, :buyerPrivateData PrivateData, :externalDealId string, :creativeRestrictions CreativeRestrictions, :proposalId string, :deliveryControl DeliveryControl, :availableStartTime string, :sellerContacts [ContactInformation], :dealTerms DealTerms, :dealId string, :targeting MarketplaceTargeting, :availableEndTime string}], :buyerPrivateData {:referenceId string}, :buyerContacts [{:email string, :name string}], :proposalId string, :buyer {:accountId string}, :sellerContacts [{:email string, :name string}], :privateAuctionId string, :seller {:subAccountId string, :accountId string}, :isRenegotiating boolean} 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.
(publisherProfiles-get$ auth args)
Required parameters: accountId, publisherProfileId
Optional parameters: none Gets the requested publisher profile by id.
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/publisherProfiles/get Required parameters: accountId, publisherProfileId Optional parameters: none Gets the requested publisher profile by id.
(publisherProfiles-list$ auth args)
Required parameters: accountId
Optional parameters: pageToken, pageSize List all publisher profiles visible to the buyer
https://developers.google.com/authorized-buyers/apis/reference/rest/api/reference/rest/v2beta1/accounts/publisherProfiles/list Required parameters: accountId Optional parameters: pageToken, pageSize List all publisher profiles visible to the buyer
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close