Class GoogleAdsLink
A link between a GA4 property and a Google Ads account.
Implements
Namespace: Google.Analytics.Admin.V1Beta
Assembly: Google.Analytics.Admin.V1Beta.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 |
---|---|
bool? |
CanManageClients
Output only. If true, this link is for a Google Ads manager account.
Declaration
public bool CanManageClients { get; set; }
Property Value
Type | Description |
---|---|
bool |
CreateTime
Output only. Time when this link was originally created.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
CreatorEmailAddress
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 CreatorEmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomerId
Immutable. Google Ads customer ID.
Declaration
public string CustomerId { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
string |
UpdateTime
Output only. Time when this link was last updated.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |