Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaGoogleAdsLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaGoogleAdsLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
A link between a GA4 property and a Google Ads account.
Instance Attribute Summary collapse
-
#ads_personalization_enabled ⇒ Boolean
(also: #ads_personalization_enabled?)
Enable personalized advertising features with this integration.
-
#can_manage_clients ⇒ Boolean
(also: #can_manage_clients?)
Output only.
-
#create_time ⇒ String
Output only.
-
#creator_email_address ⇒ String
Output only.
-
#customer_id ⇒ String
Immutable.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaGoogleAdsLink
constructor
A new instance of GoogleAnalyticsAdminV1betaGoogleAdsLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaGoogleAdsLink
Returns a new instance of GoogleAnalyticsAdminV1betaGoogleAdsLink.
1396 1397 1398 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ads_personalization_enabled ⇒ Boolean Also known as: ads_personalization_enabled?
Enable personalized advertising features with this integration. Automatically
publish my Google Analytics audience lists and Google Analytics remarketing
events/parameters to the linked Google Ads account. If this field is not set
on create/update, it will be defaulted to true.
Corresponds to the JSON property adsPersonalizationEnabled
1360 1361 1362 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1360 def ads_personalization_enabled @ads_personalization_enabled end |
#can_manage_clients ⇒ Boolean Also known as: can_manage_clients?
Output only. If true, this link is for a Google Ads manager account.
Corresponds to the JSON property canManageClients
1366 1367 1368 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1366 def can_manage_clients @can_manage_clients end |
#create_time ⇒ String
Output only. Time when this link was originally created.
Corresponds to the JSON property createTime
1372 1373 1374 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1372 def create_time @create_time end |
#creator_email_address ⇒ String
Output only. Email address of the user that created the link. An empty string
will be returned if the email address can't be retrieved.
Corresponds to the JSON property creatorEmailAddress
1378 1379 1380 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1378 def creator_email_address @creator_email_address end |
#customer_id ⇒ String
Immutable. Google Ads customer ID.
Corresponds to the JSON property customerId
1383 1384 1385 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1383 def customer_id @customer_id end |
#name ⇒ String
Output only. Format: properties/propertyId/googleAdsLinks/googleAdsLinkId
Note: googleAdsLinkId is not the Google Ads customer ID.
Corresponds to the JSON property name
1389 1390 1391 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1389 def name @name end |
#update_time ⇒ String
Output only. Time when this link was last updated.
Corresponds to the JSON property updateTime
1394 1395 1396 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1394 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1401 1402 1403 1404 1405 1406 1407 1408 1409 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1401 def update!(**args) @ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled) @can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients) @create_time = args[:create_time] if args.key?(:create_time) @creator_email_address = args[:creator_email_address] if args.key?(:creator_email_address) @customer_id = args[:customer_id] if args.key?(:customer_id) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |