Class AdGroupAd.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
com.google.ads.googleads.v18.resources.AdGroupAd.Builder
- All Implemented Interfaces:
AdGroupAdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdGroupAd
public static final class AdGroupAd.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
implements AdGroupAdOrBuilder
An ad group ad.Protobuf type
google.ads.googleads.v18.resources.AdGroupAd-
Method Summary
Modifier and TypeMethodDescriptionaddActionItems(String value) Output only.addActionItemsBytes(com.google.protobuf.ByteString value) Output only.addAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting value) Settings that control the types of asset automation.addAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting.Builder builderForValue) Settings that control the types of asset automation.Settings that control the types of asset automation.Settings that control the types of asset automation.Settings that control the types of asset automation.addAdGroupAdAssetAutomationSettingsBuilder(int index) Settings that control the types of asset automation.addAllActionItems(Iterable<String> values) Output only.addAllAdGroupAdAssetAutomationSettings(Iterable<? extends AdGroupAdAssetAutomationSetting> values) Settings that control the types of asset automation.addAllLabels(Iterable<String> values) Output only.addAllPrimaryStatusReasons(Iterable<? extends AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason> values) Output only.Output only.Output only.addLabelsBytes(com.google.protobuf.ByteString value) Output only.Output only.addPrimaryStatusReasonsValue(int value) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.clearAd()Immutable.Immutable.Settings that control the types of asset automation.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Immutable.The status of the ad.clone()getActionItems(int index) Output only.com.google.protobuf.ByteStringgetActionItemsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getAd()Immutable.Immutable.Immutable.getAdGroupAdAssetAutomationSettings(int index) Settings that control the types of asset automation.getAdGroupAdAssetAutomationSettingsBuilder(int index) Settings that control the types of asset automation.Settings that control the types of asset automation.intSettings that control the types of asset automation.Settings that control the types of asset automation.getAdGroupAdAssetAutomationSettingsOrBuilder(int index) Settings that control the types of asset automation.List<? extends AdGroupAdAssetAutomationSettingOrBuilder>Settings that control the types of asset automation.com.google.protobuf.ByteStringImmutable.Immutable.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabels(int index) Output only.com.google.protobuf.ByteStringgetLabelsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.Output only.Output only.Output only.getPrimaryStatusReasons(int index) Output only.intOutput only.Output only.intgetPrimaryStatusReasonsValue(int index) Output only.Output only.intOutput only.Immutable.com.google.protobuf.ByteStringImmutable.The status of the ad.intThe status of the ad.booleanhasAd()Immutable.booleanImmutable.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanImmutable.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.final AdGroupAd.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAdGroupAdAssetAutomationSettings(int index) Settings that control the types of asset automation.setActionItems(int index, String value) Output only.Immutable.setAd(Ad.Builder builderForValue) Immutable.setAdGroup(String value) Immutable.setAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting value) Settings that control the types of asset automation.setAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting.Builder builderForValue) Settings that control the types of asset automation.setAdGroupBytes(com.google.protobuf.ByteString value) Immutable.Output only.setAdStrengthValue(int value) Output only.Output only.Output only.setPolicySummary(AdGroupAdPolicySummary.Builder builderForValue) Output only.Output only.setPrimaryStatusReasons(int index, AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason value) Output only.setPrimaryStatusReasonsValue(int index, int value) Output only.setPrimaryStatusValue(int value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.The status of the ad.setStatusValue(int value) The status of the ad.final AdGroupAd.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
setField
public AdGroupAd.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
setRepeatedField
public AdGroupAd.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
addRepeatedField
public AdGroupAd.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroupAd.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
mergeFrom
public AdGroupAd.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroupAd.Builder>- Throws:
IOException
-
getResourceName
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAdGroupAdOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAdGroupAdOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()The status of the ad.
.google.ads.googleads.v18.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Specified by:
getStatusValuein interfaceAdGroupAdOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
The status of the ad.
.google.ads.googleads.v18.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
The status of the ad.
.google.ads.googleads.v18.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Specified by:
getStatusin interfaceAdGroupAdOrBuilder- Returns:
- The status.
-
setStatus
The status of the ad.
.google.ads.googleads.v18.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
The status of the ad.
.google.ads.googleads.v18.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Returns:
- This builder for chaining.
-
hasAdGroup
public boolean hasAdGroup()Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasAdGroupin interfaceAdGroupAdOrBuilder- Returns:
- Whether the adGroup field is set.
-
getAdGroup
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupin interfaceAdGroupAdOrBuilder- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupBytesin interfaceAdGroupAdOrBuilder- Returns:
- The bytes for adGroup.
-
setAdGroup
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAdGroupBytes
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
hasAd
public boolean hasAd()Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAdin interfaceAdGroupAdOrBuilder- Returns:
- Whether the ad field is set.
-
getAd
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdin interfaceAdGroupAdOrBuilder- Returns:
- The ad.
-
setAd
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
setAd
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
mergeAd
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
clearAd
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAdBuilder
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAdOrBuilder
Immutable. The ad.
.google.ads.googleads.v18.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdOrBuilderin interfaceAdGroupAdOrBuilder
-
hasPolicySummary
public boolean hasPolicySummary()Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPolicySummaryin interfaceAdGroupAdOrBuilder- Returns:
- Whether the policySummary field is set.
-
getPolicySummary
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryin interfaceAdGroupAdOrBuilder- Returns:
- The policySummary.
-
setPolicySummary
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPolicySummary
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergePolicySummary
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPolicySummary
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPolicySummaryBuilder
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPolicySummaryOrBuilder
Output only. Policy information for the ad.
.google.ads.googleads.v18.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryOrBuilderin interfaceAdGroupAdOrBuilder
-
getAdStrengthValue
public int getAdStrengthValue()Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthValuein interfaceAdGroupAdOrBuilder- Returns:
- The enum numeric value on the wire for adStrength.
-
setAdStrengthValue
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for adStrength to set.- Returns:
- This builder for chaining.
-
getAdStrength
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthin interfaceAdGroupAdOrBuilder- Returns:
- The adStrength.
-
setAdStrength
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adStrength to set.- Returns:
- This builder for chaining.
-
clearAdStrength
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getActionItemsList
public com.google.protobuf.ProtocolStringList getActionItemsList()Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the actionItems.
-
getActionItemsCount
public int getActionItemsCount()Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsCountin interfaceAdGroupAdOrBuilder- Returns:
- The count of actionItems.
-
getActionItems
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actionItems at the given index.
-
getActionItemsBytes
public com.google.protobuf.ByteString getActionItemsBytes(int index) Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsBytesin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actionItems at the given index.
-
setActionItems
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The actionItems to set.- Returns:
- This builder for chaining.
-
addActionItems
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The actionItems to add.- Returns:
- This builder for chaining.
-
addAllActionItems
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The actionItems to add.- Returns:
- This builder for chaining.
-
clearActionItems
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addActionItemsBytes
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Try adding a few more unique headlines or unpinning some assets.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the actionItems to add.- Returns:
- This builder for chaining.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsCountin interfaceAdGroupAdOrBuilder- Returns:
- The count of labels.
-
getLabels
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index) Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsBytesin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addLabelsBytes
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
getPrimaryStatusValue
public int getPrimaryStatusValue()Output only. Provides aggregated view into why an ad group ad is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusEnum.AdGroupAdPrimaryStatus primary_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusValuein interfaceAdGroupAdOrBuilder- Returns:
- The enum numeric value on the wire for primaryStatus.
-
setPrimaryStatusValue
Output only. Provides aggregated view into why an ad group ad is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusEnum.AdGroupAdPrimaryStatus primary_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatus to set.- Returns:
- This builder for chaining.
-
getPrimaryStatus
Output only. Provides aggregated view into why an ad group ad is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusEnum.AdGroupAdPrimaryStatus primary_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusin interfaceAdGroupAdOrBuilder- Returns:
- The primaryStatus.
-
setPrimaryStatus
Output only. Provides aggregated view into why an ad group ad is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusEnum.AdGroupAdPrimaryStatus primary_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatus to set.- Returns:
- This builder for chaining.
-
clearPrimaryStatus
Output only. Provides aggregated view into why an ad group ad is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusEnum.AdGroupAdPrimaryStatus primary_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsList
public List<AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason> getPrimaryStatusReasonsList()Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the primaryStatusReasons.
-
getPrimaryStatusReasonsCount
public int getPrimaryStatusReasonsCount()Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsCountin interfaceAdGroupAdOrBuilder- Returns:
- The count of primaryStatusReasons.
-
getPrimaryStatusReasons
public AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason getPrimaryStatusReasons(int index) Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
setPrimaryStatusReasons
public AdGroupAd.Builder setPrimaryStatusReasons(int index, AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason value) Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasons
public AdGroupAd.Builder addPrimaryStatusReasons(AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason value) Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasons
public AdGroupAd.Builder addAllPrimaryStatusReasons(Iterable<? extends AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason> values) Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
clearPrimaryStatusReasons
Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsValueList
Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValueListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the enum numeric values on the wire for primaryStatusReasons.
-
getPrimaryStatusReasonsValue
public int getPrimaryStatusReasonsValue(int index) Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValuein interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryStatusReasons at the given index.
-
setPrimaryStatusReasonsValue
Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasonsValue
Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasonsValue
Output only. Provides reasons for why an ad group ad is not serving or not serving optimally.
repeated .google.ads.googleads.v18.enums.AdGroupAdPrimaryStatusReasonEnum.AdGroupAdPrimaryStatusReason primary_status_reasons = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The enum numeric values on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
getAdGroupAdAssetAutomationSettingsList
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18;- Specified by:
getAdGroupAdAssetAutomationSettingsListin interfaceAdGroupAdOrBuilder
-
getAdGroupAdAssetAutomationSettingsCount
public int getAdGroupAdAssetAutomationSettingsCount()Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18;- Specified by:
getAdGroupAdAssetAutomationSettingsCountin interfaceAdGroupAdOrBuilder
-
getAdGroupAdAssetAutomationSettings
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18;- Specified by:
getAdGroupAdAssetAutomationSettingsin interfaceAdGroupAdOrBuilder
-
setAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder setAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting value) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
setAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder setAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting.Builder builderForValue) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAdGroupAdAssetAutomationSettings
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder addAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting value) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder addAdGroupAdAssetAutomationSettings(AdGroupAdAssetAutomationSetting.Builder builderForValue) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder addAdGroupAdAssetAutomationSettings(int index, AdGroupAdAssetAutomationSetting.Builder builderForValue) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAllAdGroupAdAssetAutomationSettings
public AdGroupAd.Builder addAllAdGroupAdAssetAutomationSettings(Iterable<? extends AdGroupAdAssetAutomationSetting> values) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
clearAdGroupAdAssetAutomationSettings
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
removeAdGroupAdAssetAutomationSettings
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
getAdGroupAdAssetAutomationSettingsBuilder
public AdGroupAdAssetAutomationSetting.Builder getAdGroupAdAssetAutomationSettingsBuilder(int index) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
getAdGroupAdAssetAutomationSettingsOrBuilder
public AdGroupAdAssetAutomationSettingOrBuilder getAdGroupAdAssetAutomationSettingsOrBuilder(int index) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18;- Specified by:
getAdGroupAdAssetAutomationSettingsOrBuilderin interfaceAdGroupAdOrBuilder
-
getAdGroupAdAssetAutomationSettingsOrBuilderList
public List<? extends AdGroupAdAssetAutomationSettingOrBuilder> getAdGroupAdAssetAutomationSettingsOrBuilderList()Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18;- Specified by:
getAdGroupAdAssetAutomationSettingsOrBuilderListin interfaceAdGroupAdOrBuilder
-
addAdGroupAdAssetAutomationSettingsBuilder
Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
addAdGroupAdAssetAutomationSettingsBuilder
public AdGroupAdAssetAutomationSetting.Builder addAdGroupAdAssetAutomationSettingsBuilder(int index) Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
getAdGroupAdAssetAutomationSettingsBuilderList
public List<AdGroupAdAssetAutomationSetting.Builder> getAdGroupAdAssetAutomationSettingsBuilderList()Settings that control the types of asset automation. See the AssetAutomationTypeEnum documentation for the default opt in/out behavior of each type.
repeated .google.ads.googleads.v18.resources.AdGroupAdAssetAutomationSetting ad_group_ad_asset_automation_settings = 18; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
mergeUnknownFields
public final AdGroupAd.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-