Interface AdSenseLinkOrBuilder (0.58.0)

public interface AdSenseLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdClientCode()

public abstract String getAdClientCode()

Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"

string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The adClientCode.

getAdClientCodeBytes()

public abstract ByteString getAdClientCodeBytes()

Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"

string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for adClientCode.

getName()

public abstract String getName()

Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.