public final class GoogleAdsLink extends GeneratedMessageV3 implements GoogleAdsLinkOrBuilder
A link between a GA4 property and a Google Ads account.
Protobuf type google.analytics.admin.v1alpha.GoogleAdsLink
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CAN_MANAGE_CLIENTS_FIELD_NUMBER
public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATOR_EMAIL_ADDRESS_FIELD_NUMBER
public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CUSTOMER_ID_FIELD_NUMBER
public static final int CUSTOMER_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GoogleAdsLink getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GoogleAdsLink.Builder newBuilder()
newBuilder(GoogleAdsLink prototype)
public static GoogleAdsLink.Builder newBuilder(GoogleAdsLink prototype)
public static GoogleAdsLink parseDelimitedFrom(InputStream input)
public static GoogleAdsLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GoogleAdsLink parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GoogleAdsLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GoogleAdsLink parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GoogleAdsLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GoogleAdsLink parseFrom(CodedInputStream input)
public static GoogleAdsLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GoogleAdsLink parseFrom(InputStream input)
public static GoogleAdsLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GoogleAdsLink parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GoogleAdsLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GoogleAdsLink> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAdsPersonalizationEnabled()
public BoolValue getAdsPersonalizationEnabled()
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.
.google.protobuf.BoolValue ads_personalization_enabled = 5;
Returns |
---|
Type | Description |
BoolValue | The adsPersonalizationEnabled.
|
getAdsPersonalizationEnabledOrBuilder()
public BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder()
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.
.google.protobuf.BoolValue ads_personalization_enabled = 5;
getCanManageClients()
public boolean getCanManageClients()
Output only. If true, this link is for a Google Ads manager account.
bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | The canManageClients.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when this link was originally created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this link was originally created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreatorEmailAddress()
public String getCreatorEmailAddress()
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.
string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The creatorEmailAddress.
|
getCreatorEmailAddressBytes()
public ByteString getCreatorEmailAddressBytes()
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.
string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for creatorEmailAddress.
|
getCustomerId()
public String getCustomerId()
Immutable. Google Ads customer ID.
string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
String | The customerId.
|
getCustomerIdBytes()
public ByteString getCustomerIdBytes()
Immutable. Google Ads customer ID.
string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
ByteString | The bytes for customerId.
|
getDefaultInstanceForType()
public GoogleAdsLink getDefaultInstanceForType()
getName()
Output only. Format:
properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
Note: googleAdsLinkId is not the Google Ads customer ID.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Format:
properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
Note: googleAdsLinkId is not the Google Ads customer ID.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<GoogleAdsLink> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when this link was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when this link was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAdsPersonalizationEnabled()
public boolean hasAdsPersonalizationEnabled()
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.
.google.protobuf.BoolValue ads_personalization_enabled = 5;
Returns |
---|
Type | Description |
boolean | Whether the adsPersonalizationEnabled field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when this link was originally created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time when this link was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GoogleAdsLink.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GoogleAdsLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GoogleAdsLink.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides