class Google::Apis::GanV1beta1::Link
A LinkResource.
Attributes
The advertiser id for the advertiser who owns this link. Corresponds to the JSON property `advertiserId` @return [String]
Availability. Corresponds to the JSON property `availability` @return [String]
Tracking url for clicks. Corresponds to the JSON property `clickTrackingUrl` @return [String]
Date that this link was created. Corresponds to the JSON property `createDate` @return [DateTime]
Description. Corresponds to the JSON property `description` @return [String]
The destination URL for the link. Corresponds to the JSON property `destinationUrl` @return [String]
Duration Corresponds to the JSON property `duration` @return [String]
Date that this link becomes inactive. Corresponds to the JSON property `endDate` @return [DateTime]
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 link. Corresponds to the JSON property `id` @return [String]
image alt text. Corresponds to the JSON property `imageAltText` @return [String]
Tracking url for impressions. Corresponds to the JSON property `impressionTrackingUrl` @return [String]
Flag for if this link is active. Corresponds to the JSON property `isActive` @return [Boolean]
Flag for if this link is active. Corresponds to the JSON property `isActive` @return [Boolean]
The kind for one entity. Corresponds to the JSON property `kind` @return [String]
The link type. Corresponds to the JSON property `linkType` @return [String]
The logical name for this link. Corresponds to the JSON property `name` @return [String]
Promotion Type Corresponds to the JSON property `promotionType` @return [String]
Special offers on the link. Corresponds to the JSON property `specialOffers` @return [Google::Apis::GanV1beta1::Link::SpecialOffers]
Date that this link becomes active. Corresponds to the JSON property `startDate` @return [DateTime]
Public Class Methods
# File generated/google/apis/gan_v1beta1/classes.rb, line 1101 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/gan_v1beta1/classes.rb, line 1106 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @authorship = args[:authorship] if args.key?(:authorship) @availability = args[:availability] if args.key?(:availability) @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) @create_date = args[:create_date] if args.key?(:create_date) @description = args[:description] if args.key?(:description) @destination_url = args[:destination_url] if args.key?(:destination_url) @duration = args[:duration] if args.key?(:duration) @end_date = args[:end_date] if args.key?(:end_date) @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) @image_alt_text = args[:image_alt_text] if args.key?(:image_alt_text) @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url) @is_active = args[:is_active] if args.key?(:is_active) @kind = args[:kind] if args.key?(:kind) @link_type = args[:link_type] if args.key?(:link_type) @name = args[:name] if args.key?(:name) @promotion_type = args[:promotion_type] if args.key?(:promotion_type) @special_offers = args[:special_offers] if args.key?(:special_offers) @start_date = args[:start_date] if args.key?(:start_date) end