class Google::Apis::GanV1beta1::Publisher
A PublisherResource.
Attributes
Classification that this publisher belongs to. See this link for all publisher classifications: www.google.com/support/affiliatenetwork/advertiser/bin/ answer.py?hl=en&answer=107625&ctx=cb&src=cb&cbid=-k5fihzthfaik&cbrank=4 Corresponds to the JSON property `classification` @return [String]
An ApiMoneyProto. Corresponds to the JSON property `epcNinetyDayAverage` @return [Google::Apis::GanV1beta1::Money]
An ApiMoneyProto. Corresponds to the JSON property `epcSevenDayAverage` @return [Google::Apis::GanV1beta1::Money]
The ID of this publisher. Corresponds to the JSON property `id` @return [String]
A PublisherResource. Corresponds to the JSON property `item` @return [Google::Apis::GanV1beta1::Publisher]
Date that this publisher was approved as a Google Affiliate Network publisher. Corresponds to the JSON property `joinDate` @return [DateTime]
The kind for a publisher. Corresponds to the JSON property `kind` @return [String]
The name of this publisher. Corresponds to the JSON property `name` @return [String]
A rank based on commissions paid to this publisher over the past 90 days. A number between 1 and 4 where 4 means the top quartile (most money paid) and 1 means the bottom quartile (least money paid). Corresponds to the JSON property `payoutRank` @return [String]
Websites that this publisher uses to advertise. Corresponds to the JSON property `sites` @return [Array<String>]
The status of the requesting advertiser's relationship with this publisher. Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File generated/google/apis/gan_v1beta1/classes.rb, line 1313 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/gan_v1beta1/classes.rb, line 1318 def update!(**args) @classification = args[:classification] if args.key?(:classification) @epc_ninety_day_average = args[:epc_ninety_day_average] if args.key?(:epc_ninety_day_average) @epc_seven_day_average = args[:epc_seven_day_average] if args.key?(:epc_seven_day_average) @id = args[:id] if args.key?(:id) @item = args[:item] if args.key?(:item) @join_date = args[:join_date] if args.key?(:join_date) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @payout_rank = args[:payout_rank] if args.key?(:payout_rank) @sites = args[:sites] if args.key?(:sites) @status = args[:status] if args.key?(:status) end