Variables
ConversionSource_State_name, ConversionSource_State_value
var (
ConversionSource_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
2: "ARCHIVED",
3: "PENDING",
}
ConversionSource_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"ARCHIVED": 2,
"PENDING": 3,
}
)
Enum value maps for ConversionSource_State.
ConversionSource_Controller_name, ConversionSource_Controller_value
var (
ConversionSource_Controller_name = map[int32]string{
0: "CONTROLLER_UNSPECIFIED",
1: "MERCHANT",
2: "YOUTUBE_AFFILIATES",
}
ConversionSource_Controller_value = map[string]int32{
"CONTROLLER_UNSPECIFIED": 0,
"MERCHANT": 1,
"YOUTUBE_AFFILIATES": 2,
}
)
Enum value maps for ConversionSource_Controller.
AttributionSettings_AttributionModel_name, AttributionSettings_AttributionModel_value
var (
AttributionSettings_AttributionModel_name = map[int32]string{
0: "ATTRIBUTION_MODEL_UNSPECIFIED",
1: "CROSS_CHANNEL_LAST_CLICK",
2: "ADS_PREFERRED_LAST_CLICK",
5: "CROSS_CHANNEL_DATA_DRIVEN",
6: "CROSS_CHANNEL_FIRST_CLICK",
7: "CROSS_CHANNEL_LINEAR",
8: "CROSS_CHANNEL_POSITION_BASED",
9: "CROSS_CHANNEL_TIME_DECAY",
}
AttributionSettings_AttributionModel_value = map[string]int32{
"ATTRIBUTION_MODEL_UNSPECIFIED": 0,
"CROSS_CHANNEL_LAST_CLICK": 1,
"ADS_PREFERRED_LAST_CLICK": 2,
"CROSS_CHANNEL_DATA_DRIVEN": 5,
"CROSS_CHANNEL_FIRST_CLICK": 6,
"CROSS_CHANNEL_LINEAR": 7,
"CROSS_CHANNEL_POSITION_BASED": 8,
"CROSS_CHANNEL_TIME_DECAY": 9,
}
)
Enum value maps for AttributionSettings_AttributionModel.
File_google_shopping_merchant_conversions_v1beta_conversionsources_proto
var File_google_shopping_merchant_conversions_v1beta_conversionsources_proto protoreflect.FileDescriptor
Functions
func RegisterConversionSourcesServiceServer
func RegisterConversionSourcesServiceServer(s *grpc.Server, srv ConversionSourcesServiceServer)
AttributionSettings
type AttributionSettings struct {
AttributionLookbackWindowDays int32 "" /* 153 byte string literal not displayed */
AttributionModel AttributionSettings_AttributionModel "" /* 196 byte string literal not displayed */
ConversionType []*AttributionSettings_ConversionType `protobuf:"bytes,3,rep,name=conversion_type,json=conversionType,proto3" json:"conversion_type,omitempty"`
}
Represents attribution settings for conversion sources receiving pre-attribution data.
func (*AttributionSettings) Descriptor
func (*AttributionSettings) Descriptor() ([]byte, []int)
Deprecated: Use AttributionSettings.ProtoReflect.Descriptor instead.
func (*AttributionSettings) GetAttributionLookbackWindowDays
func (x *AttributionSettings) GetAttributionLookbackWindowDays() int32
func (*AttributionSettings) GetAttributionModel
func (x *AttributionSettings) GetAttributionModel() AttributionSettings_AttributionModel
func (*AttributionSettings) GetConversionType
func (x *AttributionSettings) GetConversionType() []*AttributionSettings_ConversionType
func (*AttributionSettings) ProtoMessage
func (*AttributionSettings) ProtoMessage()
func (*AttributionSettings) ProtoReflect
func (x *AttributionSettings) ProtoReflect() protoreflect.Message
func (*AttributionSettings) Reset
func (x *AttributionSettings) Reset()
func (*AttributionSettings) String
func (x *AttributionSettings) String() string
AttributionSettings_AttributionModel
type AttributionSettings_AttributionModel int32
The attribution model used for this source. We support the same set of models offered by Google Analytics 4, as described in: https://support.google.com/analytics/answer/10596866.
AttributionSettings_ATTRIBUTION_MODEL_UNSPECIFIED, AttributionSettings_CROSS_CHANNEL_LAST_CLICK, AttributionSettings_ADS_PREFERRED_LAST_CLICK, AttributionSettings_CROSS_CHANNEL_DATA_DRIVEN, AttributionSettings_CROSS_CHANNEL_FIRST_CLICK, AttributionSettings_CROSS_CHANNEL_LINEAR, AttributionSettings_CROSS_CHANNEL_POSITION_BASED, AttributionSettings_CROSS_CHANNEL_TIME_DECAY
const (
// Unspecified model.
AttributionSettings_ATTRIBUTION_MODEL_UNSPECIFIED AttributionSettings_AttributionModel = 0
// Cross-channel Last Click model.
AttributionSettings_CROSS_CHANNEL_LAST_CLICK AttributionSettings_AttributionModel = 1
// Ads-preferred Last Click model.
AttributionSettings_ADS_PREFERRED_LAST_CLICK AttributionSettings_AttributionModel = 2
// Cross-channel Data Driven model.
AttributionSettings_CROSS_CHANNEL_DATA_DRIVEN AttributionSettings_AttributionModel = 5
// Cross-channel First Click model.
AttributionSettings_CROSS_CHANNEL_FIRST_CLICK AttributionSettings_AttributionModel = 6
// Cross-channel Linear model.
AttributionSettings_CROSS_CHANNEL_LINEAR AttributionSettings_AttributionModel = 7
// Cross-channel Position Based model.
AttributionSettings_CROSS_CHANNEL_POSITION_BASED AttributionSettings_AttributionModel = 8
// Cross-channel Time Decay model.
AttributionSettings_CROSS_CHANNEL_TIME_DECAY AttributionSettings_AttributionModel = 9
)
func (AttributionSettings_AttributionModel) Descriptor
func (AttributionSettings_AttributionModel) Descriptor() protoreflect.EnumDescriptor
func (AttributionSettings_AttributionModel) Enum
func (x AttributionSettings_AttributionModel) Enum() *AttributionSettings_AttributionModel
func (AttributionSettings_AttributionModel) EnumDescriptor
func (AttributionSettings_AttributionModel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttributionSettings_AttributionModel.Descriptor instead.
func (AttributionSettings_AttributionModel) Number
func (x AttributionSettings_AttributionModel) Number() protoreflect.EnumNumber
func (AttributionSettings_AttributionModel) String
func (x AttributionSettings_AttributionModel) String() string
func (AttributionSettings_AttributionModel) Type
func (AttributionSettings_AttributionModel) Type() protoreflect.EnumType
AttributionSettings_ConversionType
type AttributionSettings_ConversionType struct {
// Output only. Conversion event name, as it'll be reported by the client.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Option indicating if the type should be included in Merchant
// Center reporting.
Report bool `protobuf:"varint,2,opt,name=report,proto3" json:"report,omitempty"`
// contains filtered or unexported fields
}
Message representing a types of conversion events
func (*AttributionSettings_ConversionType) Descriptor
func (*AttributionSettings_ConversionType) Descriptor() ([]byte, []int)
Deprecated: Use AttributionSettings_ConversionType.ProtoReflect.Descriptor instead.
func (*AttributionSettings_ConversionType) GetName
func (x *AttributionSettings_ConversionType) GetName() string
func (*AttributionSettings_ConversionType) GetReport
func (x *AttributionSettings_ConversionType) GetReport() bool
func (*AttributionSettings_ConversionType) ProtoMessage
func (*AttributionSettings_ConversionType) ProtoMessage()
func (*AttributionSettings_ConversionType) ProtoReflect
func (x *AttributionSettings_ConversionType) ProtoReflect() protoreflect.Message
func (*AttributionSettings_ConversionType) Reset
func (x *AttributionSettings_ConversionType) Reset()
func (*AttributionSettings_ConversionType) String
func (x *AttributionSettings_ConversionType) String() string
ConversionSource
type ConversionSource struct {
SourceData isConversionSource_SourceData `protobuf_oneof:"source_data"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State ConversionSource_State "" /* 136 byte string literal not displayed */
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
Controller ConversionSource_Controller "" /* 151 byte string literal not displayed */
}
Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
func (*ConversionSource) Descriptor
func (*ConversionSource) Descriptor() ([]byte, []int)
Deprecated: Use ConversionSource.ProtoReflect.Descriptor instead.
func (*ConversionSource) GetController
func (x *ConversionSource) GetController() ConversionSource_Controller
func (*ConversionSource) GetExpireTime
func (x *ConversionSource) GetExpireTime() *timestamppb.Timestamp
func (*ConversionSource) GetGoogleAnalyticsLink
func (x *ConversionSource) GetGoogleAnalyticsLink() *GoogleAnalyticsLink
func (*ConversionSource) GetMerchantCenterDestination
func (x *ConversionSource) GetMerchantCenterDestination() *MerchantCenterDestination
func (*ConversionSource) GetName
func (x *ConversionSource) GetName() string
func (*ConversionSource) GetSourceData
func (m *ConversionSource) GetSourceData() isConversionSource_SourceData
func (*ConversionSource) GetState
func (x *ConversionSource) GetState() ConversionSource_State
func (*ConversionSource) ProtoMessage
func (*ConversionSource) ProtoMessage()
func (*ConversionSource) ProtoReflect
func (x *ConversionSource) ProtoReflect() protoreflect.Message
func (*ConversionSource) Reset
func (x *ConversionSource) Reset()
func (*ConversionSource) String
func (x *ConversionSource) String() string
ConversionSource_Controller
type ConversionSource_Controller int32
Entity controlling the conversion source.
ConversionSource_CONTROLLER_UNSPECIFIED, ConversionSource_MERCHANT, ConversionSource_YOUTUBE_AFFILIATES
const (
// Default value. This value is unused.
ConversionSource_CONTROLLER_UNSPECIFIED ConversionSource_Controller = 0
// Controlled by the Merchant who owns the Conversion Source.
ConversionSource_MERCHANT ConversionSource_Controller = 1
// Controlled by the YT Affiliates program.
ConversionSource_YOUTUBE_AFFILIATES ConversionSource_Controller = 2
)
func (ConversionSource_Controller) Descriptor
func (ConversionSource_Controller) Descriptor() protoreflect.EnumDescriptor
func (ConversionSource_Controller) Enum
func (x ConversionSource_Controller) Enum() *ConversionSource_Controller
func (ConversionSource_Controller) EnumDescriptor
func (ConversionSource_Controller) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConversionSource_Controller.Descriptor instead.
func (ConversionSource_Controller) Number
func (x ConversionSource_Controller) Number() protoreflect.EnumNumber
func (ConversionSource_Controller) String
func (x ConversionSource_Controller) String() string
func (ConversionSource_Controller) Type
func (ConversionSource_Controller) Type() protoreflect.EnumType
ConversionSource_GoogleAnalyticsLink
type ConversionSource_GoogleAnalyticsLink struct {
// Immutable. Conversion Source of type "Link to Google Analytics Property".
GoogleAnalyticsLink *GoogleAnalyticsLink `protobuf:"bytes,3,opt,name=google_analytics_link,json=googleAnalyticsLink,proto3,oneof"`
}
ConversionSource_MerchantCenterDestination
type ConversionSource_MerchantCenterDestination struct {
// Conversion Source of type "Merchant Center Tag Destination".
MerchantCenterDestination *MerchantCenterDestination `protobuf:"bytes,4,opt,name=merchant_center_destination,json=merchantCenterDestination,proto3,oneof"`
}
ConversionSource_State
type ConversionSource_State int32
Represents state of the conversion source.
ConversionSource_STATE_UNSPECIFIED, ConversionSource_ACTIVE, ConversionSource_ARCHIVED, ConversionSource_PENDING
const (
// Conversion source has unspecified state.
ConversionSource_STATE_UNSPECIFIED ConversionSource_State = 0
// Conversion source is fully functional.
ConversionSource_ACTIVE ConversionSource_State = 1
// Conversion source has been archived in the last 30 days and not
// currently functional. Can be restored using the undelete method.
ConversionSource_ARCHIVED ConversionSource_State = 2
// Conversion source creation has started but not fully finished yet.
ConversionSource_PENDING ConversionSource_State = 3
)
func (ConversionSource_State) Descriptor
func (ConversionSource_State) Descriptor() protoreflect.EnumDescriptor
func (ConversionSource_State) Enum
func (x ConversionSource_State) Enum() *ConversionSource_State
func (ConversionSource_State) EnumDescriptor
func (ConversionSource_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConversionSource_State.Descriptor instead.
func (ConversionSource_State) Number
func (x ConversionSource_State) Number() protoreflect.EnumNumber
func (ConversionSource_State) String
func (x ConversionSource_State) String() string
func (ConversionSource_State) Type
func (ConversionSource_State) Type() protoreflect.EnumType
ConversionSourcesServiceClient
type ConversionSourcesServiceClient interface {
// Creates a new conversion source.
CreateConversionSource(ctx context.Context, in *CreateConversionSourceRequest, opts ...grpc.CallOption) (*ConversionSource, error)
// Updates information of an existing conversion source. Available only for
// Merchant Center Destination conversion sources.
UpdateConversionSource(ctx context.Context, in *UpdateConversionSourceRequest, opts ...grpc.CallOption) (*ConversionSource, error)
// Archives an existing conversion source. If the conversion source is a
// Merchant Center Destination, it will be recoverable for 30 days. If the
// conversion source is a Google Analytics Link, it will be deleted
// immediately and can be restored by creating a new one.
DeleteConversionSource(ctx context.Context, in *DeleteConversionSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Re-enables an archived conversion source. Only Available for Merchant
// Center Destination conversion sources.
UndeleteConversionSource(ctx context.Context, in *UndeleteConversionSourceRequest, opts ...grpc.CallOption) (*ConversionSource, error)
// Fetches a conversion source.
GetConversionSource(ctx context.Context, in *GetConversionSourceRequest, opts ...grpc.CallOption) (*ConversionSource, error)
// Retrieves the list of conversion sources the caller has access to.
ListConversionSources(ctx context.Context, in *ListConversionSourcesRequest, opts ...grpc.CallOption) (*ListConversionSourcesResponse, error)
}
ConversionSourcesServiceClient is the client API for ConversionSourcesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConversionSourcesServiceClient
func NewConversionSourcesServiceClient(cc grpc.ClientConnInterface) ConversionSourcesServiceClient
ConversionSourcesServiceServer
type ConversionSourcesServiceServer interface {
// Creates a new conversion source.
CreateConversionSource(context.Context, *CreateConversionSourceRequest) (*ConversionSource, error)
// Updates information of an existing conversion source. Available only for
// Merchant Center Destination conversion sources.
UpdateConversionSource(context.Context, *UpdateConversionSourceRequest) (*ConversionSource, error)
// Archives an existing conversion source. If the conversion source is a
// Merchant Center Destination, it will be recoverable for 30 days. If the
// conversion source is a Google Analytics Link, it will be deleted
// immediately and can be restored by creating a new one.
DeleteConversionSource(context.Context, *DeleteConversionSourceRequest) (*emptypb.Empty, error)
// Re-enables an archived conversion source. Only Available for Merchant
// Center Destination conversion sources.
UndeleteConversionSource(context.Context, *UndeleteConversionSourceRequest) (*ConversionSource, error)
// Fetches a conversion source.
GetConversionSource(context.Context, *GetConversionSourceRequest) (*ConversionSource, error)
// Retrieves the list of conversion sources the caller has access to.
ListConversionSources(context.Context, *ListConversionSourcesRequest) (*ListConversionSourcesResponse, error)
}
ConversionSourcesServiceServer is the server API for ConversionSourcesService service.
CreateConversionSourceRequest
type CreateConversionSourceRequest struct {
// Required. The merchant account that will own the new conversion source.
// Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The conversion source description. A new ID will be automatically
// assigned to it upon creation.
ConversionSource *ConversionSource `protobuf:"bytes,2,opt,name=conversion_source,json=conversionSource,proto3" json:"conversion_source,omitempty"`
// contains filtered or unexported fields
}
Request message for the CreateConversionSource method.
func (*CreateConversionSourceRequest) Descriptor
func (*CreateConversionSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConversionSourceRequest.ProtoReflect.Descriptor instead.
func (*CreateConversionSourceRequest) GetConversionSource
func (x *CreateConversionSourceRequest) GetConversionSource() *ConversionSource
func (*CreateConversionSourceRequest) GetParent
func (x *CreateConversionSourceRequest) GetParent() string
func (*CreateConversionSourceRequest) ProtoMessage
func (*CreateConversionSourceRequest) ProtoMessage()
func (*CreateConversionSourceRequest) ProtoReflect
func (x *CreateConversionSourceRequest) ProtoReflect() protoreflect.Message
func (*CreateConversionSourceRequest) Reset
func (x *CreateConversionSourceRequest) Reset()
func (*CreateConversionSourceRequest) String
func (x *CreateConversionSourceRequest) String() string
DeleteConversionSourceRequest
type DeleteConversionSourceRequest struct {
// Required. The name of the conversion source to be deleted.
// Format: accounts/{account}/conversionSources/{conversion_source}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the DeleteConversionSource method.
func (*DeleteConversionSourceRequest) Descriptor
func (*DeleteConversionSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConversionSourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversionSourceRequest) GetName
func (x *DeleteConversionSourceRequest) GetName() string
func (*DeleteConversionSourceRequest) ProtoMessage
func (*DeleteConversionSourceRequest) ProtoMessage()
func (*DeleteConversionSourceRequest) ProtoReflect
func (x *DeleteConversionSourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteConversionSourceRequest) Reset
func (x *DeleteConversionSourceRequest) Reset()
func (*DeleteConversionSourceRequest) String
func (x *DeleteConversionSourceRequest) String() string
GetConversionSourceRequest
type GetConversionSourceRequest struct {
// Required. The name of the conversion source to be fetched.
// Format: accounts/{account}/conversionsources/{conversion_source}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the GetConversionSource method.
func (*GetConversionSourceRequest) Descriptor
func (*GetConversionSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversionSourceRequest.ProtoReflect.Descriptor instead.
func (*GetConversionSourceRequest) GetName
func (x *GetConversionSourceRequest) GetName() string
func (*GetConversionSourceRequest) ProtoMessage
func (*GetConversionSourceRequest) ProtoMessage()
func (*GetConversionSourceRequest) ProtoReflect
func (x *GetConversionSourceRequest) ProtoReflect() protoreflect.Message
func (*GetConversionSourceRequest) Reset
func (x *GetConversionSourceRequest) Reset()
func (*GetConversionSourceRequest) String
func (x *GetConversionSourceRequest) String() string
GoogleAnalyticsLink
type GoogleAnalyticsLink struct {
// Required. Immutable. ID of the Google Analytics property the merchant is
// linked to.
PropertyId int64 `protobuf:"varint,1,opt,name=property_id,json=propertyId,proto3" json:"property_id,omitempty"`
// Output only. Attribution settings for the linked Google Analytics property.
AttributionSettings *AttributionSettings `protobuf:"bytes,2,opt,name=attribution_settings,json=attributionSettings,proto3" json:"attribution_settings,omitempty"`
// Output only. Name of the Google Analytics property the merchant is linked
// to.
Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`
// contains filtered or unexported fields
}
"Google Analytics Link" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.
func (*GoogleAnalyticsLink) Descriptor
func (*GoogleAnalyticsLink) Descriptor() ([]byte, []int)
Deprecated: Use GoogleAnalyticsLink.ProtoReflect.Descriptor instead.
func (*GoogleAnalyticsLink) GetAttributionSettings
func (x *GoogleAnalyticsLink) GetAttributionSettings() *AttributionSettings
func (*GoogleAnalyticsLink) GetProperty
func (x *GoogleAnalyticsLink) GetProperty() string
func (*GoogleAnalyticsLink) GetPropertyId
func (x *GoogleAnalyticsLink) GetPropertyId() int64
func (*GoogleAnalyticsLink) ProtoMessage
func (*GoogleAnalyticsLink) ProtoMessage()
func (*GoogleAnalyticsLink) ProtoReflect
func (x *GoogleAnalyticsLink) ProtoReflect() protoreflect.Message
func (*GoogleAnalyticsLink) Reset
func (x *GoogleAnalyticsLink) Reset()
func (*GoogleAnalyticsLink) String
func (x *GoogleAnalyticsLink) String() string
ListConversionSourcesRequest
type ListConversionSourcesRequest struct {
// Required. The merchant account who owns the collection of conversion
// sources. Format: accounts/{account}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of conversion sources to return in a page.
// If no `page_size` is specified, `100` is used as the default value. The
// maximum value is `200`. Values above `200` will be coerced to `200`.
// Regardless of pagination, at most `200` conversion sources are returned
// in total.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Show deleted (archived) option.
ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// contains filtered or unexported fields
}
Request message for the ListConversionSources method.
func (*ListConversionSourcesRequest) Descriptor
func (*ListConversionSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConversionSourcesRequest.ProtoReflect.Descriptor instead.
func (*ListConversionSourcesRequest) GetPageSize
func (x *ListConversionSourcesRequest) GetPageSize() int32
func (*ListConversionSourcesRequest) GetPageToken
func (x *ListConversionSourcesRequest) GetPageToken() string
func (*ListConversionSourcesRequest) GetParent
func (x *ListConversionSourcesRequest) GetParent() string
func (*ListConversionSourcesRequest) GetShowDeleted
func (x *ListConversionSourcesRequest) GetShowDeleted() bool
func (*ListConversionSourcesRequest) ProtoMessage
func (*ListConversionSourcesRequest) ProtoMessage()
func (*ListConversionSourcesRequest) ProtoReflect
func (x *ListConversionSourcesRequest) ProtoReflect() protoreflect.Message
func (*ListConversionSourcesRequest) Reset
func (x *ListConversionSourcesRequest) Reset()
func (*ListConversionSourcesRequest) String
func (x *ListConversionSourcesRequest) String() string
ListConversionSourcesResponse
type ListConversionSourcesResponse struct {
// List of conversion sources.
ConversionSources []*ConversionSource `protobuf:"bytes,1,rep,name=conversion_sources,json=conversionSources,proto3" json:"conversion_sources,omitempty"`
// Token to be used to fetch the next results page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for the ListConversionSources method.
func (*ListConversionSourcesResponse) Descriptor
func (*ListConversionSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConversionSourcesResponse.ProtoReflect.Descriptor instead.
func (*ListConversionSourcesResponse) GetConversionSources
func (x *ListConversionSourcesResponse) GetConversionSources() []*ConversionSource
func (*ListConversionSourcesResponse) GetNextPageToken
func (x *ListConversionSourcesResponse) GetNextPageToken() string
func (*ListConversionSourcesResponse) ProtoMessage
func (*ListConversionSourcesResponse) ProtoMessage()
func (*ListConversionSourcesResponse) ProtoReflect
func (x *ListConversionSourcesResponse) ProtoReflect() protoreflect.Message
func (*ListConversionSourcesResponse) Reset
func (x *ListConversionSourcesResponse) Reset()
func (*ListConversionSourcesResponse) String
func (x *ListConversionSourcesResponse) String() string
MerchantCenterDestination
type MerchantCenterDestination struct {
// Output only. Merchant Center Destination ID.
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
// Required. Attribution settings being used for the Merchant Center
// Destination.
AttributionSettings *AttributionSettings `protobuf:"bytes,2,opt,name=attribution_settings,json=attributionSettings,proto3" json:"attribution_settings,omitempty"`
// Required. Merchant-specified display name for the destination. This is the
// name that identifies the conversion source within the Merchant Center UI.
// Limited to 64 characters.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. Three-letter currency code (ISO 4217). The currency code defines
// in which currency the conversions sent to this destination will be reported
// in Merchant Center.
CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// contains filtered or unexported fields
}
"Merchant Center Destination" sources can be used to send conversion events from an online store using a Google tag directly to a Merchant Center account where the source is created.
func (*MerchantCenterDestination) Descriptor
func (*MerchantCenterDestination) Descriptor() ([]byte, []int)
Deprecated: Use MerchantCenterDestination.ProtoReflect.Descriptor instead.
func (*MerchantCenterDestination) GetAttributionSettings
func (x *MerchantCenterDestination) GetAttributionSettings() *AttributionSettings
func (*MerchantCenterDestination) GetCurrencyCode
func (x *MerchantCenterDestination) GetCurrencyCode() string
func (*MerchantCenterDestination) GetDestination
func (x *MerchantCenterDestination) GetDestination() string
func (*MerchantCenterDestination) GetDisplayName
func (x *MerchantCenterDestination) GetDisplayName() string
func (*MerchantCenterDestination) ProtoMessage
func (*MerchantCenterDestination) ProtoMessage()
func (*MerchantCenterDestination) ProtoReflect
func (x *MerchantCenterDestination) ProtoReflect() protoreflect.Message
func (*MerchantCenterDestination) Reset
func (x *MerchantCenterDestination) Reset()
func (*MerchantCenterDestination) String
func (x *MerchantCenterDestination) String() string
UndeleteConversionSourceRequest
type UndeleteConversionSourceRequest struct {
// Required. The name of the conversion source to be undeleted.
// Format: accounts/{account}/conversionSources/{conversion_source}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for the UndeleteConversionSource method.
func (*UndeleteConversionSourceRequest) Descriptor
func (*UndeleteConversionSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteConversionSourceRequest.ProtoReflect.Descriptor instead.
func (*UndeleteConversionSourceRequest) GetName
func (x *UndeleteConversionSourceRequest) GetName() string
func (*UndeleteConversionSourceRequest) ProtoMessage
func (*UndeleteConversionSourceRequest) ProtoMessage()
func (*UndeleteConversionSourceRequest) ProtoReflect
func (x *UndeleteConversionSourceRequest) ProtoReflect() protoreflect.Message
func (*UndeleteConversionSourceRequest) Reset
func (x *UndeleteConversionSourceRequest) Reset()
func (*UndeleteConversionSourceRequest) String
func (x *UndeleteConversionSourceRequest) String() string
UnimplementedConversionSourcesServiceServer
type UnimplementedConversionSourcesServiceServer struct {
}
UnimplementedConversionSourcesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedConversionSourcesServiceServer) CreateConversionSource
func (*UnimplementedConversionSourcesServiceServer) CreateConversionSource(context.Context, *CreateConversionSourceRequest) (*ConversionSource, error)
func (*UnimplementedConversionSourcesServiceServer) DeleteConversionSource
func (*UnimplementedConversionSourcesServiceServer) DeleteConversionSource(context.Context, *DeleteConversionSourceRequest) (*emptypb.Empty, error)
func (*UnimplementedConversionSourcesServiceServer) GetConversionSource
func (*UnimplementedConversionSourcesServiceServer) GetConversionSource(context.Context, *GetConversionSourceRequest) (*ConversionSource, error)
func (*UnimplementedConversionSourcesServiceServer) ListConversionSources
func (*UnimplementedConversionSourcesServiceServer) ListConversionSources(context.Context, *ListConversionSourcesRequest) (*ListConversionSourcesResponse, error)
func (*UnimplementedConversionSourcesServiceServer) UndeleteConversionSource
func (*UnimplementedConversionSourcesServiceServer) UndeleteConversionSource(context.Context, *UndeleteConversionSourceRequest) (*ConversionSource, error)
func (*UnimplementedConversionSourcesServiceServer) UpdateConversionSource
func (*UnimplementedConversionSourcesServiceServer) UpdateConversionSource(context.Context, *UpdateConversionSourceRequest) (*ConversionSource, error)
UpdateConversionSourceRequest
type UpdateConversionSourceRequest struct {
// Required. The new version of the conversion source data.
// Format: accounts/{account}/conversionSources/{conversion_source}
ConversionSource *ConversionSource `protobuf:"bytes,1,opt,name=conversion_source,json=conversionSource,proto3" json:"conversion_source,omitempty"`
// Required. List of fields being updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for the UpdateConversionSource method.
func (*UpdateConversionSourceRequest) Descriptor
func (*UpdateConversionSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConversionSourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversionSourceRequest) GetConversionSource
func (x *UpdateConversionSourceRequest) GetConversionSource() *ConversionSource
func (*UpdateConversionSourceRequest) GetUpdateMask
func (x *UpdateConversionSourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConversionSourceRequest) ProtoMessage
func (*UpdateConversionSourceRequest) ProtoMessage()
func (*UpdateConversionSourceRequest) ProtoReflect
func (x *UpdateConversionSourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateConversionSourceRequest) Reset
func (x *UpdateConversionSourceRequest) Reset()
func (*UpdateConversionSourceRequest) String
func (x *UpdateConversionSourceRequest) String() string