AI-generated Key Takeaways
- 
          The OrderDocument resource contains properties of a Planning order document. 
- 
          It includes fields such as ID, title, type, effective date, and boolean indicators for whether it's signed or cancelled. 
- 
          The resource can be retrieved by ID using the getmethod or a list can be retrieved using thelistmethod.
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. |