Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const ContentScope + type AccountsPromotionsGetCall struct + func (c *AccountsPromotionsGetCall) Context(ctx context.Context) *AccountsPromotionsGetCall + func (c *AccountsPromotionsGetCall) Do(opts ...googleapi.CallOption) (*Promotion, error) + func (c *AccountsPromotionsGetCall) Fields(s ...googleapi.Field) *AccountsPromotionsGetCall + func (c *AccountsPromotionsGetCall) Header() http.Header + func (c *AccountsPromotionsGetCall) IfNoneMatch(entityTag string) *AccountsPromotionsGetCall + type AccountsPromotionsInsertCall struct + func (c *AccountsPromotionsInsertCall) Context(ctx context.Context) *AccountsPromotionsInsertCall + func (c *AccountsPromotionsInsertCall) Do(opts ...googleapi.CallOption) (*Promotion, error) + func (c *AccountsPromotionsInsertCall) Fields(s ...googleapi.Field) *AccountsPromotionsInsertCall + func (c *AccountsPromotionsInsertCall) Header() http.Header + type AccountsPromotionsListCall struct + func (c *AccountsPromotionsListCall) Context(ctx context.Context) *AccountsPromotionsListCall + func (c *AccountsPromotionsListCall) Do(opts ...googleapi.CallOption) (*ListPromotionsResponse, error) + func (c *AccountsPromotionsListCall) Fields(s ...googleapi.Field) *AccountsPromotionsListCall + func (c *AccountsPromotionsListCall) Header() http.Header + func (c *AccountsPromotionsListCall) IfNoneMatch(entityTag string) *AccountsPromotionsListCall + func (c *AccountsPromotionsListCall) PageSize(pageSize int64) *AccountsPromotionsListCall + func (c *AccountsPromotionsListCall) PageToken(pageToken string) *AccountsPromotionsListCall + func (c *AccountsPromotionsListCall) Pages(ctx context.Context, f func(*ListPromotionsResponse) error) error + type AccountsPromotionsService struct + func NewAccountsPromotionsService(s *Service) *AccountsPromotionsService + func (r *AccountsPromotionsService) Get(name string) *AccountsPromotionsGetCall + func (r *AccountsPromotionsService) Insert(parent string, insertpromotionrequest *InsertPromotionRequest) *AccountsPromotionsInsertCall + func (r *AccountsPromotionsService) List(parent string) *AccountsPromotionsListCall + type AccountsService struct + Promotions *AccountsPromotionsService + func NewAccountsService(s *Service) *AccountsService + type Attributes struct + BrandExclusion []string + BrandInclusion []string + CouponValueType string + ForceSendFields []string + FreeGiftDescription string + FreeGiftItemId string + FreeGiftValue *Price + GenericRedemptionCode string + GetThisQuantityDiscounted int64 + ItemGroupIdExclusion []string + ItemGroupIdInclusion []string + ItemIdExclusion []string + ItemIdInclusion []string + LimitQuantity int64 + LimitValue *Price + LongTitle string + MinimumPurchaseAmount *Price + MinimumPurchaseQuantity int64 + MoneyOffAmount *Price + NullFields []string + OfferType string + PercentOff int64 + ProductApplicability string + ProductTypeExclusion []string + ProductTypeInclusion []string + PromotionDestinations []string + PromotionDisplayTimePeriod *Interval + PromotionEffectiveTimePeriod *Interval + PromotionUrl string + StoreApplicability string + StoreCodesExclusion []string + StoreCodesInclusion []string + func (s Attributes) MarshalJSON() ([]byte, error) + type CustomAttribute struct + ForceSendFields []string + GroupValues []*CustomAttribute + Name string + NullFields []string + Value string + func (s CustomAttribute) MarshalJSON() ([]byte, error) + type DestinationStatus struct + ForceSendFields []string + NullFields []string + ReportingContext string + Status string + func (s DestinationStatus) MarshalJSON() ([]byte, error) + type InsertPromotionRequest struct + DataSource string + ForceSendFields []string + NullFields []string + Promotion *Promotion + func (s InsertPromotionRequest) MarshalJSON() ([]byte, error) + type Interval struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s Interval) MarshalJSON() ([]byte, error) + type ItemLevelIssue struct + ApplicableCountries []string + Attribute string + Code string + Description string + Detail string + Documentation string + ForceSendFields []string + NullFields []string + ReportingContext string + Resolution string + Severity string + func (s ItemLevelIssue) MarshalJSON() ([]byte, error) + type ListPromotionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Promotions []*Promotion + func (s ListPromotionsResponse) MarshalJSON() ([]byte, error) + type Price struct + AmountMicros int64 + CurrencyCode string + ForceSendFields []string + NullFields []string + func (s Price) MarshalJSON() ([]byte, error) + type ProductChange struct + ForceSendFields []string + NewValue string + NullFields []string + OldValue string + RegionCode string + ReportingContext string + func (s ProductChange) MarshalJSON() ([]byte, error) + type ProductStatusChangeMessage struct + Account string + Attribute string + Changes []*ProductChange + ForceSendFields []string + ManagingAccount string + NullFields []string + Resource string + ResourceId string + ResourceType string + func (s ProductStatusChangeMessage) MarshalJSON() ([]byte, error) + type Promotion struct + Attributes *Attributes + ContentLanguage string + CustomAttributes []*CustomAttribute + DataSource string + ForceSendFields []string + Name string + NullFields []string + PromotionId string + PromotionStatus *PromotionStatus + RedemptionChannel []string + TargetCountry string + VersionNumber int64 + func (s Promotion) MarshalJSON() ([]byte, error) + type PromotionStatus struct + CreationDate string + DestinationStatuses []*DestinationStatus + ForceSendFields []string + ItemLevelIssues []*ItemLevelIssue + LastUpdateDate string + NullFields []string + func (s PromotionStatus) MarshalJSON() ([]byte, error) + type Service struct + Accounts *AccountsService + BasePath string + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)