public final class SearchAds360Link extends GeneratedMessageV3 implements SearchAds360LinkOrBuilder
A link between a GA4 property and a Search Ads 360 entity.
Protobuf type google.analytics.admin.v1alpha.SearchAds360Link
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 | |
ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ADVERTISER_ID_FIELD_NUMBER
public static final int ADVERTISER_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
COST_DATA_SHARING_ENABLED_FIELD_NUMBER
public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SITE_STATS_SHARING_ENABLED_FIELD_NUMBER
public static final int SITE_STATS_SHARING_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SearchAds360Link getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchAds360Link.Builder newBuilder()
newBuilder(SearchAds360Link prototype)
public static SearchAds360Link.Builder newBuilder(SearchAds360Link prototype)
public static SearchAds360Link parseDelimitedFrom(InputStream input)
public static SearchAds360Link parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchAds360Link parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchAds360Link parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchAds360Link parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchAds360Link parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchAds360Link parseFrom(CodedInputStream input)
public static SearchAds360Link parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchAds360Link parseFrom(InputStream input)
public static SearchAds360Link parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchAds360Link parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchAds360Link parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchAds360Link> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAdsPersonalizationEnabled()
public BoolValue getAdsPersonalizationEnabled()
Enables personalized advertising features with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue ads_personalization_enabled = 6;
Returns |
---|
Type | Description |
BoolValue | The adsPersonalizationEnabled.
|
getAdsPersonalizationEnabledOrBuilder()
public BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder()
Enables personalized advertising features with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue ads_personalization_enabled = 6;
getAdvertiserDisplayName()
public String getAdvertiserDisplayName()
Output only. The display name of the Search Ads 360 Advertiser.
Allows users to easily identify the linked resource.
string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The advertiserDisplayName.
|
getAdvertiserDisplayNameBytes()
public ByteString getAdvertiserDisplayNameBytes()
Output only. The display name of the Search Ads 360 Advertiser.
Allows users to easily identify the linked resource.
string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for advertiserDisplayName.
|
getAdvertiserId()
public String getAdvertiserId()
Immutable. This field represents the Advertiser ID of the Search Ads 360
Advertiser. that has been linked.
string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
String | The advertiserId.
|
getAdvertiserIdBytes()
public ByteString getAdvertiserIdBytes()
Immutable. This field represents the Advertiser ID of the Search Ads 360
Advertiser. that has been linked.
string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
ByteString | The bytes for advertiserId.
|
getCampaignDataSharingEnabled()
public BoolValue getCampaignDataSharingEnabled()
Immutable. Enables the import of campaign data from Search Ads 360 into the
GA4 property. After link creation, this can only be updated from the Search
Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
BoolValue | The campaignDataSharingEnabled.
|
getCampaignDataSharingEnabledOrBuilder()
public BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder()
Immutable. Enables the import of campaign data from Search Ads 360 into the
GA4 property. After link creation, this can only be updated from the Search
Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
getCostDataSharingEnabled()
public BoolValue getCostDataSharingEnabled()
Immutable. Enables the import of cost data from Search Ads 360 to the GA4
property. This can only be enabled if campaign_data_sharing_enabled is
enabled. After link creation, this can only be updated from
the Search Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
BoolValue | The costDataSharingEnabled.
|
getCostDataSharingEnabledOrBuilder()
public BoolValueOrBuilder getCostDataSharingEnabledOrBuilder()
Immutable. Enables the import of cost data from Search Ads 360 to the GA4
property. This can only be enabled if campaign_data_sharing_enabled is
enabled. After link creation, this can only be updated from
the Search Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
getDefaultInstanceForType()
public SearchAds360Link getDefaultInstanceForType()
getName()
Output only. The resource name for this SearchAds360Link resource.
Format: properties/{propertyId}/searchAds360Links/{linkId}
Note: linkId is not the Search Ads 360 advertiser ID
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name for this SearchAds360Link resource.
Format: properties/{propertyId}/searchAds360Links/{linkId}
Note: linkId is not the Search Ads 360 advertiser ID
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<SearchAds360Link> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSiteStatsSharingEnabled()
public BoolValue getSiteStatsSharingEnabled()
Enables export of site stats with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue site_stats_sharing_enabled = 7;
Returns |
---|
Type | Description |
BoolValue | The siteStatsSharingEnabled.
|
getSiteStatsSharingEnabledOrBuilder()
public BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder()
Enables export of site stats with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue site_stats_sharing_enabled = 7;
hasAdsPersonalizationEnabled()
public boolean hasAdsPersonalizationEnabled()
Enables personalized advertising features with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue ads_personalization_enabled = 6;
Returns |
---|
Type | Description |
boolean | Whether the adsPersonalizationEnabled field is set.
|
hasCampaignDataSharingEnabled()
public boolean hasCampaignDataSharingEnabled()
Immutable. Enables the import of campaign data from Search Ads 360 into the
GA4 property. After link creation, this can only be updated from the Search
Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
boolean | Whether the campaignDataSharingEnabled field is set.
|
hasCostDataSharingEnabled()
public boolean hasCostDataSharingEnabled()
Immutable. Enables the import of cost data from Search Ads 360 to the GA4
property. This can only be enabled if campaign_data_sharing_enabled is
enabled. After link creation, this can only be updated from
the Search Ads 360 product.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
boolean | Whether the costDataSharingEnabled field is set.
|
hasSiteStatsSharingEnabled()
public boolean hasSiteStatsSharingEnabled()
Enables export of site stats with this integration.
If this field is not set on create, it will be defaulted to true.
.google.protobuf.BoolValue site_stats_sharing_enabled = 7;
Returns |
---|
Type | Description |
boolean | Whether the siteStatsSharingEnabled field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchAds360Link.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchAds360Link.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SearchAds360Link.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides