UNPKG

@niur/google-admanager-api

Version:
91 lines 4.56 kB
/** * Represents the actions that can be performed on {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. */ export declare abstract class ProposalAction { buildAttributes(): object; } /** * The action used for archiving {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. */ export declare class ArchiveProposals implements ProposalAction { buildAttributes(): object; } /** * The action reverting the local {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} modifications to reflect the latest terms and private data in Marketplace. */ export declare class DiscardLocalVersionEdits implements ProposalAction { buildAttributes(): object; } /** * Opens the fields of a {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} for edit. * This proposal will not receive updates from Marketplace while it's open for edit. * If the buyer updates the proposal while it is open for local editing, * Google will set {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.ProposalMarketplaceInfo#isNewVersionFromBuyer ProposalMarketplaceInfo.isNewVersionFromBuyer} to true. * You will then need to call DiscardProposalDrafts to revert your edits to get the buyer's latest changes, * and then perform this action to start making your edits again. */ export declare class EditProposalsForNegotiation implements ProposalAction { buildAttributes(): object; } /** * The action used for pausing programmatic {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. */ export declare class PauseProposals implements ProposalAction { private reasonField; get reason(): string; set reason(value: string); buildAttributes(): object; } /** * The action used to request acceptance from the buyer for the * {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} through Marketplace. * This action does check forecasting unless * {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.RequestBuyerAcceptance#allowOverbook allowOverbook} is set to true. */ export declare class RequestBuyerAcceptance implements ProposalAction { private allowOverbookField; get allowOverbook(): boolean; set allowOverbook(value: boolean); buildAttributes(): object; } /** * The action used to request buyer review for the {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal}. */ export declare class RequestBuyerReview implements ProposalAction { buildAttributes(): object; } /** * The action to reserve inventory for {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. * It does not allow overbooking unless {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.ReserveProposals#allowOverbook allowOverbook} is set to true. */ export declare class ReserveProposals implements ProposalAction { private allowOverbookField; get allowOverbook(): boolean; set allowOverbook(value: boolean); buildAttributes(): object; } /** * The action used for resuming programmatic {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. */ export declare class ResumeProposals implements ProposalAction { buildAttributes(): object; } /** * The action for marking all negotiations on the {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} as terminated in Marketplace. */ export declare class TerminateNegotiations implements ProposalAction { buildAttributes(): object; } /** * The action used for unarchiving {@link https://developers.google.com/ad-manager/api/reference/v202202/ProposalService.Proposal Proposal} objects. */ export declare class UnarchiveProposals implements ProposalAction { buildAttributes(): object; } /** * The action to update a finalized Marketplace {@link https://developers.google.com/ad-manager/api/reference/v202202/OrderService.Order Order} with the seller's data. */ export declare class UpdateOrderWithSellerData implements ProposalAction { buildAttributes(): object; } //# sourceMappingURL=proposal.action.d.ts.map