Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::GoogleAdsLink.
A link between a GA4 property and a Google Ads account.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ads_personalization_enabled
def ads_personalization_enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — 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.
#ads_personalization_enabled=
def ads_personalization_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — 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.
Returns
- (::Google::Protobuf::BoolValue) — 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.
#can_manage_clients
def can_manage_clients() -> ::Boolean
Returns
- (::Boolean) — Output only. If true, this link is for a Google Ads manager account.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this link was originally created.
#creator_email_address
def creator_email_address() -> ::String
Returns
- (::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.
#customer_id
def customer_id() -> ::String
Returns
- (::String) — Immutable. Google Ads customer ID.
#customer_id=
def customer_id=(value) -> ::String
Parameter
- value (::String) — Immutable. Google Ads customer ID.
Returns
- (::String) — Immutable. Google Ads customer ID.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
Note: googleAdsLinkId is not the Google Ads customer ID.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this link was last updated.