class Google::Apis::DfareportingV2_1::Order
Describes properties of a DoubleClick Planning order.
Attributes
Account ID of this order. Corresponds to the JSON property `accountId` @return [String]
Advertiser ID of this order. Corresponds to the JSON property `advertiserId` @return [String]
IDs for users that have to approve documents created for this order. Corresponds to the JSON property `approverUserProfileIds` @return [Array<String>]
Buyer invoice ID associated with this order. Corresponds to the JSON property `buyerInvoiceId` @return [String]
Name of the buyer organization. Corresponds to the JSON property `buyerOrganizationName` @return [String]
Comments in this order. Corresponds to the JSON property `comments` @return [String]
Contacts for this order. Corresponds to the JSON property `contacts` @return [Array<Google::Apis::DfareportingV2_1::OrderContact>]
ID of this order. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#order”. Corresponds to the JSON property `kind` @return [String]
Modification timestamp. Corresponds to the JSON property `lastModifiedInfo` @return [Google::Apis::DfareportingV2_1::LastModifiedInfo]
Name of this order. Corresponds to the JSON property `name` @return [String]
Notes of this order. Corresponds to the JSON property `notes` @return [String]
ID of the terms and conditions template used in this order. Corresponds to the JSON property `planningTermId` @return [String]
Project ID of this order. Corresponds to the JSON property `projectId` @return [String]
Seller order ID associated with this order. Corresponds to the JSON property `sellerOrderId` @return [String]
Name of the seller organization. Corresponds to the JSON property `sellerOrganizationName` @return [String]
Site IDs this order is associated with. Corresponds to the JSON property `siteId` @return [Array<String>]
Free-form site names this order is associated with. Corresponds to the JSON property `siteNames` @return [Array<String>]
Subaccount ID of this order. Corresponds to the JSON property `subaccountId` @return [String]
Terms and conditions of this order. Corresponds to the JSON property `termsAndConditions` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6877 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6882 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil? @approver_user_profile_ids = args[:approver_user_profile_ids] unless args[:approver_user_profile_ids].nil? @buyer_invoice_id = args[:buyer_invoice_id] unless args[:buyer_invoice_id].nil? @buyer_organization_name = args[:buyer_organization_name] unless args[:buyer_organization_name].nil? @comments = args[:comments] unless args[:comments].nil? @contacts = args[:contacts] unless args[:contacts].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @last_modified_info = args[:last_modified_info] unless args[:last_modified_info].nil? @name = args[:name] unless args[:name].nil? @notes = args[:notes] unless args[:notes].nil? @planning_term_id = args[:planning_term_id] unless args[:planning_term_id].nil? @project_id = args[:project_id] unless args[:project_id].nil? @seller_order_id = args[:seller_order_id] unless args[:seller_order_id].nil? @seller_organization_name = args[:seller_organization_name] unless args[:seller_organization_name].nil? @site_id = args[:site_id] unless args[:site_id].nil? @site_names = args[:site_names] unless args[:site_names].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? @terms_and_conditions = args[:terms_and_conditions] unless args[:terms_and_conditions].nil? end