class Google::Apis::AnalyticsV3::EntityAdWordsLink

JSON template for Analytics Entity Google Ads Link.

Attributes

ad_words_accounts[RW]

A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty. Corresponds to the JSON property `adWordsAccounts` @return [Array<Google::Apis::AnalyticsV3::AdWordsAccount>]

entity[RW]

Web property being linked. Corresponds to the JSON property `entity` @return [Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity]

id[RW]

Entity Google Ads link ID Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for entity Google Ads link. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of the link. This field is required when creating a Google Ads link. Corresponds to the JSON property `name` @return [String]

profile_ids[RW]

IDs of linked Views (Profiles) represented as strings. Corresponds to the JSON property `profileIds` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 1280
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 1285
def update!(**args)
  @ad_words_accounts = args[:ad_words_accounts] if args.key?(:ad_words_accounts)
  @entity = args[:entity] if args.key?(:entity)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @profile_ids = args[:profile_ids] if args.key?(:profile_ids)
  @self_link = args[:self_link] if args.key?(:self_link)
end