class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink

A link between an GA4 property and a Google Ads account.

Attributes

ads_personalization_enabled[RW]

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` @return [Boolean]

ads_personalization_enabled?[RW]

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` @return [Boolean]

can_manage_clients[RW]

Output only. If true, this link is for a Google Ads manager account. Corresponds to the JSON property `canManageClients` @return [Boolean]

can_manage_clients?[RW]

Output only. If true, this link is for a Google Ads manager account. Corresponds to the JSON property `canManageClients` @return [Boolean]

create_time[RW]

Output only. Time when this link was originally created. Corresponds to the JSON property `createTime` @return [String]

creator_email_address[RW]

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` @return [String]

customer_id[RW]

Immutable. Google Ads customer ID. Corresponds to the JSON property `customerId` @return [String]

name[RW]

Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId` Note: googleAdsLinkId is not the Google Ads customer ID. Corresponds to the JSON property `name` @return [String]

update_time[RW]

Output only. Time when this link was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1352
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