class Google::Apis::AnalyticsV3::RemarketingAudience

JSON template for an Analytics remarketing audience.

Attributes

account_id[RW]

Account ID to which this remarketing audience belongs. Corresponds to the JSON property `accountId` @return [String]

audience_definition[RW]

The simple audience definition that will cause a user to be added to an audience. Corresponds to the JSON property `audienceDefinition` @return [Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition]

audience_type[RW]

The type of audience, either SIMPLE or STATE_BASED. Corresponds to the JSON property `audienceType` @return [String]

created[RW]

Time this remarketing audience was created. Corresponds to the JSON property `created` @return [DateTime]

description[RW]

The description of this remarketing audience. Corresponds to the JSON property `description` @return [String]

id[RW]

Remarketing Audience ID. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for the web property to which this remarketing audience belongs. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Collection type. Corresponds to the JSON property `kind` @return [String]

linked_ad_accounts[RW]

The linked ad accounts associated with this remarketing audience. A remarketing audience can have only one linkedAdAccount currently. Corresponds to the JSON property `linkedAdAccounts` @return [Array<Google::Apis::AnalyticsV3::LinkedForeignAccount>]

linked_views[RW]

The views (profiles) that this remarketing audience is linked to. Corresponds to the JSON property `linkedViews` @return [Array<String>]

name[RW]

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

state_based_audience_definition[RW]

A state based audience definition that will cause a user to be added or removed from an audience. Corresponds to the JSON property `stateBasedAudienceDefinition` @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition]

updated[RW]

Time this remarketing audience was last modified. Corresponds to the JSON property `updated` @return [DateTime]

web_property_id[RW]

Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs. Corresponds to the JSON property `webPropertyId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 4651
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @audience_definition = args[:audience_definition] if args.key?(:audience_definition)
  @audience_type = args[:audience_type] if args.key?(:audience_type)
  @created = args[:created] if args.key?(:created)
  @description = args[:description] if args.key?(:description)
  @id = args[:id] if args.key?(:id)
  @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
  @kind = args[:kind] if args.key?(:kind)
  @linked_ad_accounts = args[:linked_ad_accounts] if args.key?(:linked_ad_accounts)
  @linked_views = args[:linked_views] if args.key?(:linked_views)
  @name = args[:name] if args.key?(:name)
  @state_based_audience_definition = args[:state_based_audience_definition] if args.key?(:state_based_audience_definition)
  @updated = args[:updated] if args.key?(:updated)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end