Class AdSenseLink
A link between a GA4 Property and an AdSense for Content ad client.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class AdSenseLink : IMessage<AdSenseLink>, IEquatable<AdSenseLink>, IDeepCloneable<AdSenseLink>, IBufferMessage, IMessage
Constructors
AdSenseLink()
Declaration
public AdSenseLink()
AdSenseLink(AdSenseLink)
Declaration
public AdSenseLink(AdSenseLink other)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLink | other |
Properties
AdClientCode
Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
Declaration
public string AdClientCode { get; set; }
Property Value
Type | Description |
---|---|
string |
AdSenseLinkName
AdSenseLinkName-typed view over the Name resource name property.
Declaration
public AdSenseLinkName AdSenseLinkName { get; set; }
Property Value
Type | Description |
---|---|
AdSenseLinkName |
Name
Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |