Show / Hide Table of Contents

Class GoogleAdsLink

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

Inheritance
System.Object
GoogleAdsLink
Implements
Google.Protobuf.IMessage<GoogleAdsLink>
System.IEquatable<GoogleAdsLink>
Google.Protobuf.IDeepCloneable<GoogleAdsLink>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class GoogleAdsLink : IMessage<GoogleAdsLink>, IEquatable<GoogleAdsLink>, IDeepCloneable<GoogleAdsLink>, IBufferMessage, IMessage

Constructors

GoogleAdsLink()

Declaration
public GoogleAdsLink()

GoogleAdsLink(GoogleAdsLink)

Declaration
public GoogleAdsLink(GoogleAdsLink other)
Parameters
Type Name Description
GoogleAdsLink other

Properties

AdsPersonalizationEnabled

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.

Declaration
public bool? AdsPersonalizationEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

CanManageClients

Output only. If true, this link is for a Google Ads manager account.

Declaration
public bool CanManageClients { get; set; }
Property Value
Type Description
System.Boolean

CreateTime

Output only. Time when this link was originally created.

Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type Description
Google.Protobuf.WellKnownTypes.Timestamp

CustomerId

Immutable. Google Ads customer ID.

Declaration
public string CustomerId { get; set; }
Property Value
Type Description
System.String

EmailAddress

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.

Declaration
public string EmailAddress { get; set; }
Property Value
Type Description
System.String

GoogleAdsLinkName

GoogleAdsLinkName-typed view over the Name resource name property.

Declaration
public GoogleAdsLinkName GoogleAdsLinkName { get; set; }
Property Value
Type Description
GoogleAdsLinkName

Name

Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}

Note: googleAdsLinkId is not the Google Ads customer ID.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Parent

Immutable. Format: properties/{propertyId}

Declaration
public string Parent { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. Time when this link was last updated.

Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type Description
Google.Protobuf.WellKnownTypes.Timestamp
Back to top