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 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.