AI-generated Key Takeaways
-
The OrderDocument resource represents properties of a Planning order document, including details like title, type, effective date, and approval status.
-
Order documents can be either insertion orders or change orders, and they track changes made to associated planning orders.
-
Key properties include IDs for the order document, associated order, account, subaccount, advertiser, and project, along with timestamps for creation and last email sent.
-
You can retrieve individual order documents by ID or list them, applying filters if needed, using the provided methods.
-
OrderDocument resources are part of the Planning API within DCM and contain information about Planning orders like title, ID, type, and associated accounts.
Resource: OrderDocument
Contains properties of a Planning order document.
JSON representation |
---|
{ "id": string, "kind": string, "title": string, "type": enum ( |
Fields | |
---|---|
id |
ID of this order document. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
title |
Title of this order document. |
type |
Type of this order document |
amendedOrderDocumentId |
The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved. |
effectiveDate |
Effective date of this order document. |
signed |
Whether this order document has been signed. |
cancelled |
Whether this order document is cancelled. |
approvedByUserProfileIds[] |
IDs of users who have approved this order document. |
createdInfo |
Information about the creation of this order document. |
lastSentTime |
Timestamp of the last email sent with this order document. |
lastSentRecipients[] |
accountPermissionGroups.list of email addresses that received the last sent document. |
orderId |
ID of the order from which this order document is created. |
accountId |
Account ID of this order document. |
subaccountId |
Subaccount ID of this order document. |
advertiserId |
Advertiser ID of this order document. |
projectId |
Project ID of this order document. |
Type
Enums | |
---|---|
PLANNING_ORDER_TYPE_INSERTION_ORDER |
|
PLANNING_ORDER_TYPE_CHANGE_ORDER |
Methods |
|
---|---|
|
Gets one order document by ID. |
|
Retrieves a list of order documents, possibly filtered. |