class Google::Apis::GanV1beta1::Advertiser

An AdvertiserResource.

Attributes

category[RW]

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]

commission_duration[RW]

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]

contact_email[RW]

Email that this advertiser would like publishers to contact them with. Corresponds to the JSON property `contactEmail` @return [String]

contact_phone[RW]

Phone that this advertiser would like publishers to contact them with. Corresponds to the JSON property `contactPhone` @return [String]

description[RW]

Description of the website the advertiser advertises from. Corresponds to the JSON property `description` @return [String]

epc_ninety_day_average[RW]

An ApiMoneyProto. Corresponds to the JSON property `epcNinetyDayAverage` @return [Google::Apis::GanV1beta1::Money]

epc_seven_day_average[RW]

An ApiMoneyProto. Corresponds to the JSON property `epcSevenDayAverage` @return [Google::Apis::GanV1beta1::Money]

id[RW]

The ID of this advertiser. Corresponds to the JSON property `id` @return [String]

item[RW]

An AdvertiserResource. Corresponds to the JSON property `item` @return [Google::Apis::GanV1beta1::Advertiser]

join_date[RW]

Date that this advertiser was approved as a Google Affiliate Network advertiser. Corresponds to the JSON property `joinDate` @return [DateTime]

kind[RW]

The kind for an advertiser. Corresponds to the JSON property `kind` @return [String]

logo_url[RW]

URL to the logo this advertiser uses on the Google Affiliate Network. Corresponds to the JSON property `logoUrl` @return [String]

merchant_center_ids[RW]

List of merchant center ids for this advertiser Corresponds to the JSON property `merchantCenterIds` @return [Array<String>]

name[RW]

The name of this advertiser. Corresponds to the JSON property `name` @return [String]

payout_rank[RW]

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]

product_feeds_enabled[RW]

Allows advertisers to submit product listings to Google Product Search. Corresponds to the JSON property `productFeedsEnabled` @return [Boolean]

product_feeds_enabled?[RW]

Allows advertisers to submit product listings to Google Product Search. Corresponds to the JSON property `productFeedsEnabled` @return [Boolean]

redirect_domains[RW]

List of redirect URLs for this advertiser Corresponds to the JSON property `redirectDomains` @return [Array<String>]

site_url[RW]

URL of the website this advertiser advertises from. Corresponds to the JSON property `siteUrl` @return [String]

status[RW]

The status of the requesting publisher's relationship this advertiser. Corresponds to the JSON property `status` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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