Class: Google::Apis::AnalyticsV3::AdWordsAccount
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::AdWordsAccount
- 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 an Google Ads account.
Instance Attribute Summary collapse
-
#auto_tagging_enabled ⇒ Boolean
(also: #auto_tagging_enabled?)
True if auto-tagging is enabled on the Google Ads account.
-
#customer_id ⇒ String
Customer ID.
-
#kind ⇒ String
Resource type for Google Ads account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdWordsAccount
constructor
A new instance of AdWordsAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdWordsAccount
Returns a new instance of AdWordsAccount.
521 522 523 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 521 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_tagging_enabled ⇒ Boolean Also known as: auto_tagging_enabled?
True if auto-tagging is enabled on the Google Ads account. Read-only after the
insert operation.
Corresponds to the JSON property autoTaggingEnabled
508 509 510 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 508 def auto_tagging_enabled @auto_tagging_enabled end |
#customer_id ⇒ String
Customer ID. This field is required when creating a Google Ads link.
Corresponds to the JSON property customerId
514 515 516 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 514 def customer_id @customer_id end |
#kind ⇒ String
Resource type for Google Ads account.
Corresponds to the JSON property kind
519 520 521 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 519 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
526 527 528 529 530 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 526 def update!(**args) @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled) @customer_id = args[:customer_id] if args.key?(:customer_id) @kind = args[:kind] if args.key?(:kind) end |