class Google::Apis::DfareportingV2_1::RemarketingList

Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.

Attributes

account_id[RW]

Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. Corresponds to the JSON property `accountId` @return [String]

active[RW]

Whether this remarketing list is active. Corresponds to the JSON property `active` @return [Boolean]

active?[RW]

Whether this remarketing list is active. Corresponds to the JSON property `active` @return [Boolean]

advertiser_id[RW]

Dimension value for the advertiser ID that owns this remarketing list. This is a required field. Corresponds to the JSON property `advertiserId` @return [String]

advertiser_id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `advertiserIdDimensionValue` @return [Google::Apis::DfareportingV2_1::DimensionValue]

description[RW]

Remarketing list description. Corresponds to the JSON property `description` @return [String]

id[RW]

Remarketing list ID. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#remarketingList”. Corresponds to the JSON property `kind` @return [String]

life_span[RW]

Number of days that a user should remain in the remarketing list without an impression. Corresponds to the JSON property `lifeSpan` @return [String]

list_population_rule[RW]

Remarketing List Population Rule. Corresponds to the JSON property `listPopulationRule` @return [Google::Apis::DfareportingV2_1::ListPopulationRule]

list_size[RW]

Number of users currently in the list. This is a read-only field. Corresponds to the JSON property `listSize` @return [String]

list_source[RW]

Product from which this remarketing list was originated. Corresponds to the JSON property `listSource` @return [String]

name[RW]

Name of the remarketing list. This is a required field. Must be no greater than 128 characters long. Corresponds to the JSON property `name` @return [String]

subaccount_id[RW]

Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. Corresponds to the JSON property `subaccountId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 8722
def update!(**args)
  @account_id = args[:account_id] unless args[:account_id].nil?
  @active = args[:active] unless args[:active].nil?
  @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil?
  @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] unless args[:advertiser_id_dimension_value].nil?
  @description = args[:description] unless args[:description].nil?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @life_span = args[:life_span] unless args[:life_span].nil?
  @list_population_rule = args[:list_population_rule] unless args[:list_population_rule].nil?
  @list_size = args[:list_size] unless args[:list_size].nil?
  @list_source = args[:list_source] unless args[:list_source].nil?
  @name = args[:name] unless args[:name].nil?
  @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil?
end