class Google::Apis::Adexchangebuyer2V2beta1::Product

A product is a segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.

Attributes

available_end_time[RW]

The proposed end time for the deal. The field will be truncated to the order of seconds during serving. Corresponds to the JSON property `availableEndTime` @return [String]

available_start_time[RW]

Inventory availability dates. The start time will be truncated to seconds during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34 when serving. Corresponds to the JSON property `availableStartTime` @return [String]

create_time[RW]

Creation time. Corresponds to the JSON property `createTime` @return [String]

creator_contacts[RW]

Optional contact information for the creator of this product. Corresponds to the JSON property `creatorContacts` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ContactInformation>]

display_name[RW]

The display name for this product as set by the seller. Corresponds to the JSON property `displayName` @return [String]

has_creator_signed_off[RW]

If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false. Corresponds to the JSON property `hasCreatorSignedOff` @return [Boolean]

has_creator_signed_off?[RW]

If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false. Corresponds to the JSON property `hasCreatorSignedOff` @return [Boolean]

product_id[RW]

The unique ID for the product. Corresponds to the JSON property `productId` @return [String]

product_revision[RW]

The revision number of the product (auto-assigned by Marketplace). Corresponds to the JSON property `productRevision` @return [Fixnum]

publisher_profile_id[RW]

An ID which can be used by the Publisher Profile API to get more information about the seller that created this product. Corresponds to the JSON property `publisherProfileId` @return [String]

seller[RW]

Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. Corresponds to the JSON property `seller` @return [Google::Apis::Adexchangebuyer2V2beta1::Seller]

syndication_product[RW]

The syndication product associated with the deal. Corresponds to the JSON property `syndicationProduct` @return [String]

targeting_criterion[RW]

Targeting that is shared between the buyer and the seller. Each targeting criterion has a specified key and for each key there is a list of inclusion value or exclusion values. Corresponds to the JSON property `targetingCriterion` @return [Array<Google::Apis::Adexchangebuyer2V2beta1::TargetingCriteria>]

terms[RW]

The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. Corresponds to the JSON property `terms` @return [Google::Apis::Adexchangebuyer2V2beta1::DealTerms]

update_time[RW]

Time of last update. Corresponds to the JSON property `updateTime` @return [String]

web_property_code[RW]

The web-property code for the seller. This needs to be copied as is when adding a new deal to a proposal. Corresponds to the JSON property `webPropertyCode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3245
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3250
def update!(**args)
  @available_end_time = args[:available_end_time] if args.key?(:available_end_time)
  @available_start_time = args[:available_start_time] if args.key?(:available_start_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator_contacts = args[:creator_contacts] if args.key?(:creator_contacts)
  @display_name = args[:display_name] if args.key?(:display_name)
  @has_creator_signed_off = args[:has_creator_signed_off] if args.key?(:has_creator_signed_off)
  @product_id = args[:product_id] if args.key?(:product_id)
  @product_revision = args[:product_revision] if args.key?(:product_revision)
  @publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
  @seller = args[:seller] if args.key?(:seller)
  @syndication_product = args[:syndication_product] if args.key?(:syndication_product)
  @targeting_criterion = args[:targeting_criterion] if args.key?(:targeting_criterion)
  @terms = args[:terms] if args.key?(:terms)
  @update_time = args[:update_time] if args.key?(:update_time)
  @web_property_code = args[:web_property_code] if args.key?(:web_property_code)
end