class Google::Apis::GanV1beta1::Advertiser
An AdvertiserResource.
Attributes
True if the advertiser allows publisher created links, otherwise false. Corresponds to the JSON property `allowPublisherCreatedLinks` @return [Boolean]
True if the advertiser allows publisher created links, otherwise false. Corresponds to the JSON property `allowPublisherCreatedLinks` @return [Boolean]
Category that this advertiser belongs to. A valid list of categories can be found here: www.google.com/support/affiliatenetwork/advertiser/bin/ answer.py?hl=en&answer=107581 Corresponds to the JSON property `category` @return [String]
The longest possible length of a commission (how long the cookies on the customer's browser last before they expire). Corresponds to the JSON property `commissionDuration` @return [Fixnum]
Email that this advertiser would like publishers to contact them with. Corresponds to the JSON property `contactEmail` @return [String]
Phone that this advertiser would like publishers to contact them with. Corresponds to the JSON property `contactPhone` @return [String]
The default link id for this advertiser. Corresponds to the JSON property `defaultLinkId` @return [String]
Description of the website the advertiser advertises from. Corresponds to the JSON property `description` @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 advertiser. Corresponds to the JSON property `id` @return [String]
An AdvertiserResource. Corresponds to the JSON property `item` @return [Google::Apis::GanV1beta1::Advertiser]
Date that this advertiser was approved as a Google Affiliate Network advertiser. Corresponds to the JSON property `joinDate` @return [DateTime]
The kind for an advertiser. Corresponds to the JSON property `kind` @return [String]
URL to the logo this advertiser uses on the Google Affiliate Network. Corresponds to the JSON property `logoUrl` @return [String]
List of merchant center ids for this advertiser Corresponds to the JSON property `merchantCenterIds` @return [Array<String>]
The name of this advertiser. Corresponds to the JSON property `name` @return [String]
A rank based on commissions paid to publishers 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]
Allows advertisers to submit product listings to Google Product Search. Corresponds to the JSON property `productFeedsEnabled` @return [Boolean]
Allows advertisers to submit product listings to Google Product Search. Corresponds to the JSON property `productFeedsEnabled` @return [Boolean]
List of redirect URLs for this advertiser Corresponds to the JSON property `redirectDomains` @return [Array<String>]
URL of the website this advertiser advertises from. Corresponds to the JSON property `siteUrl` @return [String]
The status of the requesting publisher's relationship this advertiser. Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File generated/google/apis/gan_v1beta1/classes.rb, line 142 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/gan_v1beta1/classes.rb, line 147 def update!(**args) @allow_publisher_created_links = args[:allow_publisher_created_links] if args.key?(:allow_publisher_created_links) @category = args[:category] if args.key?(:category) @commission_duration = args[:commission_duration] if args.key?(:commission_duration) @contact_email = args[:contact_email] if args.key?(:contact_email) @contact_phone = args[:contact_phone] if args.key?(:contact_phone) @default_link_id = args[:default_link_id] if args.key?(:default_link_id) @description = args[:description] if args.key?(:description) @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) @logo_url = args[:logo_url] if args.key?(:logo_url) @merchant_center_ids = args[:merchant_center_ids] if args.key?(:merchant_center_ids) @name = args[:name] if args.key?(:name) @payout_rank = args[:payout_rank] if args.key?(:payout_rank) @product_feeds_enabled = args[:product_feeds_enabled] if args.key?(:product_feeds_enabled) @redirect_domains = args[:redirect_domains] if args.key?(:redirect_domains) @site_url = args[:site_url] if args.key?(:site_url) @status = args[:status] if args.key?(:status) end