Class: Google::Apis::AnalyticsV3::EntityAdWordsLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::EntityAdWordsLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
JSON template for Analytics Entity AdWords Link.
Defined Under Namespace
Classes: Entity
Instance Attribute Summary collapse
-
#ad_words_accounts ⇒ Array<Google::Apis::AnalyticsV3::AdWordsAccount>
A list of AdWords client accounts.
-
#entity ⇒ Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity
Web property being linked.
-
#id ⇒ String
Entity AdWords link ID Corresponds to the JSON property
id
. -
#kind ⇒ String
Resource type for entity AdWords link.
-
#name ⇒ String
Name of the link.
-
#profile_ids ⇒ Array<String>
IDs of linked Views (Profiles) represented as strings.
-
#self_link ⇒ String
URL link for this Google Analytics - Google AdWords link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EntityAdWordsLink
constructor
A new instance of EntityAdWordsLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EntityAdWordsLink
Returns a new instance of EntityAdWordsLink.
1184 1185 1186 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_words_accounts ⇒ Array<Google::Apis::AnalyticsV3::AdWordsAccount>
A list of AdWords client accounts. These cannot be MCC accounts. This field is
required when creating an AdWords link. It cannot be empty.
Corresponds to the JSON property adWordsAccounts
1152 1153 1154 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1152 def ad_words_accounts @ad_words_accounts end |
#entity ⇒ Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity
Web property being linked.
Corresponds to the JSON property entity
1157 1158 1159 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1157 def entity @entity end |
#id ⇒ String
Entity AdWords link ID
Corresponds to the JSON property id
1162 1163 1164 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1162 def id @id end |
#kind ⇒ String
Resource type for entity AdWords link.
Corresponds to the JSON property kind
1167 1168 1169 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1167 def kind @kind end |
#name ⇒ String
Name of the link. This field is required when creating an AdWords link.
Corresponds to the JSON property name
1172 1173 1174 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1172 def name @name end |
#profile_ids ⇒ Array<String>
IDs of linked Views (Profiles) represented as strings.
Corresponds to the JSON property profileIds
1177 1178 1179 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1177 def profile_ids @profile_ids end |
#self_link ⇒ String
URL link for this Google Analytics - Google AdWords link.
Corresponds to the JSON property selfLink
1182 1183 1184 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1182 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1189 1190 1191 1192 1193 1194 1195 1196 1197 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1189 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 |