Interface CampaignGroupOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CampaignGroup,CampaignGroup.Builder
public interface CampaignGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Immutable. The resource name of the campaign group. Campaign group resource names have the form: `customers/{customer_id}/campaignGroups/{campaign_group_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 campaign group. Campaign group resource names have the form: `customers/{customer_id}/campaignGroups/{campaign_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getId
long getId()Output only. The ID of the campaign group.
int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getName
String getName()The name of the campaign group. This field is required and should not be empty when creating new campaign groups. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
string name = 4;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the campaign group. This field is required and should not be empty when creating new campaign groups. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
string name = 4;- Returns:
- The bytes for name.
-
getStatusValue
int getStatusValue()The status of the campaign group. When a new campaign group is added, the status defaults to ENABLED.
.google.ads.googleads.v18.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
CampaignGroupStatusEnum.CampaignGroupStatus getStatus()The status of the campaign group. When a new campaign group is added, the status defaults to ENABLED.
.google.ads.googleads.v18.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5;- Returns:
- The status.
-