Interface AdGroupAdOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdGroupAd,AdGroupAd.Builder
public interface AdGroupAdOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActionItems(int index)Output only.com.google.protobuf.ByteStringgetActionItemsBytes(int index)Output only.intgetActionItemsCount()Output only.java.util.List<java.lang.String>getActionItemsList()Output only.AdgetAd()Immutable.java.lang.StringgetAdGroup()Immutable.com.google.protobuf.ByteStringgetAdGroupBytes()Immutable.AdOrBuildergetAdOrBuilder()Immutable.AdStrengthEnum.AdStrengthgetAdStrength()Output only.intgetAdStrengthValue()Output only.java.lang.StringgetLabels(int index)Output only.com.google.protobuf.ByteStringgetLabelsBytes(int index)Output only.intgetLabelsCount()Output only.java.util.List<java.lang.String>getLabelsList()Output only.AdGroupAdPolicySummarygetPolicySummary()Output only.AdGroupAdPolicySummaryOrBuildergetPolicySummaryOrBuilder()Output only.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.AdGroupAdStatusEnum.AdGroupAdStatusgetStatus()The status of the ad.intgetStatusValue()The status of the ad.booleanhasAd()Immutable.booleanhasAdGroup()Immutable.booleanhasPolicySummary()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String 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) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
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) = { ... }- Returns:
- The bytes for resourceName.
-
getStatusValue
int getStatusValue()
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
AdGroupAdStatusEnum.AdGroupAdStatus getStatus()
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Returns:
- The status.
-
hasAdGroup
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) = { ... }- Returns:
- Whether the adGroup field is set.
-
getAdGroup
java.lang.String getAdGroup()
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The adGroup.
-
getAdGroupBytes
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) = { ... }- Returns:
- The bytes for adGroup.
-
hasAd
boolean hasAd()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the ad field is set.
-
getAd
Ad getAd()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The ad.
-
getAdOrBuilder
AdOrBuilder getAdOrBuilder()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
hasPolicySummary
boolean hasPolicySummary()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the policySummary field is set.
-
getPolicySummary
AdGroupAdPolicySummary getPolicySummary()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The policySummary.
-
getPolicySummaryOrBuilder
AdGroupAdPolicySummaryOrBuilder getPolicySummaryOrBuilder()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAdStrengthValue
int getAdStrengthValue()
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for adStrength.
-
getAdStrength
AdStrengthEnum.AdStrength getAdStrength()
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The adStrength.
-
getActionItemsList
java.util.List<java.lang.String> getActionItemsList()
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the actionItems.
-
getActionItemsCount
int getActionItemsCount()
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of actionItems.
-
getActionItems
java.lang.String getActionItems(int index)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The actionItems at the given index.
-
getActionItemsBytes
com.google.protobuf.ByteString getActionItemsBytes(int index)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actionItems at the given index.
-
getLabelsList
java.util.List<java.lang.String> 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) = { ... }- Returns:
- A list containing the labels.
-
getLabelsCount
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) = { ... }- Returns:
- The count of labels.
-
getLabels
java.lang.String getLabels(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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
-