sponsoredproducts

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package sponsoredproducts provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateAssociatedBudgetRulesForSPCampaignsRequest

func NewCreateAssociatedBudgetRulesForSPCampaignsRequest(server string, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, body CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody) (*http.Request, error)

NewCreateAssociatedBudgetRulesForSPCampaignsRequest calls the generic CreateAssociatedBudgetRulesForSPCampaigns builder with application/json body

func NewCreateAssociatedBudgetRulesForSPCampaignsRequestWithBody

func NewCreateAssociatedBudgetRulesForSPCampaignsRequestWithBody(server string, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateAssociatedBudgetRulesForSPCampaignsRequestWithBody generates requests for CreateAssociatedBudgetRulesForSPCampaigns with any type of body

func NewCreateBudgetRulesForSPCampaignsRequest

func NewCreateBudgetRulesForSPCampaignsRequest(server string, params *CreateBudgetRulesForSPCampaignsParams, body CreateBudgetRulesForSPCampaignsJSONRequestBody) (*http.Request, error)

NewCreateBudgetRulesForSPCampaignsRequest calls the generic CreateBudgetRulesForSPCampaigns builder with application/json body

func NewCreateBudgetRulesForSPCampaignsRequestWithBody

func NewCreateBudgetRulesForSPCampaignsRequestWithBody(server string, params *CreateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateBudgetRulesForSPCampaignsRequestWithBody generates requests for CreateBudgetRulesForSPCampaigns with any type of body

func NewCreateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody

func NewCreateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody(server string, params *CreateOptimizationRuleParams, body CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Request, error)

NewCreateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody calls the generic CreateOptimizationRule builder with application/vnd.optimizationrules.v1+json body

func NewCreateOptimizationRuleRequestWithBody

func NewCreateOptimizationRuleRequestWithBody(server string, params *CreateOptimizationRuleParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateOptimizationRuleRequestWithBody generates requests for CreateOptimizationRule with any type of body

func NewCreateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody

func NewCreateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody(server string, params *CreateSponsoredProductsAdGroupsParams, body CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody calls the generic CreateSponsoredProductsAdGroups builder with application/vnd.spAdGroup.v3+json body

func NewCreateSponsoredProductsAdGroupsRequestWithBody

func NewCreateSponsoredProductsAdGroupsRequestWithBody(server string, params *CreateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsAdGroupsRequestWithBody generates requests for CreateSponsoredProductsAdGroups with any type of body

func NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody

func NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(server string, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, body CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody calls the generic CreateSponsoredProductsCampaignNegativeKeywords builder with application/vnd.spCampaignNegativeKeyword.v3+json body

func NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithBody

func NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithBody(server string, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsCampaignNegativeKeywordsRequestWithBody generates requests for CreateSponsoredProductsCampaignNegativeKeywords with any type of body

func NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody

func NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(server string, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, body CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody calls the generic CreateSponsoredProductsCampaignNegativeTargetingClauses builder with application/vnd.spCampaignNegativeTargetingClause.v3+json body

func NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody

func NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody(server string, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody generates requests for CreateSponsoredProductsCampaignNegativeTargetingClauses with any type of body

func NewCreateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody

func NewCreateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody(server string, params *CreateSponsoredProductsCampaignsParams, body CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody calls the generic CreateSponsoredProductsCampaigns builder with application/vnd.spCampaign.v3+json body

func NewCreateSponsoredProductsCampaignsRequestWithBody

func NewCreateSponsoredProductsCampaignsRequestWithBody(server string, params *CreateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsCampaignsRequestWithBody generates requests for CreateSponsoredProductsCampaigns with any type of body

func NewCreateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody

func NewCreateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody(server string, params *CreateSponsoredProductsKeywordsParams, body CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody calls the generic CreateSponsoredProductsKeywords builder with application/vnd.spKeyword.v3+json body

func NewCreateSponsoredProductsKeywordsRequestWithBody

func NewCreateSponsoredProductsKeywordsRequestWithBody(server string, params *CreateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsKeywordsRequestWithBody generates requests for CreateSponsoredProductsKeywords with any type of body

func NewCreateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody

func NewCreateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody(server string, params *CreateSponsoredProductsNegativeKeywordsParams, body CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody calls the generic CreateSponsoredProductsNegativeKeywords builder with application/vnd.spNegativeKeyword.v3+json body

func NewCreateSponsoredProductsNegativeKeywordsRequestWithBody

func NewCreateSponsoredProductsNegativeKeywordsRequestWithBody(server string, params *CreateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsNegativeKeywordsRequestWithBody generates requests for CreateSponsoredProductsNegativeKeywords with any type of body

func NewCreateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody

func NewCreateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(server string, params *CreateSponsoredProductsNegativeTargetingClausesParams, body CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody calls the generic CreateSponsoredProductsNegativeTargetingClauses builder with application/vnd.spNegativeTargetingClause.v3+json body

func NewCreateSponsoredProductsNegativeTargetingClausesRequestWithBody

func NewCreateSponsoredProductsNegativeTargetingClausesRequestWithBody(server string, params *CreateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsNegativeTargetingClausesRequestWithBody generates requests for CreateSponsoredProductsNegativeTargetingClauses with any type of body

func NewCreateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody

func NewCreateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody(server string, params *CreateSponsoredProductsProductAdsParams, body CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody calls the generic CreateSponsoredProductsProductAds builder with application/vnd.spProductAd.v3+json body

func NewCreateSponsoredProductsProductAdsRequestWithBody

func NewCreateSponsoredProductsProductAdsRequestWithBody(server string, params *CreateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsProductAdsRequestWithBody generates requests for CreateSponsoredProductsProductAds with any type of body

func NewCreateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody

func NewCreateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody(server string, params *CreateSponsoredProductsTargetingClausesParams, body CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewCreateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody calls the generic CreateSponsoredProductsTargetingClauses builder with application/vnd.spTargetingClause.v3+json body

func NewCreateSponsoredProductsTargetingClausesRequestWithBody

func NewCreateSponsoredProductsTargetingClausesRequestWithBody(server string, params *CreateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateSponsoredProductsTargetingClausesRequestWithBody generates requests for CreateSponsoredProductsTargetingClauses with any type of body

func NewDeleteCampaignOptimizationRuleRequest

func NewDeleteCampaignOptimizationRuleRequest(server string, campaignOptimizationId string, params *DeleteCampaignOptimizationRuleParams) (*http.Request, error)

NewDeleteCampaignOptimizationRuleRequest generates requests for DeleteCampaignOptimizationRule

func NewDeleteSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody

func NewDeleteSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody(server string, params *DeleteSponsoredProductsAdGroupsParams, body DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody calls the generic DeleteSponsoredProductsAdGroups builder with application/vnd.spAdGroup.v3+json body

func NewDeleteSponsoredProductsAdGroupsRequestWithBody

func NewDeleteSponsoredProductsAdGroupsRequestWithBody(server string, params *DeleteSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsAdGroupsRequestWithBody generates requests for DeleteSponsoredProductsAdGroups with any type of body

func NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody

func NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(server string, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, body DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody calls the generic DeleteSponsoredProductsCampaignNegativeKeywords builder with application/vnd.spCampaignNegativeKeyword.v3+json body

func NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithBody

func NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithBody(server string, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsCampaignNegativeKeywordsRequestWithBody generates requests for DeleteSponsoredProductsCampaignNegativeKeywords with any type of body

func NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody

func NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(server string, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, body DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody calls the generic DeleteSponsoredProductsCampaignNegativeTargetingClauses builder with application/vnd.spCampaignNegativeTargetingClause.v3+json body

func NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody

func NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody(server string, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody generates requests for DeleteSponsoredProductsCampaignNegativeTargetingClauses with any type of body

func NewDeleteSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody

func NewDeleteSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody(server string, params *DeleteSponsoredProductsCampaignsParams, body DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody calls the generic DeleteSponsoredProductsCampaigns builder with application/vnd.spCampaign.v3+json body

func NewDeleteSponsoredProductsCampaignsRequestWithBody

func NewDeleteSponsoredProductsCampaignsRequestWithBody(server string, params *DeleteSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsCampaignsRequestWithBody generates requests for DeleteSponsoredProductsCampaigns with any type of body

func NewDeleteSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody

func NewDeleteSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody(server string, params *DeleteSponsoredProductsKeywordsParams, body DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody calls the generic DeleteSponsoredProductsKeywords builder with application/vnd.spKeyword.v3+json body

func NewDeleteSponsoredProductsKeywordsRequestWithBody

func NewDeleteSponsoredProductsKeywordsRequestWithBody(server string, params *DeleteSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsKeywordsRequestWithBody generates requests for DeleteSponsoredProductsKeywords with any type of body

func NewDeleteSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody

func NewDeleteSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody(server string, params *DeleteSponsoredProductsNegativeKeywordsParams, body DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody calls the generic DeleteSponsoredProductsNegativeKeywords builder with application/vnd.spNegativeKeyword.v3+json body

func NewDeleteSponsoredProductsNegativeKeywordsRequestWithBody

func NewDeleteSponsoredProductsNegativeKeywordsRequestWithBody(server string, params *DeleteSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsNegativeKeywordsRequestWithBody generates requests for DeleteSponsoredProductsNegativeKeywords with any type of body

func NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody

func NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(server string, params *DeleteSponsoredProductsNegativeTargetingClausesParams, body DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody calls the generic DeleteSponsoredProductsNegativeTargetingClauses builder with application/vnd.spNegativeTargetingClause.v3+json body

func NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithBody

func NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithBody(server string, params *DeleteSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsNegativeTargetingClausesRequestWithBody generates requests for DeleteSponsoredProductsNegativeTargetingClauses with any type of body

func NewDeleteSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody

func NewDeleteSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody(server string, params *DeleteSponsoredProductsProductAdsParams, body DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody calls the generic DeleteSponsoredProductsProductAds builder with application/vnd.spProductAd.v3+json body

func NewDeleteSponsoredProductsProductAdsRequestWithBody

func NewDeleteSponsoredProductsProductAdsRequestWithBody(server string, params *DeleteSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsProductAdsRequestWithBody generates requests for DeleteSponsoredProductsProductAds with any type of body

func NewDeleteSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody

func NewDeleteSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody(server string, params *DeleteSponsoredProductsTargetingClausesParams, body DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewDeleteSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody calls the generic DeleteSponsoredProductsTargetingClauses builder with application/vnd.spTargetingClause.v3+json body

func NewDeleteSponsoredProductsTargetingClausesRequestWithBody

func NewDeleteSponsoredProductsTargetingClausesRequestWithBody(server string, params *DeleteSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSponsoredProductsTargetingClausesRequestWithBody generates requests for DeleteSponsoredProductsTargetingClauses with any type of body

func NewDisassociateAssociatedBudgetRuleForSPCampaignsRequest

func NewDisassociateAssociatedBudgetRuleForSPCampaignsRequest(server string, campaignId int64, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSPCampaignsParams) (*http.Request, error)

NewDisassociateAssociatedBudgetRuleForSPCampaignsRequest generates requests for DisassociateAssociatedBudgetRuleForSPCampaigns

func NewGetBudgetRecommendationRequestWithApplicationVndSpinitialbudgetrecommendationV34PlusJSONBody

func NewGetBudgetRecommendationRequestWithApplicationVndSpinitialbudgetrecommendationV34PlusJSONBody(server string, params *GetBudgetRecommendationParams, body GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody) (*http.Request, error)

NewGetBudgetRecommendationRequestWithApplicationVndSpinitialbudgetrecommendationV34PlusJSONBody calls the generic GetBudgetRecommendation builder with application/vnd.spinitialbudgetrecommendation.v3.4+json body

func NewGetBudgetRecommendationRequestWithBody

func NewGetBudgetRecommendationRequestWithBody(server string, params *GetBudgetRecommendationParams, contentType string, body io.Reader) (*http.Request, error)

NewGetBudgetRecommendationRequestWithBody generates requests for GetBudgetRecommendation with any type of body

func NewGetBudgetRecommendationsRequestWithApplicationVndBudgetrecommendationV3PlusJSONBody

func NewGetBudgetRecommendationsRequestWithApplicationVndBudgetrecommendationV3PlusJSONBody(server string, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody) (*http.Request, error)

NewGetBudgetRecommendationsRequestWithApplicationVndBudgetrecommendationV3PlusJSONBody calls the generic GetBudgetRecommendations builder with application/vnd.budgetrecommendation.v3+json body

func NewGetBudgetRecommendationsRequestWithBody

func NewGetBudgetRecommendationsRequestWithBody(server string, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*http.Request, error)

NewGetBudgetRecommendationsRequestWithBody generates requests for GetBudgetRecommendations with any type of body

func NewGetBudgetRuleByRuleIdForSPCampaignsRequest

func NewGetBudgetRuleByRuleIdForSPCampaignsRequest(server string, budgetRuleId string, params *GetBudgetRuleByRuleIdForSPCampaignsParams) (*http.Request, error)

NewGetBudgetRuleByRuleIdForSPCampaignsRequest generates requests for GetBudgetRuleByRuleIdForSPCampaigns

func NewGetCampaignOptimizationRuleRequest

func NewGetCampaignOptimizationRuleRequest(server string, campaignOptimizationId string, params *GetCampaignOptimizationRuleParams) (*http.Request, error)

NewGetCampaignOptimizationRuleRequest generates requests for GetCampaignOptimizationRule

func NewGetCampaignRecommendationsRequest

func NewGetCampaignRecommendationsRequest(server string, params *GetCampaignRecommendationsParams) (*http.Request, error)

NewGetCampaignRecommendationsRequest generates requests for GetCampaignRecommendations

func NewGetCampaignsAssociatedWithSPBudgetRuleRequest

func NewGetCampaignsAssociatedWithSPBudgetRuleRequest(server string, budgetRuleId string, params *GetCampaignsAssociatedWithSPBudgetRuleParams) (*http.Request, error)

NewGetCampaignsAssociatedWithSPBudgetRuleRequest generates requests for GetCampaignsAssociatedWithSPBudgetRule

func NewGetCategoryRecommendationsForASINsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody

func NewGetCategoryRecommendationsForASINsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody(server string, params *GetCategoryRecommendationsForASINsParams, body GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Request, error)

NewGetCategoryRecommendationsForASINsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody calls the generic GetCategoryRecommendationsForASINs builder with application/vnd.spproducttargeting.v3+json body

func NewGetCategoryRecommendationsForASINsRequestWithBody

func NewGetCategoryRecommendationsForASINsRequestWithBody(server string, params *GetCategoryRecommendationsForASINsParams, contentType string, body io.Reader) (*http.Request, error)

NewGetCategoryRecommendationsForASINsRequestWithBody generates requests for GetCategoryRecommendationsForASINs with any type of body

func NewGetNegativeBrandsRequest

func NewGetNegativeBrandsRequest(server string, params *GetNegativeBrandsParams) (*http.Request, error)

NewGetNegativeBrandsRequest generates requests for GetNegativeBrands

func NewGetOptimizationRuleEligibilityRequestWithApplicationVndOptimizationrulesV1PlusJSONBody

func NewGetOptimizationRuleEligibilityRequestWithApplicationVndOptimizationrulesV1PlusJSONBody(server string, params *GetOptimizationRuleEligibilityParams, body GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Request, error)

NewGetOptimizationRuleEligibilityRequestWithApplicationVndOptimizationrulesV1PlusJSONBody calls the generic GetOptimizationRuleEligibility builder with application/vnd.optimizationrules.v1+json body

func NewGetOptimizationRuleEligibilityRequestWithBody

func NewGetOptimizationRuleEligibilityRequestWithBody(server string, params *GetOptimizationRuleEligibilityParams, contentType string, body io.Reader) (*http.Request, error)

NewGetOptimizationRuleEligibilityRequestWithBody generates requests for GetOptimizationRuleEligibility with any type of body

func NewGetProductRecommendationsRequestWithApplicationVndSpproductrecommendationV3PlusJSONBody

func NewGetProductRecommendationsRequestWithApplicationVndSpproductrecommendationV3PlusJSONBody(server string, params *GetProductRecommendationsParams, body GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody) (*http.Request, error)

NewGetProductRecommendationsRequestWithApplicationVndSpproductrecommendationV3PlusJSONBody calls the generic GetProductRecommendations builder with application/vnd.spproductrecommendation.v3+json body

func NewGetProductRecommendationsRequestWithBody

func NewGetProductRecommendationsRequestWithBody(server string, params *GetProductRecommendationsParams, contentType string, body io.Reader) (*http.Request, error)

NewGetProductRecommendationsRequestWithBody generates requests for GetProductRecommendations with any type of body

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV3PlusJSONBody

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV3PlusJSONBody(server string, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody) (*http.Request, error)

NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV3PlusJSONBody calls the generic GetRankedKeywordRecommendation builder with application/vnd.spkeywordsrecommendation.v3+json body

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV4PlusJSONBody

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV4PlusJSONBody(server string, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody) (*http.Request, error)

NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV4PlusJSONBody calls the generic GetRankedKeywordRecommendation builder with application/vnd.spkeywordsrecommendation.v4+json body

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV5PlusJSONBody

func NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV5PlusJSONBody(server string, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody) (*http.Request, error)

NewGetRankedKeywordRecommendationRequestWithApplicationVndSpkeywordsrecommendationV5PlusJSONBody calls the generic GetRankedKeywordRecommendation builder with application/vnd.spkeywordsrecommendation.v5+json body

func NewGetRankedKeywordRecommendationRequestWithBody

func NewGetRankedKeywordRecommendationRequestWithBody(server string, params *GetRankedKeywordRecommendationParams, contentType string, body io.Reader) (*http.Request, error)

NewGetRankedKeywordRecommendationRequestWithBody generates requests for GetRankedKeywordRecommendation with any type of body

func NewGetRefinementsForCategoryRequest

func NewGetRefinementsForCategoryRequest(server string, categoryId string, params *GetRefinementsForCategoryParams) (*http.Request, error)

NewGetRefinementsForCategoryRequest generates requests for GetRefinementsForCategory

func NewGetRuleBasedBudgetHistoryForSPCampaignsRequest

func NewGetRuleBasedBudgetHistoryForSPCampaignsRequest(server string, campaignId int64, params *GetRuleBasedBudgetHistoryForSPCampaignsParams) (*http.Request, error)

NewGetRuleBasedBudgetHistoryForSPCampaignsRequest generates requests for GetRuleBasedBudgetHistoryForSPCampaigns

func NewGetRuleNotificationRequestWithApplicationVndOptimizationrulesV1PlusJSONBody

func NewGetRuleNotificationRequestWithApplicationVndOptimizationrulesV1PlusJSONBody(server string, params *GetRuleNotificationParams, body GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Request, error)

NewGetRuleNotificationRequestWithApplicationVndOptimizationrulesV1PlusJSONBody calls the generic GetRuleNotification builder with application/vnd.optimizationrules.v1+json body

func NewGetRuleNotificationRequestWithBody

func NewGetRuleNotificationRequestWithBody(server string, params *GetRuleNotificationParams, contentType string, body io.Reader) (*http.Request, error)

NewGetRuleNotificationRequestWithBody generates requests for GetRuleNotification with any type of body

func NewGetSPBudgetRulesForAdvertiserRequest

func NewGetSPBudgetRulesForAdvertiserRequest(server string, params *GetSPBudgetRulesForAdvertiserParams) (*http.Request, error)

NewGetSPBudgetRulesForAdvertiserRequest generates requests for GetSPBudgetRulesForAdvertiser

func NewGetTargetableASINCountsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody

func NewGetTargetableASINCountsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody(server string, params *GetTargetableASINCountsParams, body GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Request, error)

NewGetTargetableASINCountsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody calls the generic GetTargetableASINCounts builder with application/vnd.spproducttargeting.v3+json body

func NewGetTargetableASINCountsRequestWithBody

func NewGetTargetableASINCountsRequestWithBody(server string, params *GetTargetableASINCountsParams, contentType string, body io.Reader) (*http.Request, error)

NewGetTargetableASINCountsRequestWithBody generates requests for GetTargetableASINCounts with any type of body

func NewGetTargetableCategoriesRequest

func NewGetTargetableCategoriesRequest(server string, params *GetTargetableCategoriesParams) (*http.Request, error)

NewGetTargetableCategoriesRequest generates requests for GetTargetableCategories

func NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody

func NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody(server string, params *GetThemeBasedBidRecommendationForAdGroupV1Params, body GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody) (*http.Request, error)

NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody calls the generic GetThemeBasedBidRecommendationForAdGroupV1 builder with application/vnd.spthemebasedbidrecommendation.v3+json body

func NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithBody

func NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithBody(server string, params *GetThemeBasedBidRecommendationForAdGroupV1Params, contentType string, body io.Reader) (*http.Request, error)

NewGetThemeBasedBidRecommendationForAdGroupV1RequestWithBody generates requests for GetThemeBasedBidRecommendationForAdGroupV1 with any type of body

func NewListAssociatedBudgetRulesForSPCampaignsRequest

func NewListAssociatedBudgetRulesForSPCampaignsRequest(server string, campaignId int64, params *ListAssociatedBudgetRulesForSPCampaignsParams) (*http.Request, error)

NewListAssociatedBudgetRulesForSPCampaignsRequest generates requests for ListAssociatedBudgetRulesForSPCampaigns

func NewListSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody

func NewListSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody(server string, params *ListSponsoredProductsAdGroupsParams, body ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody calls the generic ListSponsoredProductsAdGroups builder with application/vnd.spAdGroup.v3+json body

func NewListSponsoredProductsAdGroupsRequestWithBody

func NewListSponsoredProductsAdGroupsRequestWithBody(server string, params *ListSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsAdGroupsRequestWithBody generates requests for ListSponsoredProductsAdGroups with any type of body

func NewListSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody

func NewListSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(server string, params *ListSponsoredProductsCampaignNegativeKeywordsParams, body ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody calls the generic ListSponsoredProductsCampaignNegativeKeywords builder with application/vnd.spCampaignNegativeKeyword.v3+json body

func NewListSponsoredProductsCampaignNegativeKeywordsRequestWithBody

func NewListSponsoredProductsCampaignNegativeKeywordsRequestWithBody(server string, params *ListSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsCampaignNegativeKeywordsRequestWithBody generates requests for ListSponsoredProductsCampaignNegativeKeywords with any type of body

func NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody

func NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(server string, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, body ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody calls the generic ListSponsoredProductsCampaignNegativeTargetingClauses builder with application/vnd.spCampaignNegativeTargetingClause.v3+json body

func NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody

func NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody(server string, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody generates requests for ListSponsoredProductsCampaignNegativeTargetingClauses with any type of body

func NewListSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody

func NewListSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody(server string, params *ListSponsoredProductsCampaignsParams, body ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody calls the generic ListSponsoredProductsCampaigns builder with application/vnd.spCampaign.v3+json body

func NewListSponsoredProductsCampaignsRequestWithBody

func NewListSponsoredProductsCampaignsRequestWithBody(server string, params *ListSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsCampaignsRequestWithBody generates requests for ListSponsoredProductsCampaigns with any type of body

func NewListSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody

func NewListSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody(server string, params *ListSponsoredProductsKeywordsParams, body ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody calls the generic ListSponsoredProductsKeywords builder with application/vnd.spKeyword.v3+json body

func NewListSponsoredProductsKeywordsRequestWithBody

func NewListSponsoredProductsKeywordsRequestWithBody(server string, params *ListSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsKeywordsRequestWithBody generates requests for ListSponsoredProductsKeywords with any type of body

func NewListSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody

func NewListSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody(server string, params *ListSponsoredProductsNegativeKeywordsParams, body ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody calls the generic ListSponsoredProductsNegativeKeywords builder with application/vnd.spNegativeKeyword.v3+json body

func NewListSponsoredProductsNegativeKeywordsRequestWithBody

func NewListSponsoredProductsNegativeKeywordsRequestWithBody(server string, params *ListSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsNegativeKeywordsRequestWithBody generates requests for ListSponsoredProductsNegativeKeywords with any type of body

func NewListSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody

func NewListSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(server string, params *ListSponsoredProductsNegativeTargetingClausesParams, body ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody calls the generic ListSponsoredProductsNegativeTargetingClauses builder with application/vnd.spNegativeTargetingClause.v3+json body

func NewListSponsoredProductsNegativeTargetingClausesRequestWithBody

func NewListSponsoredProductsNegativeTargetingClausesRequestWithBody(server string, params *ListSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsNegativeTargetingClausesRequestWithBody generates requests for ListSponsoredProductsNegativeTargetingClauses with any type of body

func NewListSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody

func NewListSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody(server string, params *ListSponsoredProductsProductAdsParams, body ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody calls the generic ListSponsoredProductsProductAds builder with application/vnd.spProductAd.v3+json body

func NewListSponsoredProductsProductAdsRequestWithBody

func NewListSponsoredProductsProductAdsRequestWithBody(server string, params *ListSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsProductAdsRequestWithBody generates requests for ListSponsoredProductsProductAds with any type of body

func NewListSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody

func NewListSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody(server string, params *ListSponsoredProductsTargetingClausesParams, body ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewListSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody calls the generic ListSponsoredProductsTargetingClauses builder with application/vnd.spTargetingClause.v3+json body

func NewListSponsoredProductsTargetingClausesRequestWithBody

func NewListSponsoredProductsTargetingClausesRequestWithBody(server string, params *ListSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewListSponsoredProductsTargetingClausesRequestWithBody generates requests for ListSponsoredProductsTargetingClauses with any type of body

func NewSPGetBudgetRulesRecommendationRequestWithApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody

func NewSPGetBudgetRulesRecommendationRequestWithApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody(server string, params *SPGetBudgetRulesRecommendationParams, body SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody) (*http.Request, error)

NewSPGetBudgetRulesRecommendationRequestWithApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody calls the generic SPGetBudgetRulesRecommendation builder with application/vnd.spbudgetrulesrecommendation.v3+json body

func NewSPGetBudgetRulesRecommendationRequestWithBody

func NewSPGetBudgetRulesRecommendationRequestWithBody(server string, params *SPGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*http.Request, error)

NewSPGetBudgetRulesRecommendationRequestWithBody generates requests for SPGetBudgetRulesRecommendation with any type of body

func NewSearchBrandsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody

func NewSearchBrandsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody(server string, params *SearchBrandsParams, body SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Request, error)

NewSearchBrandsRequestWithApplicationVndSpproducttargetingV3PlusJSONBody calls the generic SearchBrands builder with application/vnd.spproducttargeting.v3+json body

func NewSearchBrandsRequestWithBody

func NewSearchBrandsRequestWithBody(server string, params *SearchBrandsParams, contentType string, body io.Reader) (*http.Request, error)

NewSearchBrandsRequestWithBody generates requests for SearchBrands with any type of body

func NewSpCampaignsBudgetUsageRequestWithApplicationVndSpcampaignbudgetusageV1PlusJSONBody

func NewSpCampaignsBudgetUsageRequestWithApplicationVndSpcampaignbudgetusageV1PlusJSONBody(server string, params *SpCampaignsBudgetUsageParams, body SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody) (*http.Request, error)

NewSpCampaignsBudgetUsageRequestWithApplicationVndSpcampaignbudgetusageV1PlusJSONBody calls the generic SpCampaignsBudgetUsage builder with application/vnd.spcampaignbudgetusage.v1+json body

func NewSpCampaignsBudgetUsageRequestWithBody

func NewSpCampaignsBudgetUsageRequestWithBody(server string, params *SpCampaignsBudgetUsageParams, contentType string, body io.Reader) (*http.Request, error)

NewSpCampaignsBudgetUsageRequestWithBody generates requests for SpCampaignsBudgetUsage with any type of body

func NewUpdateBudgetRulesForSPCampaignsRequest

func NewUpdateBudgetRulesForSPCampaignsRequest(server string, params *UpdateBudgetRulesForSPCampaignsParams, body UpdateBudgetRulesForSPCampaignsJSONRequestBody) (*http.Request, error)

NewUpdateBudgetRulesForSPCampaignsRequest calls the generic UpdateBudgetRulesForSPCampaigns builder with application/json body

func NewUpdateBudgetRulesForSPCampaignsRequestWithBody

func NewUpdateBudgetRulesForSPCampaignsRequestWithBody(server string, params *UpdateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBudgetRulesForSPCampaignsRequestWithBody generates requests for UpdateBudgetRulesForSPCampaigns with any type of body

func NewUpdateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody

func NewUpdateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody(server string, params *UpdateOptimizationRuleParams, body UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateOptimizationRuleRequestWithApplicationVndOptimizationrulesV1PlusJSONBody calls the generic UpdateOptimizationRule builder with application/vnd.optimizationrules.v1+json body

func NewUpdateOptimizationRuleRequestWithBody

func NewUpdateOptimizationRuleRequestWithBody(server string, params *UpdateOptimizationRuleParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOptimizationRuleRequestWithBody generates requests for UpdateOptimizationRule with any type of body

func NewUpdateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody

func NewUpdateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody(server string, params *UpdateSponsoredProductsAdGroupsParams, body UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsAdGroupsRequestWithApplicationVndSpAdGroupV3PlusJSONBody calls the generic UpdateSponsoredProductsAdGroups builder with application/vnd.spAdGroup.v3+json body

func NewUpdateSponsoredProductsAdGroupsRequestWithBody

func NewUpdateSponsoredProductsAdGroupsRequestWithBody(server string, params *UpdateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsAdGroupsRequestWithBody generates requests for UpdateSponsoredProductsAdGroups with any type of body

func NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody

func NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(server string, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, body UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody calls the generic UpdateSponsoredProductsCampaignNegativeKeywords builder with application/vnd.spCampaignNegativeKeyword.v3+json body

func NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithBody

func NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithBody(server string, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsCampaignNegativeKeywordsRequestWithBody generates requests for UpdateSponsoredProductsCampaignNegativeKeywords with any type of body

func NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody

func NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(server string, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, body UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody calls the generic UpdateSponsoredProductsCampaignNegativeTargetingClauses builder with application/vnd.spCampaignNegativeTargetingClause.v3+json body

func NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody

func NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody(server string, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestWithBody generates requests for UpdateSponsoredProductsCampaignNegativeTargetingClauses with any type of body

func NewUpdateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody

func NewUpdateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody(server string, params *UpdateSponsoredProductsCampaignsParams, body UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsCampaignsRequestWithApplicationVndSpCampaignV3PlusJSONBody calls the generic UpdateSponsoredProductsCampaigns builder with application/vnd.spCampaign.v3+json body

func NewUpdateSponsoredProductsCampaignsRequestWithBody

func NewUpdateSponsoredProductsCampaignsRequestWithBody(server string, params *UpdateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsCampaignsRequestWithBody generates requests for UpdateSponsoredProductsCampaigns with any type of body

func NewUpdateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody

func NewUpdateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody(server string, params *UpdateSponsoredProductsKeywordsParams, body UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsKeywordsRequestWithApplicationVndSpKeywordV3PlusJSONBody calls the generic UpdateSponsoredProductsKeywords builder with application/vnd.spKeyword.v3+json body

func NewUpdateSponsoredProductsKeywordsRequestWithBody

func NewUpdateSponsoredProductsKeywordsRequestWithBody(server string, params *UpdateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsKeywordsRequestWithBody generates requests for UpdateSponsoredProductsKeywords with any type of body

func NewUpdateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody

func NewUpdateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody(server string, params *UpdateSponsoredProductsNegativeKeywordsParams, body UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsNegativeKeywordsRequestWithApplicationVndSpNegativeKeywordV3PlusJSONBody calls the generic UpdateSponsoredProductsNegativeKeywords builder with application/vnd.spNegativeKeyword.v3+json body

func NewUpdateSponsoredProductsNegativeKeywordsRequestWithBody

func NewUpdateSponsoredProductsNegativeKeywordsRequestWithBody(server string, params *UpdateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsNegativeKeywordsRequestWithBody generates requests for UpdateSponsoredProductsNegativeKeywords with any type of body

func NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody

func NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(server string, params *UpdateSponsoredProductsNegativeTargetingClausesParams, body UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody calls the generic UpdateSponsoredProductsNegativeTargetingClauses builder with application/vnd.spNegativeTargetingClause.v3+json body

func NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithBody

func NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithBody(server string, params *UpdateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsNegativeTargetingClausesRequestWithBody generates requests for UpdateSponsoredProductsNegativeTargetingClauses with any type of body

func NewUpdateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody

func NewUpdateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody(server string, params *UpdateSponsoredProductsProductAdsParams, body UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsProductAdsRequestWithApplicationVndSpProductAdV3PlusJSONBody calls the generic UpdateSponsoredProductsProductAds builder with application/vnd.spProductAd.v3+json body

func NewUpdateSponsoredProductsProductAdsRequestWithBody

func NewUpdateSponsoredProductsProductAdsRequestWithBody(server string, params *UpdateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsProductAdsRequestWithBody generates requests for UpdateSponsoredProductsProductAds with any type of body

func NewUpdateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody

func NewUpdateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody(server string, params *UpdateSponsoredProductsTargetingClausesParams, body UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateSponsoredProductsTargetingClausesRequestWithApplicationVndSpTargetingClauseV3PlusJSONBody calls the generic UpdateSponsoredProductsTargetingClauses builder with application/vnd.spTargetingClause.v3+json body

func NewUpdateSponsoredProductsTargetingClausesRequestWithBody

func NewUpdateSponsoredProductsTargetingClausesRequestWithBody(server string, params *UpdateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSponsoredProductsTargetingClausesRequestWithBody generates requests for UpdateSponsoredProductsTargetingClauses with any type of body

Types

type AccessDeniedException

type AccessDeniedException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

AccessDeniedException Returns information about an AccessDeniedException.

type AdGroup

type AdGroup struct {
	// AdGroupId The ad group identifier.
	AdGroupId *string `json:"adGroupId,omitempty"`

	// Asins The list of ad ASINs in the ad group.
	Asins []string `json:"asins"`

	// TargetingExpressions The list of targeting expressions. Maximum of 100 per request.
	TargetingExpressions []TargetingExpression `json:"targetingExpressions"`
}

AdGroup defines model for AdGroup.

type AdGroupKeywordTargetRankRecommendationRequest

type AdGroupKeywordTargetRankRecommendationRequest = KeywordTargetRankRecommendationRequest

AdGroupKeywordTargetRankRecommendationRequest defines model for AdGroupKeywordTargetRankRecommendationRequest.

type AdGroupThemeBasedBidRecommendationRequest

type AdGroupThemeBasedBidRecommendationRequest struct {
	// AdGroupId The ad group identifier.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The campaign identifier.
	CampaignId string `json:"campaignId"`

	// RecommendationType The bid recommendation type.
	RecommendationType AdGroupThemeBasedBidRecommendationRequestRecommendationType `json:"recommendationType"`

	// TargetingExpressions The list of targeting expressions. Maximum of 100 per request, use pagination for more if needed.
	TargetingExpressions TargetingExpressionList `json:"targetingExpressions"`
}

AdGroupThemeBasedBidRecommendationRequest defines model for AdGroupThemeBasedBidRecommendationRequest.

type AdGroupThemeBasedBidRecommendationRequestRecommendationType

type AdGroupThemeBasedBidRecommendationRequestRecommendationType string

AdGroupThemeBasedBidRecommendationRequestRecommendationType The bid recommendation type.

const (
	BIDSFOREXISTINGADGROUP AdGroupThemeBasedBidRecommendationRequestRecommendationType = "BIDS_FOR_EXISTING_AD_GROUP"
)

Defines values for AdGroupThemeBasedBidRecommendationRequestRecommendationType.

type Adjustment

type Adjustment struct {
	// PlacementAdjustment Specifies bid adjustments based on the placement location. Use `PLACEMENT_TOP` for the top of the search page. Use `PLACEMENT_PRODUCT_PAGE` for a product page.
	PlacementAdjustment *PlacementAdjustment `json:"placementAdjustment,omitempty"`
}

Adjustment defines model for Adjustment.

type AgeRange

type AgeRange struct {
	// Id Id of Age Range. This field is REQUIRED if the Age Range object is being used as an input. Use the GetRefinementsForCategory to retrieve Age Range Node IDs.
	Id *string `json:"id,omitempty"`

	// Name Name of Age Range. This field is OPTIONAL if the Age Range object is being used as an input.
	Name *string `json:"name,omitempty"`
}

AgeRange defines model for AgeRange.

type AgeRangeLoP

type AgeRangeLoP struct {
	// Id Id of Age Range. Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Age Range Node IDs.
	Id *string `json:"id,omitempty"`

	// Name Name of Age Range.
	Name *string `json:"name,omitempty"`

	// TranslatedName Translated name of Age Range based off locale sent in request.
	TranslatedName *string `json:"translatedName,omitempty"`
}

AgeRangeLoP defines model for AgeRangeLoP.

type AgeRanges

type AgeRanges = []AgeRange

AgeRanges List of Age Ranges. Use the GetRefinementsForCategory to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games.

type AgeRangesLoP

type AgeRangesLoP = []AgeRangeLoP

AgeRangesLoP List of Age Ranges in a language of preference (LoP). Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games.

type AsinsKeywordTargetRankRecommendationRequest

type AsinsKeywordTargetRankRecommendationRequest = KeywordTargetRankRecommendationRequest

AsinsKeywordTargetRankRecommendationRequest defines model for AsinsKeywordTargetRankRecommendationRequest.

type AsinsThemeBasedBidRecommendationRequest

type AsinsThemeBasedBidRecommendationRequest struct {
	// Asins The list of ad ASINs in the ad group.
	Asins []string `json:"asins"`

	// Bidding Bidding control configuration for the campaign.
	Bidding struct {
		// Adjustments Placement adjustment configuration for the campaign.
		Adjustments *[]PlacementAdjustment `json:"adjustments,omitempty"`

		// Strategy The bidding strategy selected for the campaign. Use `LEGACY_FOR_SALES` to lower your bid in real time when your ad may be less likely to convert to a sale. Use `AUTO_FOR_SALES` to increase your bid in real time when your ad may be more likely to convert to a sale or lower your bid when less likely to convert to a sale. Use `MANUAL` to use your exact bid along with any manual adjustments.
		MyBiddingStrategy MyBiddingStrategy `json:"strategy"`
	} `json:"bidding"`

	// RecommendationType The bid recommendation type.
	RecommendationType AsinsThemeBasedBidRecommendationRequestRecommendationType `json:"recommendationType"`

	// TargetingExpressions The list of targeting expressions. Maximum of 100 per request, use pagination for more if needed.
	TargetingExpressions TargetingExpressionList `json:"targetingExpressions"`
}

AsinsThemeBasedBidRecommendationRequest defines model for AsinsThemeBasedBidRecommendationRequest.

type AsinsThemeBasedBidRecommendationRequestRecommendationType

type AsinsThemeBasedBidRecommendationRequestRecommendationType string

AsinsThemeBasedBidRecommendationRequestRecommendationType The bid recommendation type.

const (
	BIDSFORNEWADGROUP AsinsThemeBasedBidRecommendationRequestRecommendationType = "BIDS_FOR_NEW_AD_GROUP"
)

Defines values for AsinsThemeBasedBidRecommendationRequestRecommendationType.

type AssociatedBudgetRuleResponse

type AssociatedBudgetRuleResponse struct {
	// Code An enumerated success or error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the error, if unsuccessful
	Details *string `json:"details,omitempty"`

	// RuleId The budget rule identifier.
	RuleId *string `json:"ruleId,omitempty"`
}

AssociatedBudgetRuleResponse defines model for AssociatedBudgetRuleResponse.

type AssociatedCampaign

type AssociatedCampaign struct {
	// CampaignId The campaign identifier.
	CampaignId string `json:"campaignId"`

	// CampaignName The campaign name.
	CampaignName string `json:"campaignName"`

	// RuleStatus The budget rule evaluation status for this campaign. Read-only.
	RuleStatus string `json:"ruleStatus"`
}

AssociatedCampaign defines model for AssociatedCampaign.

type BadRequestException

type BadRequestException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

BadRequestException Returns information about a BadRequestException.

type Benchmark

type Benchmark struct {
	// BenchmarkStatus Specifies the processing status of the benchmark. Success - If all fields in values property (impressions, clicks, conversions) have all non-null values. Failed - If all fields in values property have all null values. Partial - If some of the fields (impressions, clicks, or conversions) in values property have null values.
	BenchmarkStatus *BenchmarkBenchmarkStatus `json:"benchmarkStatus,omitempty"`

	// Values Metrics benchmark values.
	Values *Values `json:"values,omitempty"`
}

Benchmark Forecasted impact metrics for next 7 days or during special days.

type BenchmarkBenchmarkStatus

type BenchmarkBenchmarkStatus string

BenchmarkBenchmarkStatus Specifies the processing status of the benchmark. Success - If all fields in values property (impressions, clicks, conversions) have all non-null values. Failed - If all fields in values property have all null values. Partial - If some of the fields (impressions, clicks, or conversions) in values property have null values.

const (
	Failed  BenchmarkBenchmarkStatus = "failed"
	Partial BenchmarkBenchmarkStatus = "partial"
	Success BenchmarkBenchmarkStatus = "success"
)

Defines values for BenchmarkBenchmarkStatus.

type BidRecommendationError

type BidRecommendationError struct {
	// Code A machine-readable error code.
	Code string `json:"code"`

	// Details A human-readable description of the response.
	Details string `json:"details"`
}

BidRecommendationError defines model for BidRecommendationError.

type BidRecommendationPerTargetingExpression

type BidRecommendationPerTargetingExpression struct {
	BidValues []BidValue `json:"bidValues"`

	// TargetingExpression The targeting expression. The `type` property specifies the targeting option. Use `CLOSE_MATCH` to match your auto targeting ads closely to the specified value. Use `LOOSE_MATCH` to match your auto targeting ads broadly to the specified value. Use `SUBSTITUTES` to display your auto targeting ads along with substitutable products. Use `COMPLEMENTS` to display your auto targeting ads along with affiliated products. Use `KEYWORD_BROAD_MATCH` to broadly match your keyword targeting ads with search queries. Use `KEYWORD_EXACT_MATCH` to exactly match your keyword targeting ads with search queries. Use `KEYWORD_PHRASE_MATCH` to match your keyword targeting ads with search phrases.
	TargetingExpression TargetingExpression `json:"targetingExpression"`
}

BidRecommendationPerTargetingExpression defines model for BidRecommendationPerTargetingExpression.

type BidSuggestion

type BidSuggestion struct {
	// BidRecId The bid recommendation id
	BidRecId *string `json:"bidRecId,omitempty"`

	// RangeEnd The bid range end
	RangeEnd *float64 `json:"rangeEnd,omitempty"`

	// RangeStart The bid range start
	RangeStart *float64 `json:"rangeStart,omitempty"`

	// Suggested The suggested bid
	Suggested *float64 `json:"suggested,omitempty"`
}

BidSuggestion Suggested bid range

type BidValue

type BidValue struct {
	// SuggestedBid The suggested bid.
	SuggestedBid float64 `json:"suggestedBid"`
}

BidValue Bid value of the bid recommendations

type BidValues

type BidValues struct {
	// RangeEnd The bid range end
	RangeEnd *float64 `json:"rangeEnd,omitempty"`

	// RangeStart The bid range start
	RangeStart *float64 `json:"rangeStart,omitempty"`

	// Suggested The suggested bid
	Suggested *float64 `json:"suggested,omitempty"`
}

BidValues Suggested bid range

type Bidding

type Bidding struct {
	// Adjustments Placement adjustment configuration for the campaign.
	Adjustments *[]Adjustment `json:"adjustments,omitempty"`

	// Strategy The bidding strategy selected for the campaign. Use LEGACY_FOR_SALES to lower your bid in real time when your ad may be less likely to convert to a sale. Use AUTO_FOR_SALES to increase your bid in real time when your ad may be more likely to convert to a sale or lower your bid when less likely to convert to a sale. Use MANUAL to use your exact bid along with any manual adjustments.
	Strategy BiddingStrategy `json:"strategy"`
}

Bidding The bidding control configuration for the new campaign.

type BiddingStrategy

type BiddingStrategy string

BiddingStrategy The bidding strategy selected for the campaign. Use LEGACY_FOR_SALES to lower your bid in real time when your ad may be less likely to convert to a sale. Use AUTO_FOR_SALES to increase your bid in real time when your ad may be more likely to convert to a sale or lower your bid when less likely to convert to a sale. Use MANUAL to use your exact bid along with any manual adjustments.

const (
	BiddingStrategyAUTOFORSALES   BiddingStrategy = "AUTO_FOR_SALES"
	BiddingStrategyLEGACYFORSALES BiddingStrategy = "LEGACY_FOR_SALES"
	BiddingStrategyMANUAL         BiddingStrategy = "MANUAL"
	BiddingStrategyRULEBASED      BiddingStrategy = "RULE_BASED"
)

Defines values for BiddingStrategy.

type BiddingStrategyRecommendation

type BiddingStrategyRecommendation struct {
	// Action Type of suggested action.
	Action *BiddingStrategyRecommendationAction `json:"action,omitempty"`

	// SuggestedBiddingStrategy The suggested bidding strategy value for the campaign.
	// | Value | Strategy name | Description |
	// |----------------|---------------|-------------|
	// | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. |
	// | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. |
	// | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. |
	SuggestedBiddingStrategy *BiddingStrategyRecommendationSuggestedBiddingStrategy `json:"suggestedBiddingStrategy,omitempty"`
}

BiddingStrategyRecommendation Contains suggested recommendation for the campaign bidding strategy.

type BiddingStrategyRecommendationAction

type BiddingStrategyRecommendationAction string

BiddingStrategyRecommendationAction Type of suggested action.

const (
	BiddingStrategyRecommendationActionUPDATE BiddingStrategyRecommendationAction = "UPDATE"
)

Defines values for BiddingStrategyRecommendationAction.

type BiddingStrategyRecommendationSuggestedBiddingStrategy

type BiddingStrategyRecommendationSuggestedBiddingStrategy string

BiddingStrategyRecommendationSuggestedBiddingStrategy The suggested bidding strategy value for the campaign. | Value | Strategy name | Description | |----------------|---------------|-------------| | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. | | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. | | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. |

const (
	BiddingStrategyRecommendationSuggestedBiddingStrategyAUTOFORSALES   BiddingStrategyRecommendationSuggestedBiddingStrategy = "AUTO_FOR_SALES"
	BiddingStrategyRecommendationSuggestedBiddingStrategyLEGACYFORSALES BiddingStrategyRecommendationSuggestedBiddingStrategy = "LEGACY_FOR_SALES"
	BiddingStrategyRecommendationSuggestedBiddingStrategyMANUAL         BiddingStrategyRecommendationSuggestedBiddingStrategy = "MANUAL"
)

Defines values for BiddingStrategyRecommendationSuggestedBiddingStrategy.

type Brand

type Brand struct {
	// Id Id of brand. This field is REQUIRED if the Brand object is being used as an input. Use the GetRefinementsForCategory to retrieve Brand Node IDs.
	Id *string `json:"id,omitempty"`

	// Name Name of brand. This field is OPTIONAL if the Brand object is being used as an input.
	Name *string `json:"name,omitempty"`
}

Brand defines model for Brand.

type BrandLoP

type BrandLoP struct {
	// Id Id of brand.
	Id *string `json:"id,omitempty"`

	// Name Name of brand.
	Name *string `json:"name,omitempty"`
}

BrandLoP defines model for BrandLoP.

type Brands

type Brands = []Brand

Brands List of Brands.

type BrandsLoP

type BrandsLoP = []BrandLoP

BrandsLoP List of Brands.

type BudgetChangeType

type BudgetChangeType string

BudgetChangeType The value by which to update the budget of the budget rule.

const (
	PERCENT BudgetChangeType = "PERCENT"
)

Defines values for BudgetChangeType.

type BudgetIncreaseBy

type BudgetIncreaseBy struct {
	// Type The value by which to update the budget of the budget rule.
	Type BudgetChangeType `json:"type"`

	// Value The budget value.
	Value float64 `json:"value"`
}

BudgetIncreaseBy defines model for budgetIncreaseBy.

type BudgetRecommendation

type BudgetRecommendation struct {
	// Action Type of suggested action.
	Action *BudgetRecommendationAction `json:"action,omitempty"`

	// SuggestedBudget The suggested budget value for the campaign.
	SuggestedBudget *float64 `json:"suggestedBudget,omitempty"`
}

BudgetRecommendation Contains suggested recommendation for the campaign budget.

type BudgetRecommendationAction

type BudgetRecommendationAction string

BudgetRecommendationAction Type of suggested action.

const (
	BudgetRecommendationActionDECREASE BudgetRecommendationAction = "DECREASE"
	BudgetRecommendationActionINCREASE BudgetRecommendationAction = "INCREASE"
)

Defines values for BudgetRecommendationAction.

type BudgetRecommendationError

type BudgetRecommendationError struct {
	Error SPTORBudgetRecommendationError `json:"Error"`

	// CampaignId encrypted campaignId
	CampaignId string `json:"campaignId"`

	// Index Correlate the recommendation to the campaign index in the request. Zero-based
	Index int `json:"index"`
}

BudgetRecommendationError defines model for BudgetRecommendationError.

type BudgetRecommendationNewCampaignsErrorMessage

type BudgetRecommendationNewCampaignsErrorMessage = string

BudgetRecommendationNewCampaignsErrorMessage defines model for BudgetRecommendationNewCampaignsErrorMessage.

type BudgetRecommendationNewCampaignsException

type BudgetRecommendationNewCampaignsException struct {
	Message *BudgetRecommendationNewCampaignsErrorMessage `json:"message,omitempty"`
}

BudgetRecommendationNewCampaignsException defines model for BudgetRecommendationNewCampaignsException.

type BudgetRecommendationRequest

type BudgetRecommendationRequest struct {
	// CampaignIds List of campaigns.
	CampaignIds []string `json:"campaignIds"`
}

BudgetRecommendationRequest defines model for BudgetRecommendationRequest.

type BudgetRecommendationResponse

type BudgetRecommendationResponse struct {
	// BudgetRecommendationsErrorResults List of errors that occured when generating bduget recommendation.
	BudgetRecommendationsErrorResults []BudgetRecommendationError `json:"budgetRecommendationsErrorResults"`

	// BudgetRecommendationsSuccessResults List of successful budget recomendation for campagins.
	BudgetRecommendationsSuccessResults []BudgetRecommendation `json:"budgetRecommendationsSuccessResults"`
}

BudgetRecommendationResponse defines model for BudgetRecommendationResponse.

type BudgetRuleError

type BudgetRuleError struct {
	// Code An enumerated error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

BudgetRuleError The Error Response Object.

type BudgetRuleResponse

type BudgetRuleResponse struct {
	AssociatedCampaignIds *[]string `json:"associatedCampaignIds,omitempty"`

	// Code An enumerated success or error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the error, if unsuccessful
	Details *string `json:"details,omitempty"`

	// RuleId The rule identifier.
	RuleId *string `json:"ruleId,omitempty"`
}

BudgetRuleResponse defines model for BudgetRuleResponse.

type BudgetUsageCampaign

type BudgetUsageCampaign struct {
	// Budget Budget amount of resource requested
	Budget *float32 `json:"budget,omitempty"`

	// BudgetUsagePercent Budget usage percentage (spend / available budget) for the given budget policy.
	BudgetUsagePercent *float32 `json:"budgetUsagePercent,omitempty"`

	// CampaignId ID of requested resource
	CampaignId *string `json:"campaignId,omitempty"`

	// Index An index to maintain order of the campaignIds
	Index *float32 `json:"index,omitempty"`

	// UsageUpdatedTimestamp Last evaluation time for budget usage
	UsageUpdatedTimestamp *time.Time `json:"usageUpdatedTimestamp,omitempty"`
}

BudgetUsageCampaign defines model for BudgetUsageCampaign.

type BudgetUsageCampaignBatchError

type BudgetUsageCampaignBatchError struct {
	// CampaignId ID of requested resource
	CampaignId *string `json:"campaignId,omitempty"`

	// Code An enumerated error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`

	// Index An index to maintain order of the campaignIds
	Index *float32 `json:"index,omitempty"`
}

BudgetUsageCampaignBatchError defines model for BudgetUsageCampaignBatchError.

type BudgetUsageCampaignRequest

type BudgetUsageCampaignRequest struct {
	// CampaignIds A list of campaign IDs
	CampaignIds *[]string `json:"campaignIds,omitempty"`
}

BudgetUsageCampaignRequest defines model for BudgetUsageCampaignRequest.

type BudgetUsageCampaignResponse

type BudgetUsageCampaignResponse struct {
	// Error List of budget usage percentages that failed to pull
	Error *[]BudgetUsageCampaignBatchError `json:"error,omitempty"`

	// Success List of budget usage percentages that were successfully pulled
	Success *[]BudgetUsageCampaign `json:"success,omitempty"`
}

BudgetUsageCampaignResponse defines model for BudgetUsageCampaignResponse.

type BudgetUsageError

type BudgetUsageError struct {
	// Code An enumerated error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

BudgetUsageError The Error Response Object.

type CampaignOptimizationId

type CampaignOptimizationId = string

CampaignOptimizationId The persistent rule identifier.

type CampaignOptimizationRule

type CampaignOptimizationRule struct {
	CampaignIds *[]RuleCampaignId `json:"campaignIds,omitempty"`

	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId CampaignOptimizationId `json:"campaignOptimizationId"`

	// CreatedDate Time of campaign optimization rule creation in ISO 8061. Read-only.
	CreatedDate *RuleCreationDate `json:"createdDate,omitempty"`

	// Recurrence The frequency of the rule application.
	Recurrence *RecurrenceType `json:"recurrence,omitempty"`

	// RuleAction The action taken when the campaign optimization rule is enabled. Defaults to adopt
	RuleAction    *RuleAction        `json:"ruleAction,omitempty"`
	RuleCondition *RuleConditionList `json:"ruleCondition,omitempty"`

	// RuleName The campaign optimization rule name.
	RuleName *RuleName `json:"ruleName,omitempty"`

	// RuleStatus The campaign optimization rule status. Read-Only
	RuleStatus *RuleStatus `json:"ruleStatus,omitempty"`

	// RuleType The type of the campaign optimization rule. Only Support BID as of now
	RuleType *RuleType `json:"ruleType,omitempty"`
}

CampaignOptimizationRule defines model for CampaignOptimizationRule.

type CampaignOptimizationRuleError

type CampaignOptimizationRuleError struct {
	// Code An enumerated error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

CampaignOptimizationRuleError The Error Response Object.

type CampaignRecommendation

type CampaignRecommendation struct {
	// BiddingStrategyRecommendation Contains suggested recommendation for the campaign bidding strategy.
	BiddingStrategyRecommendation *BiddingStrategyRecommendation `json:"biddingStrategyRecommendation,omitempty"`

	// BudgetRecommendation Contains suggested recommendation for the campaign budget.
	BudgetRecommendation *BudgetRecommendation `json:"budgetRecommendation,omitempty"`

	// CampaignId The identifier of the campaign.
	CampaignId                       *string                            `json:"campaignId,omitempty"`
	KeywordTargetingRecommendations  *[]KeywordTargetingRecommendation  `json:"keywordTargetingRecommendations,omitempty"`
	SevenDaysEstimatedOpportunities  *SevenDaysEstimatedOpportunities   `json:"sevenDaysEstimatedOpportunities,omitempty"`
	TargetingGroupBidRecommendations *[]TargetingGroupBidRecommendation `json:"targetingGroupBidRecommendations,omitempty"`
}

CampaignRecommendation This object contains a set of recommendations for a campaign across bid, budget, targeting.

type CategoryItem

type CategoryItem struct {
	// CanBeTargeted A flag which indicates if the current node may be targeted
	CanBeTargeted *bool `json:"canBeTargeted,omitempty"`

	// Id The category id of the current node
	Id *string `json:"id,omitempty"`

	// Name The name of the category
	Name *string `json:"name,omitempty"`

	// Parent The category id of the parent node
	Parent *string `json:"parent,omitempty"`

	// Path The path of the category, which contains the current category and all parent categories
	Path *string `json:"path,omitempty"`
}

CategoryItem defines model for CategoryItem.

type CategoryItemWithAsinCounts

type CategoryItemWithAsinCounts struct {
	AsinCounts *IntegerRange `json:"asinCounts,omitempty"`

	// CategoryPath The path of the category, which contains the current category and all parent categories
	CategoryPath *string `json:"categoryPath,omitempty"`

	// Id The category id of the current node
	Id *string `json:"id,omitempty"`

	// Name The name of the category
	Name *string `json:"name,omitempty"`

	// ParentCategoryId The category id of the parent node
	ParentCategoryId *string `json:"parentCategoryId,omitempty"`
}

CategoryItemWithAsinCounts defines model for CategoryItemWithAsinCounts.

type CategoryItemWithAsinCountsLoP

type CategoryItemWithAsinCountsLoP struct {
	AsinCounts *IntegerRange `json:"asinCounts,omitempty"`

	// CategoryPath The path of the category, which contains the current category and all parent categories
	CategoryPath *string `json:"categoryPath,omitempty"`

	// Id The category id of the current node
	Id *string `json:"id,omitempty"`

	// Name The name of the category
	Name *string `json:"name,omitempty"`

	// ParentCategoryId The category id of the parent node
	ParentCategoryId *string `json:"parentCategoryId,omitempty"`

	// TranslatedCategoryPath The translated path of the category, which contains the current category and all parent categories.
	TranslatedCategoryPath *string `json:"translatedCategoryPath,omitempty"`

	// TranslatedName The translated name of the category.
	TranslatedName *string `json:"translatedName,omitempty"`
}

CategoryItemWithAsinCountsLoP defines model for CategoryItemWithAsinCountsLoP.

type CategoryRecommendations

type CategoryRecommendations struct {
	// Categories List of category recommendations
	Categories *[]CategoryItem `json:"categories,omitempty"`
}

CategoryRecommendations Response object for the GetCategoryRecommendationsForAsins API.

type CategoryRecommendationsWithAsinCounts

type CategoryRecommendationsWithAsinCounts struct {
	// Categories List of category recommendations
	Categories *[]CategoryItemWithAsinCounts `json:"categories,omitempty"`
}

CategoryRecommendationsWithAsinCounts Response object for the GetCategoryRecommendationsForAsins API.

type CategoryRecommendationsWithAsinCountsLoP

type CategoryRecommendationsWithAsinCountsLoP struct {
	// Categories List of category recommendations
	Categories *[]CategoryItemWithAsinCountsLoP `json:"categories,omitempty"`
}

CategoryRecommendationsWithAsinCountsLoP Response object for the GetCategoryRecommendationsForAsins API.

type Clicks

type Clicks struct {
	// Lower lower bound.
	Lower *int `json:"lower,omitempty"`

	// Upper upper bound.
	Upper *int `json:"upper,omitempty"`
}

Clicks Clicks benchmark.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn

	// A callback for modifying response which are generated after receive from the network.
	ResponseEditors []ResponseEditorFn

	// The user agent header identifies your application, its version number, and the platform and programming language you are using.
	// You must include a user agent header in each request submitted to the sales partner API.
	UserAgent string
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateAssociatedBudgetRulesForSPCampaignsWithBody

func (c *Client) CreateAssociatedBudgetRulesForSPCampaignsWithBody(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateBudgetRulesForSPCampaignsWithBody

func (c *Client) CreateBudgetRulesForSPCampaignsWithBody(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateOptimizationRuleWithBody

func (c *Client) CreateOptimizationRuleWithBody(ctx context.Context, params *CreateOptimizationRuleParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsAdGroupsWithBody

func (c *Client) CreateSponsoredProductsAdGroupsWithBody(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsCampaignNegativeKeywordsWithBody

func (c *Client) CreateSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsCampaignNegativeTargetingClausesWithBody

func (c *Client) CreateSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsCampaignsWithBody

func (c *Client) CreateSponsoredProductsCampaignsWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsKeywordsWithBody

func (c *Client) CreateSponsoredProductsKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsNegativeKeywordsWithBody

func (c *Client) CreateSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsNegativeTargetingClausesWithBody

func (c *Client) CreateSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsProductAdsWithBody

func (c *Client) CreateSponsoredProductsProductAdsWithBody(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateSponsoredProductsTargetingClausesWithBody

func (c *Client) CreateSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteCampaignOptimizationRule

func (c *Client) DeleteCampaignOptimizationRule(ctx context.Context, campaignOptimizationId string, params *DeleteCampaignOptimizationRuleParams) (*http.Response, error)

func (*Client) DeleteSponsoredProductsAdGroupsWithBody

func (c *Client) DeleteSponsoredProductsAdGroupsWithBody(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsCampaignNegativeKeywordsWithBody

func (c *Client) DeleteSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBody

func (c *Client) DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsCampaignsWithBody

func (c *Client) DeleteSponsoredProductsCampaignsWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsKeywordsWithBody

func (c *Client) DeleteSponsoredProductsKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsNegativeKeywordsWithBody

func (c *Client) DeleteSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsNegativeTargetingClausesWithBody

func (c *Client) DeleteSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsProductAdsWithBody

func (c *Client) DeleteSponsoredProductsProductAdsWithBody(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DeleteSponsoredProductsTargetingClausesWithBody

func (c *Client) DeleteSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) DisassociateAssociatedBudgetRuleForSPCampaigns

func (c *Client) DisassociateAssociatedBudgetRuleForSPCampaigns(ctx context.Context, campaignId int64, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSPCampaignsParams) (*http.Response, error)

func (*Client) GetBudgetRecommendationWithBody

func (c *Client) GetBudgetRecommendationWithBody(ctx context.Context, params *GetBudgetRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetBudgetRecommendationsWithBody

func (c *Client) GetBudgetRecommendationsWithBody(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetBudgetRuleByRuleIdForSPCampaigns

func (c *Client) GetBudgetRuleByRuleIdForSPCampaigns(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSPCampaignsParams) (*http.Response, error)

func (*Client) GetCampaignOptimizationRule

func (c *Client) GetCampaignOptimizationRule(ctx context.Context, campaignOptimizationId string, params *GetCampaignOptimizationRuleParams) (*http.Response, error)

func (*Client) GetCampaignRecommendations

func (c *Client) GetCampaignRecommendations(ctx context.Context, params *GetCampaignRecommendationsParams) (*http.Response, error)

func (*Client) GetCampaignsAssociatedWithSPBudgetRule

func (c *Client) GetCampaignsAssociatedWithSPBudgetRule(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSPBudgetRuleParams) (*http.Response, error)

func (*Client) GetCategoryRecommendationsForASINsWithBody

func (c *Client) GetCategoryRecommendationsForASINsWithBody(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetNegativeBrands

func (c *Client) GetNegativeBrands(ctx context.Context, params *GetNegativeBrandsParams) (*http.Response, error)

func (*Client) GetOptimizationRuleEligibilityWithBody

func (c *Client) GetOptimizationRuleEligibilityWithBody(ctx context.Context, params *GetOptimizationRuleEligibilityParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetProductRecommendationsWithBody

func (c *Client) GetProductRecommendationsWithBody(ctx context.Context, params *GetProductRecommendationsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetRankedKeywordRecommendationWithBody

func (c *Client) GetRankedKeywordRecommendationWithBody(ctx context.Context, params *GetRankedKeywordRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetRefinementsForCategory

func (c *Client) GetRefinementsForCategory(ctx context.Context, categoryId string, params *GetRefinementsForCategoryParams) (*http.Response, error)

func (*Client) GetRuleBasedBudgetHistoryForSPCampaigns

func (c *Client) GetRuleBasedBudgetHistoryForSPCampaigns(ctx context.Context, campaignId int64, params *GetRuleBasedBudgetHistoryForSPCampaignsParams) (*http.Response, error)

func (*Client) GetRuleNotificationWithBody

func (c *Client) GetRuleNotificationWithBody(ctx context.Context, params *GetRuleNotificationParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetSPBudgetRulesForAdvertiser

func (c *Client) GetSPBudgetRulesForAdvertiser(ctx context.Context, params *GetSPBudgetRulesForAdvertiserParams) (*http.Response, error)

func (*Client) GetTargetableASINCountsWithBody

func (c *Client) GetTargetableASINCountsWithBody(ctx context.Context, params *GetTargetableASINCountsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetTargetableCategories

func (c *Client) GetTargetableCategories(ctx context.Context, params *GetTargetableCategoriesParams) (*http.Response, error)

func (*Client) GetThemeBasedBidRecommendationForAdGroupV1WithBody

func (c *Client) GetThemeBasedBidRecommendationForAdGroupV1WithBody(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListAssociatedBudgetRulesForSPCampaigns

func (c *Client) ListAssociatedBudgetRulesForSPCampaigns(ctx context.Context, campaignId int64, params *ListAssociatedBudgetRulesForSPCampaignsParams) (*http.Response, error)

func (*Client) ListSponsoredProductsAdGroupsWithBody

func (c *Client) ListSponsoredProductsAdGroupsWithBody(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsCampaignNegativeKeywordsWithBody

func (c *Client) ListSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsCampaignNegativeTargetingClausesWithBody

func (c *Client) ListSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsCampaignsWithBody

func (c *Client) ListSponsoredProductsCampaignsWithBody(ctx context.Context, params *ListSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsKeywordsWithBody

func (c *Client) ListSponsoredProductsKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsNegativeKeywordsWithBody

func (c *Client) ListSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsNegativeTargetingClausesWithBody

func (c *Client) ListSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsProductAdsWithBody

func (c *Client) ListSponsoredProductsProductAdsWithBody(ctx context.Context, params *ListSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ListSponsoredProductsTargetingClausesWithBody

func (c *Client) ListSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) SPGetBudgetRulesRecommendationWithBody

func (c *Client) SPGetBudgetRulesRecommendationWithBody(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBody

func (c *Client) SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBody(ctx context.Context, params *SearchBrandsParams, body SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Response, error)

func (*Client) SearchBrandsWithBody

func (c *Client) SearchBrandsWithBody(ctx context.Context, params *SearchBrandsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) SpCampaignsBudgetUsageWithBody

func (c *Client) SpCampaignsBudgetUsageWithBody(ctx context.Context, params *SpCampaignsBudgetUsageParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateBudgetRulesForSPCampaignsWithBody

func (c *Client) UpdateBudgetRulesForSPCampaignsWithBody(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateOptimizationRuleWithBody

func (c *Client) UpdateOptimizationRuleWithBody(ctx context.Context, params *UpdateOptimizationRuleParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsAdGroupsWithBody

func (c *Client) UpdateSponsoredProductsAdGroupsWithBody(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsCampaignNegativeKeywordsWithBody

func (c *Client) UpdateSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBody

func (c *Client) UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsCampaignsWithBody

func (c *Client) UpdateSponsoredProductsCampaignsWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsKeywordsWithBody

func (c *Client) UpdateSponsoredProductsKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsNegativeKeywordsWithBody

func (c *Client) UpdateSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsNegativeTargetingClausesWithBody

func (c *Client) UpdateSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsProductAdsWithBody

func (c *Client) UpdateSponsoredProductsProductAdsWithBody(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateSponsoredProductsTargetingClausesWithBody

func (c *Client) UpdateSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CreateSponsoredProductsAdGroupsWithBody request with any body
	CreateSponsoredProductsAdGroupsWithBody(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, body CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsAdGroupsWithBody request with any body
	UpdateSponsoredProductsAdGroupsWithBody(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, body UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsAdGroupsWithBody request with any body
	DeleteSponsoredProductsAdGroupsWithBody(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, body DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsAdGroupsWithBody request with any body
	ListSponsoredProductsAdGroupsWithBody(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, body ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*http.Response, error)

	// GetSPBudgetRulesForAdvertiser request
	GetSPBudgetRulesForAdvertiser(ctx context.Context, params *GetSPBudgetRulesForAdvertiserParams) (*http.Response, error)

	// CreateBudgetRulesForSPCampaignsWithBody request with any body
	CreateBudgetRulesForSPCampaignsWithBody(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateBudgetRulesForSPCampaigns(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, body CreateBudgetRulesForSPCampaignsJSONRequestBody) (*http.Response, error)

	// UpdateBudgetRulesForSPCampaignsWithBody request with any body
	UpdateBudgetRulesForSPCampaignsWithBody(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateBudgetRulesForSPCampaigns(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, body UpdateBudgetRulesForSPCampaignsJSONRequestBody) (*http.Response, error)

	// GetBudgetRuleByRuleIdForSPCampaigns request
	GetBudgetRuleByRuleIdForSPCampaigns(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSPCampaignsParams) (*http.Response, error)

	// GetCampaignsAssociatedWithSPBudgetRule request
	GetCampaignsAssociatedWithSPBudgetRule(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSPBudgetRuleParams) (*http.Response, error)

	// GetCampaignRecommendations request
	GetCampaignRecommendations(ctx context.Context, params *GetCampaignRecommendationsParams) (*http.Response, error)

	// CreateSponsoredProductsCampaignNegativeKeywordsWithBody request with any body
	CreateSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, body CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsCampaignNegativeKeywordsWithBody request with any body
	UpdateSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, body UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsCampaignNegativeKeywordsWithBody request with any body
	DeleteSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, body DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsCampaignNegativeKeywordsWithBody request with any body
	ListSponsoredProductsCampaignNegativeKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, body ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// CreateSponsoredProductsCampaignNegativeTargetingClausesWithBody request with any body
	CreateSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, body CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBody request with any body
	UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, body UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBody request with any body
	DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, body DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsCampaignNegativeTargetingClausesWithBody request with any body
	ListSponsoredProductsCampaignNegativeTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, body ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// CreateSponsoredProductsCampaignsWithBody request with any body
	CreateSponsoredProductsCampaignsWithBody(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, body CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsCampaignsWithBody request with any body
	UpdateSponsoredProductsCampaignsWithBody(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, body UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Response, error)

	// SpCampaignsBudgetUsageWithBody request with any body
	SpCampaignsBudgetUsageWithBody(ctx context.Context, params *SpCampaignsBudgetUsageParams, contentType string, body io.Reader) (*http.Response, error)

	SpCampaignsBudgetUsageWithApplicationVndSpcampaignbudgetusageV1PlusJSONBody(ctx context.Context, params *SpCampaignsBudgetUsageParams, body SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody) (*http.Response, error)

	// GetBudgetRecommendationsWithBody request with any body
	GetBudgetRecommendationsWithBody(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*http.Response, error)

	GetBudgetRecommendationsWithApplicationVndBudgetrecommendationV3PlusJSONBody(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody) (*http.Response, error)

	// SPGetBudgetRulesRecommendationWithBody request with any body
	SPGetBudgetRulesRecommendationWithBody(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

	SPGetBudgetRulesRecommendationWithApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, body SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsCampaignsWithBody request with any body
	DeleteSponsoredProductsCampaignsWithBody(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, body DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Response, error)

	// GetBudgetRecommendationWithBody request with any body
	GetBudgetRecommendationWithBody(ctx context.Context, params *GetBudgetRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

	GetBudgetRecommendationWithApplicationVndSpinitialbudgetrecommendationV34PlusJSONBody(ctx context.Context, params *GetBudgetRecommendationParams, body GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsCampaignsWithBody request with any body
	ListSponsoredProductsCampaignsWithBody(ctx context.Context, params *ListSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsCampaignsParams, body ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*http.Response, error)

	// ListAssociatedBudgetRulesForSPCampaigns request
	ListAssociatedBudgetRulesForSPCampaigns(ctx context.Context, campaignId int64, params *ListAssociatedBudgetRulesForSPCampaignsParams) (*http.Response, error)

	// CreateAssociatedBudgetRulesForSPCampaignsWithBody request with any body
	CreateAssociatedBudgetRulesForSPCampaignsWithBody(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateAssociatedBudgetRulesForSPCampaigns(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, body CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody) (*http.Response, error)

	// GetRuleBasedBudgetHistoryForSPCampaigns request
	GetRuleBasedBudgetHistoryForSPCampaigns(ctx context.Context, campaignId int64, params *GetRuleBasedBudgetHistoryForSPCampaignsParams) (*http.Response, error)

	// DisassociateAssociatedBudgetRuleForSPCampaigns request
	DisassociateAssociatedBudgetRuleForSPCampaigns(ctx context.Context, campaignId int64, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSPCampaignsParams) (*http.Response, error)

	// CreateSponsoredProductsKeywordsWithBody request with any body
	CreateSponsoredProductsKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, body CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsKeywordsWithBody request with any body
	UpdateSponsoredProductsKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, body UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsKeywordsWithBody request with any body
	DeleteSponsoredProductsKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, body DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsKeywordsWithBody request with any body
	ListSponsoredProductsKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsKeywordsParams, body ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// CreateSponsoredProductsNegativeKeywordsWithBody request with any body
	CreateSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, body CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsNegativeKeywordsWithBody request with any body
	UpdateSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, body UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsNegativeKeywordsWithBody request with any body
	DeleteSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, body DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsNegativeKeywordsWithBody request with any body
	ListSponsoredProductsNegativeKeywordsWithBody(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, body ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*http.Response, error)

	// CreateSponsoredProductsNegativeTargetingClausesWithBody request with any body
	CreateSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, body CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsNegativeTargetingClausesWithBody request with any body
	UpdateSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, body UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// GetNegativeBrands request
	GetNegativeBrands(ctx context.Context, params *GetNegativeBrandsParams) (*http.Response, error)

	// SearchBrandsWithBody request with any body
	SearchBrandsWithBody(ctx context.Context, params *SearchBrandsParams, contentType string, body io.Reader) (*http.Response, error)

	SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBody(ctx context.Context, params *SearchBrandsParams, body SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsNegativeTargetingClausesWithBody request with any body
	DeleteSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, body DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsNegativeTargetingClausesWithBody request with any body
	ListSponsoredProductsNegativeTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, body ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// CreateSponsoredProductsProductAdsWithBody request with any body
	CreateSponsoredProductsProductAdsWithBody(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, body CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsProductAdsWithBody request with any body
	UpdateSponsoredProductsProductAdsWithBody(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, body UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Response, error)

	// DeleteSponsoredProductsProductAdsWithBody request with any body
	DeleteSponsoredProductsProductAdsWithBody(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, body DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsProductAdsWithBody request with any body
	ListSponsoredProductsProductAdsWithBody(ctx context.Context, params *ListSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsProductAdsParams, body ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*http.Response, error)

	// CreateOptimizationRuleWithBody request with any body
	CreateOptimizationRuleWithBody(ctx context.Context, params *CreateOptimizationRuleParams, contentType string, body io.Reader) (*http.Response, error)

	CreateOptimizationRuleWithApplicationVndOptimizationrulesV1PlusJSONBody(ctx context.Context, params *CreateOptimizationRuleParams, body CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Response, error)

	// UpdateOptimizationRuleWithBody request with any body
	UpdateOptimizationRuleWithBody(ctx context.Context, params *UpdateOptimizationRuleParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateOptimizationRuleWithApplicationVndOptimizationrulesV1PlusJSONBody(ctx context.Context, params *UpdateOptimizationRuleParams, body UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Response, error)

	// GetOptimizationRuleEligibilityWithBody request with any body
	GetOptimizationRuleEligibilityWithBody(ctx context.Context, params *GetOptimizationRuleEligibilityParams, contentType string, body io.Reader) (*http.Response, error)

	GetOptimizationRuleEligibilityWithApplicationVndOptimizationrulesV1PlusJSONBody(ctx context.Context, params *GetOptimizationRuleEligibilityParams, body GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Response, error)

	// GetRuleNotificationWithBody request with any body
	GetRuleNotificationWithBody(ctx context.Context, params *GetRuleNotificationParams, contentType string, body io.Reader) (*http.Response, error)

	GetRuleNotificationWithApplicationVndOptimizationrulesV1PlusJSONBody(ctx context.Context, params *GetRuleNotificationParams, body GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*http.Response, error)

	// DeleteCampaignOptimizationRule request
	DeleteCampaignOptimizationRule(ctx context.Context, campaignOptimizationId string, params *DeleteCampaignOptimizationRuleParams) (*http.Response, error)

	// GetCampaignOptimizationRule request
	GetCampaignOptimizationRule(ctx context.Context, campaignOptimizationId string, params *GetCampaignOptimizationRuleParams) (*http.Response, error)

	// CreateSponsoredProductsTargetingClausesWithBody request with any body
	CreateSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	CreateSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBody(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, body CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// UpdateSponsoredProductsTargetingClausesWithBody request with any body
	UpdateSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBody(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, body UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// GetThemeBasedBidRecommendationForAdGroupV1WithBody request with any body
	GetThemeBasedBidRecommendationForAdGroupV1WithBody(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, contentType string, body io.Reader) (*http.Response, error)

	GetThemeBasedBidRecommendationForAdGroupV1WithApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, body GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody) (*http.Response, error)

	// GetTargetableCategories request
	GetTargetableCategories(ctx context.Context, params *GetTargetableCategoriesParams) (*http.Response, error)

	// GetCategoryRecommendationsForASINsWithBody request with any body
	GetCategoryRecommendationsForASINsWithBody(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, contentType string, body io.Reader) (*http.Response, error)

	GetCategoryRecommendationsForASINsWithApplicationVndSpproducttargetingV3PlusJSONBody(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, body GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Response, error)

	// GetRefinementsForCategory request
	GetRefinementsForCategory(ctx context.Context, categoryId string, params *GetRefinementsForCategoryParams) (*http.Response, error)

	// DeleteSponsoredProductsTargetingClausesWithBody request with any body
	DeleteSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	DeleteSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBody(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, body DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// GetRankedKeywordRecommendationWithBody request with any body
	GetRankedKeywordRecommendationWithBody(ctx context.Context, params *GetRankedKeywordRecommendationParams, contentType string, body io.Reader) (*http.Response, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV3PlusJSONBody(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody) (*http.Response, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV4PlusJSONBody(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody) (*http.Response, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV5PlusJSONBody(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody) (*http.Response, error)

	// ListSponsoredProductsTargetingClausesWithBody request with any body
	ListSponsoredProductsTargetingClausesWithBody(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*http.Response, error)

	ListSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBody(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, body ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*http.Response, error)

	// GetTargetableASINCountsWithBody request with any body
	GetTargetableASINCountsWithBody(ctx context.Context, params *GetTargetableASINCountsParams, contentType string, body io.Reader) (*http.Response, error)

	GetTargetableASINCountsWithApplicationVndSpproducttargetingV3PlusJSONBody(ctx context.Context, params *GetTargetableASINCountsParams, body GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*http.Response, error)

	// GetProductRecommendationsWithBody request with any body
	GetProductRecommendationsWithBody(ctx context.Context, params *GetProductRecommendationsParams, contentType string, body io.Reader) (*http.Response, error)

	GetProductRecommendationsWithApplicationVndSpproductrecommendationV3PlusJSONBody(ctx context.Context, params *GetProductRecommendationsParams, body GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithResponseEditorFn added in v0.0.2

func WithResponseEditorFn(fn ResponseEditorFn) ClientOption

WithResponseEditorFn allows setting up a callback function, which will be called right after receive the response.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateAssociatedBudgetRulesForSPCampaignsWithBodyWithResponse

func (c *ClientWithResponses) CreateAssociatedBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*CreateAssociatedBudgetRulesForSPCampaignsResp, error)

CreateAssociatedBudgetRulesForSPCampaignsWithBodyWithResponse request with arbitrary body returning *CreateAssociatedBudgetRulesForSPCampaignsResp

func (*ClientWithResponses) CreateBudgetRulesForSPCampaignsWithBodyWithResponse

func (c *ClientWithResponses) CreateBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*CreateBudgetRulesForSPCampaignsResp, error)

CreateBudgetRulesForSPCampaignsWithBodyWithResponse request with arbitrary body returning *CreateBudgetRulesForSPCampaignsResp

func (*ClientWithResponses) CreateOptimizationRuleWithBodyWithResponse

func (c *ClientWithResponses) CreateOptimizationRuleWithBodyWithResponse(ctx context.Context, params *CreateOptimizationRuleParams, contentType string, body io.Reader) (*CreateOptimizationRuleResp, error)

CreateOptimizationRuleWithBodyWithResponse request with arbitrary body returning *CreateOptimizationRuleResp

func (*ClientWithResponses) CreateSponsoredProductsAdGroupsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*CreateSponsoredProductsAdGroupsResp, error)

CreateSponsoredProductsAdGroupsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsAdGroupsResp

func (*ClientWithResponses) CreateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignNegativeKeywordsResp, error)

CreateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsCampaignNegativeKeywordsResp

func (*ClientWithResponses) CreateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

CreateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsCampaignNegativeTargetingClausesResp

func (*ClientWithResponses) CreateSponsoredProductsCampaignsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignsResp, error)

CreateSponsoredProductsCampaignsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsCampaignsResp

func (*ClientWithResponses) CreateSponsoredProductsKeywordsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsKeywordsResp, error)

CreateSponsoredProductsKeywordsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsKeywordsResp

func (*ClientWithResponses) CreateSponsoredProductsNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsNegativeKeywordsResp, error)

CreateSponsoredProductsNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsNegativeKeywordsResp

func (*ClientWithResponses) CreateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsNegativeTargetingClausesResp, error)

CreateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsNegativeTargetingClausesResp

func (*ClientWithResponses) CreateSponsoredProductsProductAdsWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*CreateSponsoredProductsProductAdsResp, error)

CreateSponsoredProductsProductAdsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsProductAdsResp

func (*ClientWithResponses) CreateSponsoredProductsTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) CreateSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsTargetingClausesResp, error)

CreateSponsoredProductsTargetingClausesWithBodyWithResponse request with arbitrary body returning *CreateSponsoredProductsTargetingClausesResp

func (*ClientWithResponses) DeleteCampaignOptimizationRuleWithResponse

func (c *ClientWithResponses) DeleteCampaignOptimizationRuleWithResponse(ctx context.Context, campaignOptimizationId string, params *DeleteCampaignOptimizationRuleParams) (*DeleteCampaignOptimizationRuleResp, error)

DeleteCampaignOptimizationRuleWithResponse request returning *DeleteCampaignOptimizationRuleResp

func (*ClientWithResponses) DeleteSponsoredProductsAdGroupsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsAdGroupsResp, error)

DeleteSponsoredProductsAdGroupsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsAdGroupsResp

func (*ClientWithResponses) DeleteSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignNegativeKeywordsResp, error)

DeleteSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsCampaignNegativeKeywordsResp

func (*ClientWithResponses) DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignNegativeTargetingClausesResp, error)

DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsCampaignNegativeTargetingClausesResp

func (*ClientWithResponses) DeleteSponsoredProductsCampaignsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignsResp, error)

DeleteSponsoredProductsCampaignsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsCampaignsResp

func (*ClientWithResponses) DeleteSponsoredProductsKeywordsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsKeywordsResp, error)

DeleteSponsoredProductsKeywordsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsKeywordsResp

func (*ClientWithResponses) DeleteSponsoredProductsNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsNegativeKeywordsResp, error)

DeleteSponsoredProductsNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsNegativeKeywordsResp

func (*ClientWithResponses) DeleteSponsoredProductsNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsNegativeTargetingClausesResp, error)

DeleteSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsNegativeTargetingClausesResp

func (*ClientWithResponses) DeleteSponsoredProductsProductAdsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsProductAdsResp, error)

DeleteSponsoredProductsProductAdsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsProductAdsResp

func (*ClientWithResponses) DeleteSponsoredProductsTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) DeleteSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsTargetingClausesResp, error)

DeleteSponsoredProductsTargetingClausesWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredProductsTargetingClausesResp

func (*ClientWithResponses) DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse

func (c *ClientWithResponses) DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse(ctx context.Context, campaignId int64, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSPCampaignsParams) (*DisassociateAssociatedBudgetRuleForSPCampaignsResp, error)

DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse request returning *DisassociateAssociatedBudgetRuleForSPCampaignsResp

func (*ClientWithResponses) GetBudgetRecommendationWithBodyWithResponse

func (c *ClientWithResponses) GetBudgetRecommendationWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationParams, contentType string, body io.Reader) (*GetBudgetRecommendationResp, error)

GetBudgetRecommendationWithBodyWithResponse request with arbitrary body returning *GetBudgetRecommendationResp

func (*ClientWithResponses) GetBudgetRecommendationsWithBodyWithResponse

func (c *ClientWithResponses) GetBudgetRecommendationsWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*GetBudgetRecommendationsResp, error)

GetBudgetRecommendationsWithBodyWithResponse request with arbitrary body returning *GetBudgetRecommendationsResp

func (*ClientWithResponses) GetBudgetRuleByRuleIdForSPCampaignsWithResponse

func (c *ClientWithResponses) GetBudgetRuleByRuleIdForSPCampaignsWithResponse(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSPCampaignsParams) (*GetBudgetRuleByRuleIdForSPCampaignsResp, error)

GetBudgetRuleByRuleIdForSPCampaignsWithResponse request returning *GetBudgetRuleByRuleIdForSPCampaignsResp

func (*ClientWithResponses) GetCampaignOptimizationRuleWithResponse

func (c *ClientWithResponses) GetCampaignOptimizationRuleWithResponse(ctx context.Context, campaignOptimizationId string, params *GetCampaignOptimizationRuleParams) (*GetCampaignOptimizationRuleResp, error)

GetCampaignOptimizationRuleWithResponse request returning *GetCampaignOptimizationRuleResp

func (*ClientWithResponses) GetCampaignRecommendationsWithResponse

func (c *ClientWithResponses) GetCampaignRecommendationsWithResponse(ctx context.Context, params *GetCampaignRecommendationsParams) (*GetCampaignRecommendationsResp, error)

GetCampaignRecommendationsWithResponse request returning *GetCampaignRecommendationsResp

func (*ClientWithResponses) GetCampaignsAssociatedWithSPBudgetRuleWithResponse

func (c *ClientWithResponses) GetCampaignsAssociatedWithSPBudgetRuleWithResponse(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSPBudgetRuleParams) (*GetCampaignsAssociatedWithSPBudgetRuleResp, error)

GetCampaignsAssociatedWithSPBudgetRuleWithResponse request returning *GetCampaignsAssociatedWithSPBudgetRuleResp

func (*ClientWithResponses) GetCategoryRecommendationsForASINsWithBodyWithResponse

func (c *ClientWithResponses) GetCategoryRecommendationsForASINsWithBodyWithResponse(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, contentType string, body io.Reader) (*GetCategoryRecommendationsForASINsResp, error)

GetCategoryRecommendationsForASINsWithBodyWithResponse request with arbitrary body returning *GetCategoryRecommendationsForASINsResp

func (*ClientWithResponses) GetNegativeBrandsWithResponse

func (c *ClientWithResponses) GetNegativeBrandsWithResponse(ctx context.Context, params *GetNegativeBrandsParams) (*GetNegativeBrandsResp, error)

GetNegativeBrandsWithResponse request returning *GetNegativeBrandsResp

func (*ClientWithResponses) GetOptimizationRuleEligibilityWithBodyWithResponse

func (c *ClientWithResponses) GetOptimizationRuleEligibilityWithBodyWithResponse(ctx context.Context, params *GetOptimizationRuleEligibilityParams, contentType string, body io.Reader) (*GetOptimizationRuleEligibilityResp, error)

GetOptimizationRuleEligibilityWithBodyWithResponse request with arbitrary body returning *GetOptimizationRuleEligibilityResp

func (*ClientWithResponses) GetProductRecommendationsWithBodyWithResponse

func (c *ClientWithResponses) GetProductRecommendationsWithBodyWithResponse(ctx context.Context, params *GetProductRecommendationsParams, contentType string, body io.Reader) (*GetProductRecommendationsResp, error)

GetProductRecommendationsWithBodyWithResponse request with arbitrary body returning *GetProductRecommendationsResp

func (*ClientWithResponses) GetRankedKeywordRecommendationWithBodyWithResponse

func (c *ClientWithResponses) GetRankedKeywordRecommendationWithBodyWithResponse(ctx context.Context, params *GetRankedKeywordRecommendationParams, contentType string, body io.Reader) (*GetRankedKeywordRecommendationResp, error)

GetRankedKeywordRecommendationWithBodyWithResponse request with arbitrary body returning *GetRankedKeywordRecommendationResp

func (*ClientWithResponses) GetRefinementsForCategoryWithResponse

func (c *ClientWithResponses) GetRefinementsForCategoryWithResponse(ctx context.Context, categoryId string, params *GetRefinementsForCategoryParams) (*GetRefinementsForCategoryResp, error)

GetRefinementsForCategoryWithResponse request returning *GetRefinementsForCategoryResp

func (*ClientWithResponses) GetRuleBasedBudgetHistoryForSPCampaignsWithResponse

func (c *ClientWithResponses) GetRuleBasedBudgetHistoryForSPCampaignsWithResponse(ctx context.Context, campaignId int64, params *GetRuleBasedBudgetHistoryForSPCampaignsParams) (*GetRuleBasedBudgetHistoryForSPCampaignsResp, error)

GetRuleBasedBudgetHistoryForSPCampaignsWithResponse request returning *GetRuleBasedBudgetHistoryForSPCampaignsResp

func (*ClientWithResponses) GetRuleNotificationWithBodyWithResponse

func (c *ClientWithResponses) GetRuleNotificationWithBodyWithResponse(ctx context.Context, params *GetRuleNotificationParams, contentType string, body io.Reader) (*GetRuleNotificationResp, error)

GetRuleNotificationWithBodyWithResponse request with arbitrary body returning *GetRuleNotificationResp

func (*ClientWithResponses) GetSPBudgetRulesForAdvertiserWithResponse

func (c *ClientWithResponses) GetSPBudgetRulesForAdvertiserWithResponse(ctx context.Context, params *GetSPBudgetRulesForAdvertiserParams) (*GetSPBudgetRulesForAdvertiserResp, error)

GetSPBudgetRulesForAdvertiserWithResponse request returning *GetSPBudgetRulesForAdvertiserResp

func (*ClientWithResponses) GetTargetableASINCountsWithBodyWithResponse

func (c *ClientWithResponses) GetTargetableASINCountsWithBodyWithResponse(ctx context.Context, params *GetTargetableASINCountsParams, contentType string, body io.Reader) (*GetTargetableASINCountsResp, error)

GetTargetableASINCountsWithBodyWithResponse request with arbitrary body returning *GetTargetableASINCountsResp

func (*ClientWithResponses) GetTargetableCategoriesWithResponse

func (c *ClientWithResponses) GetTargetableCategoriesWithResponse(ctx context.Context, params *GetTargetableCategoriesParams) (*GetTargetableCategoriesResp, error)

GetTargetableCategoriesWithResponse request returning *GetTargetableCategoriesResp

func (*ClientWithResponses) GetThemeBasedBidRecommendationForAdGroupV1WithBodyWithResponse

func (c *ClientWithResponses) GetThemeBasedBidRecommendationForAdGroupV1WithBodyWithResponse(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, contentType string, body io.Reader) (*GetThemeBasedBidRecommendationForAdGroupV1Resp, error)

GetThemeBasedBidRecommendationForAdGroupV1WithBodyWithResponse request with arbitrary body returning *GetThemeBasedBidRecommendationForAdGroupV1Resp

func (*ClientWithResponses) ListAssociatedBudgetRulesForSPCampaignsWithResponse

func (c *ClientWithResponses) ListAssociatedBudgetRulesForSPCampaignsWithResponse(ctx context.Context, campaignId int64, params *ListAssociatedBudgetRulesForSPCampaignsParams) (*ListAssociatedBudgetRulesForSPCampaignsResp, error)

ListAssociatedBudgetRulesForSPCampaignsWithResponse request returning *ListAssociatedBudgetRulesForSPCampaignsResp

func (*ClientWithResponses) ListSponsoredProductsAdGroupsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*ListSponsoredProductsAdGroupsResp, error)

ListSponsoredProductsAdGroupsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsAdGroupsResp

func (*ClientWithResponses) ListSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignNegativeKeywordsResp, error)

ListSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsCampaignNegativeKeywordsResp

func (*ClientWithResponses) ListSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignNegativeTargetingClausesResp, error)

ListSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsCampaignNegativeTargetingClausesResp

func (*ClientWithResponses) ListSponsoredProductsCampaignsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignsResp, error)

ListSponsoredProductsCampaignsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsCampaignsResp

func (*ClientWithResponses) ListSponsoredProductsKeywordsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsKeywordsResp, error)

ListSponsoredProductsKeywordsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsKeywordsResp

func (*ClientWithResponses) ListSponsoredProductsNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsNegativeKeywordsResp, error)

ListSponsoredProductsNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsNegativeKeywordsResp

func (*ClientWithResponses) ListSponsoredProductsNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsNegativeTargetingClausesResp, error)

ListSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsNegativeTargetingClausesResp

func (*ClientWithResponses) ListSponsoredProductsProductAdsWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*ListSponsoredProductsProductAdsResp, error)

ListSponsoredProductsProductAdsWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsProductAdsResp

func (*ClientWithResponses) ListSponsoredProductsTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) ListSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsTargetingClausesResp, error)

ListSponsoredProductsTargetingClausesWithBodyWithResponse request with arbitrary body returning *ListSponsoredProductsTargetingClausesResp

func (*ClientWithResponses) SPGetBudgetRulesRecommendationWithBodyWithResponse

func (c *ClientWithResponses) SPGetBudgetRulesRecommendationWithBodyWithResponse(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*SPGetBudgetRulesRecommendationResp, error)

SPGetBudgetRulesRecommendationWithBodyWithResponse request with arbitrary body returning *SPGetBudgetRulesRecommendationResp

func (*ClientWithResponses) SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBodyWithResponse

func (c *ClientWithResponses) SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBodyWithResponse(ctx context.Context, params *SearchBrandsParams, body SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*SearchBrandsResp, error)

func (*ClientWithResponses) SearchBrandsWithBodyWithResponse

func (c *ClientWithResponses) SearchBrandsWithBodyWithResponse(ctx context.Context, params *SearchBrandsParams, contentType string, body io.Reader) (*SearchBrandsResp, error)

SearchBrandsWithBodyWithResponse request with arbitrary body returning *SearchBrandsResp

func (*ClientWithResponses) SpCampaignsBudgetUsageWithBodyWithResponse

func (c *ClientWithResponses) SpCampaignsBudgetUsageWithBodyWithResponse(ctx context.Context, params *SpCampaignsBudgetUsageParams, contentType string, body io.Reader) (*SpCampaignsBudgetUsageResp, error)

SpCampaignsBudgetUsageWithBodyWithResponse request with arbitrary body returning *SpCampaignsBudgetUsageResp

func (*ClientWithResponses) UpdateBudgetRulesForSPCampaignsWithBodyWithResponse

func (c *ClientWithResponses) UpdateBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*UpdateBudgetRulesForSPCampaignsResp, error)

UpdateBudgetRulesForSPCampaignsWithBodyWithResponse request with arbitrary body returning *UpdateBudgetRulesForSPCampaignsResp

func (*ClientWithResponses) UpdateOptimizationRuleWithBodyWithResponse

func (c *ClientWithResponses) UpdateOptimizationRuleWithBodyWithResponse(ctx context.Context, params *UpdateOptimizationRuleParams, contentType string, body io.Reader) (*UpdateOptimizationRuleResp, error)

UpdateOptimizationRuleWithBodyWithResponse request with arbitrary body returning *UpdateOptimizationRuleResp

func (*ClientWithResponses) UpdateSponsoredProductsAdGroupsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsAdGroupsResp, error)

UpdateSponsoredProductsAdGroupsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsAdGroupsResp

func (*ClientWithResponses) UpdateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignNegativeKeywordsResp, error)

UpdateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsCampaignNegativeKeywordsResp

func (*ClientWithResponses) UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsCampaignNegativeTargetingClausesResp

func (*ClientWithResponses) UpdateSponsoredProductsCampaignsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignsResp, error)

UpdateSponsoredProductsCampaignsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsCampaignsResp

func (*ClientWithResponses) UpdateSponsoredProductsKeywordsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsKeywordsResp, error)

UpdateSponsoredProductsKeywordsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsKeywordsResp

func (*ClientWithResponses) UpdateSponsoredProductsNegativeKeywordsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsNegativeKeywordsResp, error)

UpdateSponsoredProductsNegativeKeywordsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsNegativeKeywordsResp

func (*ClientWithResponses) UpdateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsNegativeTargetingClausesResp, error)

UpdateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsNegativeTargetingClausesResp

func (*ClientWithResponses) UpdateSponsoredProductsProductAdsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsProductAdsResp, error)

UpdateSponsoredProductsProductAdsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsProductAdsResp

func (*ClientWithResponses) UpdateSponsoredProductsTargetingClausesWithBodyWithResponse

func (c *ClientWithResponses) UpdateSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsTargetingClausesResp, error)

UpdateSponsoredProductsTargetingClausesWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredProductsTargetingClausesResp

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CreateSponsoredProductsAdGroupsWithBodyWithResponse request with any body
	CreateSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*CreateSponsoredProductsAdGroupsResp, error)

	CreateSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsAdGroupsParams, body CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*CreateSponsoredProductsAdGroupsResp, error)

	// UpdateSponsoredProductsAdGroupsWithBodyWithResponse request with any body
	UpdateSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsAdGroupsResp, error)

	UpdateSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsAdGroupsParams, body UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*UpdateSponsoredProductsAdGroupsResp, error)

	// DeleteSponsoredProductsAdGroupsWithBodyWithResponse request with any body
	DeleteSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsAdGroupsResp, error)

	DeleteSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsAdGroupsParams, body DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*DeleteSponsoredProductsAdGroupsResp, error)

	// ListSponsoredProductsAdGroupsWithBodyWithResponse request with any body
	ListSponsoredProductsAdGroupsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, contentType string, body io.Reader) (*ListSponsoredProductsAdGroupsResp, error)

	ListSponsoredProductsAdGroupsWithApplicationVndSpAdGroupV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsAdGroupsParams, body ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody) (*ListSponsoredProductsAdGroupsResp, error)

	// GetSPBudgetRulesForAdvertiserWithResponse request
	GetSPBudgetRulesForAdvertiserWithResponse(ctx context.Context, params *GetSPBudgetRulesForAdvertiserParams) (*GetSPBudgetRulesForAdvertiserResp, error)

	// CreateBudgetRulesForSPCampaignsWithBodyWithResponse request with any body
	CreateBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*CreateBudgetRulesForSPCampaignsResp, error)

	CreateBudgetRulesForSPCampaignsWithResponse(ctx context.Context, params *CreateBudgetRulesForSPCampaignsParams, body CreateBudgetRulesForSPCampaignsJSONRequestBody) (*CreateBudgetRulesForSPCampaignsResp, error)

	// UpdateBudgetRulesForSPCampaignsWithBodyWithResponse request with any body
	UpdateBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*UpdateBudgetRulesForSPCampaignsResp, error)

	UpdateBudgetRulesForSPCampaignsWithResponse(ctx context.Context, params *UpdateBudgetRulesForSPCampaignsParams, body UpdateBudgetRulesForSPCampaignsJSONRequestBody) (*UpdateBudgetRulesForSPCampaignsResp, error)

	// GetBudgetRuleByRuleIdForSPCampaignsWithResponse request
	GetBudgetRuleByRuleIdForSPCampaignsWithResponse(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSPCampaignsParams) (*GetBudgetRuleByRuleIdForSPCampaignsResp, error)

	// GetCampaignsAssociatedWithSPBudgetRuleWithResponse request
	GetCampaignsAssociatedWithSPBudgetRuleWithResponse(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSPBudgetRuleParams) (*GetCampaignsAssociatedWithSPBudgetRuleResp, error)

	// GetCampaignRecommendationsWithResponse request
	GetCampaignRecommendationsWithResponse(ctx context.Context, params *GetCampaignRecommendationsParams) (*GetCampaignRecommendationsResp, error)

	// CreateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with any body
	CreateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignNegativeKeywordsResp, error)

	CreateSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeKeywordsParams, body CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*CreateSponsoredProductsCampaignNegativeKeywordsResp, error)

	// UpdateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with any body
	UpdateSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignNegativeKeywordsResp, error)

	UpdateSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeKeywordsParams, body UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*UpdateSponsoredProductsCampaignNegativeKeywordsResp, error)

	// DeleteSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with any body
	DeleteSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignNegativeKeywordsResp, error)

	DeleteSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeKeywordsParams, body DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*DeleteSponsoredProductsCampaignNegativeKeywordsResp, error)

	// ListSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse request with any body
	ListSponsoredProductsCampaignNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignNegativeKeywordsResp, error)

	ListSponsoredProductsCampaignNegativeKeywordsWithApplicationVndSpCampaignNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeKeywordsParams, body ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody) (*ListSponsoredProductsCampaignNegativeKeywordsResp, error)

	// CreateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with any body
	CreateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	CreateSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignNegativeTargetingClausesParams, body CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*CreateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	// UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with any body
	UpdateSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	UpdateSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignNegativeTargetingClausesParams, body UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*UpdateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	// DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with any body
	DeleteSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	DeleteSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignNegativeTargetingClausesParams, body DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*DeleteSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	// ListSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse request with any body
	ListSponsoredProductsCampaignNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	ListSponsoredProductsCampaignNegativeTargetingClausesWithApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignNegativeTargetingClausesParams, body ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody) (*ListSponsoredProductsCampaignNegativeTargetingClausesResp, error)

	// CreateSponsoredProductsCampaignsWithBodyWithResponse request with any body
	CreateSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*CreateSponsoredProductsCampaignsResp, error)

	CreateSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsCampaignsParams, body CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*CreateSponsoredProductsCampaignsResp, error)

	// UpdateSponsoredProductsCampaignsWithBodyWithResponse request with any body
	UpdateSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsCampaignsResp, error)

	UpdateSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsCampaignsParams, body UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*UpdateSponsoredProductsCampaignsResp, error)

	// SpCampaignsBudgetUsageWithBodyWithResponse request with any body
	SpCampaignsBudgetUsageWithBodyWithResponse(ctx context.Context, params *SpCampaignsBudgetUsageParams, contentType string, body io.Reader) (*SpCampaignsBudgetUsageResp, error)

	SpCampaignsBudgetUsageWithApplicationVndSpcampaignbudgetusageV1PlusJSONBodyWithResponse(ctx context.Context, params *SpCampaignsBudgetUsageParams, body SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody) (*SpCampaignsBudgetUsageResp, error)

	// GetBudgetRecommendationsWithBodyWithResponse request with any body
	GetBudgetRecommendationsWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*GetBudgetRecommendationsResp, error)

	GetBudgetRecommendationsWithApplicationVndBudgetrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody) (*GetBudgetRecommendationsResp, error)

	// SPGetBudgetRulesRecommendationWithBodyWithResponse request with any body
	SPGetBudgetRulesRecommendationWithBodyWithResponse(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*SPGetBudgetRulesRecommendationResp, error)

	SPGetBudgetRulesRecommendationWithApplicationVndSpbudgetrulesrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *SPGetBudgetRulesRecommendationParams, body SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody) (*SPGetBudgetRulesRecommendationResp, error)

	// DeleteSponsoredProductsCampaignsWithBodyWithResponse request with any body
	DeleteSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsCampaignsResp, error)

	DeleteSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsCampaignsParams, body DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*DeleteSponsoredProductsCampaignsResp, error)

	// GetBudgetRecommendationWithBodyWithResponse request with any body
	GetBudgetRecommendationWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationParams, contentType string, body io.Reader) (*GetBudgetRecommendationResp, error)

	GetBudgetRecommendationWithApplicationVndSpinitialbudgetrecommendationV34PlusJSONBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationParams, body GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody) (*GetBudgetRecommendationResp, error)

	// ListSponsoredProductsCampaignsWithBodyWithResponse request with any body
	ListSponsoredProductsCampaignsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignsParams, contentType string, body io.Reader) (*ListSponsoredProductsCampaignsResp, error)

	ListSponsoredProductsCampaignsWithApplicationVndSpCampaignV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsCampaignsParams, body ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody) (*ListSponsoredProductsCampaignsResp, error)

	// ListAssociatedBudgetRulesForSPCampaignsWithResponse request
	ListAssociatedBudgetRulesForSPCampaignsWithResponse(ctx context.Context, campaignId int64, params *ListAssociatedBudgetRulesForSPCampaignsParams) (*ListAssociatedBudgetRulesForSPCampaignsResp, error)

	// CreateAssociatedBudgetRulesForSPCampaignsWithBodyWithResponse request with any body
	CreateAssociatedBudgetRulesForSPCampaignsWithBodyWithResponse(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, contentType string, body io.Reader) (*CreateAssociatedBudgetRulesForSPCampaignsResp, error)

	CreateAssociatedBudgetRulesForSPCampaignsWithResponse(ctx context.Context, campaignId int64, params *CreateAssociatedBudgetRulesForSPCampaignsParams, body CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody) (*CreateAssociatedBudgetRulesForSPCampaignsResp, error)

	// GetRuleBasedBudgetHistoryForSPCampaignsWithResponse request
	GetRuleBasedBudgetHistoryForSPCampaignsWithResponse(ctx context.Context, campaignId int64, params *GetRuleBasedBudgetHistoryForSPCampaignsParams) (*GetRuleBasedBudgetHistoryForSPCampaignsResp, error)

	// DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse request
	DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse(ctx context.Context, campaignId int64, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSPCampaignsParams) (*DisassociateAssociatedBudgetRuleForSPCampaignsResp, error)

	// CreateSponsoredProductsKeywordsWithBodyWithResponse request with any body
	CreateSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsKeywordsResp, error)

	CreateSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsKeywordsParams, body CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*CreateSponsoredProductsKeywordsResp, error)

	// UpdateSponsoredProductsKeywordsWithBodyWithResponse request with any body
	UpdateSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsKeywordsResp, error)

	UpdateSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsKeywordsParams, body UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*UpdateSponsoredProductsKeywordsResp, error)

	// DeleteSponsoredProductsKeywordsWithBodyWithResponse request with any body
	DeleteSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsKeywordsResp, error)

	DeleteSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsKeywordsParams, body DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*DeleteSponsoredProductsKeywordsResp, error)

	// ListSponsoredProductsKeywordsWithBodyWithResponse request with any body
	ListSponsoredProductsKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsKeywordsResp, error)

	ListSponsoredProductsKeywordsWithApplicationVndSpKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsKeywordsParams, body ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody) (*ListSponsoredProductsKeywordsResp, error)

	// CreateSponsoredProductsNegativeKeywordsWithBodyWithResponse request with any body
	CreateSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*CreateSponsoredProductsNegativeKeywordsResp, error)

	CreateSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeKeywordsParams, body CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*CreateSponsoredProductsNegativeKeywordsResp, error)

	// UpdateSponsoredProductsNegativeKeywordsWithBodyWithResponse request with any body
	UpdateSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsNegativeKeywordsResp, error)

	UpdateSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeKeywordsParams, body UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*UpdateSponsoredProductsNegativeKeywordsResp, error)

	// DeleteSponsoredProductsNegativeKeywordsWithBodyWithResponse request with any body
	DeleteSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsNegativeKeywordsResp, error)

	DeleteSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeKeywordsParams, body DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*DeleteSponsoredProductsNegativeKeywordsResp, error)

	// ListSponsoredProductsNegativeKeywordsWithBodyWithResponse request with any body
	ListSponsoredProductsNegativeKeywordsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, contentType string, body io.Reader) (*ListSponsoredProductsNegativeKeywordsResp, error)

	ListSponsoredProductsNegativeKeywordsWithApplicationVndSpNegativeKeywordV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeKeywordsParams, body ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody) (*ListSponsoredProductsNegativeKeywordsResp, error)

	// CreateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with any body
	CreateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsNegativeTargetingClausesResp, error)

	CreateSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsNegativeTargetingClausesParams, body CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*CreateSponsoredProductsNegativeTargetingClausesResp, error)

	// UpdateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with any body
	UpdateSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsNegativeTargetingClausesResp, error)

	UpdateSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsNegativeTargetingClausesParams, body UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*UpdateSponsoredProductsNegativeTargetingClausesResp, error)

	// GetNegativeBrandsWithResponse request
	GetNegativeBrandsWithResponse(ctx context.Context, params *GetNegativeBrandsParams) (*GetNegativeBrandsResp, error)

	// SearchBrandsWithBodyWithResponse request with any body
	SearchBrandsWithBodyWithResponse(ctx context.Context, params *SearchBrandsParams, contentType string, body io.Reader) (*SearchBrandsResp, error)

	SearchBrandsWithApplicationVndSpproducttargetingV3PlusJSONBodyWithResponse(ctx context.Context, params *SearchBrandsParams, body SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*SearchBrandsResp, error)

	// DeleteSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with any body
	DeleteSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsNegativeTargetingClausesResp, error)

	DeleteSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsNegativeTargetingClausesParams, body DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*DeleteSponsoredProductsNegativeTargetingClausesResp, error)

	// ListSponsoredProductsNegativeTargetingClausesWithBodyWithResponse request with any body
	ListSponsoredProductsNegativeTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsNegativeTargetingClausesResp, error)

	ListSponsoredProductsNegativeTargetingClausesWithApplicationVndSpNegativeTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsNegativeTargetingClausesParams, body ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody) (*ListSponsoredProductsNegativeTargetingClausesResp, error)

	// CreateSponsoredProductsProductAdsWithBodyWithResponse request with any body
	CreateSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*CreateSponsoredProductsProductAdsResp, error)

	CreateSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsProductAdsParams, body CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*CreateSponsoredProductsProductAdsResp, error)

	// UpdateSponsoredProductsProductAdsWithBodyWithResponse request with any body
	UpdateSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*UpdateSponsoredProductsProductAdsResp, error)

	UpdateSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsProductAdsParams, body UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*UpdateSponsoredProductsProductAdsResp, error)

	// DeleteSponsoredProductsProductAdsWithBodyWithResponse request with any body
	DeleteSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*DeleteSponsoredProductsProductAdsResp, error)

	DeleteSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsProductAdsParams, body DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*DeleteSponsoredProductsProductAdsResp, error)

	// ListSponsoredProductsProductAdsWithBodyWithResponse request with any body
	ListSponsoredProductsProductAdsWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsProductAdsParams, contentType string, body io.Reader) (*ListSponsoredProductsProductAdsResp, error)

	ListSponsoredProductsProductAdsWithApplicationVndSpProductAdV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsProductAdsParams, body ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody) (*ListSponsoredProductsProductAdsResp, error)

	// CreateOptimizationRuleWithBodyWithResponse request with any body
	CreateOptimizationRuleWithBodyWithResponse(ctx context.Context, params *CreateOptimizationRuleParams, contentType string, body io.Reader) (*CreateOptimizationRuleResp, error)

	CreateOptimizationRuleWithApplicationVndOptimizationrulesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateOptimizationRuleParams, body CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*CreateOptimizationRuleResp, error)

	// UpdateOptimizationRuleWithBodyWithResponse request with any body
	UpdateOptimizationRuleWithBodyWithResponse(ctx context.Context, params *UpdateOptimizationRuleParams, contentType string, body io.Reader) (*UpdateOptimizationRuleResp, error)

	UpdateOptimizationRuleWithApplicationVndOptimizationrulesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOptimizationRuleParams, body UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*UpdateOptimizationRuleResp, error)

	// GetOptimizationRuleEligibilityWithBodyWithResponse request with any body
	GetOptimizationRuleEligibilityWithBodyWithResponse(ctx context.Context, params *GetOptimizationRuleEligibilityParams, contentType string, body io.Reader) (*GetOptimizationRuleEligibilityResp, error)

	GetOptimizationRuleEligibilityWithApplicationVndOptimizationrulesV1PlusJSONBodyWithResponse(ctx context.Context, params *GetOptimizationRuleEligibilityParams, body GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*GetOptimizationRuleEligibilityResp, error)

	// GetRuleNotificationWithBodyWithResponse request with any body
	GetRuleNotificationWithBodyWithResponse(ctx context.Context, params *GetRuleNotificationParams, contentType string, body io.Reader) (*GetRuleNotificationResp, error)

	GetRuleNotificationWithApplicationVndOptimizationrulesV1PlusJSONBodyWithResponse(ctx context.Context, params *GetRuleNotificationParams, body GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody) (*GetRuleNotificationResp, error)

	// DeleteCampaignOptimizationRuleWithResponse request
	DeleteCampaignOptimizationRuleWithResponse(ctx context.Context, campaignOptimizationId string, params *DeleteCampaignOptimizationRuleParams) (*DeleteCampaignOptimizationRuleResp, error)

	// GetCampaignOptimizationRuleWithResponse request
	GetCampaignOptimizationRuleWithResponse(ctx context.Context, campaignOptimizationId string, params *GetCampaignOptimizationRuleParams) (*GetCampaignOptimizationRuleResp, error)

	// CreateSponsoredProductsTargetingClausesWithBodyWithResponse request with any body
	CreateSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*CreateSponsoredProductsTargetingClausesResp, error)

	CreateSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredProductsTargetingClausesParams, body CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*CreateSponsoredProductsTargetingClausesResp, error)

	// UpdateSponsoredProductsTargetingClausesWithBodyWithResponse request with any body
	UpdateSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*UpdateSponsoredProductsTargetingClausesResp, error)

	UpdateSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredProductsTargetingClausesParams, body UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*UpdateSponsoredProductsTargetingClausesResp, error)

	// GetThemeBasedBidRecommendationForAdGroupV1WithBodyWithResponse request with any body
	GetThemeBasedBidRecommendationForAdGroupV1WithBodyWithResponse(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, contentType string, body io.Reader) (*GetThemeBasedBidRecommendationForAdGroupV1Resp, error)

	GetThemeBasedBidRecommendationForAdGroupV1WithApplicationVndSpthemebasedbidrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetThemeBasedBidRecommendationForAdGroupV1Params, body GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody) (*GetThemeBasedBidRecommendationForAdGroupV1Resp, error)

	// GetTargetableCategoriesWithResponse request
	GetTargetableCategoriesWithResponse(ctx context.Context, params *GetTargetableCategoriesParams) (*GetTargetableCategoriesResp, error)

	// GetCategoryRecommendationsForASINsWithBodyWithResponse request with any body
	GetCategoryRecommendationsForASINsWithBodyWithResponse(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, contentType string, body io.Reader) (*GetCategoryRecommendationsForASINsResp, error)

	GetCategoryRecommendationsForASINsWithApplicationVndSpproducttargetingV3PlusJSONBodyWithResponse(ctx context.Context, params *GetCategoryRecommendationsForASINsParams, body GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*GetCategoryRecommendationsForASINsResp, error)

	// GetRefinementsForCategoryWithResponse request
	GetRefinementsForCategoryWithResponse(ctx context.Context, categoryId string, params *GetRefinementsForCategoryParams) (*GetRefinementsForCategoryResp, error)

	// DeleteSponsoredProductsTargetingClausesWithBodyWithResponse request with any body
	DeleteSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*DeleteSponsoredProductsTargetingClausesResp, error)

	DeleteSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredProductsTargetingClausesParams, body DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*DeleteSponsoredProductsTargetingClausesResp, error)

	// GetRankedKeywordRecommendationWithBodyWithResponse request with any body
	GetRankedKeywordRecommendationWithBodyWithResponse(ctx context.Context, params *GetRankedKeywordRecommendationParams, contentType string, body io.Reader) (*GetRankedKeywordRecommendationResp, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody) (*GetRankedKeywordRecommendationResp, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV4PlusJSONBodyWithResponse(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody) (*GetRankedKeywordRecommendationResp, error)

	GetRankedKeywordRecommendationWithApplicationVndSpkeywordsrecommendationV5PlusJSONBodyWithResponse(ctx context.Context, params *GetRankedKeywordRecommendationParams, body GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody) (*GetRankedKeywordRecommendationResp, error)

	// ListSponsoredProductsTargetingClausesWithBodyWithResponse request with any body
	ListSponsoredProductsTargetingClausesWithBodyWithResponse(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, contentType string, body io.Reader) (*ListSponsoredProductsTargetingClausesResp, error)

	ListSponsoredProductsTargetingClausesWithApplicationVndSpTargetingClauseV3PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredProductsTargetingClausesParams, body ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody) (*ListSponsoredProductsTargetingClausesResp, error)

	// GetTargetableASINCountsWithBodyWithResponse request with any body
	GetTargetableASINCountsWithBodyWithResponse(ctx context.Context, params *GetTargetableASINCountsParams, contentType string, body io.Reader) (*GetTargetableASINCountsResp, error)

	GetTargetableASINCountsWithApplicationVndSpproducttargetingV3PlusJSONBodyWithResponse(ctx context.Context, params *GetTargetableASINCountsParams, body GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody) (*GetTargetableASINCountsResp, error)

	// GetProductRecommendationsWithBodyWithResponse request with any body
	GetProductRecommendationsWithBodyWithResponse(ctx context.Context, params *GetProductRecommendationsParams, contentType string, body io.Reader) (*GetProductRecommendationsResp, error)

	GetProductRecommendationsWithApplicationVndSpproductrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetProductRecommendationsParams, body GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody) (*GetProductRecommendationsResp, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ComparisonOperator

type ComparisonOperator string

ComparisonOperator The comparison operator.

const (
	EQUALTO              ComparisonOperator = "EQUAL_TO"
	GREATERTHAN          ComparisonOperator = "GREATER_THAN"
	GREATERTHANOREQUALTO ComparisonOperator = "GREATER_THAN_OR_EQUAL_TO"
	LESSTHAN             ComparisonOperator = "LESS_THAN"
	LESSTHANOREQUALTO    ComparisonOperator = "LESS_THAN_OR_EQUAL_TO"
)

Defines values for ComparisonOperator.

type Conversions

type Conversions struct {
	// Lower lower bound.
	Lower *int `json:"lower,omitempty"`

	// Upper upper bound.
	Upper *int `json:"upper,omitempty"`
}

Conversions Conversions benchmark.

type CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody

type CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody = CreateAssociatedBudgetRulesRequest

CreateAssociatedBudgetRulesForSPCampaignsJSONRequestBody defines body for CreateAssociatedBudgetRulesForSPCampaigns for application/json ContentType.

type CreateAssociatedBudgetRulesForSPCampaignsParams

type CreateAssociatedBudgetRulesForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a Login with Amazon account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

CreateAssociatedBudgetRulesForSPCampaignsParams defines parameters for CreateAssociatedBudgetRulesForSPCampaigns.

type CreateAssociatedBudgetRulesForSPCampaignsResp

type CreateAssociatedBudgetRulesForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CreateAssociatedBudgetRulesResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseCreateAssociatedBudgetRulesForSPCampaignsResp

func ParseCreateAssociatedBudgetRulesForSPCampaignsResp(rsp *http.Response) (*CreateAssociatedBudgetRulesForSPCampaignsResp, error)

ParseCreateAssociatedBudgetRulesForSPCampaignsResp parses an HTTP response from a CreateAssociatedBudgetRulesForSPCampaignsWithResponse call

func (CreateAssociatedBudgetRulesForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (CreateAssociatedBudgetRulesForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateAssociatedBudgetRulesRequest

type CreateAssociatedBudgetRulesRequest struct {
	// BudgetRuleIds A list of budget rule identifiers.
	BudgetRuleIds *[]string `json:"budgetRuleIds,omitempty"`
}

CreateAssociatedBudgetRulesRequest defines model for CreateAssociatedBudgetRulesRequest.

type CreateAssociatedBudgetRulesResponse

type CreateAssociatedBudgetRulesResponse struct {
	Responses *[]AssociatedBudgetRuleResponse `json:"responses,omitempty"`
}

CreateAssociatedBudgetRulesResponse defines model for CreateAssociatedBudgetRulesResponse.

type CreateBudgetRulesForSPCampaignsJSONRequestBody

type CreateBudgetRulesForSPCampaignsJSONRequestBody = CreateSPBudgetRulesRequest

CreateBudgetRulesForSPCampaignsJSONRequestBody defines body for CreateBudgetRulesForSPCampaigns for application/json ContentType.

type CreateBudgetRulesForSPCampaignsParams

type CreateBudgetRulesForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

CreateBudgetRulesForSPCampaignsParams defines parameters for CreateBudgetRulesForSPCampaigns.

type CreateBudgetRulesForSPCampaignsResp

type CreateBudgetRulesForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CreateBudgetRulesResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseCreateBudgetRulesForSPCampaignsResp

func ParseCreateBudgetRulesForSPCampaignsResp(rsp *http.Response) (*CreateBudgetRulesForSPCampaignsResp, error)

ParseCreateBudgetRulesForSPCampaignsResp parses an HTTP response from a CreateBudgetRulesForSPCampaignsWithResponse call

func (CreateBudgetRulesForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (CreateBudgetRulesForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateBudgetRulesResponse

type CreateBudgetRulesResponse struct {
	Responses *[]BudgetRuleResponse `json:"responses,omitempty"`
}

CreateBudgetRulesResponse defines model for CreateBudgetRulesResponse.

type CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody

type CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody = CreateSPCampaignOptimizationRulesRequest

CreateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody defines body for CreateOptimizationRule for application/vnd.optimizationrules.v1+json ContentType.

type CreateOptimizationRuleParams

type CreateOptimizationRuleParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

CreateOptimizationRuleParams defines parameters for CreateOptimizationRule.

type CreateOptimizationRuleResp

type CreateOptimizationRuleResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *CreateSPCampaignOptimizationRulesResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseCreateOptimizationRuleResp

func ParseCreateOptimizationRuleResp(rsp *http.Response) (*CreateOptimizationRuleResp, error)

ParseCreateOptimizationRuleResp parses an HTTP response from a CreateOptimizationRuleWithResponse call

func (CreateOptimizationRuleResp) Status

Status returns HTTPResponse.Status

func (CreateOptimizationRuleResp) StatusCode

func (r CreateOptimizationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSPBudgetRulesRequest

type CreateSPBudgetRulesRequest struct {
	// BudgetRulesDetails A list of budget rule details.
	BudgetRulesDetails *[]SPBudgetRuleDetails `json:"budgetRulesDetails,omitempty"`
}

CreateSPBudgetRulesRequest defines model for CreateSPBudgetRulesRequest.

type CreateSPCampaignOptimizationRulesRequest

type CreateSPCampaignOptimizationRulesRequest struct {
	// CampaignIds A list of campaign ids
	CampaignIds []RuleCampaignId `json:"campaignIds"`

	// Recurrence The frequency of the rule application.
	Recurrence RecurrenceType `json:"recurrence"`

	// RuleAction The action taken when the campaign optimization rule is enabled. Defaults to adopt
	RuleAction    RuleAction        `json:"ruleAction"`
	RuleCondition RuleConditionList `json:"ruleCondition"`

	// RuleName The campaign optimization rule name.
	RuleName *RuleName `json:"ruleName,omitempty"`

	// RuleType The type of the campaign optimization rule. Only Support BID as of now
	RuleType RuleType `json:"ruleType"`
}

CreateSPCampaignOptimizationRulesRequest defines model for CreateSPCampaignOptimizationRulesRequest.

type CreateSPCampaignOptimizationRulesResponse

type CreateSPCampaignOptimizationRulesResponse struct {
	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId *CampaignOptimizationId `json:"campaignOptimizationId,omitempty"`

	// Code An enumerated success or error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the error, if unsuccessful
	Details *string `json:"details,omitempty"`
}

CreateSPCampaignOptimizationRulesResponse defines model for CreateSPCampaignOptimizationRulesResponse.

type CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody

type CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsAdGroupsRequestContent

CreateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody defines body for CreateSponsoredProductsAdGroups for application/vnd.spAdGroup.v3+json ContentType.

type CreateSponsoredProductsAdGroupsParams

type CreateSponsoredProductsAdGroupsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsAdGroupsParams defines parameters for CreateSponsoredProductsAdGroups.

type CreateSponsoredProductsAdGroupsResp

func ParseCreateSponsoredProductsAdGroupsResp

func ParseCreateSponsoredProductsAdGroupsResp(rsp *http.Response) (*CreateSponsoredProductsAdGroupsResp, error)

ParseCreateSponsoredProductsAdGroupsResp parses an HTTP response from a CreateSponsoredProductsAdGroupsWithResponse call

func (CreateSponsoredProductsAdGroupsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsAdGroupsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody

type CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsRequestContent

CreateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody defines body for CreateSponsoredProductsCampaignNegativeKeywords for application/vnd.spCampaignNegativeKeyword.v3+json ContentType.

type CreateSponsoredProductsCampaignNegativeKeywordsParams

type CreateSponsoredProductsCampaignNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsCampaignNegativeKeywordsParams defines parameters for CreateSponsoredProductsCampaignNegativeKeywords.

type CreateSponsoredProductsCampaignNegativeKeywordsResp

func ParseCreateSponsoredProductsCampaignNegativeKeywordsResp

func ParseCreateSponsoredProductsCampaignNegativeKeywordsResp(rsp *http.Response) (*CreateSponsoredProductsCampaignNegativeKeywordsResp, error)

ParseCreateSponsoredProductsCampaignNegativeKeywordsResp parses an HTTP response from a CreateSponsoredProductsCampaignNegativeKeywordsWithResponse call

func (CreateSponsoredProductsCampaignNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsCampaignNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody

type CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesRequestContent

CreateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody defines body for CreateSponsoredProductsCampaignNegativeTargetingClauses for application/vnd.spCampaignNegativeTargetingClause.v3+json ContentType.

type CreateSponsoredProductsCampaignNegativeTargetingClausesParams

type CreateSponsoredProductsCampaignNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsCampaignNegativeTargetingClausesParams defines parameters for CreateSponsoredProductsCampaignNegativeTargetingClauses.

type CreateSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseCreateSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseCreateSponsoredProductsCampaignNegativeTargetingClausesResp(rsp *http.Response) (*CreateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

ParseCreateSponsoredProductsCampaignNegativeTargetingClausesResp parses an HTTP response from a CreateSponsoredProductsCampaignNegativeTargetingClausesWithResponse call

func (CreateSponsoredProductsCampaignNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsCampaignNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody

type CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsCampaignsRequestContent

CreateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody defines body for CreateSponsoredProductsCampaigns for application/vnd.spCampaign.v3+json ContentType.

type CreateSponsoredProductsCampaignsParams

type CreateSponsoredProductsCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsCampaignsParams defines parameters for CreateSponsoredProductsCampaigns.

type CreateSponsoredProductsCampaignsResp

func ParseCreateSponsoredProductsCampaignsResp

func ParseCreateSponsoredProductsCampaignsResp(rsp *http.Response) (*CreateSponsoredProductsCampaignsResp, error)

ParseCreateSponsoredProductsCampaignsResp parses an HTTP response from a CreateSponsoredProductsCampaignsWithResponse call

func (CreateSponsoredProductsCampaignsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody

type CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsKeywordsRequestContent

CreateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody defines body for CreateSponsoredProductsKeywords for application/vnd.spKeyword.v3+json ContentType.

type CreateSponsoredProductsKeywordsParams

type CreateSponsoredProductsKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsKeywordsParams defines parameters for CreateSponsoredProductsKeywords.

type CreateSponsoredProductsKeywordsResp

func ParseCreateSponsoredProductsKeywordsResp

func ParseCreateSponsoredProductsKeywordsResp(rsp *http.Response) (*CreateSponsoredProductsKeywordsResp, error)

ParseCreateSponsoredProductsKeywordsResp parses an HTTP response from a CreateSponsoredProductsKeywordsWithResponse call

func (CreateSponsoredProductsKeywordsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody

type CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsNegativeKeywordsRequestContent

CreateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody defines body for CreateSponsoredProductsNegativeKeywords for application/vnd.spNegativeKeyword.v3+json ContentType.

type CreateSponsoredProductsNegativeKeywordsParams

type CreateSponsoredProductsNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsNegativeKeywordsParams defines parameters for CreateSponsoredProductsNegativeKeywords.

type CreateSponsoredProductsNegativeKeywordsResp

func ParseCreateSponsoredProductsNegativeKeywordsResp

func ParseCreateSponsoredProductsNegativeKeywordsResp(rsp *http.Response) (*CreateSponsoredProductsNegativeKeywordsResp, error)

ParseCreateSponsoredProductsNegativeKeywordsResp parses an HTTP response from a CreateSponsoredProductsNegativeKeywordsWithResponse call

func (CreateSponsoredProductsNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody

type CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesRequestContent

CreateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody defines body for CreateSponsoredProductsNegativeTargetingClauses for application/vnd.spNegativeTargetingClause.v3+json ContentType.

type CreateSponsoredProductsNegativeTargetingClausesParams

type CreateSponsoredProductsNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsNegativeTargetingClausesParams defines parameters for CreateSponsoredProductsNegativeTargetingClauses.

type CreateSponsoredProductsNegativeTargetingClausesResp

func ParseCreateSponsoredProductsNegativeTargetingClausesResp

func ParseCreateSponsoredProductsNegativeTargetingClausesResp(rsp *http.Response) (*CreateSponsoredProductsNegativeTargetingClausesResp, error)

ParseCreateSponsoredProductsNegativeTargetingClausesResp parses an HTTP response from a CreateSponsoredProductsNegativeTargetingClausesWithResponse call

func (CreateSponsoredProductsNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody

type CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsProductAdsRequestContent

CreateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody defines body for CreateSponsoredProductsProductAds for application/vnd.spProductAd.v3+json ContentType.

type CreateSponsoredProductsProductAdsParams

type CreateSponsoredProductsProductAdsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsProductAdsParams defines parameters for CreateSponsoredProductsProductAds.

type CreateSponsoredProductsProductAdsResp

func ParseCreateSponsoredProductsProductAdsResp

func ParseCreateSponsoredProductsProductAdsResp(rsp *http.Response) (*CreateSponsoredProductsProductAdsResp, error)

ParseCreateSponsoredProductsProductAdsResp parses an HTTP response from a CreateSponsoredProductsProductAdsWithResponse call

func (CreateSponsoredProductsProductAdsResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsProductAdsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody

type CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody = SponsoredProductsCreateSponsoredProductsTargetingClausesRequestContent

CreateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody defines body for CreateSponsoredProductsTargetingClauses for application/vnd.spTargetingClause.v3+json ContentType.

type CreateSponsoredProductsTargetingClausesParams

type CreateSponsoredProductsTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

CreateSponsoredProductsTargetingClausesParams defines parameters for CreateSponsoredProductsTargetingClauses.

type CreateSponsoredProductsTargetingClausesResp

func ParseCreateSponsoredProductsTargetingClausesResp

func ParseCreateSponsoredProductsTargetingClausesResp(rsp *http.Response) (*CreateSponsoredProductsTargetingClausesResp, error)

ParseCreateSponsoredProductsTargetingClausesResp parses an HTTP response from a CreateSponsoredProductsTargetingClausesWithResponse call

func (CreateSponsoredProductsTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (CreateSponsoredProductsTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DateRangeTypeRuleDuration

type DateRangeTypeRuleDuration struct {
	// EndDate The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than `startDate`.
	EndDate *string `json:"endDate,omitempty"`

	// StartDate The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date.
	StartDate string `json:"startDate"`
}

DateRangeTypeRuleDuration Object representing date range type rule duration.

type DayOfWeek

type DayOfWeek string

DayOfWeek The day of the week.

const (
	FRIDAY    DayOfWeek = "FRIDAY"
	MONDAY    DayOfWeek = "MONDAY"
	SATURDAY  DayOfWeek = "SATURDAY"
	SUNDAY    DayOfWeek = "SUNDAY"
	THURSDAY  DayOfWeek = "THURSDAY"
	TUESDAY   DayOfWeek = "TUESDAY"
	WEDNESDAY DayOfWeek = "WEDNESDAY"
)

Defines values for DayOfWeek.

type DeleteCampaignOptimizationRuleParams

type DeleteCampaignOptimizationRuleParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteCampaignOptimizationRuleParams defines parameters for DeleteCampaignOptimizationRule.

type DeleteCampaignOptimizationRuleResp

type DeleteCampaignOptimizationRuleResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *DeleteSPCampaignOptimizationRuleResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON404                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseDeleteCampaignOptimizationRuleResp

func ParseDeleteCampaignOptimizationRuleResp(rsp *http.Response) (*DeleteCampaignOptimizationRuleResp, error)

ParseDeleteCampaignOptimizationRuleResp parses an HTTP response from a DeleteCampaignOptimizationRuleWithResponse call

func (DeleteCampaignOptimizationRuleResp) Status

Status returns HTTPResponse.Status

func (DeleteCampaignOptimizationRuleResp) StatusCode

func (r DeleteCampaignOptimizationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSPCampaignOptimizationRuleResponse

type DeleteSPCampaignOptimizationRuleResponse struct {
	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId *CampaignOptimizationId `json:"campaignOptimizationId,omitempty"`

	// Code An enumerated success or error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the error, if unsuccessful
	Details *string `json:"details,omitempty"`
}

DeleteSPCampaignOptimizationRuleResponse defines model for DeleteSPCampaignOptimizationRuleResponse.

type DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody

type DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsAdGroupsRequestContent

DeleteSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody defines body for DeleteSponsoredProductsAdGroups for application/vnd.spAdGroup.v3+json ContentType.

type DeleteSponsoredProductsAdGroupsParams

type DeleteSponsoredProductsAdGroupsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsAdGroupsParams defines parameters for DeleteSponsoredProductsAdGroups.

type DeleteSponsoredProductsAdGroupsResp

func ParseDeleteSponsoredProductsAdGroupsResp

func ParseDeleteSponsoredProductsAdGroupsResp(rsp *http.Response) (*DeleteSponsoredProductsAdGroupsResp, error)

ParseDeleteSponsoredProductsAdGroupsResp parses an HTTP response from a DeleteSponsoredProductsAdGroupsWithResponse call

func (DeleteSponsoredProductsAdGroupsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsAdGroupsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody

type DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsRequestContent

DeleteSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody defines body for DeleteSponsoredProductsCampaignNegativeKeywords for application/vnd.spCampaignNegativeKeyword.v3+json ContentType.

type DeleteSponsoredProductsCampaignNegativeKeywordsParams

type DeleteSponsoredProductsCampaignNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsCampaignNegativeKeywordsParams defines parameters for DeleteSponsoredProductsCampaignNegativeKeywords.

type DeleteSponsoredProductsCampaignNegativeKeywordsResp

func ParseDeleteSponsoredProductsCampaignNegativeKeywordsResp

func ParseDeleteSponsoredProductsCampaignNegativeKeywordsResp(rsp *http.Response) (*DeleteSponsoredProductsCampaignNegativeKeywordsResp, error)

ParseDeleteSponsoredProductsCampaignNegativeKeywordsResp parses an HTTP response from a DeleteSponsoredProductsCampaignNegativeKeywordsWithResponse call

func (DeleteSponsoredProductsCampaignNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsCampaignNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody

type DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestContent

DeleteSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody defines body for DeleteSponsoredProductsCampaignNegativeTargetingClauses for application/vnd.spCampaignNegativeTargetingClause.v3+json ContentType.

type DeleteSponsoredProductsCampaignNegativeTargetingClausesParams

type DeleteSponsoredProductsCampaignNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsCampaignNegativeTargetingClausesParams defines parameters for DeleteSponsoredProductsCampaignNegativeTargetingClauses.

type DeleteSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseDeleteSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseDeleteSponsoredProductsCampaignNegativeTargetingClausesResp(rsp *http.Response) (*DeleteSponsoredProductsCampaignNegativeTargetingClausesResp, error)

ParseDeleteSponsoredProductsCampaignNegativeTargetingClausesResp parses an HTTP response from a DeleteSponsoredProductsCampaignNegativeTargetingClausesWithResponse call

func (DeleteSponsoredProductsCampaignNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsCampaignNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody

type DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsCampaignsRequestContent

DeleteSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody defines body for DeleteSponsoredProductsCampaigns for application/vnd.spCampaign.v3+json ContentType.

type DeleteSponsoredProductsCampaignsParams

type DeleteSponsoredProductsCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsCampaignsParams defines parameters for DeleteSponsoredProductsCampaigns.

type DeleteSponsoredProductsCampaignsResp

func ParseDeleteSponsoredProductsCampaignsResp

func ParseDeleteSponsoredProductsCampaignsResp(rsp *http.Response) (*DeleteSponsoredProductsCampaignsResp, error)

ParseDeleteSponsoredProductsCampaignsResp parses an HTTP response from a DeleteSponsoredProductsCampaignsWithResponse call

func (DeleteSponsoredProductsCampaignsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody

type DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsKeywordsRequestContent

DeleteSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody defines body for DeleteSponsoredProductsKeywords for application/vnd.spKeyword.v3+json ContentType.

type DeleteSponsoredProductsKeywordsParams

type DeleteSponsoredProductsKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsKeywordsParams defines parameters for DeleteSponsoredProductsKeywords.

type DeleteSponsoredProductsKeywordsResp

func ParseDeleteSponsoredProductsKeywordsResp

func ParseDeleteSponsoredProductsKeywordsResp(rsp *http.Response) (*DeleteSponsoredProductsKeywordsResp, error)

ParseDeleteSponsoredProductsKeywordsResp parses an HTTP response from a DeleteSponsoredProductsKeywordsWithResponse call

func (DeleteSponsoredProductsKeywordsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody

type DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsNegativeKeywordsRequestContent

DeleteSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody defines body for DeleteSponsoredProductsNegativeKeywords for application/vnd.spNegativeKeyword.v3+json ContentType.

type DeleteSponsoredProductsNegativeKeywordsParams

type DeleteSponsoredProductsNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsNegativeKeywordsParams defines parameters for DeleteSponsoredProductsNegativeKeywords.

type DeleteSponsoredProductsNegativeKeywordsResp

func ParseDeleteSponsoredProductsNegativeKeywordsResp

func ParseDeleteSponsoredProductsNegativeKeywordsResp(rsp *http.Response) (*DeleteSponsoredProductsNegativeKeywordsResp, error)

ParseDeleteSponsoredProductsNegativeKeywordsResp parses an HTTP response from a DeleteSponsoredProductsNegativeKeywordsWithResponse call

func (DeleteSponsoredProductsNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody

type DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesRequestContent

DeleteSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody defines body for DeleteSponsoredProductsNegativeTargetingClauses for application/vnd.spNegativeTargetingClause.v3+json ContentType.

type DeleteSponsoredProductsNegativeTargetingClausesParams

type DeleteSponsoredProductsNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsNegativeTargetingClausesParams defines parameters for DeleteSponsoredProductsNegativeTargetingClauses.

type DeleteSponsoredProductsNegativeTargetingClausesResp

func ParseDeleteSponsoredProductsNegativeTargetingClausesResp

func ParseDeleteSponsoredProductsNegativeTargetingClausesResp(rsp *http.Response) (*DeleteSponsoredProductsNegativeTargetingClausesResp, error)

ParseDeleteSponsoredProductsNegativeTargetingClausesResp parses an HTTP response from a DeleteSponsoredProductsNegativeTargetingClausesWithResponse call

func (DeleteSponsoredProductsNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody

type DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsProductAdsRequestContent

DeleteSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody defines body for DeleteSponsoredProductsProductAds for application/vnd.spProductAd.v3+json ContentType.

type DeleteSponsoredProductsProductAdsParams

type DeleteSponsoredProductsProductAdsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsProductAdsParams defines parameters for DeleteSponsoredProductsProductAds.

type DeleteSponsoredProductsProductAdsResp

func ParseDeleteSponsoredProductsProductAdsResp

func ParseDeleteSponsoredProductsProductAdsResp(rsp *http.Response) (*DeleteSponsoredProductsProductAdsResp, error)

ParseDeleteSponsoredProductsProductAdsResp parses an HTTP response from a DeleteSponsoredProductsProductAdsWithResponse call

func (DeleteSponsoredProductsProductAdsResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsProductAdsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody

type DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody = SponsoredProductsDeleteSponsoredProductsTargetingClausesRequestContent

DeleteSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody defines body for DeleteSponsoredProductsTargetingClauses for application/vnd.spTargetingClause.v3+json ContentType.

type DeleteSponsoredProductsTargetingClausesParams

type DeleteSponsoredProductsTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DeleteSponsoredProductsTargetingClausesParams defines parameters for DeleteSponsoredProductsTargetingClauses.

type DeleteSponsoredProductsTargetingClausesResp

func ParseDeleteSponsoredProductsTargetingClausesResp

func ParseDeleteSponsoredProductsTargetingClausesResp(rsp *http.Response) (*DeleteSponsoredProductsTargetingClausesResp, error)

ParseDeleteSponsoredProductsTargetingClausesResp parses an HTTP response from a DeleteSponsoredProductsTargetingClausesWithResponse call

func (DeleteSponsoredProductsTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (DeleteSponsoredProductsTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DisassociateAssociatedBudgetRuleForSPCampaignsParams

type DisassociateAssociatedBudgetRuleForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

DisassociateAssociatedBudgetRuleForSPCampaignsParams defines parameters for DisassociateAssociatedBudgetRuleForSPCampaigns.

type DisassociateAssociatedBudgetRuleForSPCampaignsResp

type DisassociateAssociatedBudgetRuleForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DisassociateAssociatedBudgetRuleResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseDisassociateAssociatedBudgetRuleForSPCampaignsResp

func ParseDisassociateAssociatedBudgetRuleForSPCampaignsResp(rsp *http.Response) (*DisassociateAssociatedBudgetRuleForSPCampaignsResp, error)

ParseDisassociateAssociatedBudgetRuleForSPCampaignsResp parses an HTTP response from a DisassociateAssociatedBudgetRuleForSPCampaignsWithResponse call

func (DisassociateAssociatedBudgetRuleForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (DisassociateAssociatedBudgetRuleForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DisassociateAssociatedBudgetRuleResponse

type DisassociateAssociatedBudgetRuleResponse = map[string]interface{}

DisassociateAssociatedBudgetRuleResponse defines model for DisassociateAssociatedBudgetRuleResponse.

type EventTypeRuleDuration

type EventTypeRuleDuration struct {
	// EndDate The event end date in YYYYMMDD format. Read-only.
	EndDate *string `json:"endDate,omitempty"`

	// EventId The event identifier. This value is available from the budget rules recommendation API.
	EventId string `json:"eventId"`

	// EventName The event name. Read-only.
	EventName *string `json:"eventName,omitempty"`

	// StartDate The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events.
	StartDate *string `json:"startDate,omitempty"`
}

EventTypeRuleDuration Object representing event type rule duration.

type Genre

type Genre struct {
	// Id Id of Genre. This field is REQUIRED if the Genre object is being used as an input. Use the GetRefinementsForCategory to retrieve Genre Node IDs.
	Id *string `json:"id,omitempty"`

	// Name Name of Genre. This field is OPTIONAL if the Genre object is being used as an input.
	Name *string `json:"name,omitempty"`
}

Genre defines model for Genre.

type GenreLoP

type GenreLoP struct {
	// Id Id of Genre. Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Genre Node IDs.
	Id *string `json:"id,omitempty"`

	// Name Name of Genre.
	Name *string `json:"name,omitempty"`

	// TranslatedName Translated name of the Genre based off locale send in the query parameter.
	TranslatedName *string `json:"translatedName,omitempty"`
}

GenreLoP defines model for GenreLoP.

type Genres

type Genres = []Genre

Genres List of Genres. Use the GetRefinementsForCategory to retrieve Genre Node IDs. Genres are only available for categories related to books.

type GenresLoP

type GenresLoP = []GenreLoP

GenresLoP List of Genres in a language of preference (LoP). Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Genre Node IDs. Genres are only available for categories related to books.

type GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody

type GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody = InitialBudgetRecommendationRequest

GetBudgetRecommendationApplicationVndSpinitialbudgetrecommendationV34PlusJSONRequestBody defines body for GetBudgetRecommendation for application/vnd.spinitialbudgetrecommendation.v3.4+json ContentType.

type GetBudgetRecommendationParams

type GetBudgetRecommendationParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header and choose profile id `profileId` from the response to pass it as input.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetBudgetRecommendationParams defines parameters for GetBudgetRecommendation.

type GetBudgetRecommendationResp

type GetBudgetRecommendationResp struct {
	Body                                                  []byte
	HTTPResponse                                          *http.Response
	ApplicationvndSpinitialbudgetrecommendationV34JSON200 *InitialBudgetRecommendationResponse
	ApplicationvndSpinitialbudgetrecommendationV34JSON400 *BudgetRecommendationNewCampaignsException
	ApplicationvndSpinitialbudgetrecommendationV34JSON401 *BudgetRecommendationNewCampaignsException
	ApplicationvndSpinitialbudgetrecommendationV34JSON403 *BudgetRecommendationNewCampaignsException
	ApplicationvndSpinitialbudgetrecommendationV34JSON415 *BudgetRecommendationNewCampaignsException
	ApplicationvndSpinitialbudgetrecommendationV34JSON429 *BudgetRecommendationNewCampaignsException
	ApplicationvndSpinitialbudgetrecommendationV34JSON500 *BudgetRecommendationNewCampaignsException
}

func ParseGetBudgetRecommendationResp

func ParseGetBudgetRecommendationResp(rsp *http.Response) (*GetBudgetRecommendationResp, error)

ParseGetBudgetRecommendationResp parses an HTTP response from a GetBudgetRecommendationWithResponse call

func (GetBudgetRecommendationResp) Status

Status returns HTTPResponse.Status

func (GetBudgetRecommendationResp) StatusCode

func (r GetBudgetRecommendationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody

type GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody = BudgetRecommendationRequest

GetBudgetRecommendationsApplicationVndBudgetrecommendationV3PlusJSONRequestBody defines body for GetBudgetRecommendations for application/vnd.budgetrecommendation.v3+json ContentType.

type GetBudgetRecommendationsParams

type GetBudgetRecommendationsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetBudgetRecommendationsParams defines parameters for GetBudgetRecommendations.

type GetBudgetRecommendationsResp

type GetBudgetRecommendationsResp struct {
	Body                                        []byte
	HTTPResponse                                *http.Response
	ApplicationvndBudgetrecommendationV3JSON200 *BudgetRecommendationResponse
	ApplicationvndBudgetrecommendationV3JSON400 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON401 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON403 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON415 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON422 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON429 *SPTORBudgetRecommendationError
	ApplicationvndBudgetrecommendationV3JSON500 *SPTORBudgetRecommendationError
}

func ParseGetBudgetRecommendationsResp

func ParseGetBudgetRecommendationsResp(rsp *http.Response) (*GetBudgetRecommendationsResp, error)

ParseGetBudgetRecommendationsResp parses an HTTP response from a GetBudgetRecommendationsWithResponse call

func (GetBudgetRecommendationsResp) Status

Status returns HTTPResponse.Status

func (GetBudgetRecommendationsResp) StatusCode

func (r GetBudgetRecommendationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBudgetRuleByRuleIdForSPCampaignsParams

type GetBudgetRuleByRuleIdForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetBudgetRuleByRuleIdForSPCampaignsParams defines parameters for GetBudgetRuleByRuleIdForSPCampaigns.

type GetBudgetRuleByRuleIdForSPCampaignsResp

type GetBudgetRuleByRuleIdForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSPBudgetRuleResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseGetBudgetRuleByRuleIdForSPCampaignsResp

func ParseGetBudgetRuleByRuleIdForSPCampaignsResp(rsp *http.Response) (*GetBudgetRuleByRuleIdForSPCampaignsResp, error)

ParseGetBudgetRuleByRuleIdForSPCampaignsResp parses an HTTP response from a GetBudgetRuleByRuleIdForSPCampaignsWithResponse call

func (GetBudgetRuleByRuleIdForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (GetBudgetRuleByRuleIdForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCampaignOptimizationRuleParams

type GetCampaignOptimizationRuleParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetCampaignOptimizationRuleParams defines parameters for GetCampaignOptimizationRule.

type GetCampaignOptimizationRuleResp

type GetCampaignOptimizationRuleResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *GetSPCampaignOptimizationRuleResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON404                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseGetCampaignOptimizationRuleResp

func ParseGetCampaignOptimizationRuleResp(rsp *http.Response) (*GetCampaignOptimizationRuleResp, error)

ParseGetCampaignOptimizationRuleResp parses an HTTP response from a GetCampaignOptimizationRuleWithResponse call

func (GetCampaignOptimizationRuleResp) Status

Status returns HTTPResponse.Status

func (GetCampaignOptimizationRuleResp) StatusCode

func (r GetCampaignOptimizationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCampaignRecommendationsParams

type GetCampaignRecommendationsParams struct {
	// NextToken Optional. Token to retrieve subsequent page of results.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Optional. Limits the number of items to return in the response.
	MaxResults *string `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header and choose profile id `profileId` from the response to pass it as input.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetCampaignRecommendationsParams defines parameters for GetCampaignRecommendations.

type GetCampaignRecommendationsResp

type GetCampaignRecommendationsResp struct {
	Body                                                        []byte
	HTTPResponse                                                *http.Response
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON200 *GetCampaignRecommendationsResponse
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON400 *ValidationException
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON401 *UnauthorizedException
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON403 *AccessDeniedException
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON422 *UnprocessableEntityException
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON429 *ThrottlingException
	ApplicationvndSpgetcampaignrecommendationsresponseV1JSON500 *InternalServerException
}

func ParseGetCampaignRecommendationsResp

func ParseGetCampaignRecommendationsResp(rsp *http.Response) (*GetCampaignRecommendationsResp, error)

ParseGetCampaignRecommendationsResp parses an HTTP response from a GetCampaignRecommendationsWithResponse call

func (GetCampaignRecommendationsResp) Status

Status returns HTTPResponse.Status

func (GetCampaignRecommendationsResp) StatusCode

func (r GetCampaignRecommendationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCampaignRecommendationsResponse

type GetCampaignRecommendationsResponse struct {
	// NextToken An identifier to fetch next set of campaign recommendations records in the result set if available. This will be null when at the end of result set.
	NextToken *string `json:"nextToken,omitempty"`

	// Recommendations List of campaign recommendations.
	Recommendations []CampaignRecommendation `json:"recommendations"`
}

GetCampaignRecommendationsResponse defines model for GetCampaignRecommendationsResponse.

type GetCampaignsAssociatedWithSPBudgetRuleParams

type GetCampaignsAssociatedWithSPBudgetRuleParams struct {
	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// PageSize Sets a limit on the number of results returned. Maximum limit of `pageSize` is 30.
	PageSize float32 `form:"pageSize" json:"pageSize"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetCampaignsAssociatedWithSPBudgetRuleParams defines parameters for GetCampaignsAssociatedWithSPBudgetRule.

type GetCampaignsAssociatedWithSPBudgetRuleResp

type GetCampaignsAssociatedWithSPBudgetRuleResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SPGetAssociatedCampaignsResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseGetCampaignsAssociatedWithSPBudgetRuleResp

func ParseGetCampaignsAssociatedWithSPBudgetRuleResp(rsp *http.Response) (*GetCampaignsAssociatedWithSPBudgetRuleResp, error)

ParseGetCampaignsAssociatedWithSPBudgetRuleResp parses an HTTP response from a GetCampaignsAssociatedWithSPBudgetRuleWithResponse call

func (GetCampaignsAssociatedWithSPBudgetRuleResp) Status

Status returns HTTPResponse.Status

func (GetCampaignsAssociatedWithSPBudgetRuleResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody

type GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody = GetCategoryRecommendationsForAsinsRequest

GetCategoryRecommendationsForASINsApplicationVndSpproducttargetingV3PlusJSONRequestBody defines body for GetCategoryRecommendationsForASINs for application/vnd.spproducttargeting.v3+json ContentType.

type GetCategoryRecommendationsForASINsParams

type GetCategoryRecommendationsForASINsParams struct {
	// Locale The locale to which the caller wishes to translate the list of category recommendations to. For example, if the caller wishes to receive a list of category recommendations in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned list of category recommendations will be in the default language of the marketplace.
	Locale *GetCategoryRecommendationsForASINsParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

GetCategoryRecommendationsForASINsParams defines parameters for GetCategoryRecommendationsForASINs.

type GetCategoryRecommendationsForASINsParamsLocale

type GetCategoryRecommendationsForASINsParamsLocale string

GetCategoryRecommendationsForASINsParamsLocale defines parameters for GetCategoryRecommendationsForASINs.

const (
	GetCategoryRecommendationsForASINsParamsLocaleArAE GetCategoryRecommendationsForASINsParamsLocale = "ar_AE"
	GetCategoryRecommendationsForASINsParamsLocaleDeDE GetCategoryRecommendationsForASINsParamsLocale = "de_DE"
	GetCategoryRecommendationsForASINsParamsLocaleEnAE GetCategoryRecommendationsForASINsParamsLocale = "en_AE"
	GetCategoryRecommendationsForASINsParamsLocaleEnAU GetCategoryRecommendationsForASINsParamsLocale = "en_AU"
	GetCategoryRecommendationsForASINsParamsLocaleEnCA GetCategoryRecommendationsForASINsParamsLocale = "en_CA"
	GetCategoryRecommendationsForASINsParamsLocaleEnGB GetCategoryRecommendationsForASINsParamsLocale = "en_GB"
	GetCategoryRecommendationsForASINsParamsLocaleEnIN GetCategoryRecommendationsForASINsParamsLocale = "en_IN"
	GetCategoryRecommendationsForASINsParamsLocaleEnSG GetCategoryRecommendationsForASINsParamsLocale = "en_SG"
	GetCategoryRecommendationsForASINsParamsLocaleEnUS GetCategoryRecommendationsForASINsParamsLocale = "en_US"
	GetCategoryRecommendationsForASINsParamsLocaleEsES GetCategoryRecommendationsForASINsParamsLocale = "es_ES"
	GetCategoryRecommendationsForASINsParamsLocaleEsMX GetCategoryRecommendationsForASINsParamsLocale = "es_MX"
	GetCategoryRecommendationsForASINsParamsLocaleFrCA GetCategoryRecommendationsForASINsParamsLocale = "fr_CA"
	GetCategoryRecommendationsForASINsParamsLocaleFrFR GetCategoryRecommendationsForASINsParamsLocale = "fr_FR"
	GetCategoryRecommendationsForASINsParamsLocaleHiIN GetCategoryRecommendationsForASINsParamsLocale = "hi_IN"
	GetCategoryRecommendationsForASINsParamsLocaleItIT GetCategoryRecommendationsForASINsParamsLocale = "it_IT"
	GetCategoryRecommendationsForASINsParamsLocaleJaJP GetCategoryRecommendationsForASINsParamsLocale = "ja_JP"
	GetCategoryRecommendationsForASINsParamsLocaleKoKR GetCategoryRecommendationsForASINsParamsLocale = "ko_KR"
	GetCategoryRecommendationsForASINsParamsLocaleNlNL GetCategoryRecommendationsForASINsParamsLocale = "nl_NL"
	GetCategoryRecommendationsForASINsParamsLocalePlPL GetCategoryRecommendationsForASINsParamsLocale = "pl_PL"
	GetCategoryRecommendationsForASINsParamsLocalePtBR GetCategoryRecommendationsForASINsParamsLocale = "pt_BR"
	GetCategoryRecommendationsForASINsParamsLocaleSvSE GetCategoryRecommendationsForASINsParamsLocale = "sv_SE"
	GetCategoryRecommendationsForASINsParamsLocaleTaIN GetCategoryRecommendationsForASINsParamsLocale = "ta_IN"
	GetCategoryRecommendationsForASINsParamsLocaleThTH GetCategoryRecommendationsForASINsParamsLocale = "th_TH"
	GetCategoryRecommendationsForASINsParamsLocaleTrTR GetCategoryRecommendationsForASINsParamsLocale = "tr_TR"
	GetCategoryRecommendationsForASINsParamsLocaleViVN GetCategoryRecommendationsForASINsParamsLocale = "vi_VN"
	GetCategoryRecommendationsForASINsParamsLocaleZhCN GetCategoryRecommendationsForASINsParamsLocale = "zh_CN"
)

Defines values for GetCategoryRecommendationsForASINsParamsLocale.

type GetCategoryRecommendationsForASINsResp

type GetCategoryRecommendationsForASINsResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *CategoryRecommendations
	ApplicationvndSpproducttargetingresponseV4JSON200 *CategoryRecommendationsWithAsinCounts
	ApplicationvndSpproducttargetingresponseV5JSON200 *CategoryRecommendationsWithAsinCountsLoP
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON422                                           *UnprocessableEntityException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseGetCategoryRecommendationsForASINsResp

func ParseGetCategoryRecommendationsForASINsResp(rsp *http.Response) (*GetCategoryRecommendationsForASINsResp, error)

ParseGetCategoryRecommendationsForASINsResp parses an HTTP response from a GetCategoryRecommendationsForASINsWithResponse call

func (GetCategoryRecommendationsForASINsResp) Status

Status returns HTTPResponse.Status

func (GetCategoryRecommendationsForASINsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCategoryRecommendationsForAsinsRequest

type GetCategoryRecommendationsForAsinsRequest struct {
	// Asins List of input ASINs. This API does not check if the ASINs are valid ASINs.
	Asins *[]string `json:"asins,omitempty"`

	// IncludeAncestor Enable this if you would like to retrieve categories which are ancestor nodes of the original recommended categories. This may increase the number of categories returned, but decrease the relevancy of those categories.
	IncludeAncestor *bool `json:"includeAncestor,omitempty"`
}

GetCategoryRecommendationsForAsinsRequest Request object to retrieve Category Recommendations based on the input ASINs.

type GetNegativeBrandsParams

type GetNegativeBrandsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

GetNegativeBrandsParams defines parameters for GetNegativeBrands.

type GetNegativeBrandsResp

type GetNegativeBrandsResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *Brands
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON403                                           *AccessDeniedException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseGetNegativeBrandsResp

func ParseGetNegativeBrandsResp(rsp *http.Response) (*GetNegativeBrandsResp, error)

ParseGetNegativeBrandsResp parses an HTTP response from a GetNegativeBrandsWithResponse call

func (GetNegativeBrandsResp) Status

func (r GetNegativeBrandsResp) Status() string

Status returns HTTPResponse.Status

func (GetNegativeBrandsResp) StatusCode

func (r GetNegativeBrandsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody

type GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody = SPCampaignOptimizationRecommendationsAPIRequest

GetOptimizationRuleEligibilityApplicationVndOptimizationrulesV1PlusJSONRequestBody defines body for GetOptimizationRuleEligibility for application/vnd.optimizationrules.v1+json ContentType.

type GetOptimizationRuleEligibilityParams

type GetOptimizationRuleEligibilityParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetOptimizationRuleEligibilityParams defines parameters for GetOptimizationRuleEligibility.

type GetOptimizationRuleEligibilityResp

type GetOptimizationRuleEligibilityResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *SPCampaignOptimizationRecommendationAPIResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseGetOptimizationRuleEligibilityResp

func ParseGetOptimizationRuleEligibilityResp(rsp *http.Response) (*GetOptimizationRuleEligibilityResp, error)

ParseGetOptimizationRuleEligibilityResp parses an HTTP response from a GetOptimizationRuleEligibilityWithResponse call

func (GetOptimizationRuleEligibilityResp) Status

Status returns HTTPResponse.Status

func (GetOptimizationRuleEligibilityResp) StatusCode

func (r GetOptimizationRuleEligibilityResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody

type GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody = GetProductRecommendationsRequest

GetProductRecommendationsApplicationVndSpproductrecommendationV3PlusJSONRequestBody defines body for GetProductRecommendations for application/vnd.spproductrecommendation.v3+json ContentType.

type GetProductRecommendationsParams

type GetProductRecommendationsParams struct {
	// AmazonAdvertisingAPIAdvertiserId The Advertiser ID associated with the advertiser account.
	AmazonAdvertisingAPIAdvertiserId *string `json:"Amazon-Advertising-API-AdvertiserId,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetProductRecommendationsParams defines parameters for GetProductRecommendations.

type GetProductRecommendationsRequest

type GetProductRecommendationsRequest struct {
	// AdAsins List of input ASINs.
	AdAsins []string `json:"adAsins"`

	// Count Count of objects requested in the response. The count will be applied on the objects returned under `recommendations` array in response body.  <ul> <li>Requesting `application/vnd.spproductrecommendationresponse.themes.v3+json` mediatype applies the count on `ThemeRecommendation` objects.If no count value is passed a default of `5` is assumed. The API will return a maximum of `10` themes irrespective of how large the count is set. </li> <li>Requesting `application/vnd.spproductrecommendationresponse.asins.v3+json` mediatype applies count on the `ProductRecommendation` objects in response body.If no count value is passed a default of `100` is assumed. The API will return a maximum of `1000` recommendations irrespective of how large the count is set. </li> </ul> Please refer the response Schemas for more info.
	Count *int `json:"count,omitempty"`

	// Cursor A optional cursor value that can be used to fetch next or previous set of records.
	Cursor *string `json:"cursor,omitempty"`

	// Locale Theme names and descriptions will be provided in the language for your supported locale. Available options are en_US (U.S. English), en_GB (UK English), zh_CN (Chinese), es_ES (Spanish), jp_JP (Japanese), de_DE (German), fr_FR (French), it_IT(Italian). If locale is not provided or unsupported, the theme names and descriptions will be returned in U.S. English (en_US).
	Locale *string `json:"locale,omitempty"`
}

GetProductRecommendationsRequest Request structure to get ASIN recommendations for a set of input ASINs.

type GetProductRecommendationsResp

type GetProductRecommendationsResp struct {
	Body                                                         []byte
	HTTPResponse                                                 *http.Response
	ApplicationvndSpproductrecommendationresponseAsinsV3JSON200  *ProductRecommendationsByASIN
	ApplicationvndSpproductrecommendationresponseThemesV3JSON200 *ProductRecommendationsByTheme
	JSON400                                                      *BadRequestException
	JSON422                                                      *UnprocessableEntityException
	JSON429                                                      *ThrottlingException
	JSON500                                                      *InternalServerException
}

func ParseGetProductRecommendationsResp

func ParseGetProductRecommendationsResp(rsp *http.Response) (*GetProductRecommendationsResp, error)

ParseGetProductRecommendationsResp parses an HTTP response from a GetProductRecommendationsWithResponse call

func (GetProductRecommendationsResp) Status

Status returns HTTPResponse.Status

func (GetProductRecommendationsResp) StatusCode

func (r GetProductRecommendationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONBody struct {
	// contains filtered or unexported fields
}

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONBody defines parameters for GetRankedKeywordRecommendation.

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONBody

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV3PlusJSONRequestBody defines body for GetRankedKeywordRecommendation for application/vnd.spkeywordsrecommendation.v3+json ContentType.

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONBody struct {
	// contains filtered or unexported fields
}

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONBody defines parameters for GetRankedKeywordRecommendation.

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONBody

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV4PlusJSONRequestBody defines body for GetRankedKeywordRecommendation for application/vnd.spkeywordsrecommendation.v4+json ContentType.

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONBody struct {
	// contains filtered or unexported fields
}

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONBody defines parameters for GetRankedKeywordRecommendation.

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody

type GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONBody

GetRankedKeywordRecommendationApplicationVndSpkeywordsrecommendationV5PlusJSONRequestBody defines body for GetRankedKeywordRecommendation for application/vnd.spkeywordsrecommendation.v5+json ContentType.

type GetRankedKeywordRecommendationParams

type GetRankedKeywordRecommendationParams struct {
	// AmazonAdvertisingAPIMarketplaceId The advertiser's Marketplace ID associated with the advertiser account.
	AmazonAdvertisingAPIMarketplaceId *string `json:"Amazon-Advertising-API-MarketplaceId,omitempty"`

	// AmazonAdvertisingAPIAdvertiserId The advertiser's ID associated with the advertiser account.
	AmazonAdvertisingAPIAdvertiserId *string `json:"Amazon-Advertising-API-AdvertiserId,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetRankedKeywordRecommendationParams defines parameters for GetRankedKeywordRecommendation.

type GetRankedKeywordRecommendationResp

type GetRankedKeywordRecommendationResp struct {
	Body                                            []byte
	HTTPResponse                                    *http.Response
	ApplicationvndSpkeywordsrecommendationV3JSON200 *[]KeywordTargetResponse
	ApplicationvndSpkeywordsrecommendationV4JSON200 *RankedTargetResponse
	ApplicationvndSpkeywordsrecommendationV5JSON200 *RankedTargetWithThemedBidsResponse
	ApplicationvndSpkeywordsrecommendationV3JSON400 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV4JSON400 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV3JSON401 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV4JSON401 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV3JSON422 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV4JSON422 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV3JSON429 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV4JSON429 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV3JSON500 *SPTargetingError
	ApplicationvndSpkeywordsrecommendationV4JSON500 *SPTargetingError
}

func ParseGetRankedKeywordRecommendationResp

func ParseGetRankedKeywordRecommendationResp(rsp *http.Response) (*GetRankedKeywordRecommendationResp, error)

ParseGetRankedKeywordRecommendationResp parses an HTTP response from a GetRankedKeywordRecommendationWithResponse call

func (GetRankedKeywordRecommendationResp) Status

Status returns HTTPResponse.Status

func (GetRankedKeywordRecommendationResp) StatusCode

func (r GetRankedKeywordRecommendationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRefinementsForCategoryParams

type GetRefinementsForCategoryParams struct {
	// Locale The locale to which the caller wishes to translate the refinements to. For example, if the caller wishes to receive the refinements in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the refinements will be in the default language of the marketplace.
	Locale *GetRefinementsForCategoryParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

GetRefinementsForCategoryParams defines parameters for GetRefinementsForCategory.

type GetRefinementsForCategoryParamsLocale

type GetRefinementsForCategoryParamsLocale string

GetRefinementsForCategoryParamsLocale defines parameters for GetRefinementsForCategory.

const (
	GetRefinementsForCategoryParamsLocaleArAE GetRefinementsForCategoryParamsLocale = "ar_AE"
	GetRefinementsForCategoryParamsLocaleDeDE GetRefinementsForCategoryParamsLocale = "de_DE"
	GetRefinementsForCategoryParamsLocaleEnAE GetRefinementsForCategoryParamsLocale = "en_AE"
	GetRefinementsForCategoryParamsLocaleEnAU GetRefinementsForCategoryParamsLocale = "en_AU"
	GetRefinementsForCategoryParamsLocaleEnCA GetRefinementsForCategoryParamsLocale = "en_CA"
	GetRefinementsForCategoryParamsLocaleEnGB GetRefinementsForCategoryParamsLocale = "en_GB"
	GetRefinementsForCategoryParamsLocaleEnIN GetRefinementsForCategoryParamsLocale = "en_IN"
	GetRefinementsForCategoryParamsLocaleEnSG GetRefinementsForCategoryParamsLocale = "en_SG"
	GetRefinementsForCategoryParamsLocaleEnUS GetRefinementsForCategoryParamsLocale = "en_US"
	GetRefinementsForCategoryParamsLocaleEsES GetRefinementsForCategoryParamsLocale = "es_ES"
	GetRefinementsForCategoryParamsLocaleEsMX GetRefinementsForCategoryParamsLocale = "es_MX"
	GetRefinementsForCategoryParamsLocaleFrCA GetRefinementsForCategoryParamsLocale = "fr_CA"
	GetRefinementsForCategoryParamsLocaleFrFR GetRefinementsForCategoryParamsLocale = "fr_FR"
	GetRefinementsForCategoryParamsLocaleHiIN GetRefinementsForCategoryParamsLocale = "hi_IN"
	GetRefinementsForCategoryParamsLocaleItIT GetRefinementsForCategoryParamsLocale = "it_IT"
	GetRefinementsForCategoryParamsLocaleJaJP GetRefinementsForCategoryParamsLocale = "ja_JP"
	GetRefinementsForCategoryParamsLocaleKoKR GetRefinementsForCategoryParamsLocale = "ko_KR"
	GetRefinementsForCategoryParamsLocaleNlNL GetRefinementsForCategoryParamsLocale = "nl_NL"
	GetRefinementsForCategoryParamsLocalePlPL GetRefinementsForCategoryParamsLocale = "pl_PL"
	GetRefinementsForCategoryParamsLocalePtBR GetRefinementsForCategoryParamsLocale = "pt_BR"
	GetRefinementsForCategoryParamsLocaleSvSE GetRefinementsForCategoryParamsLocale = "sv_SE"
	GetRefinementsForCategoryParamsLocaleTaIN GetRefinementsForCategoryParamsLocale = "ta_IN"
	GetRefinementsForCategoryParamsLocaleThTH GetRefinementsForCategoryParamsLocale = "th_TH"
	GetRefinementsForCategoryParamsLocaleTrTR GetRefinementsForCategoryParamsLocale = "tr_TR"
	GetRefinementsForCategoryParamsLocaleViVN GetRefinementsForCategoryParamsLocale = "vi_VN"
	GetRefinementsForCategoryParamsLocaleZhCN GetRefinementsForCategoryParamsLocale = "zh_CN"
)

Defines values for GetRefinementsForCategoryParamsLocale.

type GetRefinementsForCategoryResp

type GetRefinementsForCategoryResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *Refinements
	ApplicationvndSpproducttargetingresponseV4JSON200 *RefinementsLoP
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON422                                           *UnprocessableEntityException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseGetRefinementsForCategoryResp

func ParseGetRefinementsForCategoryResp(rsp *http.Response) (*GetRefinementsForCategoryResp, error)

ParseGetRefinementsForCategoryResp parses an HTTP response from a GetRefinementsForCategoryWithResponse call

func (GetRefinementsForCategoryResp) Status

Status returns HTTPResponse.Status

func (GetRefinementsForCategoryResp) StatusCode

func (r GetRefinementsForCategoryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRuleBasedBudgetHistoryForSPCampaignsParams

type GetRuleBasedBudgetHistoryForSPCampaignsParams struct {
	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// PageSize Sets a limit on the number of results returned. Maximum limit of `pageSize` is 30.
	PageSize float32 `form:"pageSize" json:"pageSize"`

	// StartDate The start date of the budget history in YYYYMMDD format.
	StartDate string `form:"startDate" json:"startDate"`

	// EndDate The end date of the budget history in YYYYMMDD format.
	EndDate string `form:"endDate" json:"endDate"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a Login with Amazon account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetRuleBasedBudgetHistoryForSPCampaignsParams defines parameters for GetRuleBasedBudgetHistoryForSPCampaigns.

type GetRuleBasedBudgetHistoryForSPCampaignsResp

type GetRuleBasedBudgetHistoryForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SPBudgetHistory
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseGetRuleBasedBudgetHistoryForSPCampaignsResp

func ParseGetRuleBasedBudgetHistoryForSPCampaignsResp(rsp *http.Response) (*GetRuleBasedBudgetHistoryForSPCampaignsResp, error)

ParseGetRuleBasedBudgetHistoryForSPCampaignsResp parses an HTTP response from a GetRuleBasedBudgetHistoryForSPCampaignsWithResponse call

func (GetRuleBasedBudgetHistoryForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (GetRuleBasedBudgetHistoryForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody

type GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody = SPCampaignOptimizationNotificationAPIRequest

GetRuleNotificationApplicationVndOptimizationrulesV1PlusJSONRequestBody defines body for GetRuleNotification for application/vnd.optimizationrules.v1+json ContentType.

type GetRuleNotificationParams

type GetRuleNotificationParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetRuleNotificationParams defines parameters for GetRuleNotification.

type GetRuleNotificationResp

type GetRuleNotificationResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *SPCampaignOptimizationNotificationAPIResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseGetRuleNotificationResp

func ParseGetRuleNotificationResp(rsp *http.Response) (*GetRuleNotificationResp, error)

ParseGetRuleNotificationResp parses an HTTP response from a GetRuleNotificationWithResponse call

func (GetRuleNotificationResp) Status

func (r GetRuleNotificationResp) Status() string

Status returns HTTPResponse.Status

func (GetRuleNotificationResp) StatusCode

func (r GetRuleNotificationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSPBudgetRuleResponse

type GetSPBudgetRuleResponse struct {
	BudgetRule *SPBudgetRule `json:"budgetRule,omitempty"`
}

GetSPBudgetRuleResponse defines model for GetSPBudgetRuleResponse.

type GetSPBudgetRulesForAdvertiserParams

type GetSPBudgetRulesForAdvertiserParams struct {
	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// PageSize Sets a limit on the number of results returned. Maximum limit of `pageSize` is 30.
	PageSize float32 `form:"pageSize" json:"pageSize"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetSPBudgetRulesForAdvertiserParams defines parameters for GetSPBudgetRulesForAdvertiser.

type GetSPBudgetRulesForAdvertiserResp

type GetSPBudgetRulesForAdvertiserResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSPBudgetRulesForAdvertiserResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseGetSPBudgetRulesForAdvertiserResp

func ParseGetSPBudgetRulesForAdvertiserResp(rsp *http.Response) (*GetSPBudgetRulesForAdvertiserResp, error)

ParseGetSPBudgetRulesForAdvertiserResp parses an HTTP response from a GetSPBudgetRulesForAdvertiserWithResponse call

func (GetSPBudgetRulesForAdvertiserResp) Status

Status returns HTTPResponse.Status

func (GetSPBudgetRulesForAdvertiserResp) StatusCode

func (r GetSPBudgetRulesForAdvertiserResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSPBudgetRulesForAdvertiserResponse

type GetSPBudgetRulesForAdvertiserResponse struct {
	// BudgetRulesForAdvertiserResponse A list of rules created by the advertiser.
	BudgetRulesForAdvertiserResponse *[]SPBudgetRule `json:"budgetRulesForAdvertiserResponse,omitempty"`

	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `json:"nextToken,omitempty"`
}

GetSPBudgetRulesForAdvertiserResponse defines model for GetSPBudgetRulesForAdvertiserResponse.

type GetSPCampaignOptimizationRuleResponse

type GetSPCampaignOptimizationRuleResponse struct {
	CampaignOptimizationRule *CampaignOptimizationRule `json:"CampaignOptimizationRule,omitempty"`
}

GetSPCampaignOptimizationRuleResponse defines model for GetSPCampaignOptimizationRuleResponse.

type GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody

type GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody = GetTargetableAsinCountsRequest

GetTargetableASINCountsApplicationVndSpproducttargetingV3PlusJSONRequestBody defines body for GetTargetableASINCounts for application/vnd.spproducttargeting.v3+json ContentType.

type GetTargetableASINCountsParams

type GetTargetableASINCountsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

GetTargetableASINCountsParams defines parameters for GetTargetableASINCounts.

type GetTargetableASINCountsResp

type GetTargetableASINCountsResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *TargetableAsinCounts
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON422                                           *UnprocessableEntityException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseGetTargetableASINCountsResp

func ParseGetTargetableASINCountsResp(rsp *http.Response) (*GetTargetableASINCountsResp, error)

ParseGetTargetableASINCountsResp parses an HTTP response from a GetTargetableASINCountsWithResponse call

func (GetTargetableASINCountsResp) Status

Status returns HTTPResponse.Status

func (GetTargetableASINCountsResp) StatusCode

func (r GetTargetableASINCountsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetableAsinCountsRequest

type GetTargetableAsinCountsRequest struct {
	// AgeRanges List of Age Ranges. Use the GetRefinementsForCategory to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games.
	AgeRanges *AgeRanges `json:"ageRanges,omitempty"`

	// Brands List of Brands.
	Brands *Brands `json:"brands,omitempty"`

	// Category The category node id. Please use the GetTargetableCategories API or GetCategoryRecommendationsForASINs API to retrieve category IDs.
	Category string `json:"category"`

	// Genres List of Genres. Use the GetRefinementsForCategory to retrieve Genre Node IDs. Genres are only available for categories related to books.
	Genres *Genres `json:"genres,omitempty"`

	// IsPrimeShipping Indicates if products have prime shipping
	IsPrimeShipping *bool `json:"isPrimeShipping,omitempty"`

	// PriceRange A range of prices. We use this to retrieve the number of targetable ASINs that falls within this price range.
	PriceRange *PriceRange `json:"priceRange,omitempty"`

	// RatingRange Rating range is restricted to integers between 0 and 5, inclusive. Min must be less than or equal to max. We use this to retrieve the number of targetable ASINs that falls within this rating range.
	RatingRange *RatingRange `json:"ratingRange,omitempty"`
}

GetTargetableAsinCountsRequest defines model for GetTargetableAsinCountsRequest.

type GetTargetableCategoriesParams

type GetTargetableCategoriesParams struct {
	// Locale The locale to which the caller wishes to translate the targetable categories to. For example, if the caller wishes to receive the targetable categories in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned targetable categories will be in the default language of the marketplace.
	Locale *GetTargetableCategoriesParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

GetTargetableCategoriesParams defines parameters for GetTargetableCategories.

type GetTargetableCategoriesParamsLocale

type GetTargetableCategoriesParamsLocale string

GetTargetableCategoriesParamsLocale defines parameters for GetTargetableCategories.

const (
	GetTargetableCategoriesParamsLocaleArAE GetTargetableCategoriesParamsLocale = "ar_AE"
	GetTargetableCategoriesParamsLocaleDeDE GetTargetableCategoriesParamsLocale = "de_DE"
	GetTargetableCategoriesParamsLocaleEnAE GetTargetableCategoriesParamsLocale = "en_AE"
	GetTargetableCategoriesParamsLocaleEnAU GetTargetableCategoriesParamsLocale = "en_AU"
	GetTargetableCategoriesParamsLocaleEnCA GetTargetableCategoriesParamsLocale = "en_CA"
	GetTargetableCategoriesParamsLocaleEnGB GetTargetableCategoriesParamsLocale = "en_GB"
	GetTargetableCategoriesParamsLocaleEnIN GetTargetableCategoriesParamsLocale = "en_IN"
	GetTargetableCategoriesParamsLocaleEnSG GetTargetableCategoriesParamsLocale = "en_SG"
	GetTargetableCategoriesParamsLocaleEnUS GetTargetableCategoriesParamsLocale = "en_US"
	GetTargetableCategoriesParamsLocaleEsES GetTargetableCategoriesParamsLocale = "es_ES"
	GetTargetableCategoriesParamsLocaleEsMX GetTargetableCategoriesParamsLocale = "es_MX"
	GetTargetableCategoriesParamsLocaleFrCA GetTargetableCategoriesParamsLocale = "fr_CA"
	GetTargetableCategoriesParamsLocaleFrFR GetTargetableCategoriesParamsLocale = "fr_FR"
	GetTargetableCategoriesParamsLocaleHiIN GetTargetableCategoriesParamsLocale = "hi_IN"
	GetTargetableCategoriesParamsLocaleItIT GetTargetableCategoriesParamsLocale = "it_IT"
	GetTargetableCategoriesParamsLocaleJaJP GetTargetableCategoriesParamsLocale = "ja_JP"
	GetTargetableCategoriesParamsLocaleKoKR GetTargetableCategoriesParamsLocale = "ko_KR"
	GetTargetableCategoriesParamsLocaleNlNL GetTargetableCategoriesParamsLocale = "nl_NL"
	GetTargetableCategoriesParamsLocalePlPL GetTargetableCategoriesParamsLocale = "pl_PL"
	GetTargetableCategoriesParamsLocalePtBR GetTargetableCategoriesParamsLocale = "pt_BR"
	GetTargetableCategoriesParamsLocaleSvSE GetTargetableCategoriesParamsLocale = "sv_SE"
	GetTargetableCategoriesParamsLocaleTaIN GetTargetableCategoriesParamsLocale = "ta_IN"
	GetTargetableCategoriesParamsLocaleThTH GetTargetableCategoriesParamsLocale = "th_TH"
	GetTargetableCategoriesParamsLocaleTrTR GetTargetableCategoriesParamsLocale = "tr_TR"
	GetTargetableCategoriesParamsLocaleViVN GetTargetableCategoriesParamsLocale = "vi_VN"
	GetTargetableCategoriesParamsLocaleZhCN GetTargetableCategoriesParamsLocale = "zh_CN"
)

Defines values for GetTargetableCategoriesParamsLocale.

type GetTargetableCategoriesResp

type GetTargetableCategoriesResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *TargetableCategories
	ApplicationvndSpproducttargetingresponseV4JSON200 *TargetableCategories
	ApplicationvndSpproducttargetingresponseV5JSON200 *TargetableCategoriesLoP
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseGetTargetableCategoriesResp

func ParseGetTargetableCategoriesResp(rsp *http.Response) (*GetTargetableCategoriesResp, error)

ParseGetTargetableCategoriesResp parses an HTTP response from a GetTargetableCategoriesWithResponse call

func (GetTargetableCategoriesResp) Status

Status returns HTTPResponse.Status

func (GetTargetableCategoriesResp) StatusCode

func (r GetTargetableCategoriesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody

type GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody struct {
	// contains filtered or unexported fields
}

GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody defines parameters for GetThemeBasedBidRecommendationForAdGroupV1.

type GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody

type GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONBody

GetThemeBasedBidRecommendationForAdGroupV1ApplicationVndSpthemebasedbidrecommendationV3PlusJSONRequestBody defines body for GetThemeBasedBidRecommendationForAdGroupV1 for application/vnd.spthemebasedbidrecommendation.v3+json ContentType.

type GetThemeBasedBidRecommendationForAdGroupV1Params

type GetThemeBasedBidRecommendationForAdGroupV1Params struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

GetThemeBasedBidRecommendationForAdGroupV1Params defines parameters for GetThemeBasedBidRecommendationForAdGroupV1.

type GetThemeBasedBidRecommendationForAdGroupV1Resp

type GetThemeBasedBidRecommendationForAdGroupV1Resp struct {
	Body                                                 []byte
	HTTPResponse                                         *http.Response
	ApplicationvndSpthemebasedbidrecommendationV3JSON200 *ThemeBasedBidRecommendationResponse
	JSON400                                              *BidRecommendationError
	JSON401                                              *BidRecommendationError
	JSON405                                              *BidRecommendationError
	JSON406                                              *BidRecommendationError
	JSON415                                              *BidRecommendationError
	JSON422                                              *BidRecommendationError
	JSON429                                              *BidRecommendationError
	JSON500                                              *BidRecommendationError
}

func ParseGetThemeBasedBidRecommendationForAdGroupV1Resp

func ParseGetThemeBasedBidRecommendationForAdGroupV1Resp(rsp *http.Response) (*GetThemeBasedBidRecommendationForAdGroupV1Resp, error)

ParseGetThemeBasedBidRecommendationForAdGroupV1Resp parses an HTTP response from a GetThemeBasedBidRecommendationForAdGroupV1WithResponse call

func (GetThemeBasedBidRecommendationForAdGroupV1Resp) Status

Status returns HTTPResponse.Status

func (GetThemeBasedBidRecommendationForAdGroupV1Resp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImpactMetric

type ImpactMetric struct {
	Values *[]RangeMetricValue `json:"values,omitempty"`
}

ImpactMetric The impact metrics are given in the same order of suggested bids.

Note: This object is nullable

type ImpactMetrics

type ImpactMetrics struct {
	// Clicks The impact metrics are given in the same order of suggested bids.
	//
	// Note: This object is nullable
	Clicks *ImpactMetric `json:"clicks"`

	// Orders The impact metrics are given in the same order of suggested bids.
	//
	// Note: This object is nullable
	Orders *ImpactMetric `json:"orders"`
}

ImpactMetrics For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products. For other event-based themes, the impact metrics are clicks and orders received for similar products during the event days

Note: This object is nullable

type Impressions

type Impressions struct {
	// Lower lower bound.
	Lower *int `json:"lower,omitempty"`

	// Upper upper bound.
	Upper *int `json:"upper,omitempty"`
}

Impressions Impressions benchmark.

type InitialBudgetRecommendationRequest

type InitialBudgetRecommendationRequest struct {
	// AdGroups The ad group information for this new campaign.
	AdGroups []AdGroup `json:"adGroups"`

	// Bidding The bidding control configuration for the new campaign.
	Bidding Bidding `json:"bidding"`

	// EndDate The end date of the campaign in YYYYMMDD format.
	EndDate *string `json:"endDate,omitempty"`

	// StartDate The start date of the campaign in YYYYMMDD format.
	StartDate *string `json:"startDate,omitempty"`

	// TargetingType Specifies the targeting type.
	TargetingType InitialBudgetRecommendationRequestTargetingType `json:"targetingType"`
}

InitialBudgetRecommendationRequest defines model for InitialBudgetRecommendationRequest.

type InitialBudgetRecommendationRequestTargetingType

type InitialBudgetRecommendationRequestTargetingType string

InitialBudgetRecommendationRequestTargetingType Specifies the targeting type.

Defines values for InitialBudgetRecommendationRequestTargetingType.

type InitialBudgetRecommendationResponse

type InitialBudgetRecommendationResponse struct {
	// Benchmark Forecasted impact metrics for next 7 days or during special days.
	Benchmark Benchmark `json:"benchmark"`

	// DailyBudget Recommended daily budget for the new campaign. Note: value -1 means we don’t have enough information to provide a recommendation.
	DailyBudget float32 `json:"dailyBudget"`

	// RecommendationId Unique identifier for each recommendation.
	RecommendationId *string `json:"recommendationId,omitempty"`

	// SpecialEvents A list of special events around the start and end date of the campaign.
	SpecialEvents []SpecialEvent `json:"specialEvents"`
}

InitialBudgetRecommendationResponse defines model for InitialBudgetRecommendationResponse.

type IntegerRange

type IntegerRange struct {
	Max *int32 `json:"max,omitempty"`
	Min *int32 `json:"min,omitempty"`
}

IntegerRange defines model for IntegerRange.

type InternalServerException

type InternalServerException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

InternalServerException Returns information about an InternalServerException.

type KeywordBidInfo

type KeywordBidInfo struct {
	// Bid The bid value for the keyword. The default value will be the suggested bid.
	Bid *float64 `json:"bid,omitempty"`

	// MatchType Keyword match type. The default value will be BROAD.
	MatchType *KeywordBidInfoMatchType `json:"matchType,omitempty"`

	// Rank The keyword target rank
	Rank *float32 `json:"rank,omitempty"`

	// SuggestedBid Suggested bid range
	SuggestedBid *BidSuggestion `json:"suggestedBid,omitempty"`
}

KeywordBidInfo defines model for KeywordBidInfo.

type KeywordBidInfoMatchType

type KeywordBidInfoMatchType string

KeywordBidInfoMatchType Keyword match type. The default value will be BROAD.

const (
	KeywordBidInfoMatchTypeBROAD  KeywordBidInfoMatchType = "BROAD"
	KeywordBidInfoMatchTypeEXACT  KeywordBidInfoMatchType = "EXACT"
	KeywordBidInfoMatchTypePHRASE KeywordBidInfoMatchType = "PHRASE"
)

Defines values for KeywordBidInfoMatchType.

type KeywordTarget

type KeywordTarget struct {
	// Bid The bid value for the keyword. The default value will be the suggested bid.
	Bid *float64 `json:"bid,omitempty"`

	// Keyword The keyword value
	Keyword *string `json:"keyword,omitempty"`

	// MatchType Keyword match type. The default value will be BROAD.
	MatchType *KeywordTargetMatchType `json:"matchType,omitempty"`

	// UserSelectedKeyword Flag that tells if keyword was selected by the user or was recommended by KRS
	UserSelectedKeyword *bool `json:"userSelectedKeyword,omitempty"`
}

KeywordTarget defines model for KeywordTarget.

type KeywordTargetMatchType

type KeywordTargetMatchType string

KeywordTargetMatchType Keyword match type. The default value will be BROAD.

const (
	KeywordTargetMatchTypeBROAD  KeywordTargetMatchType = "BROAD"
	KeywordTargetMatchTypeEXACT  KeywordTargetMatchType = "EXACT"
	KeywordTargetMatchTypePHRASE KeywordTargetMatchType = "PHRASE"
)

Defines values for KeywordTargetMatchType.

type KeywordTargetRankRecommendationRequest

type KeywordTargetRankRecommendationRequest = RecommendationOptions

KeywordTargetRankRecommendationRequest defines model for KeywordTargetRankRecommendationRequest.

type KeywordTargetResponse

type KeywordTargetResponse = KeywordTarget

KeywordTargetResponse defines model for KeywordTargetResponse.

type KeywordTargetingRecommendation

type KeywordTargetingRecommendation struct {
	// Action Type of action for the keyword targeting.
	Action *KeywordTargetingRecommendationAction `json:"action,omitempty"`

	// AdGroupId The ad group identifier.
	AdGroupId *string `json:"adGroupId,omitempty"`

	// KeywordId The identifier of the keyword targeting.
	KeywordId *string `json:"keywordId,omitempty"`

	// KeywordText The keyword text.
	KeywordText *string `json:"keywordText,omitempty"`

	// MatchType Keyword match type. | Value | Description | | --- | --- | | `BROAD` | Use BROAD to broadly match your keyword targeting ads with search queries.| | `EXACT` | Use EXACT to exactly match your keyword targeting ads with search queries.| | `PHRASE` | Use PHRASE to match your keyword targeting ads with search phrases.|
	MatchType *KeywordTargetingRecommendationMatchType `json:"matchType,omitempty"`

	// SuggestedBid The suggested bid value associated with this keyword targeting clause.
	SuggestedBid *float64 `json:"suggestedBid,omitempty"`
}

KeywordTargetingRecommendation Contains suggested recommendation for the keyword targeting.

type KeywordTargetingRecommendationAction

type KeywordTargetingRecommendationAction string

KeywordTargetingRecommendationAction Type of action for the keyword targeting.

const (
	KeywordTargetingRecommendationActionADD      KeywordTargetingRecommendationAction = "ADD"
	KeywordTargetingRecommendationActionDECREASE KeywordTargetingRecommendationAction = "DECREASE"
	KeywordTargetingRecommendationActionINCREASE KeywordTargetingRecommendationAction = "INCREASE"
	KeywordTargetingRecommendationActionREMOVE   KeywordTargetingRecommendationAction = "REMOVE"
	KeywordTargetingRecommendationActionUPDATE   KeywordTargetingRecommendationAction = "UPDATE"
)

Defines values for KeywordTargetingRecommendationAction.

type KeywordTargetingRecommendationMatchType

type KeywordTargetingRecommendationMatchType string

KeywordTargetingRecommendationMatchType Keyword match type. | Value | Description | | --- | --- | | `BROAD` | Use BROAD to broadly match your keyword targeting ads with search queries.| | `EXACT` | Use EXACT to exactly match your keyword targeting ads with search queries.| | `PHRASE` | Use PHRASE to match your keyword targeting ads with search phrases.|

const (
	KeywordTargetingRecommendationMatchTypeBROAD  KeywordTargetingRecommendationMatchType = "BROAD"
	KeywordTargetingRecommendationMatchTypeEXACT  KeywordTargetingRecommendationMatchType = "EXACT"
	KeywordTargetingRecommendationMatchTypePHRASE KeywordTargetingRecommendationMatchType = "PHRASE"
)

Defines values for KeywordTargetingRecommendationMatchType.

type ListAssociatedBudgetRulesForSPCampaignsParams

type ListAssociatedBudgetRulesForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListAssociatedBudgetRulesForSPCampaignsParams defines parameters for ListAssociatedBudgetRulesForSPCampaigns.

type ListAssociatedBudgetRulesForSPCampaignsResp

type ListAssociatedBudgetRulesForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SPListAssociatedBudgetRulesResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseListAssociatedBudgetRulesForSPCampaignsResp

func ParseListAssociatedBudgetRulesForSPCampaignsResp(rsp *http.Response) (*ListAssociatedBudgetRulesForSPCampaignsResp, error)

ParseListAssociatedBudgetRulesForSPCampaignsResp parses an HTTP response from a ListAssociatedBudgetRulesForSPCampaignsWithResponse call

func (ListAssociatedBudgetRulesForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (ListAssociatedBudgetRulesForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody

type ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsAdGroupsRequestContent

ListSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody defines body for ListSponsoredProductsAdGroups for application/vnd.spAdGroup.v3+json ContentType.

type ListSponsoredProductsAdGroupsParams

type ListSponsoredProductsAdGroupsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsAdGroupsParams defines parameters for ListSponsoredProductsAdGroups.

type ListSponsoredProductsAdGroupsResp

func ParseListSponsoredProductsAdGroupsResp

func ParseListSponsoredProductsAdGroupsResp(rsp *http.Response) (*ListSponsoredProductsAdGroupsResp, error)

ParseListSponsoredProductsAdGroupsResp parses an HTTP response from a ListSponsoredProductsAdGroupsWithResponse call

func (ListSponsoredProductsAdGroupsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsAdGroupsResp) StatusCode

func (r ListSponsoredProductsAdGroupsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody

type ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsRequestContent

ListSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody defines body for ListSponsoredProductsCampaignNegativeKeywords for application/vnd.spCampaignNegativeKeyword.v3+json ContentType.

type ListSponsoredProductsCampaignNegativeKeywordsParams

type ListSponsoredProductsCampaignNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsCampaignNegativeKeywordsParams defines parameters for ListSponsoredProductsCampaignNegativeKeywords.

type ListSponsoredProductsCampaignNegativeKeywordsResp

func ParseListSponsoredProductsCampaignNegativeKeywordsResp

func ParseListSponsoredProductsCampaignNegativeKeywordsResp(rsp *http.Response) (*ListSponsoredProductsCampaignNegativeKeywordsResp, error)

ParseListSponsoredProductsCampaignNegativeKeywordsResp parses an HTTP response from a ListSponsoredProductsCampaignNegativeKeywordsWithResponse call

func (ListSponsoredProductsCampaignNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsCampaignNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody

type ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesRequestContent

ListSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody defines body for ListSponsoredProductsCampaignNegativeTargetingClauses for application/vnd.spCampaignNegativeTargetingClause.v3+json ContentType.

type ListSponsoredProductsCampaignNegativeTargetingClausesParams

type ListSponsoredProductsCampaignNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsCampaignNegativeTargetingClausesParams defines parameters for ListSponsoredProductsCampaignNegativeTargetingClauses.

type ListSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseListSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseListSponsoredProductsCampaignNegativeTargetingClausesResp(rsp *http.Response) (*ListSponsoredProductsCampaignNegativeTargetingClausesResp, error)

ParseListSponsoredProductsCampaignNegativeTargetingClausesResp parses an HTTP response from a ListSponsoredProductsCampaignNegativeTargetingClausesWithResponse call

func (ListSponsoredProductsCampaignNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsCampaignNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody

type ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsCampaignsRequestContent

ListSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody defines body for ListSponsoredProductsCampaigns for application/vnd.spCampaign.v3+json ContentType.

type ListSponsoredProductsCampaignsParams

type ListSponsoredProductsCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsCampaignsParams defines parameters for ListSponsoredProductsCampaigns.

type ListSponsoredProductsCampaignsResp

func ParseListSponsoredProductsCampaignsResp

func ParseListSponsoredProductsCampaignsResp(rsp *http.Response) (*ListSponsoredProductsCampaignsResp, error)

ParseListSponsoredProductsCampaignsResp parses an HTTP response from a ListSponsoredProductsCampaignsWithResponse call

func (ListSponsoredProductsCampaignsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsCampaignsResp) StatusCode

func (r ListSponsoredProductsCampaignsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody

type ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsKeywordsRequestContent

ListSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody defines body for ListSponsoredProductsKeywords for application/vnd.spKeyword.v3+json ContentType.

type ListSponsoredProductsKeywordsParams

type ListSponsoredProductsKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsKeywordsParams defines parameters for ListSponsoredProductsKeywords.

type ListSponsoredProductsKeywordsResp

func ParseListSponsoredProductsKeywordsResp

func ParseListSponsoredProductsKeywordsResp(rsp *http.Response) (*ListSponsoredProductsKeywordsResp, error)

ParseListSponsoredProductsKeywordsResp parses an HTTP response from a ListSponsoredProductsKeywordsWithResponse call

func (ListSponsoredProductsKeywordsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsKeywordsResp) StatusCode

func (r ListSponsoredProductsKeywordsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody

type ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsNegativeKeywordsRequestContent

ListSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody defines body for ListSponsoredProductsNegativeKeywords for application/vnd.spNegativeKeyword.v3+json ContentType.

type ListSponsoredProductsNegativeKeywordsParams

type ListSponsoredProductsNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsNegativeKeywordsParams defines parameters for ListSponsoredProductsNegativeKeywords.

type ListSponsoredProductsNegativeKeywordsResp

func ParseListSponsoredProductsNegativeKeywordsResp

func ParseListSponsoredProductsNegativeKeywordsResp(rsp *http.Response) (*ListSponsoredProductsNegativeKeywordsResp, error)

ParseListSponsoredProductsNegativeKeywordsResp parses an HTTP response from a ListSponsoredProductsNegativeKeywordsWithResponse call

func (ListSponsoredProductsNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody

type ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsNegativeTargetingClausesRequestContent

ListSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody defines body for ListSponsoredProductsNegativeTargetingClauses for application/vnd.spNegativeTargetingClause.v3+json ContentType.

type ListSponsoredProductsNegativeTargetingClausesParams

type ListSponsoredProductsNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsNegativeTargetingClausesParams defines parameters for ListSponsoredProductsNegativeTargetingClauses.

type ListSponsoredProductsNegativeTargetingClausesResp

func ParseListSponsoredProductsNegativeTargetingClausesResp

func ParseListSponsoredProductsNegativeTargetingClausesResp(rsp *http.Response) (*ListSponsoredProductsNegativeTargetingClausesResp, error)

ParseListSponsoredProductsNegativeTargetingClausesResp parses an HTTP response from a ListSponsoredProductsNegativeTargetingClausesWithResponse call

func (ListSponsoredProductsNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody

type ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsProductAdsRequestContent

ListSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody defines body for ListSponsoredProductsProductAds for application/vnd.spProductAd.v3+json ContentType.

type ListSponsoredProductsProductAdsParams

type ListSponsoredProductsProductAdsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsProductAdsParams defines parameters for ListSponsoredProductsProductAds.

type ListSponsoredProductsProductAdsResp

func ParseListSponsoredProductsProductAdsResp

func ParseListSponsoredProductsProductAdsResp(rsp *http.Response) (*ListSponsoredProductsProductAdsResp, error)

ParseListSponsoredProductsProductAdsResp parses an HTTP response from a ListSponsoredProductsProductAdsWithResponse call

func (ListSponsoredProductsProductAdsResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsProductAdsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody

type ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody = SponsoredProductsListSponsoredProductsTargetingClausesRequestContent

ListSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody defines body for ListSponsoredProductsTargetingClauses for application/vnd.spTargetingClause.v3+json ContentType.

type ListSponsoredProductsTargetingClausesParams

type ListSponsoredProductsTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

ListSponsoredProductsTargetingClausesParams defines parameters for ListSponsoredProductsTargetingClauses.

type ListSponsoredProductsTargetingClausesResp

func ParseListSponsoredProductsTargetingClausesResp

func ParseListSponsoredProductsTargetingClausesResp(rsp *http.Response) (*ListSponsoredProductsTargetingClausesResp, error)

ParseListSponsoredProductsTargetingClausesResp parses an HTTP response from a ListSponsoredProductsTargetingClausesWithResponse call

func (ListSponsoredProductsTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (ListSponsoredProductsTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type MyBiddingStrategy

type MyBiddingStrategy string

MyBiddingStrategy The bidding strategy selected for the campaign. Use `LEGACY_FOR_SALES` to lower your bid in real time when your ad may be less likely to convert to a sale. Use `AUTO_FOR_SALES` to increase your bid in real time when your ad may be more likely to convert to a sale or lower your bid when less likely to convert to a sale. Use `MANUAL` to use your exact bid along with any manual adjustments.

const (
	MyBiddingStrategyAUTOFORSALES   MyBiddingStrategy = "AUTO_FOR_SALES"
	MyBiddingStrategyLEGACYFORSALES MyBiddingStrategy = "LEGACY_FOR_SALES"
	MyBiddingStrategyMANUAL         MyBiddingStrategy = "MANUAL"
	MyBiddingStrategyRULEBASED      MyBiddingStrategy = "RULE_BASED"
)

Defines values for MyBiddingStrategy.

type PerformanceMeasureCondition

type PerformanceMeasureCondition struct {
	// ComparisonOperator The comparison operator.
	ComparisonOperator ComparisonOperator `json:"comparisonOperator"`

	// MetricName The advertising performance metric.
	MetricName PerformanceMetric `json:"metricName"`

	// Threshold The performance threshold value.
	Threshold float64 `json:"threshold"`
}

PerformanceMeasureCondition defines model for PerformanceMeasureCondition.

type PerformanceMetric

type PerformanceMetric string

PerformanceMetric The advertising performance metric.

const (
	PerformanceMetricACOS PerformanceMetric = "ACOS"
	PerformanceMetricCTR  PerformanceMetric = "CTR"
	PerformanceMetricCVR  PerformanceMetric = "CVR"
	PerformanceMetricROAS PerformanceMetric = "ROAS"
)

Defines values for PerformanceMetric.

type PerformanceMetricValue

type PerformanceMetricValue struct {
	// Name Name of the performance metric
	Name *string `json:"name,omitempty"`

	// Value Value of the performance metric
	Value *float64 `json:"value,omitempty"`
}

PerformanceMetricValue An object giving the name of the performance metric and its value when the rule was evaluated

type PlacementAdjustment

type PlacementAdjustment struct {
	Percentage *int                          `json:"percentage,omitempty"`
	Predicate  *PlacementAdjustmentPredicate `json:"predicate,omitempty"`
}

PlacementAdjustment Specifies bid adjustments based on the placement location. Use `PLACEMENT_TOP` for the top of the search page. Use `PLACEMENT_PRODUCT_PAGE` for a product page.

type PlacementAdjustmentPredicate

type PlacementAdjustmentPredicate string

PlacementAdjustmentPredicate defines model for PlacementAdjustment.Predicate.

const (
	PlacementAdjustmentPredicatePLACEMENTPRODUCTPAGE PlacementAdjustmentPredicate = "PLACEMENT_PRODUCT_PAGE"
	PlacementAdjustmentPredicatePLACEMENTTOP         PlacementAdjustmentPredicate = "PLACEMENT_TOP"
)

Defines values for PlacementAdjustmentPredicate.

type PriceRange

type PriceRange struct {
	Max *float64 `json:"max,omitempty"`
	Min *float64 `json:"min,omitempty"`
}

PriceRange A range of prices. We use this to retrieve the number of targetable ASINs that falls within this price range.

type ProductRecommendation

type ProductRecommendation struct {
	// RecommendedAsin Recommended ASIN
	RecommendedAsin *string `json:"recommendedAsin,omitempty"`

	// Themes List of themes associated with this recommended ASIN.
	Themes *[]string `json:"themes,omitempty"`
}

ProductRecommendation Recommended asin and related information.

type ProductRecommendationsByASIN

type ProductRecommendationsByASIN struct {
	// NextCursor An identifier to fetch next set of `ProductRecommendation` records in the result set if available. This will be null when at the end of result set.
	NextCursor *string `json:"nextCursor,omitempty"`

	// PreviousCursor Optional parameter that links to the previous result set served. This parameter will be null on the first request.
	PreviousCursor *string `json:"previousCursor,omitempty"`

	// Recommendations An array of `ProductRecommendation` objects.
	Recommendations *[]ProductRecommendation `json:"recommendations,omitempty"`
}

ProductRecommendationsByASIN Product recommendations supplemented with relevant information.

type ProductRecommendationsByTheme

type ProductRecommendationsByTheme struct {
	// NextCursor An identifier to fetch next set of `ThemeRecommendation` records in the result set if available. This will be null when at the end of result set.
	NextCursor *string `json:"nextCursor,omitempty"`

	// PreviousCursor Optional parameter that links to the previous result set served to the requester.
	PreviousCursor *string `json:"previousCursor,omitempty"`

	// Recommendations An array of `ThemeRecommendation` objects
	Recommendations *[]ThemeRecommendation `json:"recommendations,omitempty"`
}

ProductRecommendationsByTheme Product recommendations grouped by theme attribute.

type RangeMetricValue

type RangeMetricValue struct {
	Lower *int `json:"lower,omitempty"`
	Upper *int `json:"upper,omitempty"`
}

RangeMetricValue Describes lower and upper bounds of the range.

Note: This object is nullable

type RankedKeywordTargetsForAdGroupRequest

type RankedKeywordTargetsForAdGroupRequest = KeywordTargetRankRecommendationRequest

RankedKeywordTargetsForAdGroupRequest defines model for RankedKeywordTargetsForAdGroupRequest.

type RankedKeywordTargetsForAsinsRequest

type RankedKeywordTargetsForAsinsRequest = KeywordTargetRankRecommendationRequest

RankedKeywordTargetsForAsinsRequest defines model for RankedKeywordTargetsForAsinsRequest.

type RankedTargetResponse

type RankedTargetResponse struct {
	// KeywordTargetList A list of ranked keyword targets
	KeywordTargetList *[]RecKeywordTarget `json:"keywordTargetList,omitempty"`
}

RankedTargetResponse defines model for RankedTargetResponse.

type RankedTargetWithThemedBids

type RankedTargetWithThemedBids struct {
	// BidInfo A list of keyword bid info
	BidInfo *[]ThemedBid `json:"bidInfo,omitempty"`

	// Keyword The keyword value
	Keyword *string `json:"keyword,omitempty"`

	// RecId The recommended keyword target id
	RecId *string `json:"recId,omitempty"`

	// SearchTermImpressionRank The account-level ad-attributed impression rank for the search-term/keyword. Provides [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 30 days. It tells an advertiser how many advertisers had higher share of ad impressions. This information is only available for keywords the advertiser targeted with ad impressions.
	SearchTermImpressionRank *float32 `json:"searchTermImpressionRank,omitempty"`

	// SearchTermImpressionShare The account-level ad-attributed impression share for the search-term/keyword. Provides percentage share of all ad impressions the advertiser has for the keyword in the last 30 days. This metric helps advertisers identify potential opportunities based on their share on relevant keywords. This information is only available for keywords the advertiser targeted with ad impressions.
	SearchTermImpressionShare *float64 `json:"searchTermImpressionShare,omitempty"`

	// Translation The translation of keyword if a locale is passed in
	Translation *string `json:"translation,omitempty"`

	// UserSelectedKeyword Flag that tells if keyword was selected by the user or was recommended by KRS
	UserSelectedKeyword *bool `json:"userSelectedKeyword,omitempty"`
}

RankedTargetWithThemedBids defines model for RankedTargetWithThemedBids.

type RankedTargetWithThemedBidsList

type RankedTargetWithThemedBidsList = []RankedTargetWithThemedBids

RankedTargetWithThemedBidsList defines model for RankedTargetWithThemedBidsList.

type RankedTargetWithThemedBidsResponse

type RankedTargetWithThemedBidsResponse struct {
	// ImpactMetrics A list of impact metrics which anticipates the number of clicks and orders you will receive if you target all targeting expressions using the low, medium, and high suggested bid.
	ImpactMetrics     *[]ImpactMetrics                `json:"impactMetrics,omitempty"`
	KeywordTargetList *RankedTargetWithThemedBidsList `json:"keywordTargetList,omitempty"`
}

RankedTargetWithThemedBidsResponse defines model for RankedTargetWithThemedBidsResponse.

type RatingRange

type RatingRange struct {
	Max *int32 `json:"max,omitempty"`
	Min *int32 `json:"min,omitempty"`
}

RatingRange Rating range is restricted to integers between 0 and 5, inclusive. Min must be less than or equal to max. We use this to retrieve the number of targetable ASINs that falls within this rating range.

type RecKeywordTarget

type RecKeywordTarget struct {
	// BidInfo A list of keyword bid info
	BidInfo *[]KeywordBidInfo `json:"bidInfo,omitempty"`

	// Keyword The keyword value
	Keyword *string `json:"keyword,omitempty"`

	// RecId The recommended keyword target id
	RecId *string `json:"recId,omitempty"`

	// SearchTermImpressionRank The account-level ad-attributed impression rank for the search-term/keyword. Provides [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 30 days. It tells an advertiser how many advertisers had higher share of ad impressions. This information is only available for keywords the advertiser targeted with ad impressions.
	SearchTermImpressionRank *float32 `json:"searchTermImpressionRank,omitempty"`

	// SearchTermImpressionShare The account-level ad-attributed impression share for the search-term/keyword. Provides percentage share of all ad impressions the advertiser has for the keyword in the last 30 days. This metric helps advertisers identify potential opportunities based on their share on relevant keywords. This information is only available for keywords the advertiser targeted with ad impressions.
	SearchTermImpressionShare *float64 `json:"searchTermImpressionShare,omitempty"`

	// Translation The translation of keyword if a locale is passed in
	Translation *string `json:"translation,omitempty"`

	// UserSelectedKeyword Flag that tells if keyword was selected by the user or was recommended by KRS
	UserSelectedKeyword *bool `json:"userSelectedKeyword,omitempty"`
}

RecKeywordTarget defines model for RecKeywordTarget.

type RecommendationOptions

type RecommendationOptions struct {
	// Locale Translations are for readability and do not affect the targeting of ads. Supported marketplace to locale mappings can be found at the <a href='https://advertising.amazon.com/API/docs/en-us/localization/#/Keyword%20Localization'>POST /keywords/localize</a> endpoint. Note: Translations will be null if locale is unsupported.
	Locale *RecommendationOptionsLocale `json:"locale,omitempty"`

	// MaxRecommendations The max size of recommended target. Set it to 0 if you only want to rank user-defined keywords.
	MaxRecommendations *float32 `json:"maxRecommendations,omitempty"`

	// SortDimension The ranking metric value. Supported values: CLICKS, CONVERSIONS, DEFAULT. DEFAULT will be applied if no value passed in.
	SortDimension *RecommendationOptionsSortDimension `json:"sortDimension,omitempty"`
}

RecommendationOptions defines model for RecommendationOptions.

type RecommendationOptionsLocale

type RecommendationOptionsLocale string

RecommendationOptionsLocale Translations are for readability and do not affect the targeting of ads. Supported marketplace to locale mappings can be found at the <a href='https://advertising.amazon.com/API/docs/en-us/localization/#/Keyword%20Localization'>POST /keywords/localize</a> endpoint. Note: Translations will be null if locale is unsupported.

const (
	RecommendationOptionsLocaleArEG RecommendationOptionsLocale = "ar_EG"
	RecommendationOptionsLocaleDeDE RecommendationOptionsLocale = "de_DE"
	RecommendationOptionsLocaleEnAE RecommendationOptionsLocale = "en_AE"
	RecommendationOptionsLocaleEnAU RecommendationOptionsLocale = "en_AU"
	RecommendationOptionsLocaleEnCA RecommendationOptionsLocale = "en_CA"
	RecommendationOptionsLocaleEnGB RecommendationOptionsLocale = "en_GB"
	RecommendationOptionsLocaleEnIN RecommendationOptionsLocale = "en_IN"
	RecommendationOptionsLocaleEnSA RecommendationOptionsLocale = "en_SA"
	RecommendationOptionsLocaleEnSG RecommendationOptionsLocale = "en_SG"
	RecommendationOptionsLocaleEnUS RecommendationOptionsLocale = "en_US"
	RecommendationOptionsLocaleEsES RecommendationOptionsLocale = "es_ES"
	RecommendationOptionsLocaleEsMX RecommendationOptionsLocale = "es_MX"
	RecommendationOptionsLocaleFrFR RecommendationOptionsLocale = "fr_FR"
	RecommendationOptionsLocaleItIT RecommendationOptionsLocale = "it_IT"
	RecommendationOptionsLocaleJaJP RecommendationOptionsLocale = "ja_JP"
	RecommendationOptionsLocaleNlNL RecommendationOptionsLocale = "nl_NL"
	RecommendationOptionsLocalePlPL RecommendationOptionsLocale = "pl_PL"
	RecommendationOptionsLocalePtBR RecommendationOptionsLocale = "pt_BR"
	RecommendationOptionsLocaleSvSE RecommendationOptionsLocale = "sv_SE"
	RecommendationOptionsLocaleTrTR RecommendationOptionsLocale = "tr_TR"
	RecommendationOptionsLocaleZhCN RecommendationOptionsLocale = "zh_CN"
)

Defines values for RecommendationOptionsLocale.

type RecommendationOptionsSortDimension

type RecommendationOptionsSortDimension string

RecommendationOptionsSortDimension The ranking metric value. Supported values: CLICKS, CONVERSIONS, DEFAULT. DEFAULT will be applied if no value passed in.

const (
	CLICKS      RecommendationOptionsSortDimension = "CLICKS"
	CONVERSIONS RecommendationOptionsSortDimension = "CONVERSIONS"
	DEFAULT     RecommendationOptionsSortDimension = "DEFAULT"
)

Defines values for RecommendationOptionsSortDimension.

type Recurrence

type Recurrence struct {
	// DaysOfWeek Object representing days of the week for weekly type rule. It is not required for daily recurrence type
	DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"`

	// Type The frequency of the rule application.
	Type *RecurrenceType `json:"type,omitempty"`
}

Recurrence defines model for Recurrence.

type RecurrenceType

type RecurrenceType string

RecurrenceType The frequency of the rule application.

const (
	RecurrenceTypeDAILY RecurrenceType = "DAILY"
)

Defines values for RecurrenceType.

type Refinements

type Refinements struct {
	// AgeRanges List of Age Ranges. Use the GetRefinementsForCategory to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games.
	AgeRanges *AgeRanges `json:"ageRanges,omitempty"`

	// Brands List of Brands.
	Brands *Brands `json:"brands,omitempty"`

	// Genres List of Genres. Use the GetRefinementsForCategory to retrieve Genre Node IDs. Genres are only available for categories related to books.
	Genres *Genres `json:"genres,omitempty"`
}

Refinements Response object for the GetRefinementsForCategory API, containing information on Brand Nodes, Age Range Nodes, and Genre Nodes.

type RefinementsLoP

type RefinementsLoP struct {
	// AgeRanges List of Age Ranges in a language of preference (LoP). Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games.
	AgeRanges *AgeRangesLoP `json:"ageRanges,omitempty"`

	// Brands List of Brands.
	Brands *BrandsLoP `json:"brands,omitempty"`

	// Genres List of Genres in a language of preference (LoP). Use the POST /sp/targets/category/{categoryId}/refinements endpoint to retrieve Genre Node IDs. Genres are only available for categories related to books.
	Genres *GenresLoP `json:"genres,omitempty"`
}

RefinementsLoP Response object for the POST /sp/targets/category/{categoryId}/refinements endpoint, containing information on Brand Nodes, Age Range Nodes, and Genre Nodes.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseEditorFn added in v0.0.2

type ResponseEditorFn func(ctx context.Context, rsp *http.Response) error

ResponseEditorFn is the function signature for the ResponseEditor callback function

type RuleAction

type RuleAction string

RuleAction The action taken when the campaign optimization rule is enabled. Defaults to adopt

const (
	ADOPT RuleAction = "ADOPT"
)

Defines values for RuleAction.

type RuleCampaignId

type RuleCampaignId = string

RuleCampaignId campaignId

type RuleCondition

type RuleCondition struct {
	// ComparisonOperator The comparison operator.
	ComparisonOperator ComparisonOperator `json:"comparisonOperator"`

	// MetricName The advertising performance metric. ROAS is the only supported metric.
	MetricName RuleConditionMetric `json:"metricName"`

	// Threshold The performance threshold value.
	Threshold float64 `json:"threshold"`
}

RuleCondition defines model for RuleCondition.

type RuleConditionList

type RuleConditionList = []RuleCondition

RuleConditionList defines model for RuleConditionList.

type RuleConditionMetric

type RuleConditionMetric string

RuleConditionMetric The advertising performance metric. ROAS is the only supported metric.

const (
	RuleConditionMetricAVERAGEBID RuleConditionMetric = "AVERAGE_BID"
	RuleConditionMetricROAS       RuleConditionMetric = "ROAS"
)

Defines values for RuleConditionMetric.

type RuleCreationDate

type RuleCreationDate = string

RuleCreationDate Time of campaign optimization rule creation in ISO 8061. Read-only.

type RuleDuration

type RuleDuration struct {
	// DateRangeTypeRuleDuration Object representing date range type rule duration.
	DateRangeTypeRuleDuration *DateRangeTypeRuleDuration `json:"dateRangeTypeRuleDuration,omitempty"`

	// EventTypeRuleDuration Object representing event type rule duration.
	EventTypeRuleDuration *EventTypeRuleDuration `json:"eventTypeRuleDuration,omitempty"`
}

RuleDuration defines model for RuleDuration.

type RuleName

type RuleName = string

RuleName The campaign optimization rule name.

type RuleNotification

type RuleNotification struct {
	// CampaignId campaignId
	CampaignId *RuleCampaignId `json:"campaignId,omitempty"`

	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId *CampaignOptimizationId `json:"campaignOptimizationId,omitempty"`

	// NotificationString Explains why the rule state is disabled
	NotificationString *string `json:"notificationString,omitempty"`

	// RuleState The campaign optimization rule state.
	RuleState *RuleState `json:"ruleState,omitempty"`
}

RuleNotification defines model for RuleNotification.

type RuleNotificationError

type RuleNotificationError struct {
	// Error The Error Response Object.
	Error *CampaignOptimizationRuleError `json:"Error,omitempty"`

	// CampaignId campaignId
	CampaignId *RuleCampaignId `json:"campaignId,omitempty"`
}

RuleNotificationError defines model for RuleNotificationError.

type RuleRecommendation

type RuleRecommendation struct {
	// CampaignId campaignId
	CampaignId *RuleCampaignId `json:"campaignId,omitempty"`

	// PerformanceMetrics Performance Metrics supported by the rule recommendation
	PerformanceMetrics *RuleRecommendationMetrics `json:"performanceMetrics,omitempty"`
}

RuleRecommendation defines model for RuleRecommendation.

type RuleRecommendationError

type RuleRecommendationError struct {
	// Error The Error Response Object.
	Error *CampaignOptimizationRuleError `json:"Error,omitempty"`

	// CampaignId campaignId
	CampaignId *RuleCampaignId `json:"campaignId,omitempty"`
}

RuleRecommendationError defines model for RuleRecommendationError.

type RuleRecommendationMetrics

type RuleRecommendationMetrics struct {
	// Roas return on ad spend value
	Roas *float64 `json:"roas,omitempty"`
}

RuleRecommendationMetrics Performance Metrics supported by the rule recommendation

type RuleState

type RuleState string

RuleState The campaign optimization rule state.

const (
	RuleStateDISABLED RuleState = "DISABLED"
	RuleStateENABLED  RuleState = "ENABLED"
)

Defines values for RuleState.

type RuleStatus

type RuleStatus string

RuleStatus The campaign optimization rule status. Read-Only

const (
	RuleStatusACTIVE   RuleStatus = "ACTIVE"
	RuleStatusARCHIVED RuleStatus = "ARCHIVED"
)

Defines values for RuleStatus.

type RuleType

type RuleType string

RuleType The type of the campaign optimization rule. Only Support BID as of now

const (
	RuleTypeBID     RuleType = "BID"
	RuleTypeKEYWORD RuleType = "KEYWORD"
	RuleTypePRODUCT RuleType = "PRODUCT"
)

Defines values for RuleType.

type SPBudgetHistory

type SPBudgetHistory struct {
	History *[]SPRuleBasedBudget `json:"history,omitempty"`

	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `json:"nextToken,omitempty"`
}

SPBudgetHistory defines model for SPBudgetHistory.

type SPBudgetRule

type SPBudgetRule struct {
	// CreatedDate Epoch time of budget rule creation. Read-only.
	CreatedDate *int64 `json:"createdDate,omitempty"`

	// LastUpdatedDate Epoch time of budget rule update. Read-only.
	LastUpdatedDate *int64 `json:"lastUpdatedDate,omitempty"`

	// RuleDetails Object representing details of a budget rule for SP campaign
	RuleDetails *SPBudgetRuleDetails `json:"ruleDetails,omitempty"`

	// RuleId The budget rule identifier.
	RuleId string `json:"ruleId"`

	// RuleState The budget rule state.
	RuleState *State `json:"ruleState,omitempty"`

	// RuleStatus The budget rule status. Read-only.
	RuleStatus *string `json:"ruleStatus,omitempty"`
}

SPBudgetRule defines model for SPBudgetRule.

type SPBudgetRuleDetails

type SPBudgetRuleDetails struct {
	BudgetIncreaseBy *BudgetIncreaseBy `json:"budgetIncreaseBy,omitempty"`
	Duration         *RuleDuration     `json:"duration,omitempty"`

	// Name The budget rule name. Required to be unique within a campaign.
	Name                        *string                      `json:"name,omitempty"`
	PerformanceMeasureCondition *PerformanceMeasureCondition `json:"performanceMeasureCondition,omitempty"`
	Recurrence                  *Recurrence                  `json:"recurrence,omitempty"`

	// RuleType The type of budget rule. SCHEDULE: A budget rule based on a start and end date. PERFORMANCE: A budget rule based on advertising performance criteria.
	RuleType *SPRuleType `json:"ruleType,omitempty"`
}

SPBudgetRuleDetails Object representing details of a budget rule for SP campaign

type SPBudgetRulesRecommendationError

type SPBudgetRulesRecommendationError struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

SPBudgetRulesRecommendationError The Error Response Object.

type SPBudgetRulesRecommendationEvent

type SPBudgetRulesRecommendationEvent struct {
	// EndDate The end date in YYYYMMDD format.
	EndDate *string `json:"endDate,omitempty"`

	// EventId The event identifier.
	EventId *string `json:"eventId,omitempty"`

	// EventName The event name.
	EventName *string `json:"eventName,omitempty"`

	// StartDate The start date in YYYYMMDD format.
	StartDate *string `json:"startDate,omitempty"`

	// SuggestedBudgetIncreasePercent The suggested budget increase expressed as a percent.
	SuggestedBudgetIncreasePercent *float32 `json:"suggestedBudgetIncreasePercent,omitempty"`
}

SPBudgetRulesRecommendationEvent defines model for SPBudgetRulesRecommendationEvent.

type SPBudgetRulesRecommendationEventRequest

type SPBudgetRulesRecommendationEventRequest struct {
	// CampaignId The campaign identifier.
	CampaignId string `json:"campaignId"`
}

SPBudgetRulesRecommendationEventRequest defines model for SPBudgetRulesRecommendationEventRequest.

type SPBudgetRulesRecommendationEventResponse

type SPBudgetRulesRecommendationEventResponse struct {
	// RecommendedBudgetRuleEvents A list of recommended special events with date range and suggested budget increase.
	RecommendedBudgetRuleEvents *[]SPBudgetRulesRecommendationEvent `json:"recommendedBudgetRuleEvents,omitempty"`
}

SPBudgetRulesRecommendationEventResponse Special events with date range and suggested budget increase.

type SPCampaignBudgetRule

type SPCampaignBudgetRule struct {
	// CreatedDate Epoch time of budget rule creation. Read-only.
	CreatedDate *int64 `json:"createdDate,omitempty"`

	// LastUpdatedDate Epoch time of budget rule update. Read-only.
	LastUpdatedDate *int64 `json:"lastUpdatedDate,omitempty"`

	// RuleDetails Object representing details of a budget rule for SP campaign
	RuleDetails *SPBudgetRuleDetails `json:"ruleDetails,omitempty"`

	// RuleId The budget rule identifier.
	RuleId string `json:"ruleId"`

	// RuleState The budget rule state.
	RuleState *State `json:"ruleState,omitempty"`

	// RuleStatus The budget rule evaluation status. Read-only.
	RuleStatus *string `json:"ruleStatus,omitempty"`
}

SPCampaignBudgetRule defines model for SPCampaignBudgetRule.

type SPCampaignOptimizationNotificationAPIRequest

type SPCampaignOptimizationNotificationAPIRequest struct {
	// CampaignIds A list of campaign ids
	CampaignIds []RuleCampaignId `json:"campaignIds"`
}

SPCampaignOptimizationNotificationAPIRequest defines model for SPCampaignOptimizationNotificationAPIRequest.

type SPCampaignOptimizationNotificationAPIResponse

type SPCampaignOptimizationNotificationAPIResponse struct {
	// CampaignOptimizationNotifications List of successful campaign optimization notifications for campaigns.
	CampaignOptimizationNotifications *[]RuleNotification `json:"CampaignOptimizationNotifications,omitempty"`

	// CampaignOptimizationRecommendationsError List of errors that occured when generating campaign optimization notifications.
	CampaignOptimizationRecommendationsError *[]RuleNotificationError `json:"CampaignOptimizationRecommendationsError,omitempty"`
}

SPCampaignOptimizationNotificationAPIResponse defines model for SPCampaignOptimizationNotificationAPIResponse.

type SPCampaignOptimizationRecommendationAPIResponse

type SPCampaignOptimizationRecommendationAPIResponse struct {
	// CampaignOptimizationRecommendations List of successful campaign optimization recomendation for campaigns.
	CampaignOptimizationRecommendations *[]RuleRecommendation `json:"CampaignOptimizationRecommendations,omitempty"`

	// CampaignOptimizationRecommendationsError List of errors that occured when generating campaign optimization recommendation.
	CampaignOptimizationRecommendationsError *[]RuleRecommendationError `json:"CampaignOptimizationRecommendationsError,omitempty"`
}

SPCampaignOptimizationRecommendationAPIResponse defines model for SPCampaignOptimizationRecommendationAPIResponse.

type SPCampaignOptimizationRecommendationsAPIRequest

type SPCampaignOptimizationRecommendationsAPIRequest struct {
	// CampaignIds A list of campaign ids
	CampaignIds []RuleCampaignId `json:"campaignIds"`
}

SPCampaignOptimizationRecommendationsAPIRequest defines model for SPCampaignOptimizationRecommendationsAPIRequest.

type SPGetAssociatedCampaignsResponse

type SPGetAssociatedCampaignsResponse struct {
	// AssociatedCampaigns A list of campaigns that are associated to this budget rule.
	AssociatedCampaigns *[]AssociatedCampaign `json:"associatedCampaigns,omitempty"`

	// NextToken To retrieve the next page of results, call the same operation and specify this token in the request. If the `nextToken` field is empty, there are no further results.
	NextToken *string `json:"nextToken,omitempty"`
}

SPGetAssociatedCampaignsResponse defines model for SPGetAssociatedCampaignsResponse.

type SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody

type SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody struct {
	// contains filtered or unexported fields
}

SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody defines parameters for SPGetBudgetRulesRecommendation.

type SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody

type SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONBody

SPGetBudgetRulesRecommendationApplicationVndSpbudgetrulesrecommendationV3PlusJSONRequestBody defines body for SPGetBudgetRulesRecommendation for application/vnd.spbudgetrulesrecommendation.v3+json ContentType.

type SPGetBudgetRulesRecommendationParams

type SPGetBudgetRulesRecommendationParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

SPGetBudgetRulesRecommendationParams defines parameters for SPGetBudgetRulesRecommendation.

type SPGetBudgetRulesRecommendationResp

type SPGetBudgetRulesRecommendationResp struct {
	Body                                               []byte
	HTTPResponse                                       *http.Response
	ApplicationvndSpbudgetrulesrecommendationV3JSON200 *SPBudgetRulesRecommendationEventResponse
	ApplicationvndSpbudgetrulesrecommendationV3JSON400 *SPBudgetRulesRecommendationError
	ApplicationvndSpbudgetrulesrecommendationV3JSON429 *SPBudgetRulesRecommendationError
	ApplicationvndSpbudgetrulesrecommendationV3JSON500 *SPBudgetRulesRecommendationError
}

func ParseSPGetBudgetRulesRecommendationResp

func ParseSPGetBudgetRulesRecommendationResp(rsp *http.Response) (*SPGetBudgetRulesRecommendationResp, error)

ParseSPGetBudgetRulesRecommendationResp parses an HTTP response from a SPGetBudgetRulesRecommendationWithResponse call

func (SPGetBudgetRulesRecommendationResp) Status

Status returns HTTPResponse.Status

func (SPGetBudgetRulesRecommendationResp) StatusCode

func (r SPGetBudgetRulesRecommendationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SPListAssociatedBudgetRulesResponse

type SPListAssociatedBudgetRulesResponse struct {
	// AssociatedRules A list of associated budget rules.
	AssociatedRules *[]SPCampaignBudgetRule `json:"associatedRules,omitempty"`
}

SPListAssociatedBudgetRulesResponse defines model for SPListAssociatedBudgetRulesResponse.

type SPRuleBasedBudget

type SPRuleBasedBudget struct {
	AppliedRule *SPBudgetRule `json:"appliedRule,omitempty"`

	// DailyBudgetValue The daily budget value.
	DailyBudgetValue *float32 `json:"dailyBudgetValue,omitempty"`

	// ExecutionTime Epoch time of budget rule execution.
	ExecutionTime *int64 `json:"executionTime,omitempty"`

	// PerformanceMetric An object giving the name of the performance metric and its value when the rule was evaluated
	PerformanceMetric *PerformanceMetricValue `json:"performanceMetric,omitempty"`

	// RuleBasedBudgetValue The budget value.
	RuleBasedBudgetValue *float32 `json:"ruleBasedBudgetValue,omitempty"`
}

SPRuleBasedBudget defines model for SPRuleBasedBudget.

type SPRuleType

type SPRuleType string

SPRuleType The type of budget rule. SCHEDULE: A budget rule based on a start and end date. PERFORMANCE: A budget rule based on advertising performance criteria.

const (
	PERFORMANCE SPRuleType = "PERFORMANCE"
	SCHEDULE    SPRuleType = "SCHEDULE"
)

Defines values for SPRuleType.

type SPTORBudgetRecommendationError

type SPTORBudgetRecommendationError struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

SPTORBudgetRecommendationError defines model for SPTORBudgetRecommendationError.

type SPTargetingError

type SPTargetingError struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

SPTargetingError The Error Response Object.

type SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody

type SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody = SearchBrandsRequest

SearchBrandsApplicationVndSpproducttargetingV3PlusJSONRequestBody defines body for SearchBrands for application/vnd.spproducttargeting.v3+json ContentType.

type SearchBrandsParams

type SearchBrandsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer Used to indicate the behavior preferred by the client but is not required for successful completion of the request. Supported values will be updated in the future.
	Prefer *string `json:"Prefer,omitempty"`
}

SearchBrandsParams defines parameters for SearchBrands.

type SearchBrandsRequest

type SearchBrandsRequest struct {
	Keyword string `json:"keyword"`
}

SearchBrandsRequest Request object for SearchBrands API.

type SearchBrandsResp

type SearchBrandsResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndSpproducttargetingresponseV3JSON200 *Brands
	JSON400                                           *BadRequestException
	JSON401                                           *UnauthorizedException
	JSON429                                           *ThrottlingException
	JSON500                                           *InternalServerException
}

func ParseSearchBrandsResp

func ParseSearchBrandsResp(rsp *http.Response) (*SearchBrandsResp, error)

ParseSearchBrandsResp parses an HTTP response from a SearchBrandsWithResponse call

func (SearchBrandsResp) Status

func (r SearchBrandsResp) Status() string

Status returns HTTPResponse.Status

func (SearchBrandsResp) StatusCode

func (r SearchBrandsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SevenDaysEstimatedOpportunities

type SevenDaysEstimatedOpportunities struct {
	// EndDate End date of the opportunities date range in YYYY-MM-DDTHH:mm:ssZ format.
	EndDate *string `json:"endDate,omitempty"`

	// EstimatedIncrementalClicksLower Lower bound of the estimated incremental clicks that could be gained if all optimizations are made.
	EstimatedIncrementalClicksLower *int `json:"estimatedIncrementalClicksLower,omitempty"`

	// EstimatedIncrementalClicksUpper Upper bound of the estimated incremental clicks that could be gained if all optimizations are made.
	EstimatedIncrementalClicksUpper *int `json:"estimatedIncrementalClicksUpper,omitempty"`

	// StartDate Start date of the opportunities date range in YYYY-MM-DDTHH:mm:ssZ format.
	StartDate *string `json:"startDate,omitempty"`
}

SevenDaysEstimatedOpportunities defines model for SevenDaysEstimatedOpportunities.

type SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody

type SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody = BudgetUsageCampaignRequest

SpCampaignsBudgetUsageApplicationVndSpcampaignbudgetusageV1PlusJSONRequestBody defines body for SpCampaignsBudgetUsage for application/vnd.spcampaignbudgetusage.v1+json ContentType.

type SpCampaignsBudgetUsageParams

type SpCampaignsBudgetUsageParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId interface{} `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope interface{} `json:"Amazon-Advertising-API-Scope"`
}

SpCampaignsBudgetUsageParams defines parameters for SpCampaignsBudgetUsage.

type SpCampaignsBudgetUsageResp

type SpCampaignsBudgetUsageResp struct {
	Body                                         []byte
	HTTPResponse                                 *http.Response
	ApplicationvndSpcampaignbudgetusageV1JSON207 *BudgetUsageCampaignResponse
	JSON400                                      *BudgetUsageError
	JSON401                                      *BudgetUsageError
	JSON403                                      *BudgetUsageError
	JSON422                                      *BudgetUsageError
	JSON429                                      *BudgetUsageError
	JSON500                                      *BudgetUsageError
}

func ParseSpCampaignsBudgetUsageResp

func ParseSpCampaignsBudgetUsageResp(rsp *http.Response) (*SpCampaignsBudgetUsageResp, error)

ParseSpCampaignsBudgetUsageResp parses an HTTP response from a SpCampaignsBudgetUsageWithResponse call

func (SpCampaignsBudgetUsageResp) Status

Status returns HTTPResponse.Status

func (SpCampaignsBudgetUsageResp) StatusCode

func (r SpCampaignsBudgetUsageResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SpecialEvent

type SpecialEvent struct {
	// Benchmark Forecasted impact metrics for next 7 days or during special days.
	Benchmark *Benchmark `json:"benchmark,omitempty"`

	// BudgetModifier Deprecated. The factor used to boost the recommended budget.
	BudgetModifier *float32 `json:"budgetModifier,omitempty"`

	// DailyBudget Recommended daily budget for the new campaign during the special event period.
	DailyBudget *float32 `json:"dailyBudget,omitempty"`

	// EndDate The end date of the special event in YYYYMMDD format.
	EndDate *string `json:"endDate,omitempty"`

	// EventKey The key of the special event.
	EventKey *string `json:"eventKey,omitempty"`

	// EventName The name of the special event.
	EventName *string `json:"eventName,omitempty"`

	// StartDate The start date of the special event in YYYYMMDD format.
	StartDate *string `json:"startDate,omitempty"`
}

SpecialEvent defines model for SpecialEvent.

type SponsoredProductsAccessDeniedErrorCode

type SponsoredProductsAccessDeniedErrorCode string

SponsoredProductsAccessDeniedErrorCode defines model for SponsoredProductsAccessDeniedErrorCode.

const (
	ACCESSDENIED SponsoredProductsAccessDeniedErrorCode = "ACCESS_DENIED"
)

Defines values for SponsoredProductsAccessDeniedErrorCode.

type SponsoredProductsAccessDeniedExceptionResponseContent

type SponsoredProductsAccessDeniedExceptionResponseContent struct {
	Code SponsoredProductsAccessDeniedErrorCode `json:"code"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsAccessDeniedExceptionResponseContent defines model for SponsoredProductsAccessDeniedExceptionResponseContent.

type SponsoredProductsAdEligibilityError

type SponsoredProductsAdEligibilityError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                    `json:"message"`
	Reason  SponsoredProductsAdEligibilityErrorReason `json:"reason"`
}

SponsoredProductsAdEligibilityError Errors related to ad eligibility

type SponsoredProductsAdEligibilityErrorReason

type SponsoredProductsAdEligibilityErrorReason string

SponsoredProductsAdEligibilityErrorReason defines model for SponsoredProductsAdEligibilityErrorReason.

const (
	SponsoredProductsAdEligibilityErrorReasonADINELIGIBLE SponsoredProductsAdEligibilityErrorReason = "AD_INELIGIBLE"
)

Defines values for SponsoredProductsAdEligibilityErrorReason.

type SponsoredProductsAdGroup

type SponsoredProductsAdGroup struct {
	// AdGroupId The identifier of the keyword.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId string `json:"campaignId"`

	// DefaultBid A bid value for use when no bid is specified for keywords in the ad group. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	DefaultBid   float64                               `json:"defaultBid"`
	ExtendedData *SponsoredProductsAdGroupExtendedData `json:"extendedData,omitempty"`

	// Name The name of the ad group.
	Name string `json:"name"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`
}

SponsoredProductsAdGroup defines model for SponsoredProductsAdGroup.

type SponsoredProductsAdGroupAccessError

type SponsoredProductsAdGroupAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                      `json:"errorType"`
	ErrorValue SponsoredProductsAdGroupAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsAdGroupAccessError defines model for SponsoredProductsAdGroupAccessError.

type SponsoredProductsAdGroupAccessErrorSelector

type SponsoredProductsAdGroupAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsAdGroupAccessErrorSelector defines model for SponsoredProductsAdGroupAccessErrorSelector.

type SponsoredProductsAdGroupAccessExceptionResponseContent

type SponsoredProductsAdGroupAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsAdGroupAccessError    `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsAdGroupAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsAdGroupExtendedData

type SponsoredProductsAdGroupExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsAdGroupServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the AdGroup
	ServingStatusDetails *[]SponsoredProductsAdGroupServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsAdGroupExtendedData defines model for SponsoredProductsAdGroupExtendedData.

type SponsoredProductsAdGroupFailureResponseItem

type SponsoredProductsAdGroupFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsAdGroupMutationError `json:"errors,omitempty"`

	// Index the index of the adGroup in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsAdGroupFailureResponseItem defines model for SponsoredProductsAdGroupFailureResponseItem.

type SponsoredProductsAdGroupMutationError

type SponsoredProductsAdGroupMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                        `json:"errorType"`
	ErrorValue SponsoredProductsAdGroupMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsAdGroupMutationError defines model for SponsoredProductsAdGroupMutationError.

type SponsoredProductsAdGroupMutationErrorSelector

type SponsoredProductsAdGroupMutationErrorSelector struct {
	// ApplicableMarketplacesError Errors related to ad eligibility
	ApplicableMarketplacesError *SponsoredProductsApplicableMarketplacesError `json:"applicableMarketplacesError,omitempty"`

	// BiddingError Errors related to bids
	BiddingError *SponsoredProductsBiddingError `json:"biddingError,omitempty"`

	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsAdGroupMutationErrorSelector defines model for SponsoredProductsAdGroupMutationErrorSelector.

type SponsoredProductsAdGroupMutationExceptionResponseContent

type SponsoredProductsAdGroupMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsAdGroupMutationError  `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsAdGroupMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsAdGroupServingStatus

type SponsoredProductsAdGroupServingStatus string

SponsoredProductsAdGroupServingStatus defines model for SponsoredProductsAdGroupServingStatus.

const (
	SponsoredProductsAdGroupServingStatusADGROUPARCHIVED                 SponsoredProductsAdGroupServingStatus = "AD_GROUP_ARCHIVED"
	SponsoredProductsAdGroupServingStatusADGROUPINCOMPLETE               SponsoredProductsAdGroupServingStatus = "AD_GROUP_INCOMPLETE"
	SponsoredProductsAdGroupServingStatusADGROUPLOWBID                   SponsoredProductsAdGroupServingStatus = "AD_GROUP_LOW_BID"
	SponsoredProductsAdGroupServingStatusADGROUPPAUSED                   SponsoredProductsAdGroupServingStatus = "AD_GROUP_PAUSED"
	SponsoredProductsAdGroupServingStatusADGROUPPOLICINGCREATIVEREJECTED SponsoredProductsAdGroupServingStatus = "AD_GROUP_POLICING_CREATIVE_REJECTED"
	SponsoredProductsAdGroupServingStatusADGROUPPOLICINGPENDINGREVIEW    SponsoredProductsAdGroupServingStatus = "AD_GROUP_POLICING_PENDING_REVIEW"
	SponsoredProductsAdGroupServingStatusADGROUPSTATUSENABLED            SponsoredProductsAdGroupServingStatus = "AD_GROUP_STATUS_ENABLED"
	SponsoredProductsAdGroupServingStatusADVERTISERARCHIVED              SponsoredProductsAdGroupServingStatus = "ADVERTISER_ARCHIVED"
	SponsoredProductsAdGroupServingStatusADVERTISEROUTOFBUDGET           SponsoredProductsAdGroupServingStatus = "ADVERTISER_OUT_OF_BUDGET"
	SponsoredProductsAdGroupServingStatusADVERTISERPAUSED                SponsoredProductsAdGroupServingStatus = "ADVERTISER_PAUSED"
	SponsoredProductsAdGroupServingStatusADVERTISERPAYMENTFAILURE        SponsoredProductsAdGroupServingStatus = "ADVERTISER_PAYMENT_FAILURE"
	SponsoredProductsAdGroupServingStatusADVERTISERPOLICINGPENDINGREVIEW SponsoredProductsAdGroupServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW"
	SponsoredProductsAdGroupServingStatusADVERTISERPOLICINGSUSPENDED     SponsoredProductsAdGroupServingStatus = "ADVERTISER_POLICING_SUSPENDED"
	SponsoredProductsAdGroupServingStatusCAMPAIGNARCHIVED                SponsoredProductsAdGroupServingStatus = "CAMPAIGN_ARCHIVED"
	SponsoredProductsAdGroupServingStatusCAMPAIGNINCOMPLETE              SponsoredProductsAdGroupServingStatus = "CAMPAIGN_INCOMPLETE"
	SponsoredProductsAdGroupServingStatusCAMPAIGNOUTOFBUDGET             SponsoredProductsAdGroupServingStatus = "CAMPAIGN_OUT_OF_BUDGET"
	SponsoredProductsAdGroupServingStatusCAMPAIGNPAUSED                  SponsoredProductsAdGroupServingStatus = "CAMPAIGN_PAUSED"
	SponsoredProductsAdGroupServingStatusCAMPAIGNSTATUSENABLED           SponsoredProductsAdGroupServingStatus = "CAMPAIGN_STATUS_ENABLED"
	SponsoredProductsAdGroupServingStatusENDED                           SponsoredProductsAdGroupServingStatus = "ENDED"
	SponsoredProductsAdGroupServingStatusOTHER                           SponsoredProductsAdGroupServingStatus = "OTHER"
	SponsoredProductsAdGroupServingStatusPENDINGREVIEW                   SponsoredProductsAdGroupServingStatus = "PENDING_REVIEW"
	SponsoredProductsAdGroupServingStatusPENDINGSTARTDATE                SponsoredProductsAdGroupServingStatus = "PENDING_START_DATE"
	SponsoredProductsAdGroupServingStatusPORTFOLIOARCHIVED               SponsoredProductsAdGroupServingStatus = "PORTFOLIO_ARCHIVED"
	SponsoredProductsAdGroupServingStatusPORTFOLIOENDED                  SponsoredProductsAdGroupServingStatus = "PORTFOLIO_ENDED"
	SponsoredProductsAdGroupServingStatusPORTFOLIOOUTOFBUDGET            SponsoredProductsAdGroupServingStatus = "PORTFOLIO_OUT_OF_BUDGET"
	SponsoredProductsAdGroupServingStatusPORTFOLIOPAUSED                 SponsoredProductsAdGroupServingStatus = "PORTFOLIO_PAUSED"
	SponsoredProductsAdGroupServingStatusPORTFOLIOPENDINGSTARTDATE       SponsoredProductsAdGroupServingStatus = "PORTFOLIO_PENDING_START_DATE"
	SponsoredProductsAdGroupServingStatusPORTFOLIOSTATUSENABLED          SponsoredProductsAdGroupServingStatus = "PORTFOLIO_STATUS_ENABLED"
	SponsoredProductsAdGroupServingStatusREJECTED                        SponsoredProductsAdGroupServingStatus = "REJECTED"
)

Defines values for SponsoredProductsAdGroupServingStatus.

type SponsoredProductsAdGroupServingStatusDetail

type SponsoredProductsAdGroupServingStatusDetail struct {
	// HelpUrl A URL with additional information about the status identifier.
	HelpUrl *string `json:"helpUrl,omitempty"`

	// Message A human-readable description of the status identifier specified in the name field.
	Message *string                                      `json:"message,omitempty"`
	Name    *SponsoredProductsAdGroupServingStatusReason `json:"name,omitempty"`
}

SponsoredProductsAdGroupServingStatusDetail defines model for SponsoredProductsAdGroupServingStatusDetail.

type SponsoredProductsAdGroupServingStatusReason

type SponsoredProductsAdGroupServingStatusReason string

SponsoredProductsAdGroupServingStatusReason defines model for SponsoredProductsAdGroupServingStatusReason.

const (
	SponsoredProductsAdGroupServingStatusReasonADGROUPARCHIVEDDETAIL                 SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_ARCHIVED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPINCOMPLETEDETAIL               SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_INCOMPLETE_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPLOWBIDDETAIL                   SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_LOW_BID_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPPAUSEDDETAIL                   SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_PAUSED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPPOLICINGCREATIVEREJECTEDDETAIL SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_POLICING_CREATIVE_REJECTED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPPOLICINGPENDINGREVIEWDETAIL    SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADGROUPSTATUSENABLEDDETAIL            SponsoredProductsAdGroupServingStatusReason = "AD_GROUP_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISERARCHIVEDDETAIL              SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_ARCHIVED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISEROUTOFBUDGETDETAIL           SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISERPAUSEDDETAIL                SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_PAUSED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISERPAYMENTFAILUREDETAIL        SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_PAYMENT_FAILURE_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISERPOLICINGPENDINGREVIEWDETAIL SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonADVERTISERPOLICINGSUSPENDEDDETAIL     SponsoredProductsAdGroupServingStatusReason = "ADVERTISER_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonCAMPAIGNARCHIVEDDETAIL                SponsoredProductsAdGroupServingStatusReason = "CAMPAIGN_ARCHIVED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonCAMPAIGNINCOMPLETEDETAIL              SponsoredProductsAdGroupServingStatusReason = "CAMPAIGN_INCOMPLETE_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonCAMPAIGNOUTOFBUDGETDETAIL             SponsoredProductsAdGroupServingStatusReason = "CAMPAIGN_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonCAMPAIGNPAUSEDDETAIL                  SponsoredProductsAdGroupServingStatusReason = "CAMPAIGN_PAUSED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonCAMPAIGNSTATUSENABLEDDETAIL           SponsoredProductsAdGroupServingStatusReason = "CAMPAIGN_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonENDEDDETAIL                           SponsoredProductsAdGroupServingStatusReason = "ENDED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonOTHER                                 SponsoredProductsAdGroupServingStatusReason = "OTHER"
	SponsoredProductsAdGroupServingStatusReasonPENDINGREVIEWDETAIL                   SponsoredProductsAdGroupServingStatusReason = "PENDING_REVIEW_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPENDINGSTARTDATEDETAIL                SponsoredProductsAdGroupServingStatusReason = "PENDING_START_DATE_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOARCHIVEDDETAIL               SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_ARCHIVED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOENDEDDETAIL                  SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_ENDED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOOUTOFBUDGETDETAIL            SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOPAUSEDDETAIL                 SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_PAUSED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOPENDINGSTARTDATEDETAIL       SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_PENDING_START_DATE_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonPORTFOLIOSTATUSENABLEDDETAIL          SponsoredProductsAdGroupServingStatusReason = "PORTFOLIO_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdGroupServingStatusReasonREJECTEDDETAIL                        SponsoredProductsAdGroupServingStatusReason = "REJECTED_DETAIL"
)

Defines values for SponsoredProductsAdGroupServingStatusReason.

type SponsoredProductsAdGroupSuccessResponseItem

type SponsoredProductsAdGroupSuccessResponseItem struct {
	AdGroup *SponsoredProductsAdGroup `json:"adGroup,omitempty"`

	// AdGroupId the adGroup ID
	AdGroupId *string `json:"adGroupId,omitempty"`

	// Index the index of the adGroup in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsAdGroupSuccessResponseItem defines model for SponsoredProductsAdGroupSuccessResponseItem.

type SponsoredProductsAdServingStatus

type SponsoredProductsAdServingStatus string

SponsoredProductsAdServingStatus defines model for SponsoredProductsAdServingStatus.

const (
	SponsoredProductsAdServingStatusACCOUNTOUTOFBUDGET               SponsoredProductsAdServingStatus = "ACCOUNT_OUT_OF_BUDGET"
	SponsoredProductsAdServingStatusADARCHIVED                       SponsoredProductsAdServingStatus = "AD_ARCHIVED"
	SponsoredProductsAdServingStatusADCREATIONFAILED                 SponsoredProductsAdServingStatus = "AD_CREATION_FAILED"
	SponsoredProductsAdServingStatusADCREATIONOFFLINEFAILED          SponsoredProductsAdServingStatus = "AD_CREATION_OFFLINE_FAILED"
	SponsoredProductsAdServingStatusADCREATIONOFFLINEINPROGRESS      SponsoredProductsAdServingStatus = "AD_CREATION_OFFLINE_IN_PROGRESS"
	SponsoredProductsAdServingStatusADCREATIONOFFLINEPENDING         SponsoredProductsAdServingStatus = "AD_CREATION_OFFLINE_PENDING"
	SponsoredProductsAdServingStatusADELIGIBLE                       SponsoredProductsAdServingStatus = "AD_ELIGIBLE"
	SponsoredProductsAdServingStatusADGROUPARCHIVED                  SponsoredProductsAdServingStatus = "AD_GROUP_ARCHIVED"
	SponsoredProductsAdServingStatusADGROUPINCOMPLETE                SponsoredProductsAdServingStatus = "AD_GROUP_INCOMPLETE"
	SponsoredProductsAdServingStatusADGROUPLOWBID                    SponsoredProductsAdServingStatus = "AD_GROUP_LOW_BID"
	SponsoredProductsAdServingStatusADGROUPPAUSED                    SponsoredProductsAdServingStatus = "AD_GROUP_PAUSED"
	SponsoredProductsAdServingStatusADGROUPPOLICINGCREATIVEREJECTED  SponsoredProductsAdServingStatus = "AD_GROUP_POLICING_CREATIVE_REJECTED"
	SponsoredProductsAdServingStatusADGROUPPOLICINGPENDINGREVIEW     SponsoredProductsAdServingStatus = "AD_GROUP_POLICING_PENDING_REVIEW"
	SponsoredProductsAdServingStatusADGROUPSTATUSENABLED             SponsoredProductsAdServingStatus = "AD_GROUP_STATUS_ENABLED"
	SponsoredProductsAdServingStatusADINELIGIBLE                     SponsoredProductsAdServingStatus = "AD_INELIGIBLE"
	SponsoredProductsAdServingStatusADLANDINGPAGENOTAVAILABLE        SponsoredProductsAdServingStatus = "AD_LANDING_PAGE_NOT_AVAILABLE"
	SponsoredProductsAdServingStatusADMISSINGDECORATION              SponsoredProductsAdServingStatus = "AD_MISSING_DECORATION"
	SponsoredProductsAdServingStatusADMISSINGIMAGE                   SponsoredProductsAdServingStatus = "AD_MISSING_IMAGE"
	SponsoredProductsAdServingStatusADNOPURCHASABLEOFFER             SponsoredProductsAdServingStatus = "AD_NO_PURCHASABLE_OFFER"
	SponsoredProductsAdServingStatusADNOTBUYABLE                     SponsoredProductsAdServingStatus = "AD_NOT_BUYABLE"
	SponsoredProductsAdServingStatusADNOTINBUYBOX                    SponsoredProductsAdServingStatus = "AD_NOT_IN_BUYBOX"
	SponsoredProductsAdServingStatusADOUTOFSTOCK                     SponsoredProductsAdServingStatus = "AD_OUT_OF_STOCK"
	SponsoredProductsAdServingStatusADPAUSED                         SponsoredProductsAdServingStatus = "AD_PAUSED"
	SponsoredProductsAdServingStatusADPOLICINGPENDINGREVIEW          SponsoredProductsAdServingStatus = "AD_POLICING_PENDING_REVIEW"
	SponsoredProductsAdServingStatusADPOLICINGSUSPENDED              SponsoredProductsAdServingStatus = "AD_POLICING_SUSPENDED"
	SponsoredProductsAdServingStatusADSTATUSLIVE                     SponsoredProductsAdServingStatus = "AD_STATUS_LIVE"
	SponsoredProductsAdServingStatusADVERTISERACCOUNTOUTOFBUDGET     SponsoredProductsAdServingStatus = "ADVERTISER_ACCOUNT_OUT_OF_BUDGET"
	SponsoredProductsAdServingStatusADVERTISERARCHIVED               SponsoredProductsAdServingStatus = "ADVERTISER_ARCHIVED"
	SponsoredProductsAdServingStatusADVERTISEREXCEEDSPENDSLIMIT      SponsoredProductsAdServingStatus = "ADVERTISER_EXCEED_SPENDS_LIMIT"
	SponsoredProductsAdServingStatusADVERTISEROUTOFBUDGET            SponsoredProductsAdServingStatus = "ADVERTISER_OUT_OF_BUDGET"
	SponsoredProductsAdServingStatusADVERTISERPAUSED                 SponsoredProductsAdServingStatus = "ADVERTISER_PAUSED"
	SponsoredProductsAdServingStatusADVERTISERPAYMENTFAILURE         SponsoredProductsAdServingStatus = "ADVERTISER_PAYMENT_FAILURE"
	SponsoredProductsAdServingStatusADVERTISERPOLICINGPENDINGREVIEW  SponsoredProductsAdServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW"
	SponsoredProductsAdServingStatusADVERTISERPOLICINGSUSPENDED      SponsoredProductsAdServingStatus = "ADVERTISER_POLICING_SUSPENDED"
	SponsoredProductsAdServingStatusADVERTISERSTATUSENABLED          SponsoredProductsAdServingStatus = "ADVERTISER_STATUS_ENABLED"
	SponsoredProductsAdServingStatusCAMPAIGNADSNOTDELIVERING         SponsoredProductsAdServingStatus = "CAMPAIGN_ADS_NOT_DELIVERING"
	SponsoredProductsAdServingStatusCAMPAIGNARCHIVED                 SponsoredProductsAdServingStatus = "CAMPAIGN_ARCHIVED"
	SponsoredProductsAdServingStatusCAMPAIGNENDED                    SponsoredProductsAdServingStatus = "CAMPAIGN_ENDED"
	SponsoredProductsAdServingStatusCAMPAIGNINCOMPLETE               SponsoredProductsAdServingStatus = "CAMPAIGN_INCOMPLETE"
	SponsoredProductsAdServingStatusCAMPAIGNOUTOFBUDGET              SponsoredProductsAdServingStatus = "CAMPAIGN_OUT_OF_BUDGET"
	SponsoredProductsAdServingStatusCAMPAIGNPAUSED                   SponsoredProductsAdServingStatus = "CAMPAIGN_PAUSED"
	SponsoredProductsAdServingStatusCAMPAIGNPENDINGSTARTDATE         SponsoredProductsAdServingStatus = "CAMPAIGN_PENDING_START_DATE"
	SponsoredProductsAdServingStatusCAMPAIGNSTATUSENABLED            SponsoredProductsAdServingStatus = "CAMPAIGN_STATUS_ENABLED"
	SponsoredProductsAdServingStatusELIGIBLE                         SponsoredProductsAdServingStatus = "ELIGIBLE"
	SponsoredProductsAdServingStatusENDED                            SponsoredProductsAdServingStatus = "ENDED"
	SponsoredProductsAdServingStatusINELIGIBLE                       SponsoredProductsAdServingStatus = "INELIGIBLE"
	SponsoredProductsAdServingStatusLANDINGPAGENOTAVAILABLE          SponsoredProductsAdServingStatus = "LANDING_PAGE_NOT_AVAILABLE"
	SponsoredProductsAdServingStatusMISSINGDECORATION                SponsoredProductsAdServingStatus = "MISSING_DECORATION"
	SponsoredProductsAdServingStatusMISSINGIMAGE                     SponsoredProductsAdServingStatus = "MISSING_IMAGE"
	SponsoredProductsAdServingStatusNOINVENTORY                      SponsoredProductsAdServingStatus = "NO_INVENTORY"
	SponsoredProductsAdServingStatusNOPURCHASABLEOFFER               SponsoredProductsAdServingStatus = "NO_PURCHASABLE_OFFER"
	SponsoredProductsAdServingStatusNOTBUYABLE                       SponsoredProductsAdServingStatus = "NOT_BUYABLE"
	SponsoredProductsAdServingStatusNOTINBUYBOX                      SponsoredProductsAdServingStatus = "NOT_IN_BUYBOX"
	SponsoredProductsAdServingStatusOTHER                            SponsoredProductsAdServingStatus = "OTHER"
	SponsoredProductsAdServingStatusOUTOFSTOCK                       SponsoredProductsAdServingStatus = "OUT_OF_STOCK"
	SponsoredProductsAdServingStatusPENDINGREVIEW                    SponsoredProductsAdServingStatus = "PENDING_REVIEW"
	SponsoredProductsAdServingStatusPENDINGSTARTDATE                 SponsoredProductsAdServingStatus = "PENDING_START_DATE"
	SponsoredProductsAdServingStatusPIRRULEEXCLUDED                  SponsoredProductsAdServingStatus = "PIR_RULE_EXCLUDED"
	SponsoredProductsAdServingStatusPORTFOLIOARCHIVED                SponsoredProductsAdServingStatus = "PORTFOLIO_ARCHIVED"
	SponsoredProductsAdServingStatusPORTFOLIOENDED                   SponsoredProductsAdServingStatus = "PORTFOLIO_ENDED"
	SponsoredProductsAdServingStatusPORTFOLIOOUTOFBUDGET             SponsoredProductsAdServingStatus = "PORTFOLIO_OUT_OF_BUDGET"
	SponsoredProductsAdServingStatusPORTFOLIOPAUSED                  SponsoredProductsAdServingStatus = "PORTFOLIO_PAUSED"
	SponsoredProductsAdServingStatusPORTFOLIOPENDINGSTARTDATE        SponsoredProductsAdServingStatus = "PORTFOLIO_PENDING_START_DATE"
	SponsoredProductsAdServingStatusPORTFOLIOSTATUSENABLED           SponsoredProductsAdServingStatus = "PORTFOLIO_STATUS_ENABLED"
	SponsoredProductsAdServingStatusREJECTED                         SponsoredProductsAdServingStatus = "REJECTED"
	SponsoredProductsAdServingStatusSECURITYSCANPENDINGREVIEW        SponsoredProductsAdServingStatus = "SECURITY_SCAN_PENDING_REVIEW"
	SponsoredProductsAdServingStatusSECURITYSCANREJECTED             SponsoredProductsAdServingStatus = "SECURITY_SCAN_REJECTED"
	SponsoredProductsAdServingStatusSTATUSUNAVAILABLE                SponsoredProductsAdServingStatus = "STATUS_UNAVAILABLE"
	SponsoredProductsAdServingStatusTARGETINGCLAUSEARCHIVED          SponsoredProductsAdServingStatus = "TARGETING_CLAUSE_ARCHIVED"
	SponsoredProductsAdServingStatusTARGETINGCLAUSEBLOCKED           SponsoredProductsAdServingStatus = "TARGETING_CLAUSE_BLOCKED"
	SponsoredProductsAdServingStatusTARGETINGCLAUSEPAUSED            SponsoredProductsAdServingStatus = "TARGETING_CLAUSE_PAUSED"
	SponsoredProductsAdServingStatusTARGETINGCLAUSEPOLICINGSUSPENDED SponsoredProductsAdServingStatus = "TARGETING_CLAUSE_POLICING_SUSPENDED"
	SponsoredProductsAdServingStatusTARGETINGCLAUSESTATUSLIVE        SponsoredProductsAdServingStatus = "TARGETING_CLAUSE_STATUS_LIVE"
)

Defines values for SponsoredProductsAdServingStatus.

type SponsoredProductsAdServingStatusDetail

type SponsoredProductsAdServingStatusDetail struct {
	// HelpUrl A URL with additional information about the status identifier.
	HelpUrl *string `json:"helpUrl,omitempty"`

	// Message A human-readable description of the status identifier specified in the name field.
	Message *string                                 `json:"message,omitempty"`
	Name    *SponsoredProductsAdServingStatusReason `json:"name,omitempty"`
}

SponsoredProductsAdServingStatusDetail defines model for SponsoredProductsAdServingStatusDetail.

type SponsoredProductsAdServingStatusReason

type SponsoredProductsAdServingStatusReason string

SponsoredProductsAdServingStatusReason defines model for SponsoredProductsAdServingStatusReason.

const (
	SponsoredProductsAdServingStatusReasonACCOUNTOUTOFBUDGETDETAIL                 SponsoredProductsAdServingStatusReason = "ACCOUNT_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdServingStatusReasonADARCHIVEDDETAIL                         SponsoredProductsAdServingStatusReason = "AD_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonADCREATIONOFFLINEFAILED                  SponsoredProductsAdServingStatusReason = "AD_CREATION_OFFLINE_FAILED"
	SponsoredProductsAdServingStatusReasonADCREATIONOFFLINEINPROGRESS              SponsoredProductsAdServingStatusReason = "AD_CREATION_OFFLINE_IN_PROGRESS"
	SponsoredProductsAdServingStatusReasonADCREATIONOFFLINEPENDING                 SponsoredProductsAdServingStatusReason = "AD_CREATION_OFFLINE_PENDING"
	SponsoredProductsAdServingStatusReasonADGROUPARCHIVEDDETAIL                    SponsoredProductsAdServingStatusReason = "AD_GROUP_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPINCOMPLETEDETAIL                  SponsoredProductsAdServingStatusReason = "AD_GROUP_INCOMPLETE_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPLOWBIDDETAIL                      SponsoredProductsAdServingStatusReason = "AD_GROUP_LOW_BID_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPPAUSEDDETAIL                      SponsoredProductsAdServingStatusReason = "AD_GROUP_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPPOLICINGCREATIVEREJECTEDDETAIL    SponsoredProductsAdServingStatusReason = "AD_GROUP_POLICING_CREATIVE_REJECTED_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPPOLICINGPENDINGREVIEWDETAIL       SponsoredProductsAdServingStatusReason = "AD_GROUP_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsAdServingStatusReasonADGROUPSTATUSENABLEDDETAIL               SponsoredProductsAdServingStatusReason = "AD_GROUP_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdServingStatusReasonADPAUSEDDETAIL                           SponsoredProductsAdServingStatusReason = "AD_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonADPOLICINGPENDINGREVIEW                  SponsoredProductsAdServingStatusReason = "AD_POLICING_PENDING_REVIEW"
	SponsoredProductsAdServingStatusReasonADPOLICINGPENDINGREVIEWDETAIL            SponsoredProductsAdServingStatusReason = "AD_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsAdServingStatusReasonADPOLICINGSUSPENDEDDETAIL                SponsoredProductsAdServingStatusReason = "AD_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsAdServingStatusReasonADSTATUSLIVEDETAIL                       SponsoredProductsAdServingStatusReason = "AD_STATUS_LIVE_DETAIL"
	SponsoredProductsAdServingStatusReasonADULTPRODUCT                             SponsoredProductsAdServingStatusReason = "ADULT_PRODUCT"
	SponsoredProductsAdServingStatusReasonADVERTISERACCOUNTOUTOFBUDGETDETAIL       SponsoredProductsAdServingStatusReason = "ADVERTISER_ACCOUNT_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERARCHIVEDDETAIL                 SponsoredProductsAdServingStatusReason = "ADVERTISER_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISEREXCEEDSPENDSLIMITDETAIL        SponsoredProductsAdServingStatusReason = "ADVERTISER_EXCEED_SPENDS_LIMIT_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISEROUTOFBUDGETDETAIL              SponsoredProductsAdServingStatusReason = "ADVERTISER_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERPAUSEDDETAIL                   SponsoredProductsAdServingStatusReason = "ADVERTISER_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERPAYMENTFAILUREDETAIL           SponsoredProductsAdServingStatusReason = "ADVERTISER_PAYMENT_FAILURE_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERPOLICINGPENDINGREVIEWDETAIL    SponsoredProductsAdServingStatusReason = "ADVERTISER_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERPOLICINGSUSPENDEDDETAIL        SponsoredProductsAdServingStatusReason = "ADVERTISER_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsAdServingStatusReasonADVERTISERSTATUSENABLEDDETAIL            SponsoredProductsAdServingStatusReason = "ADVERTISER_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdServingStatusReasonASINQUARANTINED                          SponsoredProductsAdServingStatusReason = "ASIN_QUARANTINED"
	SponsoredProductsAdServingStatusReasonBRANDREMOVED                             SponsoredProductsAdServingStatusReason = "BRAND_REMOVED"
	SponsoredProductsAdServingStatusReasonCAMPAIGNADSNOTDELIVERINGDETAIL           SponsoredProductsAdServingStatusReason = "CAMPAIGN_ADS_NOT_DELIVERING_DETAIL"
	SponsoredProductsAdServingStatusReasonCAMPAIGNARCHIVEDDETAIL                   SponsoredProductsAdServingStatusReason = "CAMPAIGN_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonCAMPAIGNINCOMPLETEDETAIL                 SponsoredProductsAdServingStatusReason = "CAMPAIGN_INCOMPLETE_DETAIL"
	SponsoredProductsAdServingStatusReasonCAMPAIGNOUTOFBUDGETDETAIL                SponsoredProductsAdServingStatusReason = "CAMPAIGN_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdServingStatusReasonCAMPAIGNPAUSEDDETAIL                     SponsoredProductsAdServingStatusReason = "CAMPAIGN_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonCAMPAIGNSTATUSENABLEDDETAIL              SponsoredProductsAdServingStatusReason = "CAMPAIGN_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdServingStatusReasonCBANOTSUPPORTED                          SponsoredProductsAdServingStatusReason = "CBA_NOT_SUPPORTED"
	SponsoredProductsAdServingStatusReasonCLOSEDGL                                 SponsoredProductsAdServingStatusReason = "CLOSED_GL"
	SponsoredProductsAdServingStatusReasonCPINELIGIBLE                             SponsoredProductsAdServingStatusReason = "CP_INELIGIBLE"
	SponsoredProductsAdServingStatusReasonCPINELIGIBLEASIN                         SponsoredProductsAdServingStatusReason = "CP_INELIGIBLE_ASIN"
	SponsoredProductsAdServingStatusReasonCPINELIGIBLEUNKNOWN                      SponsoredProductsAdServingStatusReason = "CP_INELIGIBLE_UNKNOWN"
	SponsoredProductsAdServingStatusReasonCPINELIGIBLEVENDOR                       SponsoredProductsAdServingStatusReason = "CP_INELIGIBLE_VENDOR"
	SponsoredProductsAdServingStatusReasonELIGIBLEDETAIL                           SponsoredProductsAdServingStatusReason = "ELIGIBLE_DETAIL"
	SponsoredProductsAdServingStatusReasonENDEDDETAIL                              SponsoredProductsAdServingStatusReason = "ENDED_DETAIL"
	SponsoredProductsAdServingStatusReasonINELIGIBLECONDITION                      SponsoredProductsAdServingStatusReason = "INELIGIBLE_CONDITION"
	SponsoredProductsAdServingStatusReasonINVENTORYINCOMPLETE                      SponsoredProductsAdServingStatusReason = "INVENTORY_INCOMPLETE"
	SponsoredProductsAdServingStatusReasonITEMMISSING                              SponsoredProductsAdServingStatusReason = "ITEM_MISSING"
	SponsoredProductsAdServingStatusReasonLANDINGPAGEINELIGIBLE                    SponsoredProductsAdServingStatusReason = "LANDING_PAGE_INELIGIBLE"
	SponsoredProductsAdServingStatusReasonLANDINGPAGENOTAVAILABLEDETAIL            SponsoredProductsAdServingStatusReason = "LANDING_PAGE_NOT_AVAILABLE_DETAIL"
	SponsoredProductsAdServingStatusReasonMISSINGDECORATIONDETAIL                  SponsoredProductsAdServingStatusReason = "MISSING_DECORATION_DETAIL"
	SponsoredProductsAdServingStatusReasonMISSINGIMAGEDETAIL                       SponsoredProductsAdServingStatusReason = "MISSING_IMAGE_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONADULTNOVELTYPVDETAIL           SponsoredProductsAdServingStatusReason = "MODERATION_ADULT_NOVELTY_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONADULTPRODUCTPVDETAIL           SponsoredProductsAdServingStatusReason = "MODERATION_ADULT_PRODUCT_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONADULTSOFTLINESPVDETAIL         SponsoredProductsAdServingStatusReason = "MODERATION_ADULT_SOFTLINES_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONCLAIMWEIGHTLOSSPVDETAIL        SponsoredProductsAdServingStatusReason = "MODERATION_CLAIM_WEIGHTLOSS_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONCONTENTNUDITYPVDETAIL          SponsoredProductsAdServingStatusReason = "MODERATION_CONTENT_NUDITY_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONCONTENTPROVOCATIVEPVDETAIL     SponsoredProductsAdServingStatusReason = "MODERATION_CONTENT_PROVOCATIVE_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONCONTENTSMOKINGPVDETAIL         SponsoredProductsAdServingStatusReason = "MODERATION_CONTENT_SMOKING_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONCRITICALEVENTSPVDETAIL         SponsoredProductsAdServingStatusReason = "MODERATION_CRITICAL_EVENTS_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONERROR404PVDETAIL               SponsoredProductsAdServingStatusReason = "MODERATION_ERROR_404_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONGRAPHICALSEXUALIMAGESPVDETAIL  SponsoredProductsAdServingStatusReason = "MODERATION_GRAPHICAL_SEXUAL_IMAGES_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONHFSSPRODUCTPVDETAIL            SponsoredProductsAdServingStatusReason = "MODERATION_HFSS_PRODUCT_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONLANGUAGEOFFENSIVEPVDETAIL      SponsoredProductsAdServingStatusReason = "MODERATION_LANGUAGE_OFFENSIVE_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONNOTCOMPLIANTTOADPOLICYPVDETAIL SponsoredProductsAdServingStatusReason = "MODERATION_NOT_COMPLIANT_TO_AD_POLICY_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonMODERATIONSMOKINGRELATEDPVDETAIL         SponsoredProductsAdServingStatusReason = "MODERATION_SMOKING_RELATED_PV_DETAIL"
	SponsoredProductsAdServingStatusReasonNOINVENTORYDETAIL                        SponsoredProductsAdServingStatusReason = "NO_INVENTORY_DETAIL"
	SponsoredProductsAdServingStatusReasonNOPURCHASABLEOFFERDETAIL                 SponsoredProductsAdServingStatusReason = "NO_PURCHASABLE_OFFER_DETAIL"
	SponsoredProductsAdServingStatusReasonNOTBUYABLEDETAIL                         SponsoredProductsAdServingStatusReason = "NOT_BUYABLE_DETAIL"
	SponsoredProductsAdServingStatusReasonNOTINBUYBOXDETAIL                        SponsoredProductsAdServingStatusReason = "NOT_IN_BUYBOX_DETAIL"
	SponsoredProductsAdServingStatusReasonOFFERMISSINGDETAIL                       SponsoredProductsAdServingStatusReason = "OFFER_MISSING_DETAIL"
	SponsoredProductsAdServingStatusReasonOTHER                                    SponsoredProductsAdServingStatusReason = "OTHER"
	SponsoredProductsAdServingStatusReasonOUTOFSTOCKDETAIL                         SponsoredProductsAdServingStatusReason = "OUT_OF_STOCK_DETAIL"
	SponsoredProductsAdServingStatusReasonPENDINGREVIEWDETAIL                      SponsoredProductsAdServingStatusReason = "PENDING_REVIEW_DETAIL"
	SponsoredProductsAdServingStatusReasonPENDINGSTARTDATEDETAIL                   SponsoredProductsAdServingStatusReason = "PENDING_START_DATE_DETAIL"
	SponsoredProductsAdServingStatusReasonPIRRULEEXCLUDED                          SponsoredProductsAdServingStatusReason = "PIR_RULE_EXCLUDED"
	SponsoredProductsAdServingStatusReasonPORTFOLIOARCHIVEDDETAIL                  SponsoredProductsAdServingStatusReason = "PORTFOLIO_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonPORTFOLIOENDEDDETAIL                     SponsoredProductsAdServingStatusReason = "PORTFOLIO_ENDED_DETAIL"
	SponsoredProductsAdServingStatusReasonPORTFOLIOOUTOFBUDGETDETAIL               SponsoredProductsAdServingStatusReason = "PORTFOLIO_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsAdServingStatusReasonPORTFOLIOPAUSEDDETAIL                    SponsoredProductsAdServingStatusReason = "PORTFOLIO_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonPORTFOLIOPENDINGSTARTDATEDETAIL          SponsoredProductsAdServingStatusReason = "PORTFOLIO_PENDING_START_DATE_DETAIL"
	SponsoredProductsAdServingStatusReasonPORTFOLIOSTATUSENABLEDDETAIL             SponsoredProductsAdServingStatusReason = "PORTFOLIO_STATUS_ENABLED_DETAIL"
	SponsoredProductsAdServingStatusReasonREJECTEDDETAIL                           SponsoredProductsAdServingStatusReason = "REJECTED_DETAIL"
	SponsoredProductsAdServingStatusReasonRESTRICTEDGL                             SponsoredProductsAdServingStatusReason = "RESTRICTED_GL"
	SponsoredProductsAdServingStatusReasonSECURITYSCANPENDINGREVIEW                SponsoredProductsAdServingStatusReason = "SECURITY_SCAN_PENDING_REVIEW"
	SponsoredProductsAdServingStatusReasonSECURITYSCANREJECTED                     SponsoredProductsAdServingStatusReason = "SECURITY_SCAN_REJECTED"
	SponsoredProductsAdServingStatusReasonSKUDEFECTIVE                             SponsoredProductsAdServingStatusReason = "SKU_DEFECTIVE"
	SponsoredProductsAdServingStatusReasonSTATUSUNAVAILABLE                        SponsoredProductsAdServingStatusReason = "STATUS_UNAVAILABLE"
	SponsoredProductsAdServingStatusReasonTARGETINGCLAUSEARCHIVEDDETAIL            SponsoredProductsAdServingStatusReason = "TARGETING_CLAUSE_ARCHIVED_DETAIL"
	SponsoredProductsAdServingStatusReasonTARGETINGCLAUSEBLOCKEDDETAIL             SponsoredProductsAdServingStatusReason = "TARGETING_CLAUSE_BLOCKED_DETAIL"
	SponsoredProductsAdServingStatusReasonTARGETINGCLAUSEPAUSEDDETAIL              SponsoredProductsAdServingStatusReason = "TARGETING_CLAUSE_PAUSED_DETAIL"
	SponsoredProductsAdServingStatusReasonTARGETINGCLAUSEPOLICINGSUSPENDEDDETAIL   SponsoredProductsAdServingStatusReason = "TARGETING_CLAUSE_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsAdServingStatusReasonTARGETINGCLAUSESTATUSLIVEDETAIL          SponsoredProductsAdServingStatusReason = "TARGETING_CLAUSE_STATUS_LIVE_DETAIL"
	SponsoredProductsAdServingStatusReasonVARIATIONPARENT                          SponsoredProductsAdServingStatusReason = "VARIATION_PARENT"
)

Defines values for SponsoredProductsAdServingStatusReason.

type SponsoredProductsApplicableMarketplacesError

type SponsoredProductsApplicableMarketplacesError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                             `json:"message"`
	Reason  SponsoredProductsApplicableMarketplacesErrorReason `json:"reason"`
}

SponsoredProductsApplicableMarketplacesError Errors related to ad eligibility

type SponsoredProductsApplicableMarketplacesErrorReason

type SponsoredProductsApplicableMarketplacesErrorReason string

SponsoredProductsApplicableMarketplacesErrorReason defines model for SponsoredProductsApplicableMarketplacesErrorReason.

const (
	APPLICABLEMARKETPLACESMISMATCHERROR SponsoredProductsApplicableMarketplacesErrorReason = "APPLICABLE_MARKETPLACES_MISMATCH_ERROR"
)

Defines values for SponsoredProductsApplicableMarketplacesErrorReason.

type SponsoredProductsAsinFilter

type SponsoredProductsAsinFilter struct {
	Include *[]string `json:"include,omitempty"`

	// QueryTermMatchType Match type for query filters.
	// | Value |  Description |
	// |-----------|------------|
	// | `BROAD_MATCH` | Match if the queried value contains the filter value. (substring matching) |
	// | `EXACT_MATCH` | Match if the queried value is exactly equivalent to the filter value. |
	QueryTermMatchType *SponsoredProductsQueryTermMatchType `json:"queryTermMatchType,omitempty"`
}

SponsoredProductsAsinFilter defines model for SponsoredProductsAsinFilter.

type SponsoredProductsAsinOwnershipError

type SponsoredProductsAsinOwnershipError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                    `json:"message"`
	Reason  SponsoredProductsAsinOwnershipErrorReason `json:"reason"`
}

SponsoredProductsAsinOwnershipError Errors related to author asin ownership

type SponsoredProductsAsinOwnershipErrorReason

type SponsoredProductsAsinOwnershipErrorReason string

SponsoredProductsAsinOwnershipErrorReason defines model for SponsoredProductsAsinOwnershipErrorReason.

const (
	ASINNOTOWNEDBYAUTHOR SponsoredProductsAsinOwnershipErrorReason = "ASIN_NOT_OWNED_BY_AUTHOR"
)

Defines values for SponsoredProductsAsinOwnershipErrorReason.

type SponsoredProductsBiddingError

type SponsoredProductsBiddingError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	LowerLimit  *string                       `json:"lowerLimit,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message    string                              `json:"message"`
	Reason     SponsoredProductsBiddingErrorReason `json:"reason"`
	UpperLimit *string                             `json:"upperLimit,omitempty"`
}

SponsoredProductsBiddingError Errors related to bids

type SponsoredProductsBiddingErrorReason

type SponsoredProductsBiddingErrorReason string

SponsoredProductsBiddingErrorReason defines model for SponsoredProductsBiddingErrorReason.

const (
	BIDGTBUDGET              SponsoredProductsBiddingErrorReason = "BID_GT_BUDGET"
	BIDINVALIDPLACEMENT      SponsoredProductsBiddingErrorReason = "BID_INVALID_PLACEMENT"
	BIDOUTOFMARKETPLACERANGE SponsoredProductsBiddingErrorReason = "BID_OUT_OF_MARKET_PLACE_RANGE"
)

Defines values for SponsoredProductsBiddingErrorReason.

type SponsoredProductsBiddingStrategy

type SponsoredProductsBiddingStrategy string

SponsoredProductsBiddingStrategy The bidding strategy. | Value | Strategy name | Description | |----------------|---------------|-------------| | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. | | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. | | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. | | `RULE_BASED` | Rule based bidding | See Rule based bidding documentation https://advertising.amazon.com/API/docs/en-us/sponsored-products/rule-based-bidding/overview |

const (
	SponsoredProductsBiddingStrategyAUTOFORSALES   SponsoredProductsBiddingStrategy = "AUTO_FOR_SALES"
	SponsoredProductsBiddingStrategyLEGACYFORSALES SponsoredProductsBiddingStrategy = "LEGACY_FOR_SALES"
	SponsoredProductsBiddingStrategyMANUAL         SponsoredProductsBiddingStrategy = "MANUAL"
	SponsoredProductsBiddingStrategyOTHER          SponsoredProductsBiddingStrategy = "OTHER"
	SponsoredProductsBiddingStrategyRULEBASED      SponsoredProductsBiddingStrategy = "RULE_BASED"
)

Defines values for SponsoredProductsBiddingStrategy.

type SponsoredProductsBillingError

type SponsoredProductsBillingError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                              `json:"message"`
	Reason  SponsoredProductsBillingErrorReason `json:"reason"`
}

SponsoredProductsBillingError Errors related to bids

type SponsoredProductsBillingErrorReason

type SponsoredProductsBillingErrorReason string

SponsoredProductsBillingErrorReason defines model for SponsoredProductsBillingErrorReason.

const (
	ADVERTISERBILLINGSETUPINCOMPLETE SponsoredProductsBillingErrorReason = "ADVERTISER_BILLING_SETUP_INCOMPLETE"
	ADVERTISERSUSPENDED              SponsoredProductsBillingErrorReason = "ADVERTISER_SUSPENDED"
	BILLINGACCOUNTNOTFOUND           SponsoredProductsBillingErrorReason = "BILLING_ACCOUNT_NOT_FOUND"
	EXPIREDPAYMENTMETHOD             SponsoredProductsBillingErrorReason = "EXPIRED_PAYMENT_METHOD"
	PAYMENTPROFILENOTFOUND           SponsoredProductsBillingErrorReason = "PAYMENT_PROFILE_NOT_FOUND"
	VETTINGFAILURE                   SponsoredProductsBillingErrorReason = "VETTING_FAILURE"
)

Defines values for SponsoredProductsBillingErrorReason.

type SponsoredProductsBudget

type SponsoredProductsBudget struct {
	// Budget Monetary value
	Budget     float64                     `json:"budget"`
	BudgetType SponsoredProductsBudgetType `json:"budgetType"`

	// EffectiveBudget Monetary value
	EffectiveBudget *float64 `json:"effectiveBudget,omitempty"`
}

SponsoredProductsBudget defines model for SponsoredProductsBudget.

type SponsoredProductsBudgetError

type SponsoredProductsBudgetError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause      *SponsoredProductsErrorCause `json:"cause,omitempty"`
	LowerLimit *string                      `json:"lowerLimit,omitempty"`

	// Message Human readable error message
	Message    string                             `json:"message"`
	Reason     SponsoredProductsBudgetErrorReason `json:"reason"`
	UpperLimit *string                            `json:"upperLimit,omitempty"`
}

SponsoredProductsBudgetError defines model for SponsoredProductsBudgetError.

type SponsoredProductsBudgetErrorReason

type SponsoredProductsBudgetErrorReason string

SponsoredProductsBudgetErrorReason defines model for SponsoredProductsBudgetErrorReason.

const (
	BUDGETCURRENCYDOESNOTMATCHMARKETPLACESETTINGS SponsoredProductsBudgetErrorReason = "BUDGET_CURRENCY_DOES_NOT_MATCH_MARKETPLACE_SETTINGS"
	BUDGETINGPOLICYINVALID                        SponsoredProductsBudgetErrorReason = "BUDGETING_POLICY_INVALID"
	BUDGETLTDEFAULTBIDS                           SponsoredProductsBudgetErrorReason = "BUDGET_LT_DEFAULT_BIDS"
	BUDGETLTKEYWORDBIDS                           SponsoredProductsBudgetErrorReason = "BUDGET_LT_KEYWORD_BIDS"
	BUDGETLTPREDEFINEDTARGETBIDS                  SponsoredProductsBudgetErrorReason = "BUDGET_LT_PREDEFINED_TARGET_BIDS"
	BUDGETOUTOFMARKETPLACERANGE                   SponsoredProductsBudgetErrorReason = "BUDGET_OUT_OF_MARKET_PLACE_RANGE"
	BUDGETTOOHIGH                                 SponsoredProductsBudgetErrorReason = "BUDGET_TOO_HIGH"
	BUDGETTOOLOW                                  SponsoredProductsBudgetErrorReason = "BUDGET_TOO_LOW"
	MISSINGBUDGETINGPOLICY                        SponsoredProductsBudgetErrorReason = "MISSING_BUDGETING_POLICY"
	MISSINGINBUDGETFLAG                           SponsoredProductsBudgetErrorReason = "MISSING_IN_BUDGET_FLAG"
)

Defines values for SponsoredProductsBudgetErrorReason.

type SponsoredProductsBudgetType

type SponsoredProductsBudgetType string

SponsoredProductsBudgetType defines model for SponsoredProductsBudgetType.

const (
	SponsoredProductsBudgetTypeDAILY SponsoredProductsBudgetType = "DAILY"
	SponsoredProductsBudgetTypeOTHER SponsoredProductsBudgetType = "OTHER"
)

Defines values for SponsoredProductsBudgetType.

type SponsoredProductsBulkAdGroupOperationResponse

type SponsoredProductsBulkAdGroupOperationResponse struct {
	Error   *[]SponsoredProductsAdGroupFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsAdGroupSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkAdGroupOperationResponse defines model for SponsoredProductsBulkAdGroupOperationResponse.

type SponsoredProductsBulkCampaignNegativeKeywordOperationResponse

type SponsoredProductsBulkCampaignNegativeKeywordOperationResponse struct {
	Error   *[]SponsoredProductsCampaignNegativeKeywordFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsCampaignNegativeKeywordSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkCampaignNegativeKeywordOperationResponse defines model for SponsoredProductsBulkCampaignNegativeKeywordOperationResponse.

type SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse

type SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse struct {
	Error   *[]SponsoredProductsCampaignNegativeTargetingClauseFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsCampaignNegativeTargetingClauseSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse defines model for SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse.

type SponsoredProductsBulkCampaignOperationResponse

type SponsoredProductsBulkCampaignOperationResponse struct {
	Error   *[]SponsoredProductsCampaignMutationFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsCampaignMutationSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkCampaignOperationResponse defines model for SponsoredProductsBulkCampaignOperationResponse.

type SponsoredProductsBulkKeywordOperationResponse

type SponsoredProductsBulkKeywordOperationResponse struct {
	Error   *[]SponsoredProductsKeywordFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsKeywordSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkKeywordOperationResponse defines model for SponsoredProductsBulkKeywordOperationResponse.

type SponsoredProductsBulkNegativeKeywordOperationResponse

type SponsoredProductsBulkNegativeKeywordOperationResponse struct {
	Error   *[]SponsoredProductsNegativeKeywordFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsNegativeKeywordSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkNegativeKeywordOperationResponse defines model for SponsoredProductsBulkNegativeKeywordOperationResponse.

type SponsoredProductsBulkNegativeTargetingClauseOperationResponse

type SponsoredProductsBulkNegativeTargetingClauseOperationResponse struct {
	Error   *[]SponsoredProductsNegativeTargetingClauseFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsNegativeTargetingClauseSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkNegativeTargetingClauseOperationResponse defines model for SponsoredProductsBulkNegativeTargetingClauseOperationResponse.

type SponsoredProductsBulkProductAdOperationResponse

type SponsoredProductsBulkProductAdOperationResponse struct {
	Error   *[]SponsoredProductsProductAdFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsProductAdSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkProductAdOperationResponse defines model for SponsoredProductsBulkProductAdOperationResponse.

type SponsoredProductsBulkTargetingClauseOperationResponse

type SponsoredProductsBulkTargetingClauseOperationResponse struct {
	Error   *[]SponsoredProductsTargetingClauseFailureResponseItem `json:"error,omitempty"`
	Success *[]SponsoredProductsTargetingClauseSuccessResponseItem `json:"success,omitempty"`
}

SponsoredProductsBulkTargetingClauseOperationResponse defines model for SponsoredProductsBulkTargetingClauseOperationResponse.

type SponsoredProductsCampaign

type SponsoredProductsCampaign struct {
	Budget SponsoredProductsBudget `json:"budget"`

	// CampaignId The identifier of the campaign.
	CampaignId     string                           `json:"campaignId"`
	DynamicBidding *SponsoredProductsDynamicBidding `json:"dynamicBidding,omitempty"`

	// EndDate The format of the date is YYYY-MM-DD.
	EndDate      *openapi_types.Date                    `json:"endDate"`
	ExtendedData *SponsoredProductsCampaignExtendedData `json:"extendedData,omitempty"`

	// Name The name of the campaign.
	Name string `json:"name"`

	// PortfolioId The identifier of an existing portfolio to which the campaign is associated.
	PortfolioId *string `json:"portfolioId,omitempty"`

	// StartDate The format of the date is YYYY-MM-DD.
	StartDate openapi_types.Date `json:"startDate"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`

	// Tags A list of advertiser-specified custom identifiers for the campaign. Each customer identifier is a key-value pair. You can specify a maximum of 50 identifiers.
	Tags          *SponsoredProductsTags         `json:"tags,omitempty"`
	TargetingType SponsoredProductsTargetingType `json:"targetingType"`
}

SponsoredProductsCampaign defines model for SponsoredProductsCampaign.

type SponsoredProductsCampaignAccessError

type SponsoredProductsCampaignAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                       `json:"errorType"`
	ErrorValue SponsoredProductsCampaignAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignAccessError defines model for SponsoredProductsCampaignAccessError.

type SponsoredProductsCampaignAccessErrorSelector

type SponsoredProductsCampaignAccessErrorSelector struct {
	DateError           *SponsoredProductsDateError           `json:"dateError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignAccessErrorSelector defines model for SponsoredProductsCampaignAccessErrorSelector.

type SponsoredProductsCampaignAccessExceptionResponseContent

type SponsoredProductsCampaignAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsCampaignAccessError   `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsCampaignExtendedData

type SponsoredProductsCampaignExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                              `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsCampaignServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the Campaign
	ServingStatusDetails *[]SponsoredProductsCampaignServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsCampaignExtendedData defines model for SponsoredProductsCampaignExtendedData.

type SponsoredProductsCampaignMutationError

type SponsoredProductsCampaignMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                         `json:"errorType"`
	ErrorValue SponsoredProductsCampaignMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignMutationError defines model for SponsoredProductsCampaignMutationError.

type SponsoredProductsCampaignMutationErrorSelector

type SponsoredProductsCampaignMutationErrorSelector struct {
	// BiddingError Errors related to bids
	BiddingError *SponsoredProductsBiddingError `json:"biddingError,omitempty"`

	// BillingError Errors related to bids
	BillingError *SponsoredProductsBillingError `json:"billingError,omitempty"`
	BudgetError  *SponsoredProductsBudgetError  `json:"budgetError,omitempty"`

	// CurrencyError Errors related to currency
	CurrencyError       *SponsoredProductsCurrencyError       `json:"currencyError,omitempty"`
	DateError           *SponsoredProductsDateError           `json:"dateError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignMutationErrorSelector defines model for SponsoredProductsCampaignMutationErrorSelector.

type SponsoredProductsCampaignMutationExceptionResponseContent

type SponsoredProductsCampaignMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsCampaignMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsCampaignMutationFailureResponseItem

type SponsoredProductsCampaignMutationFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsCampaignMutationError `json:"errors,omitempty"`

	// Index the index of the campaign in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignMutationFailureResponseItem defines model for SponsoredProductsCampaignMutationFailureResponseItem.

type SponsoredProductsCampaignMutationSuccessResponseItem

type SponsoredProductsCampaignMutationSuccessResponseItem struct {
	Campaign *SponsoredProductsCampaign `json:"campaign,omitempty"`

	// CampaignId the campaign ID
	CampaignId *string `json:"campaignId,omitempty"`

	// Index the index of the campaign in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignMutationSuccessResponseItem defines model for SponsoredProductsCampaignMutationSuccessResponseItem.

type SponsoredProductsCampaignNegativeKeyword

type SponsoredProductsCampaignNegativeKeyword struct {
	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId   string                                                `json:"campaignId"`
	ExtendedData *SponsoredProductsCampaignNegativeKeywordExtendedData `json:"extendedData,omitempty"`

	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// KeywordText The keyword text.
	KeywordText string                             `json:"keywordText"`
	MatchType   SponsoredProductsNegativeMatchType `json:"matchType"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`
}

SponsoredProductsCampaignNegativeKeyword defines model for SponsoredProductsCampaignNegativeKeyword.

type SponsoredProductsCampaignNegativeKeywordAccessError

type SponsoredProductsCampaignNegativeKeywordAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                                      `json:"errorType"`
	ErrorValue SponsoredProductsCampaignNegativeKeywordAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignNegativeKeywordAccessError defines model for SponsoredProductsCampaignNegativeKeywordAccessError.

type SponsoredProductsCampaignNegativeKeywordAccessErrorSelector

type SponsoredProductsCampaignNegativeKeywordAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignNegativeKeywordAccessErrorSelector defines model for SponsoredProductsCampaignNegativeKeywordAccessErrorSelector.

type SponsoredProductsCampaignNegativeKeywordAccessExceptionResponseContent

type SponsoredProductsCampaignNegativeKeywordAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode              `json:"code"`
	Errors *[]SponsoredProductsCampaignNegativeKeywordAccessError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignNegativeKeywordAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsCampaignNegativeKeywordExtendedData

type SponsoredProductsCampaignNegativeKeywordExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the Keyword
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsCampaignNegativeKeywordExtendedData defines model for SponsoredProductsCampaignNegativeKeywordExtendedData.

type SponsoredProductsCampaignNegativeKeywordFailureResponseItem

type SponsoredProductsCampaignNegativeKeywordFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsCampaignNegativeKeywordMutationError `json:"errors,omitempty"`

	// Index the index of the campaign in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignNegativeKeywordFailureResponseItem defines model for SponsoredProductsCampaignNegativeKeywordFailureResponseItem.

type SponsoredProductsCampaignNegativeKeywordMutationError

type SponsoredProductsCampaignNegativeKeywordMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                                        `json:"errorType"`
	ErrorValue SponsoredProductsCampaignNegativeKeywordMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignNegativeKeywordMutationError defines model for SponsoredProductsCampaignNegativeKeywordMutationError.

type SponsoredProductsCampaignNegativeKeywordMutationErrorSelector

type SponsoredProductsCampaignNegativeKeywordMutationErrorSelector struct {
	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignNegativeKeywordMutationErrorSelector defines model for SponsoredProductsCampaignNegativeKeywordMutationErrorSelector.

type SponsoredProductsCampaignNegativeKeywordMutationExceptionResponseContent

type SponsoredProductsCampaignNegativeKeywordMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode                `json:"code"`
	Errors *[]SponsoredProductsCampaignNegativeKeywordMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignNegativeKeywordMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsCampaignNegativeKeywordSuccessResponseItem

type SponsoredProductsCampaignNegativeKeywordSuccessResponseItem struct {
	CampaignNegativeKeyword *SponsoredProductsCampaignNegativeKeyword `json:"campaignNegativeKeyword,omitempty"`

	// CampaignNegativeKeywordId the campaignNegativeKeyword ID
	CampaignNegativeKeywordId *string `json:"campaignNegativeKeywordId,omitempty"`

	// Index the index of the campaign in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignNegativeKeywordSuccessResponseItem defines model for SponsoredProductsCampaignNegativeKeywordSuccessResponseItem.

type SponsoredProductsCampaignNegativeTargetingClause

type SponsoredProductsCampaignNegativeTargetingClause struct {
	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The CampaignNegativeTargetingClause expression.
	Expression   []SponsoredProductsNegativeTargetingExpressionPredicate       `json:"expression"`
	ExtendedData *SponsoredProductsCampaignNegativeTargetingClauseExtendedData `json:"extendedData,omitempty"`

	// ResolvedExpression The resolved CampaignNegativeTargetingClause expression.
	ResolvedExpression []SponsoredProductsNegativeTargetingExpressionPredicate `json:"resolvedExpression"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsCampaignNegativeTargetingClause defines model for SponsoredProductsCampaignNegativeTargetingClause.

type SponsoredProductsCampaignNegativeTargetingClauseExtendedData

type SponsoredProductsCampaignNegativeTargetingClauseExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the CampaignNegativeTargetingClause
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsCampaignNegativeTargetingClauseExtendedData defines model for SponsoredProductsCampaignNegativeTargetingClauseExtendedData.

type SponsoredProductsCampaignNegativeTargetingClauseFailureResponseItem

type SponsoredProductsCampaignNegativeTargetingClauseFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsCampaignNegativeTargetsMutationError `json:"errors,omitempty"`

	// Index the index of the CampaignNegativeTargets in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignNegativeTargetingClauseFailureResponseItem defines model for SponsoredProductsCampaignNegativeTargetingClauseFailureResponseItem.

type SponsoredProductsCampaignNegativeTargetingClauseSuccessResponseItem

type SponsoredProductsCampaignNegativeTargetingClauseSuccessResponseItem struct {
	// CampaignNegativeTargetingClauseId the CampaignNegativeTargets ID
	CampaignNegativeTargetingClauseId *string                                           `json:"campaignNegativeTargetingClauseId,omitempty"`
	CampaignNegativeTargetingClauses  *SponsoredProductsCampaignNegativeTargetingClause `json:"campaignNegativeTargetingClauses,omitempty"`

	// Index the index of the CampaignNegativeTargets in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsCampaignNegativeTargetingClauseSuccessResponseItem defines model for SponsoredProductsCampaignNegativeTargetingClauseSuccessResponseItem.

type SponsoredProductsCampaignNegativeTargetsAccessError

type SponsoredProductsCampaignNegativeTargetsAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                                      `json:"errorType"`
	ErrorValue SponsoredProductsCampaignNegativeTargetsAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignNegativeTargetsAccessError defines model for SponsoredProductsCampaignNegativeTargetsAccessError.

type SponsoredProductsCampaignNegativeTargetsAccessErrorSelector

type SponsoredProductsCampaignNegativeTargetsAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignNegativeTargetsAccessErrorSelector defines model for SponsoredProductsCampaignNegativeTargetsAccessErrorSelector.

type SponsoredProductsCampaignNegativeTargetsAccessExceptionResponseContent

type SponsoredProductsCampaignNegativeTargetsAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode              `json:"code"`
	Errors *[]SponsoredProductsCampaignNegativeTargetsAccessError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignNegativeTargetsAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsCampaignNegativeTargetsMutationError

type SponsoredProductsCampaignNegativeTargetsMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                                        `json:"errorType"`
	ErrorValue SponsoredProductsCampaignNegativeTargetsMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsCampaignNegativeTargetsMutationError defines model for SponsoredProductsCampaignNegativeTargetsMutationError.

type SponsoredProductsCampaignNegativeTargetsMutationErrorSelector

type SponsoredProductsCampaignNegativeTargetsMutationErrorSelector struct {
	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// TargetingClauseSetupError Errors related to targeting clause setup
	TargetingClauseSetupError *SponsoredProductsTargetingClauseSetupError `json:"targetingClauseSetupError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsCampaignNegativeTargetsMutationErrorSelector defines model for SponsoredProductsCampaignNegativeTargetsMutationErrorSelector.

type SponsoredProductsCampaignNegativeTargetsMutationExceptionResponseContent

type SponsoredProductsCampaignNegativeTargetsMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode                `json:"code"`
	Errors *[]SponsoredProductsCampaignNegativeTargetsMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsCampaignNegativeTargetsMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsCampaignServingStatus

type SponsoredProductsCampaignServingStatus string

SponsoredProductsCampaignServingStatus defines model for SponsoredProductsCampaignServingStatus.

const (
	SponsoredProductsCampaignServingStatusACCOUNTOUTOFBUDGET              SponsoredProductsCampaignServingStatus = "ACCOUNT_OUT_OF_BUDGET"
	SponsoredProductsCampaignServingStatusADVERTISERARCHIVED              SponsoredProductsCampaignServingStatus = "ADVERTISER_ARCHIVED"
	SponsoredProductsCampaignServingStatusADVERTISEROUTOFBUDGET           SponsoredProductsCampaignServingStatus = "ADVERTISER_OUT_OF_BUDGET"
	SponsoredProductsCampaignServingStatusADVERTISERPAUSED                SponsoredProductsCampaignServingStatus = "ADVERTISER_PAUSED"
	SponsoredProductsCampaignServingStatusADVERTISERPAYMENTFAILURE        SponsoredProductsCampaignServingStatus = "ADVERTISER_PAYMENT_FAILURE"
	SponsoredProductsCampaignServingStatusADVERTISERPOLICINGPENDINGREVIEW SponsoredProductsCampaignServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW"
	SponsoredProductsCampaignServingStatusADVERTISERPOLICINGSUSPENDED     SponsoredProductsCampaignServingStatus = "ADVERTISER_POLICING_SUSPENDED"
	SponsoredProductsCampaignServingStatusCAMPAIGNARCHIVED                SponsoredProductsCampaignServingStatus = "CAMPAIGN_ARCHIVED"
	SponsoredProductsCampaignServingStatusCAMPAIGNINCOMPLETE              SponsoredProductsCampaignServingStatus = "CAMPAIGN_INCOMPLETE"
	SponsoredProductsCampaignServingStatusCAMPAIGNOUTOFBUDGET             SponsoredProductsCampaignServingStatus = "CAMPAIGN_OUT_OF_BUDGET"
	SponsoredProductsCampaignServingStatusCAMPAIGNPAUSED                  SponsoredProductsCampaignServingStatus = "CAMPAIGN_PAUSED"
	SponsoredProductsCampaignServingStatusCAMPAIGNSTATUSENABLED           SponsoredProductsCampaignServingStatus = "CAMPAIGN_STATUS_ENABLED"
	SponsoredProductsCampaignServingStatusENDED                           SponsoredProductsCampaignServingStatus = "ENDED"
	SponsoredProductsCampaignServingStatusOTHER                           SponsoredProductsCampaignServingStatus = "OTHER"
	SponsoredProductsCampaignServingStatusPENDINGREVIEW                   SponsoredProductsCampaignServingStatus = "PENDING_REVIEW"
	SponsoredProductsCampaignServingStatusPENDINGSTARTDATE                SponsoredProductsCampaignServingStatus = "PENDING_START_DATE"
	SponsoredProductsCampaignServingStatusPORTFOLIOARCHIVED               SponsoredProductsCampaignServingStatus = "PORTFOLIO_ARCHIVED"
	SponsoredProductsCampaignServingStatusPORTFOLIOENDED                  SponsoredProductsCampaignServingStatus = "PORTFOLIO_ENDED"
	SponsoredProductsCampaignServingStatusPORTFOLIOOUTOFBUDGET            SponsoredProductsCampaignServingStatus = "PORTFOLIO_OUT_OF_BUDGET"
	SponsoredProductsCampaignServingStatusPORTFOLIOPAUSED                 SponsoredProductsCampaignServingStatus = "PORTFOLIO_PAUSED"
	SponsoredProductsCampaignServingStatusPORTFOLIOPENDINGSTARTDATE       SponsoredProductsCampaignServingStatus = "PORTFOLIO_PENDING_START_DATE"
	SponsoredProductsCampaignServingStatusPORTFOLIOSTATUSENABLED          SponsoredProductsCampaignServingStatus = "PORTFOLIO_STATUS_ENABLED"
	SponsoredProductsCampaignServingStatusREJECTED                        SponsoredProductsCampaignServingStatus = "REJECTED"
)

Defines values for SponsoredProductsCampaignServingStatus.

type SponsoredProductsCampaignServingStatusDetail

type SponsoredProductsCampaignServingStatusDetail struct {
	// HelpUrl A URL with additional information about the status identifier.
	HelpUrl *string `json:"helpUrl,omitempty"`

	// Message A human-readable description of the status identifier specified in the name field.
	Message *string                                       `json:"message,omitempty"`
	Name    *SponsoredProductsCampaignServingStatusReason `json:"name,omitempty"`
}

SponsoredProductsCampaignServingStatusDetail defines model for SponsoredProductsCampaignServingStatusDetail.

type SponsoredProductsCampaignServingStatusReason

type SponsoredProductsCampaignServingStatusReason string

SponsoredProductsCampaignServingStatusReason defines model for SponsoredProductsCampaignServingStatusReason.

const (
	SponsoredProductsCampaignServingStatusReasonACCOUNTOUTOFBUDGETDETAIL              SponsoredProductsCampaignServingStatusReason = "ACCOUNT_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISERARCHIVEDDETAIL              SponsoredProductsCampaignServingStatusReason = "ADVERTISER_ARCHIVED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISEROUTOFBUDGETDETAIL           SponsoredProductsCampaignServingStatusReason = "ADVERTISER_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISERPAUSEDDETAIL                SponsoredProductsCampaignServingStatusReason = "ADVERTISER_PAUSED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISERPAYMENTFAILUREDETAIL        SponsoredProductsCampaignServingStatusReason = "ADVERTISER_PAYMENT_FAILURE_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISERPOLICINGPENDINGREVIEWDETAIL SponsoredProductsCampaignServingStatusReason = "ADVERTISER_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsCampaignServingStatusReasonADVERTISERPOLICINGSUSPENDEDDETAIL     SponsoredProductsCampaignServingStatusReason = "ADVERTISER_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonCAMPAIGNARCHIVEDDETAIL                SponsoredProductsCampaignServingStatusReason = "CAMPAIGN_ARCHIVED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonCAMPAIGNINCOMPLETEDETAIL              SponsoredProductsCampaignServingStatusReason = "CAMPAIGN_INCOMPLETE_DETAIL"
	SponsoredProductsCampaignServingStatusReasonCAMPAIGNOUTOFBUDGETDETAIL             SponsoredProductsCampaignServingStatusReason = "CAMPAIGN_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsCampaignServingStatusReasonCAMPAIGNPAUSEDDETAIL                  SponsoredProductsCampaignServingStatusReason = "CAMPAIGN_PAUSED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonCAMPAIGNSTATUSENABLEDDETAIL           SponsoredProductsCampaignServingStatusReason = "CAMPAIGN_STATUS_ENABLED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonENDEDDETAIL                           SponsoredProductsCampaignServingStatusReason = "ENDED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonOTHER                                 SponsoredProductsCampaignServingStatusReason = "OTHER"
	SponsoredProductsCampaignServingStatusReasonPENDINGREVIEWDETAIL                   SponsoredProductsCampaignServingStatusReason = "PENDING_REVIEW_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPENDINGSTARTDATEDETAIL                SponsoredProductsCampaignServingStatusReason = "PENDING_START_DATE_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOARCHIVEDDETAIL               SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_ARCHIVED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOENDEDDETAIL                  SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_ENDED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOOUTOFBUDGETDETAIL            SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOPAUSEDDETAIL                 SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_PAUSED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOPENDINGSTARTDATEDETAIL       SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_PENDING_START_DATE_DETAIL"
	SponsoredProductsCampaignServingStatusReasonPORTFOLIOSTATUSENABLEDDETAIL          SponsoredProductsCampaignServingStatusReason = "PORTFOLIO_STATUS_ENABLED_DETAIL"
	SponsoredProductsCampaignServingStatusReasonREJECTEDDETAIL                        SponsoredProductsCampaignServingStatusReason = "REJECTED_DETAIL"
)

Defines values for SponsoredProductsCampaignServingStatusReason.

type SponsoredProductsCreateAdGroup

type SponsoredProductsCreateAdGroup struct {
	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId string `json:"campaignId"`

	// DefaultBid A bid value for use when no bid is specified for keywords in the ad group. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	DefaultBid float64 `json:"defaultBid"`

	// Name The name of the ad group.
	Name string `json:"name"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateAdGroup defines model for SponsoredProductsCreateAdGroup.

type SponsoredProductsCreateCampaign

type SponsoredProductsCreateCampaign struct {
	Budget SponsoredProductsCreateOrUpdateBudget `json:"budget"`

	// DynamicBidding Specifies bidding controls. DynamicBidding is optional for both Create and Update requests.
	// For Create Campaign requests, if you don't specify dynamicBidding, default strategy of `LEGACY_FOR_SALES` will be applied.
	DynamicBidding *SponsoredProductsCreateOrUpdateDynamicBidding `json:"dynamicBidding,omitempty"`

	// EndDate The format of the date is YYYY-MM-DD.
	EndDate *openapi_types.Date `json:"endDate"`

	// Name The name of the campaign.
	Name string `json:"name"`

	// PortfolioId The identifier of an existing portfolio to which the campaign is associated.
	PortfolioId *string `json:"portfolioId,omitempty"`

	// StartDate Default: today's date. The format of the date is YYYY-MM-DD.
	StartDate *openapi_types.Date `json:"startDate,omitempty"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`

	// Tags A list of advertiser-specified custom identifiers for the campaign. Each customer identifier is a key-value pair. You can specify a maximum of 50 identifiers.
	Tags          *SponsoredProductsTags         `json:"tags,omitempty"`
	TargetingType SponsoredProductsTargetingType `json:"targetingType"`
}

SponsoredProductsCreateCampaign defines model for SponsoredProductsCreateCampaign.

type SponsoredProductsCreateCampaignNegativeKeyword

type SponsoredProductsCreateCampaignNegativeKeyword struct {
	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId string `json:"campaignId"`

	// KeywordText The keyword text.
	KeywordText string                                           `json:"keywordText"`
	MatchType   SponsoredProductsCreateOrUpdateNegativeMatchType `json:"matchType"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateCampaignNegativeKeyword defines model for SponsoredProductsCreateCampaignNegativeKeyword.

type SponsoredProductsCreateCampaignNegativeTargetingClause

type SponsoredProductsCreateCampaignNegativeTargetingClause struct {
	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The NegativeTargeting expression.
	Expression []SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate `json:"expression"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateCampaignNegativeTargetingClause defines model for SponsoredProductsCreateCampaignNegativeTargetingClause.

type SponsoredProductsCreateExpressionType

type SponsoredProductsCreateExpressionType string

SponsoredProductsCreateExpressionType defines model for SponsoredProductsCreateExpressionType.

const (
	SponsoredProductsCreateExpressionTypeMANUAL SponsoredProductsCreateExpressionType = "MANUAL"
)

Defines values for SponsoredProductsCreateExpressionType.

type SponsoredProductsCreateKeyword

type SponsoredProductsCreateKeyword struct {
	// AdGroupId The identifier of the ad group to which this keyword is associated.
	AdGroupId string `json:"adGroupId"`

	// Bid Bid associated with this keyword. Applicable to biddable match types only. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid"`

	// CampaignId The identifer of the campaign to which the keyword is associated.
	CampaignId string `json:"campaignId"`

	// KeywordText The keyword text.
	KeywordText string                                   `json:"keywordText"`
	MatchType   SponsoredProductsCreateOrUpdateMatchType `json:"matchType"`

	// NativeLanguageKeyword The unlocalized keyword text in the preferred locale of the advertiser.
	NativeLanguageKeyword *string `json:"nativeLanguageKeyword,omitempty"`

	// NativeLanguageLocale The locale preference of the advertiser. For example, if the advertiser’s preferred language is Simplified Chinese, set the locale to zh_CN. Supported locales include: Simplified Chinese (locale: zh_CN) for US, UK and CA. English (locale: en_GB) for DE, FR, IT and ES.
	NativeLanguageLocale *string `json:"nativeLanguageLocale,omitempty"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateKeyword defines model for SponsoredProductsCreateKeyword.

type SponsoredProductsCreateNegativeKeyword

type SponsoredProductsCreateNegativeKeyword struct {
	// AdGroupId The identifier of the ad group to which this keyword is associated.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The identifer of the campaign to which the keyword is associated.
	CampaignId string `json:"campaignId"`

	// KeywordText The keyword text.
	KeywordText string                                           `json:"keywordText"`
	MatchType   SponsoredProductsCreateOrUpdateNegativeMatchType `json:"matchType"`

	// NativeLanguageKeyword The unlocalized keyword text in the preferred locale of the advertiser
	NativeLanguageKeyword *string `json:"nativeLanguageKeyword,omitempty"`

	// NativeLanguageLocale The locale preference of the advertiser.
	NativeLanguageLocale *string `json:"nativeLanguageLocale,omitempty"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateNegativeKeyword defines model for SponsoredProductsCreateNegativeKeyword.

type SponsoredProductsCreateNegativeTargetingClause

type SponsoredProductsCreateNegativeTargetingClause struct {
	// AdGroupId The identifier of the ad group to which this target is associated.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The NegativeTargeting expression.
	Expression []SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate `json:"expression"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateNegativeTargetingClause defines model for SponsoredProductsCreateNegativeTargetingClause.

type SponsoredProductsCreateOrUpdateBiddingStrategy

type SponsoredProductsCreateOrUpdateBiddingStrategy string

SponsoredProductsCreateOrUpdateBiddingStrategy The bidding strategy. `strategy` is required for create requests if dynamicBidding is provided, but is optional for update requests. | Value | Strategy name | Description | |----------------|---------------|-------------| | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. | | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. | | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. | | `RULE_BASED` | Rule based bidding | See Rule based bidding documentation https://advertising.amazon.com/API/docs/en-us/sponsored-products/rule-based-bidding/overview |

const (
	SponsoredProductsCreateOrUpdateBiddingStrategyAUTOFORSALES   SponsoredProductsCreateOrUpdateBiddingStrategy = "AUTO_FOR_SALES"
	SponsoredProductsCreateOrUpdateBiddingStrategyLEGACYFORSALES SponsoredProductsCreateOrUpdateBiddingStrategy = "LEGACY_FOR_SALES"
	SponsoredProductsCreateOrUpdateBiddingStrategyMANUAL         SponsoredProductsCreateOrUpdateBiddingStrategy = "MANUAL"
	SponsoredProductsCreateOrUpdateBiddingStrategyRULEBASED      SponsoredProductsCreateOrUpdateBiddingStrategy = "RULE_BASED"
)

Defines values for SponsoredProductsCreateOrUpdateBiddingStrategy.

type SponsoredProductsCreateOrUpdateBudget

type SponsoredProductsCreateOrUpdateBudget struct {
	// Budget Monetary value
	Budget     float64                                   `json:"budget"`
	BudgetType SponsoredProductsCreateOrUpdateBudgetType `json:"budgetType"`
}

SponsoredProductsCreateOrUpdateBudget defines model for SponsoredProductsCreateOrUpdateBudget.

type SponsoredProductsCreateOrUpdateBudgetType

type SponsoredProductsCreateOrUpdateBudgetType string

SponsoredProductsCreateOrUpdateBudgetType defines model for SponsoredProductsCreateOrUpdateBudgetType.

const (
	DAILY SponsoredProductsCreateOrUpdateBudgetType = "DAILY"
)

Defines values for SponsoredProductsCreateOrUpdateBudgetType.

type SponsoredProductsCreateOrUpdateDynamicBidding

type SponsoredProductsCreateOrUpdateDynamicBidding struct {
	PlacementBidding *[]SponsoredProductsPlacementBidding `json:"placementBidding,omitempty"`

	// Strategy The bidding strategy.
	// `strategy` is required for create requests if dynamicBidding is provided, but is optional for update requests.
	// | Value | Strategy name | Description |
	// |----------------|---------------|-------------|
	// | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. |
	// | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. |
	// | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. |
	// | `RULE_BASED` | Rule based bidding | See Rule based bidding documentation https://advertising.amazon.com/API/docs/en-us/sponsored-products/rule-based-bidding/overview |
	Strategy *SponsoredProductsCreateOrUpdateBiddingStrategy `json:"strategy,omitempty"`
}

SponsoredProductsCreateOrUpdateDynamicBidding Specifies bidding controls. DynamicBidding is optional for both Create and Update requests. For Create Campaign requests, if you don't specify dynamicBidding, default strategy of `LEGACY_FOR_SALES` will be applied.

type SponsoredProductsCreateOrUpdateEntityState

type SponsoredProductsCreateOrUpdateEntityState string

SponsoredProductsCreateOrUpdateEntityState Entity state for create or update operation

const (
	SponsoredProductsCreateOrUpdateEntityStateENABLED SponsoredProductsCreateOrUpdateEntityState = "ENABLED"
	SponsoredProductsCreateOrUpdateEntityStatePAUSED  SponsoredProductsCreateOrUpdateEntityState = "PAUSED"
)

Defines values for SponsoredProductsCreateOrUpdateEntityState.

type SponsoredProductsCreateOrUpdateMatchType

type SponsoredProductsCreateOrUpdateMatchType string

SponsoredProductsCreateOrUpdateMatchType defines model for SponsoredProductsCreateOrUpdateMatchType.

const (
	SponsoredProductsCreateOrUpdateMatchTypeBROAD  SponsoredProductsCreateOrUpdateMatchType = "BROAD"
	SponsoredProductsCreateOrUpdateMatchTypeEXACT  SponsoredProductsCreateOrUpdateMatchType = "EXACT"
	SponsoredProductsCreateOrUpdateMatchTypePHRASE SponsoredProductsCreateOrUpdateMatchType = "PHRASE"
)

Defines values for SponsoredProductsCreateOrUpdateMatchType.

type SponsoredProductsCreateOrUpdateNegativeMatchType

type SponsoredProductsCreateOrUpdateNegativeMatchType string

SponsoredProductsCreateOrUpdateNegativeMatchType defines model for SponsoredProductsCreateOrUpdateNegativeMatchType.

const (
	SponsoredProductsCreateOrUpdateNegativeMatchTypeNEGATIVEBROAD  SponsoredProductsCreateOrUpdateNegativeMatchType = "NEGATIVE_BROAD"
	SponsoredProductsCreateOrUpdateNegativeMatchTypeNEGATIVEEXACT  SponsoredProductsCreateOrUpdateNegativeMatchType = "NEGATIVE_EXACT"
	SponsoredProductsCreateOrUpdateNegativeMatchTypeNEGATIVEPHRASE SponsoredProductsCreateOrUpdateNegativeMatchType = "NEGATIVE_PHRASE"
)

Defines values for SponsoredProductsCreateOrUpdateNegativeMatchType.

type SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate

type SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate struct {
	// Type The type of nagative targeting expression. You can only specify values for the following predicates:
	// | Predicate | Description |
	// | --- | --- |
	// | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. |
	// | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |
	Type SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType `json:"type"`

	// Value The expression value
	Value *string `json:"value,omitempty"`
}

SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate defines model for SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate.

type SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType

type SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType string

SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType The type of nagative targeting expression. You can only specify values for the following predicates: | Predicate | Description | | --- | --- | | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. | | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |

const (
	SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateTypeASINBRANDSAMEAS SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType = "ASIN_BRAND_SAME_AS"
	SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateTypeASINSAMEAS      SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType = "ASIN_SAME_AS"
)

Defines values for SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicateType.

type SponsoredProductsCreateProductAd

type SponsoredProductsCreateProductAd struct {
	// AdGroupId The ad group identifier.
	AdGroupId string `json:"adGroupId"`

	// Asin The ASIN associated with the product. Defined for vendors only.
	Asin *string `json:"asin,omitempty"`

	// CampaignId The campaign identifier.
	CampaignId string `json:"campaignId"`

	// CustomText The custom text to use for creating a custom text ad for the associated ASIN. Defined only for KDP Authors and Book Vendors in US marketplace.
	CustomText *string `json:"customText,omitempty"`

	// Sku The SKU associated with the product. Defined for seller accounts only.
	Sku *string `json:"sku,omitempty"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateProductAd defines model for SponsoredProductsCreateProductAd.

type SponsoredProductsCreateSponsoredProductsAdGroupsRequestContent

type SponsoredProductsCreateSponsoredProductsAdGroupsRequestContent struct {
	// AdGroups An array of adGroups.
	AdGroups []SponsoredProductsCreateAdGroup `json:"adGroups"`
}

SponsoredProductsCreateSponsoredProductsAdGroupsRequestContent defines model for SponsoredProductsCreateSponsoredProductsAdGroupsRequestContent.

type SponsoredProductsCreateSponsoredProductsAdGroupsResponseContent

type SponsoredProductsCreateSponsoredProductsAdGroupsResponseContent struct {
	AdGroups SponsoredProductsBulkAdGroupOperationResponse `json:"adGroups"`
}

SponsoredProductsCreateSponsoredProductsAdGroupsResponseContent defines model for SponsoredProductsCreateSponsoredProductsAdGroupsResponseContent.

type SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsRequestContent

type SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsRequestContent struct {
	// CampaignNegativeKeywords An array of campaignNegativeKeywords.
	CampaignNegativeKeywords []SponsoredProductsCreateCampaignNegativeKeyword `json:"campaignNegativeKeywords"`
}

SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsRequestContent defines model for SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsRequestContent.

type SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsResponseContent

type SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsResponseContent struct {
	CampaignNegativeKeywords SponsoredProductsBulkCampaignNegativeKeywordOperationResponse `json:"campaignNegativeKeywords"`
}

SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsResponseContent defines model for SponsoredProductsCreateSponsoredProductsCampaignNegativeKeywordsResponseContent.

type SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesRequestContent

type SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesRequestContent struct {
	// CampaignNegativeTargetingClauses An array of Campaign Negative TargetingClauses.
	CampaignNegativeTargetingClauses []SponsoredProductsCreateCampaignNegativeTargetingClause `json:"campaignNegativeTargetingClauses"`
}

SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesRequestContent defines model for SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesRequestContent.

type SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesResponseContent

type SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesResponseContent struct {
	CampaignNegativeTargetingClauses SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse `json:"campaignNegativeTargetingClauses"`
}

SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesResponseContent defines model for SponsoredProductsCreateSponsoredProductsCampaignNegativeTargetingClausesResponseContent.

type SponsoredProductsCreateSponsoredProductsCampaignsRequestContent

type SponsoredProductsCreateSponsoredProductsCampaignsRequestContent struct {
	// Campaigns An array of campaigns.
	Campaigns []SponsoredProductsCreateCampaign `json:"campaigns"`
}

SponsoredProductsCreateSponsoredProductsCampaignsRequestContent defines model for SponsoredProductsCreateSponsoredProductsCampaignsRequestContent.

type SponsoredProductsCreateSponsoredProductsCampaignsResponseContent

type SponsoredProductsCreateSponsoredProductsCampaignsResponseContent struct {
	Campaigns SponsoredProductsBulkCampaignOperationResponse `json:"campaigns"`
}

SponsoredProductsCreateSponsoredProductsCampaignsResponseContent defines model for SponsoredProductsCreateSponsoredProductsCampaignsResponseContent.

type SponsoredProductsCreateSponsoredProductsKeywordsRequestContent

type SponsoredProductsCreateSponsoredProductsKeywordsRequestContent struct {
	// Keywords An array of keywords.
	Keywords []SponsoredProductsCreateKeyword `json:"keywords"`
}

SponsoredProductsCreateSponsoredProductsKeywordsRequestContent defines model for SponsoredProductsCreateSponsoredProductsKeywordsRequestContent.

type SponsoredProductsCreateSponsoredProductsKeywordsResponseContent

type SponsoredProductsCreateSponsoredProductsKeywordsResponseContent struct {
	Keywords SponsoredProductsBulkKeywordOperationResponse `json:"keywords"`
}

SponsoredProductsCreateSponsoredProductsKeywordsResponseContent defines model for SponsoredProductsCreateSponsoredProductsKeywordsResponseContent.

type SponsoredProductsCreateSponsoredProductsNegativeKeywordsRequestContent

type SponsoredProductsCreateSponsoredProductsNegativeKeywordsRequestContent struct {
	// NegativeKeywords An array of negativeKeywords.
	NegativeKeywords []SponsoredProductsCreateNegativeKeyword `json:"negativeKeywords"`
}

SponsoredProductsCreateSponsoredProductsNegativeKeywordsRequestContent defines model for SponsoredProductsCreateSponsoredProductsNegativeKeywordsRequestContent.

type SponsoredProductsCreateSponsoredProductsNegativeKeywordsResponseContent

type SponsoredProductsCreateSponsoredProductsNegativeKeywordsResponseContent struct {
	NegativeKeywords SponsoredProductsBulkNegativeKeywordOperationResponse `json:"negativeKeywords"`
}

SponsoredProductsCreateSponsoredProductsNegativeKeywordsResponseContent defines model for SponsoredProductsCreateSponsoredProductsNegativeKeywordsResponseContent.

type SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesRequestContent

type SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesRequestContent struct {
	// NegativeTargetingClauses An array of negativeTargeting.
	NegativeTargetingClauses []SponsoredProductsCreateNegativeTargetingClause `json:"negativeTargetingClauses"`
}

SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesRequestContent defines model for SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesRequestContent.

type SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesResponseContent

type SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesResponseContent struct {
	NegativeTargetingClauses SponsoredProductsBulkNegativeTargetingClauseOperationResponse `json:"negativeTargetingClauses"`
}

SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesResponseContent defines model for SponsoredProductsCreateSponsoredProductsNegativeTargetingClausesResponseContent.

type SponsoredProductsCreateSponsoredProductsProductAdsRequestContent

type SponsoredProductsCreateSponsoredProductsProductAdsRequestContent struct {
	// ProductAds An array of ads.
	ProductAds []SponsoredProductsCreateProductAd `json:"productAds"`
}

SponsoredProductsCreateSponsoredProductsProductAdsRequestContent defines model for SponsoredProductsCreateSponsoredProductsProductAdsRequestContent.

type SponsoredProductsCreateSponsoredProductsProductAdsResponseContent

type SponsoredProductsCreateSponsoredProductsProductAdsResponseContent struct {
	ProductAds SponsoredProductsBulkProductAdOperationResponse `json:"productAds"`
}

SponsoredProductsCreateSponsoredProductsProductAdsResponseContent defines model for SponsoredProductsCreateSponsoredProductsProductAdsResponseContent.

type SponsoredProductsCreateSponsoredProductsTargetingClausesRequestContent

type SponsoredProductsCreateSponsoredProductsTargetingClausesRequestContent struct {
	// TargetingClauses An array of targetingClauses.
	TargetingClauses []SponsoredProductsCreateTargetingClause `json:"targetingClauses"`
}

SponsoredProductsCreateSponsoredProductsTargetingClausesRequestContent defines model for SponsoredProductsCreateSponsoredProductsTargetingClausesRequestContent.

type SponsoredProductsCreateSponsoredProductsTargetingClausesResponseContent

type SponsoredProductsCreateSponsoredProductsTargetingClausesResponseContent struct {
	TargetingClauses SponsoredProductsBulkTargetingClauseOperationResponse `json:"targetingClauses"`
}

SponsoredProductsCreateSponsoredProductsTargetingClausesResponseContent defines model for SponsoredProductsCreateSponsoredProductsTargetingClausesResponseContent.

type SponsoredProductsCreateTargetingClause

type SponsoredProductsCreateTargetingClause struct {
	// AdGroupId The identifier of the ad group to which this target is associated.
	AdGroupId string `json:"adGroupId"`

	// Bid The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid"`

	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The targeting expression.
	Expression     []SponsoredProductsCreateTargetingExpressionPredicate `json:"expression"`
	ExpressionType SponsoredProductsCreateExpressionType                 `json:"expressionType"`

	// State Entity state for create or update operation
	State SponsoredProductsCreateOrUpdateEntityState `json:"state"`
}

SponsoredProductsCreateTargetingClause defines model for SponsoredProductsCreateTargetingClause.

type SponsoredProductsCreateTargetingExpressionPredicate

type SponsoredProductsCreateTargetingExpressionPredicate struct {
	// Type The type of targeting expression. You can specify values for the following predicates:
	// | Predicate | Description |
	// | --- | --- |
	// | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed. |
	// | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. |
	// | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. |
	// | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. |
	// | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. |
	// | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. |
	// | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. |
	// | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. |
	// | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |
	// | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. |
	// | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. |
	// | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only.   |
	// | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed.   |
	Type SponsoredProductsCreateTargetingExpressionPredicateType `json:"type"`

	// Value The expression value
	Value *string `json:"value,omitempty"`
}

SponsoredProductsCreateTargetingExpressionPredicate defines model for SponsoredProductsCreateTargetingExpressionPredicate.

type SponsoredProductsCreateTargetingExpressionPredicateType

type SponsoredProductsCreateTargetingExpressionPredicateType string

SponsoredProductsCreateTargetingExpressionPredicateType The type of targeting expression. You can specify values for the following predicates: | Predicate | Description | | --- | --- | | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed. | | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. | | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. | | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. | | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. | | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. | | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. | | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. | | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. | | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. | | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. | | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only. | | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed. |

const (
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINAGERANGESAMEAS          SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_AGE_RANGE_SAME_AS"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINBRANDSAMEAS             SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_BRAND_SAME_AS"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINCATEGORYSAMEAS          SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_CATEGORY_SAME_AS"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINEXPANDEDFROM            SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_EXPANDED_FROM"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINGENRESAMEAS             SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_GENRE_SAME_AS"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINISPRIMESHIPPINGELIGIBLE SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_IS_PRIME_SHIPPING_ELIGIBLE"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINPRICEBETWEEN            SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_PRICE_BETWEEN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINPRICEGREATERTHAN        SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_PRICE_GREATER_THAN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINPRICELESSTHAN           SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_PRICE_LESS_THAN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINREVIEWRATINGBETWEEN     SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_BETWEEN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINREVIEWRATINGGREATERTHAN SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_GREATER_THAN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINREVIEWRATINGLESSTHAN    SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_LESS_THAN"
	SponsoredProductsCreateTargetingExpressionPredicateTypeASINSAMEAS                  SponsoredProductsCreateTargetingExpressionPredicateType = "ASIN_SAME_AS"
)

Defines values for SponsoredProductsCreateTargetingExpressionPredicateType.

type SponsoredProductsCurrencyError

type SponsoredProductsCurrencyError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                               `json:"message"`
	Reason  SponsoredProductsCurrencyErrorReason `json:"reason"`
}

SponsoredProductsCurrencyError Errors related to currency

type SponsoredProductsCurrencyErrorReason

type SponsoredProductsCurrencyErrorReason string

SponsoredProductsCurrencyErrorReason defines model for SponsoredProductsCurrencyErrorReason.

const (
	CANNOTUPDATECURRENCY                 SponsoredProductsCurrencyErrorReason = "CANNOT_UPDATE_CURRENCY"
	CURRENCYNOTMATCHINGPREFERREDCURRENCY SponsoredProductsCurrencyErrorReason = "CURRENCY_NOT_MATCHING_PREFERRED_CURRENCY"
	CURRENCYNOTSUPPORTED                 SponsoredProductsCurrencyErrorReason = "CURRENCY_NOT_SUPPORTED"
	PREFERREDCURRENCYNOTSET              SponsoredProductsCurrencyErrorReason = "PREFERRED_CURRENCY_NOT_SET"
)

Defines values for SponsoredProductsCurrencyErrorReason.

type SponsoredProductsDateError

type SponsoredProductsDateError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                           `json:"message"`
	Reason  SponsoredProductsDateErrorReason `json:"reason"`
}

SponsoredProductsDateError defines model for SponsoredProductsDateError.

type SponsoredProductsDateErrorReason

type SponsoredProductsDateErrorReason string

SponsoredProductsDateErrorReason defines model for SponsoredProductsDateErrorReason.

const (
	ENDDATEEARLIERTHANTODAY               SponsoredProductsDateErrorReason = "END_DATE_EARLIER_THAN_TODAY"
	ENDDATELATERTHANMAXIMUM               SponsoredProductsDateErrorReason = "END_DATE_LATER_THAN_MAXIMUM"
	INVALIDDATE                           SponsoredProductsDateErrorReason = "INVALID_DATE"
	STARTDATEAFTERENDDATE                 SponsoredProductsDateErrorReason = "START_DATE_AFTER_END_DATE"
	STARTDATEEARLIERTHANTODAY             SponsoredProductsDateErrorReason = "START_DATE_EARLIER_THAN_TODAY"
	STARTDATELATERTHANMAXIMUM             SponsoredProductsDateErrorReason = "START_DATE_LATER_THAN_MAXIMUM"
	UPDATINGENDEDCAMPAIGNWITHOUTEXTENSION SponsoredProductsDateErrorReason = "UPDATING_ENDED_CAMPAIGN_WITHOUT_EXTENSION"
	UPDATINGREADONLYENDDATE               SponsoredProductsDateErrorReason = "UPDATING_READ_ONLY_END_DATE"
	UPDATINGREADONLYSTARTDATE             SponsoredProductsDateErrorReason = "UPDATING_READ_ONLY_START_DATE"
)

Defines values for SponsoredProductsDateErrorReason.

type SponsoredProductsDeleteSponsoredProductsAdGroupsRequestContent

type SponsoredProductsDeleteSponsoredProductsAdGroupsRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter SponsoredProductsObjectIdFilter `json:"adGroupIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsAdGroupsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsAdGroupsRequestContent.

type SponsoredProductsDeleteSponsoredProductsAdGroupsResponseContent

type SponsoredProductsDeleteSponsoredProductsAdGroupsResponseContent struct {
	AdGroups SponsoredProductsBulkAdGroupOperationResponse `json:"adGroups"`
}

SponsoredProductsDeleteSponsoredProductsAdGroupsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsAdGroupsResponseContent.

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsRequestContent

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsRequestContent struct {
	// CampaignNegativeKeywordIdFilter Filter entities by the list of objectIds
	CampaignNegativeKeywordIdFilter SponsoredProductsObjectIdFilter `json:"campaignNegativeKeywordIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsRequestContent.

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsResponseContent

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsResponseContent struct {
	CampaignNegativeKeywords SponsoredProductsBulkCampaignNegativeKeywordOperationResponse `json:"campaignNegativeKeywords"`
}

SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignNegativeKeywordsResponseContent.

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestContent

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestContent struct {
	// CampaignNegativeTargetIdFilter Filter entities by the list of objectIds
	CampaignNegativeTargetIdFilter SponsoredProductsObjectIdFilter `json:"campaignNegativeTargetIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesRequestContent.

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesResponseContent

type SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesResponseContent struct {
	CampaignNegativeTargetingClauses SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse `json:"campaignNegativeTargetingClauses"`
}

SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesResponseContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignNegativeTargetingClausesResponseContent.

type SponsoredProductsDeleteSponsoredProductsCampaignsRequestContent

type SponsoredProductsDeleteSponsoredProductsCampaignsRequestContent struct {
	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter SponsoredProductsObjectIdFilter `json:"campaignIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsCampaignsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignsRequestContent.

type SponsoredProductsDeleteSponsoredProductsCampaignsResponseContent

type SponsoredProductsDeleteSponsoredProductsCampaignsResponseContent struct {
	Campaigns SponsoredProductsBulkCampaignOperationResponse `json:"campaigns"`
}

SponsoredProductsDeleteSponsoredProductsCampaignsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsCampaignsResponseContent.

type SponsoredProductsDeleteSponsoredProductsKeywordsRequestContent

type SponsoredProductsDeleteSponsoredProductsKeywordsRequestContent struct {
	// KeywordIdFilter Filter entities by the list of objectIds
	KeywordIdFilter SponsoredProductsObjectIdFilter `json:"keywordIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsKeywordsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsKeywordsRequestContent.

type SponsoredProductsDeleteSponsoredProductsKeywordsResponseContent

type SponsoredProductsDeleteSponsoredProductsKeywordsResponseContent struct {
	Keywords SponsoredProductsBulkKeywordOperationResponse `json:"keywords"`
}

SponsoredProductsDeleteSponsoredProductsKeywordsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsKeywordsResponseContent.

type SponsoredProductsDeleteSponsoredProductsNegativeKeywordsRequestContent

type SponsoredProductsDeleteSponsoredProductsNegativeKeywordsRequestContent struct {
	// NegativeKeywordIdFilter Filter entities by the list of objectIds
	NegativeKeywordIdFilter SponsoredProductsObjectIdFilter `json:"negativeKeywordIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsNegativeKeywordsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsNegativeKeywordsRequestContent.

type SponsoredProductsDeleteSponsoredProductsNegativeKeywordsResponseContent

type SponsoredProductsDeleteSponsoredProductsNegativeKeywordsResponseContent struct {
	NegativeKeywords SponsoredProductsBulkNegativeKeywordOperationResponse `json:"negativeKeywords"`
}

SponsoredProductsDeleteSponsoredProductsNegativeKeywordsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsNegativeKeywordsResponseContent.

type SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesRequestContent

type SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesRequestContent struct {
	// NegativeTargetIdFilter Filter entities by the list of objectIds
	NegativeTargetIdFilter SponsoredProductsObjectIdFilter `json:"negativeTargetIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesRequestContent defines model for SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesRequestContent.

type SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesResponseContent

type SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesResponseContent struct {
	NegativeTargetingClauses SponsoredProductsBulkNegativeTargetingClauseOperationResponse `json:"negativeTargetingClauses"`
}

SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesResponseContent defines model for SponsoredProductsDeleteSponsoredProductsNegativeTargetingClausesResponseContent.

type SponsoredProductsDeleteSponsoredProductsProductAdsRequestContent

type SponsoredProductsDeleteSponsoredProductsProductAdsRequestContent struct {
	// AdIdFilter Filter entities by the list of objectIds
	AdIdFilter SponsoredProductsObjectIdFilter `json:"adIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsProductAdsRequestContent defines model for SponsoredProductsDeleteSponsoredProductsProductAdsRequestContent.

type SponsoredProductsDeleteSponsoredProductsProductAdsResponseContent

type SponsoredProductsDeleteSponsoredProductsProductAdsResponseContent struct {
	ProductAds SponsoredProductsBulkProductAdOperationResponse `json:"productAds"`
}

SponsoredProductsDeleteSponsoredProductsProductAdsResponseContent defines model for SponsoredProductsDeleteSponsoredProductsProductAdsResponseContent.

type SponsoredProductsDeleteSponsoredProductsTargetingClausesRequestContent

type SponsoredProductsDeleteSponsoredProductsTargetingClausesRequestContent struct {
	// TargetIdFilter Filter entities by the list of objectIds
	TargetIdFilter SponsoredProductsObjectIdFilter `json:"targetIdFilter"`
}

SponsoredProductsDeleteSponsoredProductsTargetingClausesRequestContent defines model for SponsoredProductsDeleteSponsoredProductsTargetingClausesRequestContent.

type SponsoredProductsDeleteSponsoredProductsTargetingClausesResponseContent

type SponsoredProductsDeleteSponsoredProductsTargetingClausesResponseContent struct {
	TargetingClauses SponsoredProductsBulkTargetingClauseOperationResponse `json:"targetingClauses"`
}

SponsoredProductsDeleteSponsoredProductsTargetingClausesResponseContent defines model for SponsoredProductsDeleteSponsoredProductsTargetingClausesResponseContent.

type SponsoredProductsDuplicateValueError

type SponsoredProductsDuplicateValueError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                     `json:"message"`
	Reason  SponsoredProductsDuplicateValueErrorReason `json:"reason"`
}

SponsoredProductsDuplicateValueError defines model for SponsoredProductsDuplicateValueError.

type SponsoredProductsDuplicateValueErrorReason

type SponsoredProductsDuplicateValueErrorReason string

SponsoredProductsDuplicateValueErrorReason defines model for SponsoredProductsDuplicateValueErrorReason.

const (
	DUPLICATEVALUE                SponsoredProductsDuplicateValueErrorReason = "DUPLICATE_VALUE"
	MARKETPLACEATTRIBUTESREPEATED SponsoredProductsDuplicateValueErrorReason = "MARKETPLACE_ATTRIBUTES_REPEATED"
	NAMENOTUNIQUE                 SponsoredProductsDuplicateValueErrorReason = "NAME_NOT_UNIQUE"
)

Defines values for SponsoredProductsDuplicateValueErrorReason.

type SponsoredProductsDynamicBidding

type SponsoredProductsDynamicBidding struct {
	PlacementBidding *[]SponsoredProductsPlacementBidding `json:"placementBidding,omitempty"`

	// Strategy The bidding strategy.
	// | Value | Strategy name | Description |
	// |----------------|---------------|-------------|
	// | `LEGACY_FOR_SALES` | Dynamic bids - down only | Lowers your bids in real time when your ad may be less likely to convert to a sale. Campaigns created before the release of the bidding controls feature used this setting by default. |
	// | `AUTO_FOR_SALES` | Dynamic bids - up and down | Increases or decreases your bids in real time by a maximum of 100%. With this setting bids increase when your ad is more likely to convert to a sale, and bids decrease when less likely to convert to a sale. |
	// | `MANUAL` | Fixed bid | Uses your exact bid and any placement adjustments you set, and is not subject to dynamic bidding. |
	// | `RULE_BASED` | Rule based bidding | See Rule based bidding documentation https://advertising.amazon.com/API/docs/en-us/sponsored-products/rule-based-bidding/overview |
	Strategy SponsoredProductsBiddingStrategy `json:"strategy"`
}

SponsoredProductsDynamicBidding defines model for SponsoredProductsDynamicBidding.

type SponsoredProductsEntityNotFoundError

type SponsoredProductsEntityNotFoundError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// EntityId The entity id in the request
	EntityId   string                      `json:"entityId"`
	EntityType SponsoredProductsEntityType `json:"entityType"`

	// Message Human readable error message
	Message string                                     `json:"message"`
	Reason  SponsoredProductsEntityNotFoundErrorReason `json:"reason"`
}

SponsoredProductsEntityNotFoundError defines model for SponsoredProductsEntityNotFoundError.

type SponsoredProductsEntityNotFoundErrorReason

type SponsoredProductsEntityNotFoundErrorReason string

SponsoredProductsEntityNotFoundErrorReason defines model for SponsoredProductsEntityNotFoundErrorReason.

const (
	ENTITYNOTFOUND SponsoredProductsEntityNotFoundErrorReason = "ENTITY_NOT_FOUND"
)

Defines values for SponsoredProductsEntityNotFoundErrorReason.

type SponsoredProductsEntityQuotaError

type SponsoredProductsEntityQuotaError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause      *SponsoredProductsErrorCause `json:"cause,omitempty"`
	EntityType SponsoredProductsEntityType  `json:"entityType"`

	// Message Human readable error message
	Message string `json:"message"`

	// Quota optional current quota
	Quota      *string                           `json:"quota,omitempty"`
	QuotaScope *SponsoredProductsQuotaScope      `json:"quotaScope,omitempty"`
	Reason     SponsoredProductsQuotaErrorReason `json:"reason"`
}

SponsoredProductsEntityQuotaError Errors related to exceeding quota in campaign management service

type SponsoredProductsEntityState

type SponsoredProductsEntityState string

SponsoredProductsEntityState The current resource state. | State | Description | | --- | --- | | `ENABLED` | Enabled State | | `PAUSED` | Paused State | | `ARCHIVED` | ARCHIVED State | | `ENABLING` | State for Draft Entity Only | | `USER_DELETED` | State for Draft Entity Only | | `OTHER` | Read Only |

const (
	SponsoredProductsEntityStateARCHIVED    SponsoredProductsEntityState = "ARCHIVED"
	SponsoredProductsEntityStateENABLED     SponsoredProductsEntityState = "ENABLED"
	SponsoredProductsEntityStateENABLING    SponsoredProductsEntityState = "ENABLING"
	SponsoredProductsEntityStateOTHER       SponsoredProductsEntityState = "OTHER"
	SponsoredProductsEntityStatePAUSED      SponsoredProductsEntityState = "PAUSED"
	SponsoredProductsEntityStateUSERDELETED SponsoredProductsEntityState = "USER_DELETED"
)

Defines values for SponsoredProductsEntityState.

type SponsoredProductsEntityStateError

type SponsoredProductsEntityStateError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	EntityType  SponsoredProductsEntityType   `json:"entityType"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                  `json:"message"`
	Reason  SponsoredProductsEntityStateErrorReason `json:"reason"`
}

SponsoredProductsEntityStateError entity state update errors

type SponsoredProductsEntityStateErrorReason

type SponsoredProductsEntityStateErrorReason string

SponsoredProductsEntityStateErrorReason defines model for SponsoredProductsEntityStateErrorReason.

const (
	ARCHIVEDENTITYCANNOTBEMODIFIED              SponsoredProductsEntityStateErrorReason = "ARCHIVED_ENTITY_CANNOT_BE_MODIFIED"
	AUTOTARGETINGCLAUSECANNOTBEARCHIVEDMANUALLY SponsoredProductsEntityStateErrorReason = "AUTO_TARGETING_CLAUSE_CANNOT_BE_ARCHIVED_MANUALLY"
	INVALIDTARGETSTATE                          SponsoredProductsEntityStateErrorReason = "INVALID_TARGET_STATE"
	MARKETPLACESTATECANNOTBEARCHIVED            SponsoredProductsEntityStateErrorReason = "MARKETPLACE_STATE_CANNOT_BE_ARCHIVED"
	PARENTARCHIVEDFORBIDSUPDATES                SponsoredProductsEntityStateErrorReason = "PARENT_ARCHIVED_FORBIDS_UPDATES"
	PARENTENTITYFORBIDSCREATION                 SponsoredProductsEntityStateErrorReason = "PARENT_ENTITY_FORBIDS_CREATION"
	PARENTSTATUSFORBIDSUPDATESANDCREATES        SponsoredProductsEntityStateErrorReason = "PARENT_STATUS_FORBIDS_UPDATES_AND_CREATES"
)

Defines values for SponsoredProductsEntityStateErrorReason.

type SponsoredProductsEntityStateFilter

type SponsoredProductsEntityStateFilter struct {
	Include []SponsoredProductsEntityState `json:"include"`
}

SponsoredProductsEntityStateFilter Filter entities by state

type SponsoredProductsEntityType

type SponsoredProductsEntityType string

SponsoredProductsEntityType defines model for SponsoredProductsEntityType.

const (
	SponsoredProductsEntityTypeADGROUP                         SponsoredProductsEntityType = "AD_GROUP"
	SponsoredProductsEntityTypeCAMPAIGN                        SponsoredProductsEntityType = "CAMPAIGN"
	SponsoredProductsEntityTypeCAMPAIGNNEGATIVEKEYWORD         SponsoredProductsEntityType = "CAMPAIGN_NEGATIVE_KEYWORD"
	SponsoredProductsEntityTypeCAMPAIGNNEGATIVETARGETINGCLAUSE SponsoredProductsEntityType = "CAMPAIGN_NEGATIVE_TARGETING_CLAUSE"
	SponsoredProductsEntityTypeKEYWORD                         SponsoredProductsEntityType = "KEYWORD"
	SponsoredProductsEntityTypeNEGATIVEKEYWORD                 SponsoredProductsEntityType = "NEGATIVE_KEYWORD"
	SponsoredProductsEntityTypeNEGATIVETARGETINGCLAUSE         SponsoredProductsEntityType = "NEGATIVE_TARGETING_CLAUSE"
	SponsoredProductsEntityTypePRODUCTAD                       SponsoredProductsEntityType = "PRODUCT_AD"
	SponsoredProductsEntityTypeTARGETINGCLAUSE                 SponsoredProductsEntityType = "TARGETING_CLAUSE"
)

Defines values for SponsoredProductsEntityType.

type SponsoredProductsErrorCause

type SponsoredProductsErrorCause struct {
	// Location Error location, JSON Path expression specifying element of API payload causing error
	Location string `json:"location"`

	// Trigger optional value causing error
	Trigger *string `json:"trigger,omitempty"`
}

SponsoredProductsErrorCause Structure describing error cause - location in the payload and data causing error

type SponsoredProductsExpressionType

type SponsoredProductsExpressionType string

SponsoredProductsExpressionType defines model for SponsoredProductsExpressionType.

const (
	SponsoredProductsExpressionTypeAUTO   SponsoredProductsExpressionType = "AUTO"
	SponsoredProductsExpressionTypeMANUAL SponsoredProductsExpressionType = "MANUAL"
	SponsoredProductsExpressionTypeOTHER  SponsoredProductsExpressionType = "OTHER"
)

Defines values for SponsoredProductsExpressionType.

type SponsoredProductsExpressionTypeError

type SponsoredProductsExpressionTypeError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                     `json:"message"`
	Reason  SponsoredProductsExpressionTypeErrorReason `json:"reason"`
}

SponsoredProductsExpressionTypeError defines model for SponsoredProductsExpressionTypeError.

type SponsoredProductsExpressionTypeErrorReason

type SponsoredProductsExpressionTypeErrorReason string

SponsoredProductsExpressionTypeErrorReason defines model for SponsoredProductsExpressionTypeErrorReason.

const (
	UNSUPPORTEDEXPRESSIONTYPE SponsoredProductsExpressionTypeErrorReason = "UNSUPPORTED_EXPRESSION_TYPE"
)

Defines values for SponsoredProductsExpressionTypeErrorReason.

type SponsoredProductsExpressionTypeFilter

type SponsoredProductsExpressionTypeFilter struct {
	Include []SponsoredProductsExpressionType `json:"include"`
}

SponsoredProductsExpressionTypeFilter Filter entities by ExpressionType

type SponsoredProductsExpressionTypeWithoutOther

type SponsoredProductsExpressionTypeWithoutOther string

SponsoredProductsExpressionTypeWithoutOther defines model for SponsoredProductsExpressionTypeWithoutOther.

const (
	SponsoredProductsExpressionTypeWithoutOtherAUTO   SponsoredProductsExpressionTypeWithoutOther = "AUTO"
	SponsoredProductsExpressionTypeWithoutOtherMANUAL SponsoredProductsExpressionTypeWithoutOther = "MANUAL"
)

Defines values for SponsoredProductsExpressionTypeWithoutOther.

type SponsoredProductsInternalErrorErrorCode

type SponsoredProductsInternalErrorErrorCode string

SponsoredProductsInternalErrorErrorCode defines model for SponsoredProductsInternalErrorErrorCode.

const (
	SponsoredProductsInternalErrorErrorCodeINTERNALERROR SponsoredProductsInternalErrorErrorCode = "INTERNAL_ERROR"
)

Defines values for SponsoredProductsInternalErrorErrorCode.

type SponsoredProductsInternalServerError

type SponsoredProductsInternalServerError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                     `json:"message"`
	Reason  SponsoredProductsInternalServerErrorReason `json:"reason"`
}

SponsoredProductsInternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.

type SponsoredProductsInternalServerErrorReason

type SponsoredProductsInternalServerErrorReason string

SponsoredProductsInternalServerErrorReason defines model for SponsoredProductsInternalServerErrorReason.

const (
	SponsoredProductsInternalServerErrorReasonINTERNALERROR SponsoredProductsInternalServerErrorReason = "INTERNAL_ERROR"
)

Defines values for SponsoredProductsInternalServerErrorReason.

type SponsoredProductsInternalServerExceptionResponseContent

type SponsoredProductsInternalServerExceptionResponseContent struct {
	Code SponsoredProductsInternalErrorErrorCode `json:"code"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsInternalServerExceptionResponseContent defines model for SponsoredProductsInternalServerExceptionResponseContent.

type SponsoredProductsInvalidArgumentErrorCode

type SponsoredProductsInvalidArgumentErrorCode string

SponsoredProductsInvalidArgumentErrorCode defines model for SponsoredProductsInvalidArgumentErrorCode.

const (
	INVALIDARGUMENT SponsoredProductsInvalidArgumentErrorCode = "INVALID_ARGUMENT"
)

Defines values for SponsoredProductsInvalidArgumentErrorCode.

type SponsoredProductsInvalidInputError

type SponsoredProductsInvalidInputError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                   `json:"message"`
	Reason  SponsoredProductsInvalidInputErrorReason `json:"reason"`
}

SponsoredProductsInvalidInputError Errors related to ad eligibility

type SponsoredProductsInvalidInputErrorReason

type SponsoredProductsInvalidInputErrorReason string

SponsoredProductsInvalidInputErrorReason defines model for SponsoredProductsInvalidInputErrorReason.

const (
	INVALIDTOKEN SponsoredProductsInvalidInputErrorReason = "INVALID_TOKEN"
)

Defines values for SponsoredProductsInvalidInputErrorReason.

type SponsoredProductsKeyword

type SponsoredProductsKeyword struct {
	// AdGroupId The identifier of the ad group to which this keyword is associated.
	AdGroupId string `json:"adGroupId"`

	// Bid Bid associated with this keyword. Applicable to biddable match types only. Keywords that do not have bid values in listKeywords will inherit the defaultBid from the adGroup level. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid,omitempty"`

	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId   string                                `json:"campaignId"`
	ExtendedData *SponsoredProductsKeywordExtendedData `json:"extendedData,omitempty"`

	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// KeywordText The keyword text.
	KeywordText string                     `json:"keywordText"`
	MatchType   SponsoredProductsMatchType `json:"matchType"`

	// NativeLanguageKeyword The unlocalized keyword text in the preferred locale of the advertiser.
	NativeLanguageKeyword *string `json:"nativeLanguageKeyword,omitempty"`

	// NativeLanguageLocale The locale preference of the advertiser. For example, if the advertiser’s preferred language is Simplified Chinese, set the locale to zh_CN. Supported locales include: Simplified Chinese (locale: zh_CN) for US, UK and CA. English (locale: en_GB) for DE, FR, IT and ES.
	NativeLanguageLocale *string `json:"nativeLanguageLocale,omitempty"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`
}

SponsoredProductsKeyword defines model for SponsoredProductsKeyword.

type SponsoredProductsKeywordAccessError

type SponsoredProductsKeywordAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                      `json:"errorType"`
	ErrorValue SponsoredProductsKeywordAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsKeywordAccessError defines model for SponsoredProductsKeywordAccessError.

type SponsoredProductsKeywordAccessErrorSelector

type SponsoredProductsKeywordAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`
	LocaleError       *SponsoredProductsLocaleError       `json:"localeError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsKeywordAccessErrorSelector defines model for SponsoredProductsKeywordAccessErrorSelector.

type SponsoredProductsKeywordAccessExceptionResponseContent

type SponsoredProductsKeywordAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsKeywordAccessError    `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsKeywordAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsKeywordExtendedData

type SponsoredProductsKeywordExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the Keyword
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsKeywordExtendedData defines model for SponsoredProductsKeywordExtendedData.

type SponsoredProductsKeywordFailureResponseItem

type SponsoredProductsKeywordFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsKeywordMutationError `json:"errors,omitempty"`

	// Index the index of the keyword in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsKeywordFailureResponseItem defines model for SponsoredProductsKeywordFailureResponseItem.

type SponsoredProductsKeywordMutationError

type SponsoredProductsKeywordMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                        `json:"errorType"`
	ErrorValue SponsoredProductsKeywordMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsKeywordMutationError defines model for SponsoredProductsKeywordMutationError.

type SponsoredProductsKeywordMutationErrorSelector

type SponsoredProductsKeywordMutationErrorSelector struct {
	// BiddingError Errors related to bids
	BiddingError *SponsoredProductsBiddingError `json:"biddingError,omitempty"`

	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`
	LocaleError         *SponsoredProductsLocaleError         `json:"localeError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// TargetingClauseSetupError Errors related to targeting clause setup
	TargetingClauseSetupError *SponsoredProductsTargetingClauseSetupError `json:"targetingClauseSetupError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsKeywordMutationErrorSelector defines model for SponsoredProductsKeywordMutationErrorSelector.

type SponsoredProductsKeywordMutationExceptionResponseContent

type SponsoredProductsKeywordMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsKeywordMutationError  `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsKeywordMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsKeywordServingStatus

type SponsoredProductsKeywordServingStatus string

SponsoredProductsKeywordServingStatus defines model for SponsoredProductsKeywordServingStatus.

const (
	SponsoredProductsKeywordServingStatusACCOUNTOUTOFBUDGET               SponsoredProductsKeywordServingStatus = "ACCOUNT_OUT_OF_BUDGET"
	SponsoredProductsKeywordServingStatusADGROUPARCHIVED                  SponsoredProductsKeywordServingStatus = "AD_GROUP_ARCHIVED"
	SponsoredProductsKeywordServingStatusADGROUPINCOMPLETE                SponsoredProductsKeywordServingStatus = "AD_GROUP_INCOMPLETE"
	SponsoredProductsKeywordServingStatusADGROUPLOWBID                    SponsoredProductsKeywordServingStatus = "AD_GROUP_LOW_BID"
	SponsoredProductsKeywordServingStatusADGROUPPAUSED                    SponsoredProductsKeywordServingStatus = "AD_GROUP_PAUSED"
	SponsoredProductsKeywordServingStatusADGROUPPOLICINGCREATIVEREJECTED  SponsoredProductsKeywordServingStatus = "AD_GROUP_POLICING_CREATIVE_REJECTED"
	SponsoredProductsKeywordServingStatusADGROUPPOLICINGPENDINGREVIEW     SponsoredProductsKeywordServingStatus = "AD_GROUP_POLICING_PENDING_REVIEW"
	SponsoredProductsKeywordServingStatusADGROUPSTATUSENABLED             SponsoredProductsKeywordServingStatus = "AD_GROUP_STATUS_ENABLED"
	SponsoredProductsKeywordServingStatusADVERTISERARCHIVED               SponsoredProductsKeywordServingStatus = "ADVERTISER_ARCHIVED"
	SponsoredProductsKeywordServingStatusADVERTISEROUTOFBUDGET            SponsoredProductsKeywordServingStatus = "ADVERTISER_OUT_OF_BUDGET"
	SponsoredProductsKeywordServingStatusADVERTISERPAUSED                 SponsoredProductsKeywordServingStatus = "ADVERTISER_PAUSED"
	SponsoredProductsKeywordServingStatusADVERTISERPAYMENTFAILURE         SponsoredProductsKeywordServingStatus = "ADVERTISER_PAYMENT_FAILURE"
	SponsoredProductsKeywordServingStatusADVERTISERPOLICINGPENDINGREVIEW  SponsoredProductsKeywordServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW"
	SponsoredProductsKeywordServingStatusADVERTISERPOLICINGSUSPENDED      SponsoredProductsKeywordServingStatus = "ADVERTISER_POLICING_SUSPENDED"
	SponsoredProductsKeywordServingStatusCAMPAIGNARCHIVED                 SponsoredProductsKeywordServingStatus = "CAMPAIGN_ARCHIVED"
	SponsoredProductsKeywordServingStatusCAMPAIGNINCOMPLETE               SponsoredProductsKeywordServingStatus = "CAMPAIGN_INCOMPLETE"
	SponsoredProductsKeywordServingStatusCAMPAIGNOUTOFBUDGET              SponsoredProductsKeywordServingStatus = "CAMPAIGN_OUT_OF_BUDGET"
	SponsoredProductsKeywordServingStatusCAMPAIGNPAUSED                   SponsoredProductsKeywordServingStatus = "CAMPAIGN_PAUSED"
	SponsoredProductsKeywordServingStatusCAMPAIGNSTATUSENABLED            SponsoredProductsKeywordServingStatus = "CAMPAIGN_STATUS_ENABLED"
	SponsoredProductsKeywordServingStatusENDED                            SponsoredProductsKeywordServingStatus = "ENDED"
	SponsoredProductsKeywordServingStatusOTHER                            SponsoredProductsKeywordServingStatus = "OTHER"
	SponsoredProductsKeywordServingStatusPENDINGREVIEW                    SponsoredProductsKeywordServingStatus = "PENDING_REVIEW"
	SponsoredProductsKeywordServingStatusPENDINGSTARTDATE                 SponsoredProductsKeywordServingStatus = "PENDING_START_DATE"
	SponsoredProductsKeywordServingStatusPORTFOLIOARCHIVED                SponsoredProductsKeywordServingStatus = "PORTFOLIO_ARCHIVED"
	SponsoredProductsKeywordServingStatusPORTFOLIOENDED                   SponsoredProductsKeywordServingStatus = "PORTFOLIO_ENDED"
	SponsoredProductsKeywordServingStatusPORTFOLIOOUTOFBUDGET             SponsoredProductsKeywordServingStatus = "PORTFOLIO_OUT_OF_BUDGET"
	SponsoredProductsKeywordServingStatusPORTFOLIOPAUSED                  SponsoredProductsKeywordServingStatus = "PORTFOLIO_PAUSED"
	SponsoredProductsKeywordServingStatusPORTFOLIOPENDINGSTARTDATE        SponsoredProductsKeywordServingStatus = "PORTFOLIO_PENDING_START_DATE"
	SponsoredProductsKeywordServingStatusPORTFOLIOSTATUSENABLED           SponsoredProductsKeywordServingStatus = "PORTFOLIO_STATUS_ENABLED"
	SponsoredProductsKeywordServingStatusREJECTED                         SponsoredProductsKeywordServingStatus = "REJECTED"
	SponsoredProductsKeywordServingStatusTARGETINGCLAUSEARCHIVED          SponsoredProductsKeywordServingStatus = "TARGETING_CLAUSE_ARCHIVED"
	SponsoredProductsKeywordServingStatusTARGETINGCLAUSEBLOCKED           SponsoredProductsKeywordServingStatus = "TARGETING_CLAUSE_BLOCKED"
	SponsoredProductsKeywordServingStatusTARGETINGCLAUSEPAUSED            SponsoredProductsKeywordServingStatus = "TARGETING_CLAUSE_PAUSED"
	SponsoredProductsKeywordServingStatusTARGETINGCLAUSEPOLICINGSUSPENDED SponsoredProductsKeywordServingStatus = "TARGETING_CLAUSE_POLICING_SUSPENDED"
	SponsoredProductsKeywordServingStatusTARGETINGCLAUSESTATUSLIVE        SponsoredProductsKeywordServingStatus = "TARGETING_CLAUSE_STATUS_LIVE"
)

Defines values for SponsoredProductsKeywordServingStatus.

type SponsoredProductsKeywordServingStatusDetail

type SponsoredProductsKeywordServingStatusDetail struct {
	// HelpUrl A URL with additional information about the status identifier.
	HelpUrl *string `json:"helpUrl,omitempty"`

	// Message A human-readable description of the status identifier specified in the name field.
	Message *string                                      `json:"message,omitempty"`
	Name    *SponsoredProductsKeywordServingStatusReason `json:"name,omitempty"`
}

SponsoredProductsKeywordServingStatusDetail defines model for SponsoredProductsKeywordServingStatusDetail.

type SponsoredProductsKeywordServingStatusReason

type SponsoredProductsKeywordServingStatusReason string

SponsoredProductsKeywordServingStatusReason defines model for SponsoredProductsKeywordServingStatusReason.

const (
	SponsoredProductsKeywordServingStatusReasonACCOUNTOUTOFBUDGETDETAIL               SponsoredProductsKeywordServingStatusReason = "ACCOUNT_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPARCHIVEDDETAIL                  SponsoredProductsKeywordServingStatusReason = "AD_GROUP_ARCHIVED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPINCOMPLETEDETAIL                SponsoredProductsKeywordServingStatusReason = "AD_GROUP_INCOMPLETE_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPLOWBIDDETAIL                    SponsoredProductsKeywordServingStatusReason = "AD_GROUP_LOW_BID_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPPAUSEDDETAIL                    SponsoredProductsKeywordServingStatusReason = "AD_GROUP_PAUSED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPPOLICINGCREATIVEREJECTEDDETAIL  SponsoredProductsKeywordServingStatusReason = "AD_GROUP_POLICING_CREATIVE_REJECTED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPPOLICINGPENDINGREVIEWDETAIL     SponsoredProductsKeywordServingStatusReason = "AD_GROUP_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADGROUPSTATUSENABLEDDETAIL             SponsoredProductsKeywordServingStatusReason = "AD_GROUP_STATUS_ENABLED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISERARCHIVEDDETAIL               SponsoredProductsKeywordServingStatusReason = "ADVERTISER_ARCHIVED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISEROUTOFBUDGETDETAIL            SponsoredProductsKeywordServingStatusReason = "ADVERTISER_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISERPAUSEDDETAIL                 SponsoredProductsKeywordServingStatusReason = "ADVERTISER_PAUSED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISERPAYMENTFAILUREDETAIL         SponsoredProductsKeywordServingStatusReason = "ADVERTISER_PAYMENT_FAILURE_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISERPOLICINGPENDINGREVIEWDETAIL  SponsoredProductsKeywordServingStatusReason = "ADVERTISER_POLICING_PENDING_REVIEW_DETAIL"
	SponsoredProductsKeywordServingStatusReasonADVERTISERPOLICINGSUSPENDEDDETAIL      SponsoredProductsKeywordServingStatusReason = "ADVERTISER_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonCAMPAIGNARCHIVEDDETAIL                 SponsoredProductsKeywordServingStatusReason = "CAMPAIGN_ARCHIVED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonCAMPAIGNINCOMPLETEDETAIL               SponsoredProductsKeywordServingStatusReason = "CAMPAIGN_INCOMPLETE_DETAIL"
	SponsoredProductsKeywordServingStatusReasonCAMPAIGNOUTOFBUDGETDETAIL              SponsoredProductsKeywordServingStatusReason = "CAMPAIGN_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsKeywordServingStatusReasonCAMPAIGNPAUSEDDETAIL                   SponsoredProductsKeywordServingStatusReason = "CAMPAIGN_PAUSED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonCAMPAIGNSTATUSENABLEDDETAIL            SponsoredProductsKeywordServingStatusReason = "CAMPAIGN_STATUS_ENABLED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonENDEDDETAIL                            SponsoredProductsKeywordServingStatusReason = "ENDED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonOTHER                                  SponsoredProductsKeywordServingStatusReason = "OTHER"
	SponsoredProductsKeywordServingStatusReasonPENDINGREVIEWDETAIL                    SponsoredProductsKeywordServingStatusReason = "PENDING_REVIEW_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPENDINGSTARTDATEDETAIL                 SponsoredProductsKeywordServingStatusReason = "PENDING_START_DATE_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOARCHIVEDDETAIL                SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_ARCHIVED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOENDEDDETAIL                   SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_ENDED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOOUTOFBUDGETDETAIL             SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_OUT_OF_BUDGET_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOPAUSEDDETAIL                  SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_PAUSED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOPENDINGSTARTDATEDETAIL        SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_PENDING_START_DATE_DETAIL"
	SponsoredProductsKeywordServingStatusReasonPORTFOLIOSTATUSENABLEDDETAIL           SponsoredProductsKeywordServingStatusReason = "PORTFOLIO_STATUS_ENABLED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonREJECTEDDETAIL                         SponsoredProductsKeywordServingStatusReason = "REJECTED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonTARGETINGCLAUSEARCHIVEDDETAIL          SponsoredProductsKeywordServingStatusReason = "TARGETING_CLAUSE_ARCHIVED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonTARGETINGCLAUSEBLOCKEDDETAIL           SponsoredProductsKeywordServingStatusReason = "TARGETING_CLAUSE_BLOCKED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonTARGETINGCLAUSEPAUSEDDETAIL            SponsoredProductsKeywordServingStatusReason = "TARGETING_CLAUSE_PAUSED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonTARGETINGCLAUSEPOLICINGSUSPENDEDDETAIL SponsoredProductsKeywordServingStatusReason = "TARGETING_CLAUSE_POLICING_SUSPENDED_DETAIL"
	SponsoredProductsKeywordServingStatusReasonTARGETINGCLAUSESTATUSLIVEDETAIL        SponsoredProductsKeywordServingStatusReason = "TARGETING_CLAUSE_STATUS_LIVE_DETAIL"
)

Defines values for SponsoredProductsKeywordServingStatusReason.

type SponsoredProductsKeywordSuccessResponseItem

type SponsoredProductsKeywordSuccessResponseItem struct {
	// Index the index of the keyword in the array from the request body
	Index   int32                     `json:"index"`
	Keyword *SponsoredProductsKeyword `json:"keyword,omitempty"`

	// KeywordId the keyword ID
	KeywordId *string `json:"keywordId,omitempty"`
}

SponsoredProductsKeywordSuccessResponseItem defines model for SponsoredProductsKeywordSuccessResponseItem.

type SponsoredProductsKeywordTextFilter

type SponsoredProductsKeywordTextFilter struct {
	Include *[]string `json:"include,omitempty"`

	// QueryTermMatchType Match type for query filters.
	// | Value |  Description |
	// |-----------|------------|
	// | `BROAD_MATCH` | Match if the queried value contains the filter value. (substring matching) |
	// | `EXACT_MATCH` | Match if the queried value is exactly equivalent to the filter value. |
	QueryTermMatchType *SponsoredProductsQueryTermMatchType `json:"queryTermMatchType,omitempty"`
}

SponsoredProductsKeywordTextFilter Filter by keywordText

type SponsoredProductsListSponsoredProductsAdGroupsRequestContent

type SponsoredProductsListSponsoredProductsAdGroupsRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsObjectIdFilter `json:"adGroupIdFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter            *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`
	CampaignTargetingTypeFilter *SponsoredProductsTargetingType         `json:"campaignTargetingTypeFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NameFilter Filter entities by name
	NameFilter *SponsoredProductsNameFilter `json:"nameFilter,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsAdGroupsRequestContent defines model for SponsoredProductsListSponsoredProductsAdGroupsRequestContent.

type SponsoredProductsListSponsoredProductsAdGroupsResponseContent

type SponsoredProductsListSponsoredProductsAdGroupsResponseContent struct {
	AdGroups *[]SponsoredProductsAdGroup `json:"adGroups,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsAdGroupsResponseContent defines model for SponsoredProductsListSponsoredProductsAdGroupsResponseContent.

type SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsRequestContent

type SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsRequestContent struct {
	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// CampaignNegativeKeywordIdFilter Filter entities by the list of objectIds
	CampaignNegativeKeywordIdFilter *SponsoredProductsObjectIdFilter `json:"campaignNegativeKeywordIdFilter,omitempty"`

	// CampaignNegativeKeywordTextFilter Filter by keywordText
	CampaignNegativeKeywordTextFilter *SponsoredProductsKeywordTextFilter `json:"campaignNegativeKeywordTextFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MatchTypeFilter Restricts results to resources with the selected matchType
	MatchTypeFilter *[]SponsoredProductsNegativeMatchType `json:"matchTypeFilter,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsRequestContent defines model for SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsRequestContent.

type SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsResponseContent

type SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsResponseContent struct {
	CampaignNegativeKeywords *[]SponsoredProductsCampaignNegativeKeyword `json:"campaignNegativeKeywords,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsResponseContent defines model for SponsoredProductsListSponsoredProductsCampaignNegativeKeywordsResponseContent.

type SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesRequestContent

type SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesRequestContent struct {
	AsinFilter *SponsoredProductsAsinFilter `json:"asinFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// CampaignNegativeTargetIdFilter Filter entities by the list of objectIds
	CampaignNegativeTargetIdFilter *SponsoredProductsObjectIdFilter `json:"campaignNegativeTargetIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesRequestContent defines model for SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesRequestContent.

type SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesResponseContent

type SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesResponseContent struct {
	CampaignNegativeTargetingClauses *[]SponsoredProductsCampaignNegativeTargetingClause `json:"campaignNegativeTargetingClauses,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesResponseContent defines model for SponsoredProductsListSponsoredProductsCampaignNegativeTargetingClausesResponseContent.

type SponsoredProductsListSponsoredProductsCampaignsRequestContent

type SponsoredProductsListSponsoredProductsCampaignsRequestContent struct {
	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NameFilter Filter entities by name
	NameFilter *SponsoredProductsNameFilter `json:"nameFilter,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// PortfolioIdFilter Filter entities by the list of objectIds
	PortfolioIdFilter *SponsoredProductsReducedObjectIdFilter `json:"portfolioIdFilter,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignsRequestContent defines model for SponsoredProductsListSponsoredProductsCampaignsRequestContent.

type SponsoredProductsListSponsoredProductsCampaignsResponseContent

type SponsoredProductsListSponsoredProductsCampaignsResponseContent struct {
	Campaigns *[]SponsoredProductsCampaign `json:"campaigns,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsCampaignsResponseContent defines model for SponsoredProductsListSponsoredProductsCampaignsResponseContent.

type SponsoredProductsListSponsoredProductsKeywordsRequestContent

type SponsoredProductsListSponsoredProductsKeywordsRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsReducedObjectIdFilter `json:"adGroupIdFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// KeywordIdFilter Filter entities by the list of objectIds
	KeywordIdFilter *SponsoredProductsObjectIdFilter `json:"keywordIdFilter,omitempty"`

	// KeywordTextFilter Filter by keywordText
	KeywordTextFilter *SponsoredProductsKeywordTextFilter `json:"keywordTextFilter,omitempty"`

	// Locale Restricts results to keywords associated with locale
	Locale *string `json:"locale,omitempty"`

	// MatchTypeFilter Only the keyword with match type that is in this list will be listed
	MatchTypeFilter *[]SponsoredProductsMatchType `json:"matchTypeFilter,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsKeywordsRequestContent defines model for SponsoredProductsListSponsoredProductsKeywordsRequestContent.

type SponsoredProductsListSponsoredProductsKeywordsResponseContent

type SponsoredProductsListSponsoredProductsKeywordsResponseContent struct {
	Keywords *[]SponsoredProductsKeyword `json:"keywords,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsKeywordsResponseContent defines model for SponsoredProductsListSponsoredProductsKeywordsResponseContent.

type SponsoredProductsListSponsoredProductsNegativeKeywordsRequestContent

type SponsoredProductsListSponsoredProductsNegativeKeywordsRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsReducedObjectIdFilter `json:"adGroupIdFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// Locale Restricts results to negativeKeywords that match the specified locale.
	Locale *string `json:"locale,omitempty"`

	// MatchTypeFilter Only the negativeKeyword with the match type that is in this list will be listed
	MatchTypeFilter *[]SponsoredProductsNegativeMatchType `json:"matchTypeFilter,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NegativeKeywordIdFilter Filter entities by the list of objectIds
	NegativeKeywordIdFilter *SponsoredProductsObjectIdFilter `json:"negativeKeywordIdFilter,omitempty"`

	// NegativeKeywordTextFilter Filter by keywordText
	NegativeKeywordTextFilter *SponsoredProductsKeywordTextFilter `json:"negativeKeywordTextFilter,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsNegativeKeywordsRequestContent defines model for SponsoredProductsListSponsoredProductsNegativeKeywordsRequestContent.

type SponsoredProductsListSponsoredProductsNegativeKeywordsResponseContent

type SponsoredProductsListSponsoredProductsNegativeKeywordsResponseContent struct {
	NegativeKeywords *[]SponsoredProductsNegativeKeyword `json:"negativeKeywords,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsNegativeKeywordsResponseContent defines model for SponsoredProductsListSponsoredProductsNegativeKeywordsResponseContent.

type SponsoredProductsListSponsoredProductsNegativeTargetingClausesRequestContent

type SponsoredProductsListSponsoredProductsNegativeTargetingClausesRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsReducedObjectIdFilter `json:"adGroupIdFilter,omitempty"`
	AsinFilter      *SponsoredProductsAsinFilter            `json:"asinFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NegativeTargetIdFilter Filter entities by the list of objectIds
	NegativeTargetIdFilter *SponsoredProductsObjectIdFilter `json:"negativeTargetIdFilter,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsNegativeTargetingClausesRequestContent defines model for SponsoredProductsListSponsoredProductsNegativeTargetingClausesRequestContent.

type SponsoredProductsListSponsoredProductsNegativeTargetingClausesResponseContent

type SponsoredProductsListSponsoredProductsNegativeTargetingClausesResponseContent struct {
	NegativeTargetingClauses *[]SponsoredProductsNegativeTargetingClause `json:"negativeTargetingClauses,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsNegativeTargetingClausesResponseContent defines model for SponsoredProductsListSponsoredProductsNegativeTargetingClausesResponseContent.

type SponsoredProductsListSponsoredProductsProductAdsRequestContent

type SponsoredProductsListSponsoredProductsProductAdsRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsReducedObjectIdFilter `json:"adGroupIdFilter,omitempty"`

	// AdIdFilter Filter entities by the list of objectIds
	AdIdFilter *SponsoredProductsObjectIdFilter `json:"adIdFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsProductAdsRequestContent defines model for SponsoredProductsListSponsoredProductsProductAdsRequestContent.

type SponsoredProductsListSponsoredProductsProductAdsResponseContent

type SponsoredProductsListSponsoredProductsProductAdsResponseContent struct {
	// NextToken token value allowing to navigate to the next response page
	NextToken  *string                       `json:"nextToken,omitempty"`
	ProductAds *[]SponsoredProductsProductAd `json:"productAds,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsProductAdsResponseContent defines model for SponsoredProductsListSponsoredProductsProductAdsResponseContent.

type SponsoredProductsListSponsoredProductsTargetingClausesRequestContent

type SponsoredProductsListSponsoredProductsTargetingClausesRequestContent struct {
	// AdGroupIdFilter Filter entities by the list of objectIds
	AdGroupIdFilter *SponsoredProductsReducedObjectIdFilter `json:"adGroupIdFilter,omitempty"`
	AsinFilter      *SponsoredProductsAsinFilter            `json:"asinFilter,omitempty"`

	// CampaignIdFilter Filter entities by the list of objectIds
	CampaignIdFilter *SponsoredProductsReducedObjectIdFilter `json:"campaignIdFilter,omitempty"`

	// ExpressionTypeFilter Filter entities by ExpressionType
	ExpressionTypeFilter *SponsoredProductsExpressionTypeFilter `json:"expressionTypeFilter,omitempty"`

	// IncludeExtendedDataFields Whether to get entity with extended data fields such as creationDate, lastUpdateDate, servingStatus
	IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"`

	// MaxResults Number of records to include in the paginated response. Defaults to max page size for given API
	MaxResults *int32 `json:"maxResults,omitempty"`

	// NextToken token value allowing to navigate to the next response page
	NextToken *string `json:"nextToken,omitempty"`

	// StateFilter Filter entities by state
	StateFilter *SponsoredProductsEntityStateFilter `json:"stateFilter,omitempty"`

	// TargetIdFilter Filter entities by the list of objectIds
	TargetIdFilter *SponsoredProductsObjectIdFilter `json:"targetIdFilter,omitempty"`
}

SponsoredProductsListSponsoredProductsTargetingClausesRequestContent defines model for SponsoredProductsListSponsoredProductsTargetingClausesRequestContent.

type SponsoredProductsListSponsoredProductsTargetingClausesResponseContent

type SponsoredProductsListSponsoredProductsTargetingClausesResponseContent struct {
	// NextToken token value allowing to navigate to the next response page
	NextToken        *string                             `json:"nextToken,omitempty"`
	TargetingClauses *[]SponsoredProductsTargetingClause `json:"targetingClauses,omitempty"`

	// TotalResults The total number of entities
	TotalResults *int64 `json:"totalResults,omitempty"`
}

SponsoredProductsListSponsoredProductsTargetingClausesResponseContent defines model for SponsoredProductsListSponsoredProductsTargetingClausesResponseContent.

type SponsoredProductsLocaleError

type SponsoredProductsLocaleError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                             `json:"message"`
	Reason  SponsoredProductsLocaleErrorReason `json:"reason"`
}

SponsoredProductsLocaleError defines model for SponsoredProductsLocaleError.

type SponsoredProductsLocaleErrorReason

type SponsoredProductsLocaleErrorReason string

SponsoredProductsLocaleErrorReason defines model for SponsoredProductsLocaleErrorReason.

const (
	INVALIDLOCALE SponsoredProductsLocaleErrorReason = "INVALID_LOCALE"
)

Defines values for SponsoredProductsLocaleErrorReason.

type SponsoredProductsMalformedValueError

type SponsoredProductsMalformedValueError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Fragment fragment of the value which is wrong
	Fragment    *string                       `json:"fragment,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                     `json:"message"`
	Reason  SponsoredProductsMalformedValueErrorReason `json:"reason"`
}

SponsoredProductsMalformedValueError Errors being used to represent malformed values e.g. containing not allowed characters, not following patters etc

type SponsoredProductsMalformedValueErrorReason

type SponsoredProductsMalformedValueErrorReason string

SponsoredProductsMalformedValueErrorReason defines model for SponsoredProductsMalformedValueErrorReason.

const (
	BLANK                       SponsoredProductsMalformedValueErrorReason = "BLANK"
	FORBIDDENCHARS              SponsoredProductsMalformedValueErrorReason = "FORBIDDEN_CHARS"
	LEADINGORTRAILINGWHITESPACE SponsoredProductsMalformedValueErrorReason = "LEADING_OR_TRAILING_WHITESPACE"
	PATTERNNOTMATCHED           SponsoredProductsMalformedValueErrorReason = "PATTERN_NOT_MATCHED"
	TOOLONG                     SponsoredProductsMalformedValueErrorReason = "TOO_LONG"
	TOOSHORT                    SponsoredProductsMalformedValueErrorReason = "TOO_SHORT"
)

Defines values for SponsoredProductsMalformedValueErrorReason.

type SponsoredProductsMarketplace

type SponsoredProductsMarketplace string

SponsoredProductsMarketplace defines model for SponsoredProductsMarketplace.

type SponsoredProductsMatchType

type SponsoredProductsMatchType string

SponsoredProductsMatchType defines model for SponsoredProductsMatchType.

const (
	SponsoredProductsMatchTypeBROAD  SponsoredProductsMatchType = "BROAD"
	SponsoredProductsMatchTypeEXACT  SponsoredProductsMatchType = "EXACT"
	SponsoredProductsMatchTypeOTHER  SponsoredProductsMatchType = "OTHER"
	SponsoredProductsMatchTypePHRASE SponsoredProductsMatchType = "PHRASE"
)

Defines values for SponsoredProductsMatchType.

type SponsoredProductsMissingValueError

type SponsoredProductsMissingValueError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                   `json:"message"`
	Reason  SponsoredProductsMissingValueErrorReason `json:"reason"`
}

SponsoredProductsMissingValueError Error describing missing values in API payloads

type SponsoredProductsMissingValueErrorReason

type SponsoredProductsMissingValueErrorReason string

SponsoredProductsMissingValueErrorReason defines model for SponsoredProductsMissingValueErrorReason.

const (
	MISSINGVALUE SponsoredProductsMissingValueErrorReason = "MISSING_VALUE"
)

Defines values for SponsoredProductsMissingValueErrorReason.

type SponsoredProductsNameFilter

type SponsoredProductsNameFilter struct {
	Include *[]string `json:"include,omitempty"`

	// QueryTermMatchType Match type for query filters.
	// | Value |  Description |
	// |-----------|------------|
	// | `BROAD_MATCH` | Match if the queried value contains the filter value. (substring matching) |
	// | `EXACT_MATCH` | Match if the queried value is exactly equivalent to the filter value. |
	QueryTermMatchType *SponsoredProductsQueryTermMatchType `json:"queryTermMatchType,omitempty"`
}

SponsoredProductsNameFilter Filter entities by name

type SponsoredProductsNegativeKeyword

type SponsoredProductsNegativeKeyword struct {
	// AdGroupId The identifier of the ad group to which this keyword is associated.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The identifier of the campaign to which the keyword is associated.
	CampaignId   string                                        `json:"campaignId"`
	ExtendedData *SponsoredProductsNegativeKeywordExtendedData `json:"extendedData,omitempty"`

	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// KeywordText The keyword text.
	KeywordText string                             `json:"keywordText"`
	MatchType   SponsoredProductsNegativeMatchType `json:"matchType"`

	// NativeLanguageKeyword The unlocalized keyword text in the preferred locale of the advertiser
	NativeLanguageKeyword *string `json:"nativeLanguageKeyword,omitempty"`

	// NativeLanguageLocale The locale preference of the advertiser.
	NativeLanguageLocale *string `json:"nativeLanguageLocale,omitempty"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`
}

SponsoredProductsNegativeKeyword defines model for SponsoredProductsNegativeKeyword.

type SponsoredProductsNegativeKeywordAccessError

type SponsoredProductsNegativeKeywordAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                              `json:"errorType"`
	ErrorValue SponsoredProductsNegativeKeywordAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsNegativeKeywordAccessError defines model for SponsoredProductsNegativeKeywordAccessError.

type SponsoredProductsNegativeKeywordAccessErrorSelector

type SponsoredProductsNegativeKeywordAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsNegativeKeywordAccessErrorSelector defines model for SponsoredProductsNegativeKeywordAccessErrorSelector.

type SponsoredProductsNegativeKeywordAccessExceptionResponseContent

type SponsoredProductsNegativeKeywordAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode      `json:"code"`
	Errors *[]SponsoredProductsNegativeKeywordAccessError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsNegativeKeywordAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsNegativeKeywordExtendedData

type SponsoredProductsNegativeKeywordExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the Keyword
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsNegativeKeywordExtendedData defines model for SponsoredProductsNegativeKeywordExtendedData.

type SponsoredProductsNegativeKeywordFailureResponseItem

type SponsoredProductsNegativeKeywordFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsNegativeKeywordMutationError `json:"errors,omitempty"`

	// Index the index of the negativeKeyword in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsNegativeKeywordFailureResponseItem defines model for SponsoredProductsNegativeKeywordFailureResponseItem.

type SponsoredProductsNegativeKeywordMutationError

type SponsoredProductsNegativeKeywordMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                                `json:"errorType"`
	ErrorValue SponsoredProductsNegativeKeywordMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsNegativeKeywordMutationError defines model for SponsoredProductsNegativeKeywordMutationError.

type SponsoredProductsNegativeKeywordMutationErrorSelector

type SponsoredProductsNegativeKeywordMutationErrorSelector struct {
	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// TargetingClauseSetupError Errors related to targeting clause setup
	TargetingClauseSetupError *SponsoredProductsTargetingClauseSetupError `json:"targetingClauseSetupError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsNegativeKeywordMutationErrorSelector defines model for SponsoredProductsNegativeKeywordMutationErrorSelector.

type SponsoredProductsNegativeKeywordMutationExceptionResponseContent

type SponsoredProductsNegativeKeywordMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode        `json:"code"`
	Errors *[]SponsoredProductsNegativeKeywordMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsNegativeKeywordMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsNegativeKeywordSuccessResponseItem

type SponsoredProductsNegativeKeywordSuccessResponseItem struct {
	// Index the index of the negativeKeyword in the array from the request body
	Index           int32                             `json:"index"`
	NegativeKeyword *SponsoredProductsNegativeKeyword `json:"negativeKeyword,omitempty"`

	// NegativeKeywordId the negativeKeyword ID
	NegativeKeywordId *string `json:"negativeKeywordId,omitempty"`
}

SponsoredProductsNegativeKeywordSuccessResponseItem defines model for SponsoredProductsNegativeKeywordSuccessResponseItem.

type SponsoredProductsNegativeMatchType

type SponsoredProductsNegativeMatchType string

SponsoredProductsNegativeMatchType defines model for SponsoredProductsNegativeMatchType.

const (
	SponsoredProductsNegativeMatchTypeNEGATIVEBROAD  SponsoredProductsNegativeMatchType = "NEGATIVE_BROAD"
	SponsoredProductsNegativeMatchTypeNEGATIVEEXACT  SponsoredProductsNegativeMatchType = "NEGATIVE_EXACT"
	SponsoredProductsNegativeMatchTypeNEGATIVEPHRASE SponsoredProductsNegativeMatchType = "NEGATIVE_PHRASE"
	SponsoredProductsNegativeMatchTypeOTHER          SponsoredProductsNegativeMatchType = "OTHER"
)

Defines values for SponsoredProductsNegativeMatchType.

type SponsoredProductsNegativeTargetAccessError

type SponsoredProductsNegativeTargetAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                             `json:"errorType"`
	ErrorValue SponsoredProductsNegativeTargetAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsNegativeTargetAccessError defines model for SponsoredProductsNegativeTargetAccessError.

type SponsoredProductsNegativeTargetAccessErrorSelector

type SponsoredProductsNegativeTargetAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsNegativeTargetAccessErrorSelector defines model for SponsoredProductsNegativeTargetAccessErrorSelector.

type SponsoredProductsNegativeTargetAccessExceptionResponseContent

type SponsoredProductsNegativeTargetAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode     `json:"code"`
	Errors *[]SponsoredProductsNegativeTargetAccessError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsNegativeTargetAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsNegativeTargetMutationError

type SponsoredProductsNegativeTargetMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                               `json:"errorType"`
	ErrorValue SponsoredProductsNegativeTargetMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsNegativeTargetMutationError defines model for SponsoredProductsNegativeTargetMutationError.

type SponsoredProductsNegativeTargetMutationErrorSelector

type SponsoredProductsNegativeTargetMutationErrorSelector struct {
	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// TargetingClauseSetupError Errors related to targeting clause setup
	TargetingClauseSetupError *SponsoredProductsTargetingClauseSetupError `json:"targetingClauseSetupError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsNegativeTargetMutationErrorSelector defines model for SponsoredProductsNegativeTargetMutationErrorSelector.

type SponsoredProductsNegativeTargetMutationExceptionResponseContent

type SponsoredProductsNegativeTargetMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode       `json:"code"`
	Errors *[]SponsoredProductsNegativeTargetMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsNegativeTargetMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsNegativeTargetingClause

type SponsoredProductsNegativeTargetingClause struct {
	// AdGroupId The identifier of the ad group to which this target is associated.
	AdGroupId string `json:"adGroupId"`

	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The NegativeTargeting expression.
	Expression   []SponsoredProductsNegativeTargetingExpressionPredicate `json:"expression"`
	ExtendedData *SponsoredProductsNegativeTargetingClauseExtendedData   `json:"extendedData,omitempty"`

	// ResolvedExpression The resolved NegativeTargeting expression.
	ResolvedExpression []SponsoredProductsNegativeTargetingExpressionPredicate `json:"resolvedExpression"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsNegativeTargetingClause defines model for SponsoredProductsNegativeTargetingClause.

type SponsoredProductsNegativeTargetingClauseExtendedData

type SponsoredProductsNegativeTargetingClauseExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the NegativeTargetingClause
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsNegativeTargetingClauseExtendedData defines model for SponsoredProductsNegativeTargetingClauseExtendedData.

type SponsoredProductsNegativeTargetingClauseFailureResponseItem

type SponsoredProductsNegativeTargetingClauseFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsNegativeTargetMutationError `json:"errors,omitempty"`

	// Index the index of the NegativeTargetingClause in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsNegativeTargetingClauseFailureResponseItem defines model for SponsoredProductsNegativeTargetingClauseFailureResponseItem.

type SponsoredProductsNegativeTargetingClauseSuccessResponseItem

type SponsoredProductsNegativeTargetingClauseSuccessResponseItem struct {
	// Index the index of the NegativeTargetingClause in the array from the request body
	Index                   int32                                     `json:"index"`
	NegativeTargetingClause *SponsoredProductsNegativeTargetingClause `json:"negativeTargetingClause,omitempty"`

	// TargetId the NegativeTargetingClause ID
	TargetId *string `json:"targetId,omitempty"`
}

SponsoredProductsNegativeTargetingClauseSuccessResponseItem defines model for SponsoredProductsNegativeTargetingClauseSuccessResponseItem.

type SponsoredProductsNegativeTargetingExpressionPredicate

type SponsoredProductsNegativeTargetingExpressionPredicate struct {
	// Type The type of nagative targeting expression. You can only specify values for the following predicates:
	// | Predicate | Description |
	// | --- | --- |
	// | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. |
	// | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |
	// | `OTHER` | Other Type.   |
	Type *SponsoredProductsNegativeTargetingExpressionPredicateType `json:"type,omitempty"`

	// Value The expression value
	Value *string `json:"value,omitempty"`
}

SponsoredProductsNegativeTargetingExpressionPredicate defines model for SponsoredProductsNegativeTargetingExpressionPredicate.

type SponsoredProductsNegativeTargetingExpressionPredicateType

type SponsoredProductsNegativeTargetingExpressionPredicateType string

SponsoredProductsNegativeTargetingExpressionPredicateType The type of nagative targeting expression. You can only specify values for the following predicates: | Predicate | Description | | --- | --- | | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. | | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. | | `OTHER` | Other Type. |

const (
	SponsoredProductsNegativeTargetingExpressionPredicateTypeASINBRANDSAMEAS SponsoredProductsNegativeTargetingExpressionPredicateType = "ASIN_BRAND_SAME_AS"
	SponsoredProductsNegativeTargetingExpressionPredicateTypeASINSAMEAS      SponsoredProductsNegativeTargetingExpressionPredicateType = "ASIN_SAME_AS"
	SponsoredProductsNegativeTargetingExpressionPredicateTypeOTHER           SponsoredProductsNegativeTargetingExpressionPredicateType = "OTHER"
)

Defines values for SponsoredProductsNegativeTargetingExpressionPredicateType.

type SponsoredProductsObjectIdFilter

type SponsoredProductsObjectIdFilter struct {
	Include []string `json:"include"`
}

SponsoredProductsObjectIdFilter Filter entities by the list of objectIds

type SponsoredProductsOtherError

type SponsoredProductsOtherError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                            `json:"message"`
	Reason  SponsoredProductsOtherErrorReason `json:"reason"`
}

SponsoredProductsOtherError Errors not related to any of the other error types

type SponsoredProductsOtherErrorReason

type SponsoredProductsOtherErrorReason string

SponsoredProductsOtherErrorReason defines model for SponsoredProductsOtherErrorReason.

const (
	OTHERERROR SponsoredProductsOtherErrorReason = "OTHER_ERROR"
)

Defines values for SponsoredProductsOtherErrorReason.

type SponsoredProductsParentEntityError

type SponsoredProductsParentEntityError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                   `json:"message"`
	Reason  SponsoredProductsParentEntityErrorReason `json:"reason"`
}

SponsoredProductsParentEntityError Errors related to parent entity

type SponsoredProductsParentEntityErrorReason

type SponsoredProductsParentEntityErrorReason string

SponsoredProductsParentEntityErrorReason defines model for SponsoredProductsParentEntityErrorReason.

const (
	PARENTENTITYARCHIVED                       SponsoredProductsParentEntityErrorReason = "PARENT_ENTITY_ARCHIVED"
	PARENTENTITYDOESNOTTARGETTHESEMARKETPLACES SponsoredProductsParentEntityErrorReason = "PARENT_ENTITY_DOES_NOT_TARGET_THESE_MARKETPLACES"
	PARENTENTITYNOTFOUND                       SponsoredProductsParentEntityErrorReason = "PARENT_ENTITY_NOT_FOUND"
)

Defines values for SponsoredProductsParentEntityErrorReason.

type SponsoredProductsPlacement

type SponsoredProductsPlacement string

SponsoredProductsPlacement You can enable controls to adjust your bid based on the placement location. Specify a location where you want to use bid controls. The percentage value set is the percentage of the original bid for which you want to have your bid adjustment increased. For example, a 50% adjustment on a $1.00 bid would increase the bid to $1.50 for the opportunity to win a specified placement. | Predicate | Placement | |-----------|------------| | `PLACEMENT_TOP` | Top of search (first page) | | `PLACEMENT_PRODUCT_PAGE` | Product pages | | `PLACEMENT_REST_OF_SEARCH` | Rest of the search (read only) |

const (
	SponsoredProductsPlacementPLACEMENTPRODUCTPAGE  SponsoredProductsPlacement = "PLACEMENT_PRODUCT_PAGE"
	SponsoredProductsPlacementPLACEMENTRESTOFSEARCH SponsoredProductsPlacement = "PLACEMENT_REST_OF_SEARCH"
	SponsoredProductsPlacementPLACEMENTTOP          SponsoredProductsPlacement = "PLACEMENT_TOP"
)

Defines values for SponsoredProductsPlacement.

type SponsoredProductsPlacementBidding

type SponsoredProductsPlacementBidding struct {
	Percentage *int32 `json:"percentage,omitempty"`

	// Placement You can enable controls to adjust your bid based on the placement location. Specify a location where you want to use bid controls. The percentage value set is the percentage of the original bid for which you want to have your bid adjustment increased. For example, a 50% adjustment on a $1.00 bid would increase the bid to $1.50 for the opportunity to win a specified placement.
	// | Predicate |  Placement |
	// |-----------|------------|
	// | `PLACEMENT_TOP` | Top of search (first page) |
	// | `PLACEMENT_PRODUCT_PAGE` | Product pages |
	// | `PLACEMENT_REST_OF_SEARCH` | Rest of the search (read only) |
	Placement *SponsoredProductsPlacement `json:"placement,omitempty"`
}

SponsoredProductsPlacementBidding defines model for SponsoredProductsPlacementBidding.

type SponsoredProductsProductAd

type SponsoredProductsProductAd struct {
	// AdGroupId The ad group identifier.
	AdGroupId string `json:"adGroupId"`

	// AdId The product ad identifier.
	AdId string `json:"adId"`

	// Asin The ASIN associated with the product. Defined for vendors only.
	Asin *string `json:"asin,omitempty"`

	// CampaignId The campaign identifier.
	CampaignId string `json:"campaignId"`

	// CustomText The custom text that is associated with this ad. Defined for custom text ads only.
	CustomText   *string                                 `json:"customText,omitempty"`
	ExtendedData *SponsoredProductsProductAdExtendedData `json:"extendedData,omitempty"`

	// Sku The SKU associated with the product. Defined for seller accounts only.
	Sku *string `json:"sku,omitempty"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`
}

SponsoredProductsProductAd defines model for SponsoredProductsProductAd.

type SponsoredProductsProductAdAccessError

type SponsoredProductsProductAdAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                        `json:"errorType"`
	ErrorValue SponsoredProductsProductAdAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsProductAdAccessError defines model for SponsoredProductsProductAdAccessError.

type SponsoredProductsProductAdAccessErrorSelector

type SponsoredProductsProductAdAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsProductAdAccessErrorSelector defines model for SponsoredProductsProductAdAccessErrorSelector.

type SponsoredProductsProductAdAccessExceptionResponseContent

type SponsoredProductsProductAdAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsProductAdAccessError  `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsProductAdAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsProductAdExtendedData

type SponsoredProductsProductAdExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                        `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsAdServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the Ad
	ServingStatusDetails *[]SponsoredProductsAdServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsProductAdExtendedData defines model for SponsoredProductsProductAdExtendedData.

type SponsoredProductsProductAdFailureResponseItem

type SponsoredProductsProductAdFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsProductAdMutationError `json:"errors,omitempty"`

	// Index the index of the product ad in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsProductAdFailureResponseItem defines model for SponsoredProductsProductAdFailureResponseItem.

type SponsoredProductsProductAdMutationError

type SponsoredProductsProductAdMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                          `json:"errorType"`
	ErrorValue SponsoredProductsProductAdMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsProductAdMutationError defines model for SponsoredProductsProductAdMutationError.

type SponsoredProductsProductAdMutationErrorSelector

type SponsoredProductsProductAdMutationErrorSelector struct {
	// AdEligibilityError Errors related to ad eligibility
	AdEligibilityError *SponsoredProductsAdEligibilityError `json:"adEligibilityError,omitempty"`

	// AsinOwnershipError Errors related to author asin ownership
	AsinOwnershipError *SponsoredProductsAsinOwnershipError `json:"asinOwnershipError,omitempty"`

	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError *SponsoredProductsEntityStateError `json:"entityStateError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// ProductIdentifierError Errors related to product identifiers
	ProductIdentifierError *SponsoredProductsProductIdentifierError `json:"productIdentifierError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`

	// UnsupportedOperationError Errors being used to represent an unsupported operation
	// e.g. Seller are not supported to create custom text product ads.
	UnsupportedOperationError *SponsoredProductsUnsupportedOperationError `json:"unsupportedOperationError,omitempty"`
}

SponsoredProductsProductAdMutationErrorSelector defines model for SponsoredProductsProductAdMutationErrorSelector.

type SponsoredProductsProductAdMutationExceptionResponseContent

type SponsoredProductsProductAdMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode  `json:"code"`
	Errors *[]SponsoredProductsProductAdMutationError `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsProductAdMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsProductAdSuccessResponseItem

type SponsoredProductsProductAdSuccessResponseItem struct {
	// AdId the ProductAd ID
	AdId *string `json:"adId,omitempty"`

	// Index The index in the original list from the request.
	Index     int32                       `json:"index"`
	ProductAd *SponsoredProductsProductAd `json:"productAd,omitempty"`
}

SponsoredProductsProductAdSuccessResponseItem defines model for SponsoredProductsProductAdSuccessResponseItem.

type SponsoredProductsProductIdentifierError

type SponsoredProductsProductIdentifierError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                        `json:"message"`
	Reason  SponsoredProductsProductIdentifierErrorReason `json:"reason"`
}

SponsoredProductsProductIdentifierError Errors related to product identifiers

type SponsoredProductsProductIdentifierErrorReason

type SponsoredProductsProductIdentifierErrorReason string

SponsoredProductsProductIdentifierErrorReason defines model for SponsoredProductsProductIdentifierErrorReason.

const (
	INVALIDASIN SponsoredProductsProductIdentifierErrorReason = "INVALID_ASIN"
	INVALIDSKU  SponsoredProductsProductIdentifierErrorReason = "INVALID_SKU"
)

Defines values for SponsoredProductsProductIdentifierErrorReason.

type SponsoredProductsQueryTermMatchType

type SponsoredProductsQueryTermMatchType string

SponsoredProductsQueryTermMatchType Match type for query filters. | Value | Description | |-----------|------------| | `BROAD_MATCH` | Match if the queried value contains the filter value. (substring matching) | | `EXACT_MATCH` | Match if the queried value is exactly equivalent to the filter value. |

const (
	BROADMATCH SponsoredProductsQueryTermMatchType = "BROAD_MATCH"
	EXACTMATCH SponsoredProductsQueryTermMatchType = "EXACT_MATCH"
)

Defines values for SponsoredProductsQueryTermMatchType.

type SponsoredProductsQuotaErrorReason

type SponsoredProductsQuotaErrorReason string

SponsoredProductsQuotaErrorReason defines model for SponsoredProductsQuotaErrorReason.

const (
	NONARCHIVEDQUOTAEXCEEDED SponsoredProductsQuotaErrorReason = "NON_ARCHIVED_QUOTA_EXCEEDED"
	QUOTAEXCEEDED            SponsoredProductsQuotaErrorReason = "QUOTA_EXCEEDED"
)

Defines values for SponsoredProductsQuotaErrorReason.

type SponsoredProductsQuotaScope

type SponsoredProductsQuotaScope string

SponsoredProductsQuotaScope defines model for SponsoredProductsQuotaScope.

const (
	ACCOUNT      SponsoredProductsQuotaScope = "ACCOUNT"
	PARENTENTITY SponsoredProductsQuotaScope = "PARENT_ENTITY"
)

Defines values for SponsoredProductsQuotaScope.

type SponsoredProductsRangeError

type SponsoredProductsRangeError struct {
	// Allowed allowed values
	Allowed *[]string `json:"allowed,omitempty"`

	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// LowerLimit optional lower limit
	LowerLimit  *string                       `json:"lowerLimit,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                 `json:"message"`
	Reason  SponsoredProductsValueLimitErrorReason `json:"reason"`

	// UpperLimit optional upper limit
	UpperLimit *string `json:"upperLimit,omitempty"`
}

SponsoredProductsRangeError Errors related to range constraints violations

type SponsoredProductsReducedObjectIdFilter

type SponsoredProductsReducedObjectIdFilter struct {
	Include []string `json:"include"`
}

SponsoredProductsReducedObjectIdFilter Filter entities by the list of objectIds

type SponsoredProductsTags

type SponsoredProductsTags map[string]string

SponsoredProductsTags A list of advertiser-specified custom identifiers for the campaign. Each customer identifier is a key-value pair. You can specify a maximum of 50 identifiers.

type SponsoredProductsTargetAccessError

type SponsoredProductsTargetAccessError struct {
	// ErrorType The type of the error
	ErrorType  string                                     `json:"errorType"`
	ErrorValue SponsoredProductsTargetAccessErrorSelector `json:"errorValue"`
}

SponsoredProductsTargetAccessError defines model for SponsoredProductsTargetAccessError.

type SponsoredProductsTargetAccessErrorSelector

type SponsoredProductsTargetAccessErrorSelector struct {
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// InvalidInputError Errors related to ad eligibility
	InvalidInputError *SponsoredProductsInvalidInputError `json:"invalidInputError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsTargetAccessErrorSelector defines model for SponsoredProductsTargetAccessErrorSelector.

type SponsoredProductsTargetAccessExceptionResponseContent

type SponsoredProductsTargetAccessExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsTargetAccessError     `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsTargetAccessExceptionResponseContent Exception resulting in accessing campaign management entities

type SponsoredProductsTargetMutationError

type SponsoredProductsTargetMutationError struct {
	// ErrorType The type of the error
	ErrorType  string                                       `json:"errorType"`
	ErrorValue SponsoredProductsTargetMutationErrorSelector `json:"errorValue"`
}

SponsoredProductsTargetMutationError defines model for SponsoredProductsTargetMutationError.

type SponsoredProductsTargetMutationErrorSelector

type SponsoredProductsTargetMutationErrorSelector struct {
	// BiddingError Errors related to bids
	BiddingError *SponsoredProductsBiddingError `json:"biddingError,omitempty"`

	// BillingError Errors related to bids
	BillingError        *SponsoredProductsBillingError        `json:"billingError,omitempty"`
	DuplicateValueError *SponsoredProductsDuplicateValueError `json:"duplicateValueError,omitempty"`
	EntityNotFoundError *SponsoredProductsEntityNotFoundError `json:"entityNotFoundError,omitempty"`

	// EntityQuotaError Errors related to exceeding quota in campaign management service
	EntityQuotaError *SponsoredProductsEntityQuotaError `json:"entityQuotaError,omitempty"`

	// EntityStateError entity state update errors
	EntityStateError    *SponsoredProductsEntityStateError    `json:"entityStateError,omitempty"`
	ExpressionTypeError *SponsoredProductsExpressionTypeError `json:"expressionTypeError,omitempty"`

	// InternalServerError Error that represents non-retryable API service error. Sending the same request will result in another error.
	InternalServerError *SponsoredProductsInternalServerError `json:"internalServerError,omitempty"`

	// MalformedValueError Errors being used to represent malformed values
	// e.g. containing not allowed characters, not following patters etc
	MalformedValueError *SponsoredProductsMalformedValueError `json:"malformedValueError,omitempty"`

	// MissingValueError Error describing missing values in API payloads
	MissingValueError *SponsoredProductsMissingValueError `json:"missingValueError,omitempty"`

	// OtherError Errors not related to any of the other error types
	OtherError *SponsoredProductsOtherError `json:"otherError,omitempty"`

	// ParentEntityError Errors related to parent entity
	ParentEntityError *SponsoredProductsParentEntityError `json:"parentEntityError,omitempty"`

	// RangeError Errors related to range constraints violations
	RangeError *SponsoredProductsRangeError `json:"rangeError,omitempty"`

	// TargetingClauseSetupError Errors related to targeting clause setup
	TargetingClauseSetupError *SponsoredProductsTargetingClauseSetupError `json:"targetingClauseSetupError,omitempty"`

	// ThrottledError Error that represents failure due to API caller exceeding allowed service limits.
	ThrottledError *SponsoredProductsThrottledError `json:"throttledError,omitempty"`
}

SponsoredProductsTargetMutationErrorSelector defines model for SponsoredProductsTargetMutationErrorSelector.

type SponsoredProductsTargetMutationExceptionResponseContent

type SponsoredProductsTargetMutationExceptionResponseContent struct {
	Code   SponsoredProductsInvalidArgumentErrorCode `json:"code"`
	Errors *[]SponsoredProductsTargetMutationError   `json:"errors,omitempty"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsTargetMutationExceptionResponseContent Exception resulting in mutating campaign management entities

type SponsoredProductsTargetingClause

type SponsoredProductsTargetingClause struct {
	// AdGroupId The identifier of the ad group to which this target is associated.
	AdGroupId string `json:"adGroupId"`

	// Bid The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid,omitempty"`

	// CampaignId The identifier of the campaign to which this target is associated.
	CampaignId string `json:"campaignId"`

	// Expression The targeting expression.
	Expression     []SponsoredProductsTargetingExpressionPredicate `json:"expression"`
	ExpressionType SponsoredProductsExpressionType                 `json:"expressionType"`
	ExtendedData   *SponsoredProductsTargetingClauseExtendedData   `json:"extendedData,omitempty"`

	// ResolvedExpression The resolved targeting expression.
	ResolvedExpression []SponsoredProductsTargetingExpressionPredicate `json:"resolvedExpression"`

	// State The current resource state.
	// | State | Description |
	// | --- | --- |
	// | `ENABLED` | Enabled State |
	// | `PAUSED` | Paused State |
	// | `ARCHIVED` | ARCHIVED State |
	// | `ENABLING` | State for Draft Entity Only |
	// | `USER_DELETED` | State for Draft Entity Only |
	// | `OTHER` | Read Only |
	State SponsoredProductsEntityState `json:"state"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsTargetingClause defines model for SponsoredProductsTargetingClause.

type SponsoredProductsTargetingClauseExtendedData

type SponsoredProductsTargetingClauseExtendedData struct {
	// CreationDateTime Creation date in ISO 8601.
	CreationDateTime *time.Time `json:"creationDateTime,omitempty"`

	// LastUpdateDateTime Last updated date in ISO 8601.
	LastUpdateDateTime *time.Time                             `json:"lastUpdateDateTime,omitempty"`
	ServingStatus      *SponsoredProductsKeywordServingStatus `json:"servingStatus,omitempty"`

	// ServingStatusDetails The serving status reasons of the TargetingClause
	ServingStatusDetails *[]SponsoredProductsKeywordServingStatusDetail `json:"servingStatusDetails,omitempty"`
}

SponsoredProductsTargetingClauseExtendedData defines model for SponsoredProductsTargetingClauseExtendedData.

type SponsoredProductsTargetingClauseFailureResponseItem

type SponsoredProductsTargetingClauseFailureResponseItem struct {
	// Errors A list of validation errors
	Errors *[]SponsoredProductsTargetMutationError `json:"errors,omitempty"`

	// Index the index of the targetingClause in the array from the request body
	Index int32 `json:"index"`
}

SponsoredProductsTargetingClauseFailureResponseItem defines model for SponsoredProductsTargetingClauseFailureResponseItem.

type SponsoredProductsTargetingClauseSetupError

type SponsoredProductsTargetingClauseSetupError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause       *SponsoredProductsErrorCause  `json:"cause,omitempty"`
	Marketplace *SponsoredProductsMarketplace `json:"marketplace,omitempty"`

	// Message Human readable error message
	Message string                                           `json:"message"`
	Reason  SponsoredProductsTargetingClauseSetupErrorReason `json:"reason"`
}

SponsoredProductsTargetingClauseSetupError Errors related to targeting clause setup

type SponsoredProductsTargetingClauseSetupErrorReason

type SponsoredProductsTargetingClauseSetupErrorReason string

SponsoredProductsTargetingClauseSetupErrorReason defines model for SponsoredProductsTargetingClauseSetupErrorReason.

const (
	AUTOTARGETINGCLAUSECANNOTBECREATEDMANUALLY      SponsoredProductsTargetingClauseSetupErrorReason = "AUTO_TARGETING_CLAUSE_CANNOT_BE_CREATED_MANUALLY"
	TARGETINGEXPRESSIONINVALIDVALUE                 SponsoredProductsTargetingClauseSetupErrorReason = "TARGETING_EXPRESSION_INVALID_VALUE"
	TARGETINGTYPENOTALLOWEDFORAUTOTARGETINGCAMPAIGN SponsoredProductsTargetingClauseSetupErrorReason = "TARGETING_TYPE_NOT_ALLOWED_FOR_AUTO_TARGETING_CAMPAIGN"
	TYPECONFLICTINADGROUP                           SponsoredProductsTargetingClauseSetupErrorReason = "TYPE_CONFLICT_IN_AD_GROUP"
)

Defines values for SponsoredProductsTargetingClauseSetupErrorReason.

type SponsoredProductsTargetingClauseSuccessResponseItem

type SponsoredProductsTargetingClauseSuccessResponseItem struct {
	// Index the index of the targetingClause in the array from the request body
	Index int32 `json:"index"`

	// TargetId the targetingClause ID
	TargetId        *string                           `json:"targetId,omitempty"`
	TargetingClause *SponsoredProductsTargetingClause `json:"targetingClause,omitempty"`
}

SponsoredProductsTargetingClauseSuccessResponseItem defines model for SponsoredProductsTargetingClauseSuccessResponseItem.

type SponsoredProductsTargetingExpressionPredicate

type SponsoredProductsTargetingExpressionPredicate struct {
	// Type The type of targeting expression. You can specify values for the following predicates:
	// | Predicate | Description |
	// | --- | --- |
	// | `QUERY_BROAD_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Loose match` target type in the UI, this will show your ad to shoppers who use search terms loosely related to your products.|
	// | `QUERY_HIGH_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Close match` target type in the UI, this will show your ad to shoppers who use search terms closely related to your products.|
	// | `ASIN_ACCESSORY_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Complements` target type in the UI, this will show your ad to shoppers who view the detail pages of products that complement your product.|
	// | `ASIN_SUBSTITUTE_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Substitutes` target type in the UI, this will show your ad to shoppers who use detail pages of products similar to yours.|
	// | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed |
	// | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. |
	// | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. |
	// | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. |
	// | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. |
	// | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. |
	// | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. |
	// | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. |
	// | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |
	// | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. |
	// | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. |
	// | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only.   |
	// | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed.   |
	// | `OTHER` | Other Type.   |
	Type *SponsoredProductsTargetingExpressionPredicateType `json:"type,omitempty"`

	// Value The expression value
	Value *string `json:"value,omitempty"`
}

SponsoredProductsTargetingExpressionPredicate defines model for SponsoredProductsTargetingExpressionPredicate.

type SponsoredProductsTargetingExpressionPredicateType

type SponsoredProductsTargetingExpressionPredicateType string

SponsoredProductsTargetingExpressionPredicateType The type of targeting expression. You can specify values for the following predicates: | Predicate | Description | | --- | --- | | `QUERY_BROAD_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Loose match` target type in the UI, this will show your ad to shoppers who use search terms loosely related to your products.| | `QUERY_HIGH_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Close match` target type in the UI, this will show your ad to shoppers who use search terms closely related to your products.| | `ASIN_ACCESSORY_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Complements` target type in the UI, this will show your ad to shoppers who view the detail pages of products that complement your product.| | `ASIN_SUBSTITUTE_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Substitutes` target type in the UI, this will show your ad to shoppers who use detail pages of products similar to yours.| | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed | | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. | | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. | | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. | | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. | | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. | | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. | | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. | | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. | | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. | | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. | | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only. | | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed. | | `OTHER` | Other Type. |

const (
	SponsoredProductsTargetingExpressionPredicateTypeASINACCESSORYRELATED        SponsoredProductsTargetingExpressionPredicateType = "ASIN_ACCESSORY_RELATED"
	SponsoredProductsTargetingExpressionPredicateTypeASINAGERANGESAMEAS          SponsoredProductsTargetingExpressionPredicateType = "ASIN_AGE_RANGE_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeASINBRANDSAMEAS             SponsoredProductsTargetingExpressionPredicateType = "ASIN_BRAND_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeASINCATEGORYSAMEAS          SponsoredProductsTargetingExpressionPredicateType = "ASIN_CATEGORY_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeASINEXPANDEDFROM            SponsoredProductsTargetingExpressionPredicateType = "ASIN_EXPANDED_FROM"
	SponsoredProductsTargetingExpressionPredicateTypeASINGENRESAMEAS             SponsoredProductsTargetingExpressionPredicateType = "ASIN_GENRE_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeASINISPRIMESHIPPINGELIGIBLE SponsoredProductsTargetingExpressionPredicateType = "ASIN_IS_PRIME_SHIPPING_ELIGIBLE"
	SponsoredProductsTargetingExpressionPredicateTypeASINPRICEBETWEEN            SponsoredProductsTargetingExpressionPredicateType = "ASIN_PRICE_BETWEEN"
	SponsoredProductsTargetingExpressionPredicateTypeASINPRICEGREATERTHAN        SponsoredProductsTargetingExpressionPredicateType = "ASIN_PRICE_GREATER_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeASINPRICELESSTHAN           SponsoredProductsTargetingExpressionPredicateType = "ASIN_PRICE_LESS_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeASINREVIEWRATINGBETWEEN     SponsoredProductsTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_BETWEEN"
	SponsoredProductsTargetingExpressionPredicateTypeASINREVIEWRATINGGREATERTHAN SponsoredProductsTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_GREATER_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeASINREVIEWRATINGLESSTHAN    SponsoredProductsTargetingExpressionPredicateType = "ASIN_REVIEW_RATING_LESS_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeASINSAMEAS                  SponsoredProductsTargetingExpressionPredicateType = "ASIN_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeASINSUBSTITUTERELATED       SponsoredProductsTargetingExpressionPredicateType = "ASIN_SUBSTITUTE_RELATED"
	SponsoredProductsTargetingExpressionPredicateTypeOTHER                       SponsoredProductsTargetingExpressionPredicateType = "OTHER"
	SponsoredProductsTargetingExpressionPredicateTypeQUERYBROADRELMATCHES        SponsoredProductsTargetingExpressionPredicateType = "QUERY_BROAD_REL_MATCHES"
	SponsoredProductsTargetingExpressionPredicateTypeQUERYHIGHRELMATCHES         SponsoredProductsTargetingExpressionPredicateType = "QUERY_HIGH_REL_MATCHES"
)

Defines values for SponsoredProductsTargetingExpressionPredicateType.

type SponsoredProductsTargetingExpressionPredicateTypeWithoutOther

type SponsoredProductsTargetingExpressionPredicateTypeWithoutOther string

SponsoredProductsTargetingExpressionPredicateTypeWithoutOther The type of targeting expression. You can specify values for the following predicates: | Predicate | Description | | --- | --- | | `QUERY_BROAD_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Loose match` target type in the UI, this will show your ad to shoppers who use search terms loosely related to your products.| | `QUERY_HIGH_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Close match` target type in the UI, this will show your ad to shoppers who use search terms closely related to your products.| | `ASIN_ACCESSORY_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Complements` target type in the UI, this will show your ad to shoppers who view the detail pages of products that complement your product.| | `ASIN_SUBSTITUTE_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Substitutes` target type in the UI, this will show your ad to shoppers who use detail pages of products similar to yours.| | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed | | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. | | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. | | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. | | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. | | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. | | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. | | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. | | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. | | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. | | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. | | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only. | | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed. | | `OTHER` | Other Type. |

const (
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINACCESSORYRELATED        SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_ACCESSORY_RELATED"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINAGERANGESAMEAS          SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_AGE_RANGE_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINBRANDSAMEAS             SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_BRAND_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINCATEGORYSAMEAS          SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_CATEGORY_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINEXPANDEDFROM            SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_EXPANDED_FROM"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINGENRESAMEAS             SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_GENRE_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINISPRIMESHIPPINGELIGIBLE SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_IS_PRIME_SHIPPING_ELIGIBLE"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINPRICEBETWEEN            SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_PRICE_BETWEEN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINPRICEGREATERTHAN        SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_PRICE_GREATER_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINPRICELESSTHAN           SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_PRICE_LESS_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINREVIEWRATINGBETWEEN     SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_REVIEW_RATING_BETWEEN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINREVIEWRATINGGREATERTHAN SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_REVIEW_RATING_GREATER_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINREVIEWRATINGLESSTHAN    SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_REVIEW_RATING_LESS_THAN"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINSAMEAS                  SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_SAME_AS"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherASINSUBSTITUTERELATED       SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "ASIN_SUBSTITUTE_RELATED"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherQUERYBROADRELMATCHES        SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "QUERY_BROAD_REL_MATCHES"
	SponsoredProductsTargetingExpressionPredicateTypeWithoutOtherQUERYHIGHRELMATCHES         SponsoredProductsTargetingExpressionPredicateTypeWithoutOther = "QUERY_HIGH_REL_MATCHES"
)

Defines values for SponsoredProductsTargetingExpressionPredicateTypeWithoutOther.

type SponsoredProductsTargetingExpressionPredicateWithoutOther

type SponsoredProductsTargetingExpressionPredicateWithoutOther struct {
	// Type The type of targeting expression. You can specify values for the following predicates:
	// | Predicate | Description |
	// | --- | --- |
	// | `QUERY_BROAD_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Loose match` target type in the UI, this will show your ad to shoppers who use search terms loosely related to your products.|
	// | `QUERY_HIGH_REL_MATCHES` | Auto Targeting - cannot be manually created - corresponds to the `Close match` target type in the UI, this will show your ad to shoppers who use search terms closely related to your products.|
	// | `ASIN_ACCESSORY_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Complements` target type in the UI, this will show your ad to shoppers who view the detail pages of products that complement your product.|
	// | `ASIN_SUBSTITUTE_RELATED` | Auto Targeting - cannot be manually created - corresponds to the `Substitutes` target type in the UI, this will show your ad to shoppers who use detail pages of products similar to yours.|
	// | `ASIN_CATEGORY_SAME_AS` | Target the category that is the same as the category expressed |
	// | `ASIN_BRAND_SAME_AS` | Target the brand that is the same as the brand expressed. |
	// | `ASIN_PRICE_LESS_THAN` | Target a price that is less than the price expressed. |
	// | `ASIN_PRICE_BETWEEN` | Target a price that is between the prices expressed. |
	// | `ASIN_PRICE_GREATER_THAN` | Target a price that is greater than the price expressed. |
	// | `ASIN_REVIEW_RATING_LESS_THAN` | Target a review rating less than the review rating that is expressed. |
	// | `ASIN_REVIEW_RATING_BETWEEN` | Target a review rating that is between the review ratings expressed. |
	// | `ASIN_REVIEW_RATING_GREATER_THAN` | Target a review rating that is greater than the review rating expressed. |
	// | `ASIN_SAME_AS` | Target an ASIN that is the same as the ASIN expressed. |
	// | `ASIN_IS_PRIME_SHIPPING_ELIGIBLE` | Target products that are Prime Shipping Eligible. This refinement can be applied at a category or brand level only. |
	// | `ASIN_AGE_RANGE_SAME_AS` | Target an age range that is in the expressed range. This refinement can be applied for toys and games categories only. |
	// | `ASIN_GENRE_SAME_AS` | Target products related to the expressed genre. This refinement can be applied for Books and eBooks categories only.   |
	// | `ASIN_EXPANDED_FROM` | Target products similar in performance to the ASIN expressed.   |
	// | `OTHER` | Other Type.   |
	Type SponsoredProductsTargetingExpressionPredicateTypeWithoutOther `json:"type"`

	// Value The expression value
	Value *string `json:"value,omitempty"`
}

SponsoredProductsTargetingExpressionPredicateWithoutOther defines model for SponsoredProductsTargetingExpressionPredicateWithoutOther.

type SponsoredProductsTargetingType

type SponsoredProductsTargetingType string

SponsoredProductsTargetingType defines model for SponsoredProductsTargetingType.

const (
	SponsoredProductsTargetingTypeAUTO   SponsoredProductsTargetingType = "AUTO"
	SponsoredProductsTargetingTypeMANUAL SponsoredProductsTargetingType = "MANUAL"
)

Defines values for SponsoredProductsTargetingType.

type SponsoredProductsThrottledError

type SponsoredProductsThrottledError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                `json:"message"`
	Reason  SponsoredProductsThrottledErrorReason `json:"reason"`
}

SponsoredProductsThrottledError Error that represents failure due to API caller exceeding allowed service limits.

type SponsoredProductsThrottledErrorCode

type SponsoredProductsThrottledErrorCode string

SponsoredProductsThrottledErrorCode defines model for SponsoredProductsThrottledErrorCode.

const (
	SponsoredProductsThrottledErrorCodeTHROTTLED SponsoredProductsThrottledErrorCode = "THROTTLED"
)

Defines values for SponsoredProductsThrottledErrorCode.

type SponsoredProductsThrottledErrorReason

type SponsoredProductsThrottledErrorReason string

SponsoredProductsThrottledErrorReason defines model for SponsoredProductsThrottledErrorReason.

const (
	SponsoredProductsThrottledErrorReasonTHROTTLED SponsoredProductsThrottledErrorReason = "THROTTLED"
)

Defines values for SponsoredProductsThrottledErrorReason.

type SponsoredProductsThrottlingExceptionResponseContent

type SponsoredProductsThrottlingExceptionResponseContent struct {
	Code SponsoredProductsThrottledErrorCode `json:"code"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsThrottlingExceptionResponseContent defines model for SponsoredProductsThrottlingExceptionResponseContent.

type SponsoredProductsUnauthorizedErrorCode

type SponsoredProductsUnauthorizedErrorCode string

SponsoredProductsUnauthorizedErrorCode defines model for SponsoredProductsUnauthorizedErrorCode.

const (
	UNAUTHORIZED SponsoredProductsUnauthorizedErrorCode = "UNAUTHORIZED"
)

Defines values for SponsoredProductsUnauthorizedErrorCode.

type SponsoredProductsUnauthorizedExceptionResponseContent

type SponsoredProductsUnauthorizedExceptionResponseContent struct {
	Code SponsoredProductsUnauthorizedErrorCode `json:"code"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsUnauthorizedExceptionResponseContent defines model for SponsoredProductsUnauthorizedExceptionResponseContent.

type SponsoredProductsUnsupportedMediaTypeErrorCode

type SponsoredProductsUnsupportedMediaTypeErrorCode string

SponsoredProductsUnsupportedMediaTypeErrorCode defines model for SponsoredProductsUnsupportedMediaTypeErrorCode.

const (
	UNSUPPORTEDMEDIATYPE SponsoredProductsUnsupportedMediaTypeErrorCode = "UNSUPPORTED_MEDIA_TYPE"
)

Defines values for SponsoredProductsUnsupportedMediaTypeErrorCode.

type SponsoredProductsUnsupportedMediaTypeExceptionResponseContent

type SponsoredProductsUnsupportedMediaTypeExceptionResponseContent struct {
	Code SponsoredProductsUnsupportedMediaTypeErrorCode `json:"code"`

	// Message Human readable error message
	Message string `json:"message"`
}

SponsoredProductsUnsupportedMediaTypeExceptionResponseContent defines model for SponsoredProductsUnsupportedMediaTypeExceptionResponseContent.

type SponsoredProductsUnsupportedOperationError

type SponsoredProductsUnsupportedOperationError struct {
	// Cause Structure describing error cause - location in the payload and data causing error
	Cause *SponsoredProductsErrorCause `json:"cause,omitempty"`

	// Message Human readable error message
	Message string                                           `json:"message"`
	Reason  SponsoredProductsUnsupportedOperationErrorReason `json:"reason"`
}

SponsoredProductsUnsupportedOperationError Errors being used to represent an unsupported operation e.g. Seller are not supported to create custom text product ads.

type SponsoredProductsUnsupportedOperationErrorReason

type SponsoredProductsUnsupportedOperationErrorReason string

SponsoredProductsUnsupportedOperationErrorReason defines model for SponsoredProductsUnsupportedOperationErrorReason.

const (
	UNSUPPORTEDOPERATION SponsoredProductsUnsupportedOperationErrorReason = "UNSUPPORTED_OPERATION"
)

Defines values for SponsoredProductsUnsupportedOperationErrorReason.

type SponsoredProductsUpdateAdGroup

type SponsoredProductsUpdateAdGroup struct {
	// AdGroupId The identifier of the keyword.
	AdGroupId string `json:"adGroupId"`

	// DefaultBid A bid value for use when no bid is specified for keywords in the ad group. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	DefaultBid *float64 `json:"defaultBid,omitempty"`

	// Name The name of the ad group.
	Name *string `json:"name,omitempty"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`
}

SponsoredProductsUpdateAdGroup defines model for SponsoredProductsUpdateAdGroup.

type SponsoredProductsUpdateCampaign

type SponsoredProductsUpdateCampaign struct {
	Budget *SponsoredProductsCreateOrUpdateBudget `json:"budget,omitempty"`

	// CampaignId The identifier of the campaign.
	CampaignId string `json:"campaignId"`

	// DynamicBidding Specifies bidding controls. DynamicBidding is optional for both Create and Update requests.
	// For Create Campaign requests, if you don't specify dynamicBidding, default strategy of `LEGACY_FOR_SALES` will be applied.
	DynamicBidding *SponsoredProductsCreateOrUpdateDynamicBidding `json:"dynamicBidding,omitempty"`

	// EndDate The format of the date is YYYY-MM-DD.
	EndDate *openapi_types.Date `json:"endDate"`

	// Name The name of the campaign.
	Name *string `json:"name,omitempty"`

	// PortfolioId The identifier of an existing portfolio to which the campaign is associated.
	PortfolioId *string `json:"portfolioId"`

	// StartDate The format of the date is YYYY-MM-DD.
	StartDate *openapi_types.Date `json:"startDate,omitempty"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`

	// Tags A list of advertiser-specified custom identifiers for the campaign. Each customer identifier is a key-value pair. You can specify a maximum of 50 identifiers.
	Tags          *SponsoredProductsTags          `json:"tags,omitempty"`
	TargetingType *SponsoredProductsTargetingType `json:"targetingType,omitempty"`
}

SponsoredProductsUpdateCampaign defines model for SponsoredProductsUpdateCampaign.

type SponsoredProductsUpdateCampaignNegativeKeyword

type SponsoredProductsUpdateCampaignNegativeKeyword struct {
	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`
}

SponsoredProductsUpdateCampaignNegativeKeyword defines model for SponsoredProductsUpdateCampaignNegativeKeyword.

type SponsoredProductsUpdateCampaignNegativeTargetingClause

type SponsoredProductsUpdateCampaignNegativeTargetingClause struct {
	// Expression The NegativeTargeting expression.
	Expression *[]SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate `json:"expression,omitempty"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsUpdateCampaignNegativeTargetingClause defines model for SponsoredProductsUpdateCampaignNegativeTargetingClause.

type SponsoredProductsUpdateKeyword

type SponsoredProductsUpdateKeyword struct {
	// Bid Bid associated with this keyword. Applicable to biddable match types only. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid"`

	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`
}

SponsoredProductsUpdateKeyword defines model for SponsoredProductsUpdateKeyword.

type SponsoredProductsUpdateNegativeKeyword

type SponsoredProductsUpdateNegativeKeyword struct {
	// KeywordId The identifier of the keyword.
	KeywordId string `json:"keywordId"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`
}

SponsoredProductsUpdateNegativeKeyword defines model for SponsoredProductsUpdateNegativeKeyword.

type SponsoredProductsUpdateNegativeTargetingClause

type SponsoredProductsUpdateNegativeTargetingClause struct {
	// Expression The NegativeTargeting expression.
	Expression *[]SponsoredProductsCreateOrUpdateNegativeTargetingExpressionPredicate `json:"expression,omitempty"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsUpdateNegativeTargetingClause defines model for SponsoredProductsUpdateNegativeTargetingClause.

type SponsoredProductsUpdateProductAd

type SponsoredProductsUpdateProductAd struct {
	// AdId The product ad identifier.
	AdId string `json:"adId"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`
}

SponsoredProductsUpdateProductAd defines model for SponsoredProductsUpdateProductAd.

type SponsoredProductsUpdateSponsoredProductsAdGroupsRequestContent

type SponsoredProductsUpdateSponsoredProductsAdGroupsRequestContent struct {
	// AdGroups An array of adGroups with updated values.
	AdGroups []SponsoredProductsUpdateAdGroup `json:"adGroups"`
}

SponsoredProductsUpdateSponsoredProductsAdGroupsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsAdGroupsRequestContent.

type SponsoredProductsUpdateSponsoredProductsAdGroupsResponseContent

type SponsoredProductsUpdateSponsoredProductsAdGroupsResponseContent struct {
	AdGroups SponsoredProductsBulkAdGroupOperationResponse `json:"adGroups"`
}

SponsoredProductsUpdateSponsoredProductsAdGroupsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsAdGroupsResponseContent.

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsRequestContent

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsRequestContent struct {
	// CampaignNegativeKeywords An array of campaignNegativeKeywords with updated values.
	CampaignNegativeKeywords []SponsoredProductsUpdateCampaignNegativeKeyword `json:"campaignNegativeKeywords"`
}

SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsRequestContent.

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsResponseContent

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsResponseContent struct {
	CampaignNegativeKeywords SponsoredProductsBulkCampaignNegativeKeywordOperationResponse `json:"campaignNegativeKeywords"`
}

SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsResponseContent.

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestContent

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestContent struct {
	// CampaignNegativeTargetingClauses An array of Campaign Negative TargetingClauses with updated values.
	CampaignNegativeTargetingClauses []SponsoredProductsUpdateCampaignNegativeTargetingClause `json:"campaignNegativeTargetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestContent.

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesResponseContent

type SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesResponseContent struct {
	CampaignNegativeTargetingClauses SponsoredProductsBulkCampaignNegativeTargetingClauseOperationResponse `json:"campaignNegativeTargetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesResponseContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesResponseContent.

type SponsoredProductsUpdateSponsoredProductsCampaignsRequestContent

type SponsoredProductsUpdateSponsoredProductsCampaignsRequestContent struct {
	// Campaigns An array of campaigns with updated values.
	Campaigns []SponsoredProductsUpdateCampaign `json:"campaigns"`
}

SponsoredProductsUpdateSponsoredProductsCampaignsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignsRequestContent.

type SponsoredProductsUpdateSponsoredProductsCampaignsResponseContent

type SponsoredProductsUpdateSponsoredProductsCampaignsResponseContent struct {
	Campaigns SponsoredProductsBulkCampaignOperationResponse `json:"campaigns"`
}

SponsoredProductsUpdateSponsoredProductsCampaignsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsCampaignsResponseContent.

type SponsoredProductsUpdateSponsoredProductsKeywordsRequestContent

type SponsoredProductsUpdateSponsoredProductsKeywordsRequestContent struct {
	// Keywords An array of keywords with updated values.
	Keywords []SponsoredProductsUpdateKeyword `json:"keywords"`
}

SponsoredProductsUpdateSponsoredProductsKeywordsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsKeywordsRequestContent.

type SponsoredProductsUpdateSponsoredProductsKeywordsResponseContent

type SponsoredProductsUpdateSponsoredProductsKeywordsResponseContent struct {
	Keywords SponsoredProductsBulkKeywordOperationResponse `json:"keywords"`
}

SponsoredProductsUpdateSponsoredProductsKeywordsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsKeywordsResponseContent.

type SponsoredProductsUpdateSponsoredProductsNegativeKeywordsRequestContent

type SponsoredProductsUpdateSponsoredProductsNegativeKeywordsRequestContent struct {
	// NegativeKeywords An array of negativeKeywords with updated values.
	NegativeKeywords []SponsoredProductsUpdateNegativeKeyword `json:"negativeKeywords"`
}

SponsoredProductsUpdateSponsoredProductsNegativeKeywordsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsNegativeKeywordsRequestContent.

type SponsoredProductsUpdateSponsoredProductsNegativeKeywordsResponseContent

type SponsoredProductsUpdateSponsoredProductsNegativeKeywordsResponseContent struct {
	NegativeKeywords SponsoredProductsBulkNegativeKeywordOperationResponse `json:"negativeKeywords"`
}

SponsoredProductsUpdateSponsoredProductsNegativeKeywordsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsNegativeKeywordsResponseContent.

type SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesRequestContent

type SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesRequestContent struct {
	// NegativeTargetingClauses An array of negativeTargeting with updated values.
	NegativeTargetingClauses []SponsoredProductsUpdateNegativeTargetingClause `json:"negativeTargetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesRequestContent defines model for SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesRequestContent.

type SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesResponseContent

type SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesResponseContent struct {
	NegativeTargetingClauses SponsoredProductsBulkNegativeTargetingClauseOperationResponse `json:"negativeTargetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesResponseContent defines model for SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesResponseContent.

type SponsoredProductsUpdateSponsoredProductsProductAdsRequestContent

type SponsoredProductsUpdateSponsoredProductsProductAdsRequestContent struct {
	// ProductAds An array of ads with updated values.
	ProductAds []SponsoredProductsUpdateProductAd `json:"productAds"`
}

SponsoredProductsUpdateSponsoredProductsProductAdsRequestContent defines model for SponsoredProductsUpdateSponsoredProductsProductAdsRequestContent.

type SponsoredProductsUpdateSponsoredProductsProductAdsResponseContent

type SponsoredProductsUpdateSponsoredProductsProductAdsResponseContent struct {
	ProductAds SponsoredProductsBulkProductAdOperationResponse `json:"productAds"`
}

SponsoredProductsUpdateSponsoredProductsProductAdsResponseContent defines model for SponsoredProductsUpdateSponsoredProductsProductAdsResponseContent.

type SponsoredProductsUpdateSponsoredProductsTargetingClausesRequestContent

type SponsoredProductsUpdateSponsoredProductsTargetingClausesRequestContent struct {
	// TargetingClauses An array of targetingClauses with updated values.
	TargetingClauses []SponsoredProductsUpdateTargetingClause `json:"targetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsTargetingClausesRequestContent defines model for SponsoredProductsUpdateSponsoredProductsTargetingClausesRequestContent.

type SponsoredProductsUpdateSponsoredProductsTargetingClausesResponseContent

type SponsoredProductsUpdateSponsoredProductsTargetingClausesResponseContent struct {
	TargetingClauses SponsoredProductsBulkTargetingClauseOperationResponse `json:"targetingClauses"`
}

SponsoredProductsUpdateSponsoredProductsTargetingClausesResponseContent defines model for SponsoredProductsUpdateSponsoredProductsTargetingClausesResponseContent.

type SponsoredProductsUpdateTargetingClause

type SponsoredProductsUpdateTargetingClause struct {
	// Bid The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. For more information about bid constraints by marketplace, see [bid limits](https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace).
	Bid *float64 `json:"bid"`

	// Expression The targeting expression.
	Expression     *[]SponsoredProductsTargetingExpressionPredicateWithoutOther `json:"expression,omitempty"`
	ExpressionType *SponsoredProductsExpressionTypeWithoutOther                 `json:"expressionType,omitempty"`

	// State Entity state for create or update operation
	State *SponsoredProductsCreateOrUpdateEntityState `json:"state,omitempty"`

	// TargetId The target identifier
	TargetId string `json:"targetId"`
}

SponsoredProductsUpdateTargetingClause defines model for SponsoredProductsUpdateTargetingClause.

type SponsoredProductsValueLimitErrorReason

type SponsoredProductsValueLimitErrorReason string

SponsoredProductsValueLimitErrorReason defines model for SponsoredProductsValueLimitErrorReason.

const (
	INVALIDENUMVALUE SponsoredProductsValueLimitErrorReason = "INVALID_ENUM_VALUE"
	NOTINLIST        SponsoredProductsValueLimitErrorReason = "NOT_IN_LIST"
	TOOHIGH          SponsoredProductsValueLimitErrorReason = "TOO_HIGH"
	TOOLOW           SponsoredProductsValueLimitErrorReason = "TOO_LOW"
)

Defines values for SponsoredProductsValueLimitErrorReason.

type State

type State string

State The budget rule state.

const (
	ACTIVE State = "ACTIVE"
	PAUSED State = "PAUSED"
)

Defines values for State.

type TargetableAsinCounts

type TargetableAsinCounts struct {
	AsinCounts *IntegerRange `json:"asinCounts,omitempty"`
}

TargetableAsinCounts Response object to get number of targetable asins for refinements provided by the user

type TargetableCategories

type TargetableCategories struct {
	CategoryTree *string `json:"categoryTree,omitempty"`
}

TargetableCategories Response object containing all targetable categories for the advertiser's marketplace. ID is the category ID. NA is the name. CH is the list of child categories. TA is if the category is targetable. AsinCountRange is the AsinCounts of the node. Version 4 adds the number of targetable ASINs to each category.

type TargetableCategoriesLoP

type TargetableCategoriesLoP struct {
	CategoryTree *string `json:"categoryTree,omitempty"`
}

TargetableCategoriesLoP Response object containing all targetable categories for the advertiser's marketplace in a language of preference (LoP) provide by the locale query parameter. ID is the category ID. NA is the name. TN is the translated name in the language of preference. CH is the list of child categories. TA is if the category is targetable. AsinCountRange is the AsinCounts of the node. Version 4 adds the number of targetable ASINs to each category.

type TargetingExpression

type TargetingExpression struct {
	Type TargetingExpressionType `json:"type"`

	// Value The targeting expression value.
	Value *string `json:"value,omitempty"`
}

TargetingExpression The targeting expression. The `type` property specifies the targeting option. Use `CLOSE_MATCH` to match your auto targeting ads closely to the specified value. Use `LOOSE_MATCH` to match your auto targeting ads broadly to the specified value. Use `SUBSTITUTES` to display your auto targeting ads along with substitutable products. Use `COMPLEMENTS` to display your auto targeting ads along with affiliated products. Use `KEYWORD_BROAD_MATCH` to broadly match your keyword targeting ads with search queries. Use `KEYWORD_EXACT_MATCH` to exactly match your keyword targeting ads with search queries. Use `KEYWORD_PHRASE_MATCH` to match your keyword targeting ads with search phrases.

type TargetingExpressionList

type TargetingExpressionList = []TargetingExpression

TargetingExpressionList The list of targeting expressions. Maximum of 100 per request, use pagination for more if needed.

type TargetingExpressionType

type TargetingExpressionType string

TargetingExpressionType defines model for TargetingExpression.Type.

const (
	TargetingExpressionTypeCLOSEMATCH         TargetingExpressionType = "CLOSE_MATCH"
	TargetingExpressionTypeCOMPLEMENTS        TargetingExpressionType = "COMPLEMENTS"
	TargetingExpressionTypeKEYWORDBROADMATCH  TargetingExpressionType = "KEYWORD_BROAD_MATCH"
	TargetingExpressionTypeKEYWORDEXACTMATCH  TargetingExpressionType = "KEYWORD_EXACT_MATCH"
	TargetingExpressionTypeKEYWORDPHRASEMATCH TargetingExpressionType = "KEYWORD_PHRASE_MATCH"
	TargetingExpressionTypeLOOSEMATCH         TargetingExpressionType = "LOOSE_MATCH"
	TargetingExpressionTypeSUBSTITUTES        TargetingExpressionType = "SUBSTITUTES"
)

Defines values for TargetingExpressionType.

type TargetingGroupBidRecommendation

type TargetingGroupBidRecommendation struct {
	// Action Type of suggested action.
	Action *TargetingGroupBidRecommendationAction `json:"action,omitempty"`

	// AdGroupId The ad group identifier.
	AdGroupId *string `json:"adGroupId,omitempty"`

	// SuggestedBid The suggested bid value associated with this targeting.
	SuggestedBid *float64 `json:"suggestedBid,omitempty"`

	// TargetId The target identifier.
	TargetId *string `json:"targetId,omitempty"`

	// TargetingGroupExpression The type of targeting group expression.
	// | Value | Description |
	// | --- | --- |
	// | `LOOSE_MATCH` | This will show your ad to shoppers who use search terms loosely related to your products.|
	// | `CLOSE_MATCH` | This will show your ad to shoppers who use search terms closely related to your products.|
	// | `COMPLEMENTS` | This will show your ad to shoppers who view the detail pages of products that complement your product.|
	// | `SUBSTITUTES` | This will show your ad to shoppers who use detail pages of products similar to yours.|
	TargetingGroupExpression *TargetingGroupBidRecommendationTargetingGroupExpression `json:"targetingGroupExpression,omitempty"`
}

TargetingGroupBidRecommendation Contains suggested recommendation for the auto targeting group.

type TargetingGroupBidRecommendationAction

type TargetingGroupBidRecommendationAction string

TargetingGroupBidRecommendationAction Type of suggested action.

const (
	TargetingGroupBidRecommendationActionADD      TargetingGroupBidRecommendationAction = "ADD"
	TargetingGroupBidRecommendationActionDECREASE TargetingGroupBidRecommendationAction = "DECREASE"
	TargetingGroupBidRecommendationActionINCREASE TargetingGroupBidRecommendationAction = "INCREASE"
	TargetingGroupBidRecommendationActionREMOVE   TargetingGroupBidRecommendationAction = "REMOVE"
)

Defines values for TargetingGroupBidRecommendationAction.

type TargetingGroupBidRecommendationTargetingGroupExpression

type TargetingGroupBidRecommendationTargetingGroupExpression string

TargetingGroupBidRecommendationTargetingGroupExpression The type of targeting group expression. | Value | Description | | --- | --- | | `LOOSE_MATCH` | This will show your ad to shoppers who use search terms loosely related to your products.| | `CLOSE_MATCH` | This will show your ad to shoppers who use search terms closely related to your products.| | `COMPLEMENTS` | This will show your ad to shoppers who view the detail pages of products that complement your product.| | `SUBSTITUTES` | This will show your ad to shoppers who use detail pages of products similar to yours.|

const (
	TargetingGroupBidRecommendationTargetingGroupExpressionCLOSEMATCH  TargetingGroupBidRecommendationTargetingGroupExpression = "CLOSE_MATCH"
	TargetingGroupBidRecommendationTargetingGroupExpressionCOMPLEMENTS TargetingGroupBidRecommendationTargetingGroupExpression = "COMPLEMENTS"
	TargetingGroupBidRecommendationTargetingGroupExpressionLOOSEMATCH  TargetingGroupBidRecommendationTargetingGroupExpression = "LOOSE_MATCH"
	TargetingGroupBidRecommendationTargetingGroupExpressionSUBSTITUTES TargetingGroupBidRecommendationTargetingGroupExpression = "SUBSTITUTES"
)

Defines values for TargetingGroupBidRecommendationTargetingGroupExpression.

type Theme

type Theme string

Theme The bid recommendation theme. This API currently supports `CONVERSION_OPPORTUNITIES`, `PRIME_DAY`, `FALL_PRIME_DEAL_EVENT`, and `BFCM_HOLIDAY` themes.

const (
	BFCMHOLIDAY             Theme = "BFCM_HOLIDAY"
	CONVERSIONOPPORTUNITIES Theme = "CONVERSION_OPPORTUNITIES"
	FALLPRIMEDEALEVENT      Theme = "FALL_PRIME_DEAL_EVENT"
	PRIMEDAY                Theme = "PRIME_DAY"
)

Defines values for Theme.

type ThemeBasedBidRecommendation

type ThemeBasedBidRecommendation struct {
	// BidRecommendationsForTargetingExpressions The bid recommendations for targeting expressions listed in the request.
	BidRecommendationsForTargetingExpressions []BidRecommendationPerTargetingExpression `json:"bidRecommendationsForTargetingExpressions"`

	// ImpactMetrics For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products.
	// For other event-based themes, the impact metrics are clicks and orders received for similar products during the event days
	//
	// Note: This object is nullable
	ImpactMetrics *ImpactMetrics `json:"impactMetrics"`

	// Theme The bid recommendation theme. This API currently supports `CONVERSION_OPPORTUNITIES`, `PRIME_DAY`, `FALL_PRIME_DEAL_EVENT`, and `BFCM_HOLIDAY` themes.
	Theme Theme `json:"theme"`
}

ThemeBasedBidRecommendation defines model for ThemeBasedBidRecommendation.

type ThemeBasedBidRecommendationResponse

type ThemeBasedBidRecommendationResponse struct {
	BidRecommendations []ThemeBasedBidRecommendation `json:"bidRecommendations"`
}

ThemeBasedBidRecommendationResponse A list of bid recommendation themes and associated bid recommendations.

type ThemeRecommendation

type ThemeRecommendation struct {
	// Description A theme name representing the context around the recommended list of ASINs.
	Description *string `json:"description,omitempty"`

	// RecommendedAsins List of recommended ASINs under current theme.
	RecommendedAsins *[]string `json:"recommendedAsins,omitempty"`

	// Theme A theme name representing the context around the recommended list of ASINs.
	Theme *string `json:"theme,omitempty"`
}

ThemeRecommendation Recommended asins grouped by theme attribute.

type ThemedBid

type ThemedBid struct {
	// Bid The bid value for the keyword. The default value will be the suggested bid.
	Bid *float64 `json:"bid,omitempty"`

	// MatchType Keyword match type. The default value will be BROAD.
	MatchType *ThemedBidMatchType `json:"matchType,omitempty"`

	// Rank The keyword target rank.
	Rank *float32 `json:"rank,omitempty"`

	// SuggestedBid Suggested bid range
	SuggestedBid *BidValues `json:"suggestedBid,omitempty"`

	// Theme The theme of the bid recommendation. The default theme is CONVERSION_OPPORTUNITIES.
	Theme *string `json:"theme,omitempty"`
}

ThemedBid defines model for ThemedBid.

type ThemedBidMatchType

type ThemedBidMatchType string

ThemedBidMatchType Keyword match type. The default value will be BROAD.

const (
	BROAD  ThemedBidMatchType = "BROAD"
	EXACT  ThemedBidMatchType = "EXACT"
	PHRASE ThemedBidMatchType = "PHRASE"
)

Defines values for ThemedBidMatchType.

type ThrottlingException

type ThrottlingException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

ThrottlingException Returns information about a ThrottlingException.

type UnauthorizedException

type UnauthorizedException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

UnauthorizedException Returns information about an UnauthorizedException.

type UnprocessableEntityException

type UnprocessableEntityException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

UnprocessableEntityException Returns information about UnprocessableEntityException.

type UpdateBudgetRulesForSPCampaignsJSONRequestBody

type UpdateBudgetRulesForSPCampaignsJSONRequestBody = UpdateSPBudgetRulesRequest

UpdateBudgetRulesForSPCampaignsJSONRequestBody defines body for UpdateBudgetRulesForSPCampaigns for application/json ContentType.

type UpdateBudgetRulesForSPCampaignsParams

type UpdateBudgetRulesForSPCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

UpdateBudgetRulesForSPCampaignsParams defines parameters for UpdateBudgetRulesForSPCampaigns.

type UpdateBudgetRulesForSPCampaignsResp

type UpdateBudgetRulesForSPCampaignsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *UpdateBudgetRulesResponse
	JSON400      *BudgetRuleError
	JSON401      *BudgetRuleError
	JSON403      *BudgetRuleError
	JSON422      *BudgetRuleError
	JSON429      *BudgetRuleError
	JSON500      *BudgetRuleError
}

func ParseUpdateBudgetRulesForSPCampaignsResp

func ParseUpdateBudgetRulesForSPCampaignsResp(rsp *http.Response) (*UpdateBudgetRulesForSPCampaignsResp, error)

ParseUpdateBudgetRulesForSPCampaignsResp parses an HTTP response from a UpdateBudgetRulesForSPCampaignsWithResponse call

func (UpdateBudgetRulesForSPCampaignsResp) Status

Status returns HTTPResponse.Status

func (UpdateBudgetRulesForSPCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateBudgetRulesResponse

type UpdateBudgetRulesResponse struct {
	Responses *[]BudgetRuleResponse `json:"responses,omitempty"`
}

UpdateBudgetRulesResponse defines model for UpdateBudgetRulesResponse.

type UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody

type UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody = UpdateSPCampaignOptimizationRulesRequest

UpdateOptimizationRuleApplicationVndOptimizationrulesV1PlusJSONRequestBody defines body for UpdateOptimizationRule for application/vnd.optimizationrules.v1+json ContentType.

type UpdateOptimizationRuleParams

type UpdateOptimizationRuleParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header. This is a required header for advertisers and integrators using the Advertising API.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`
}

UpdateOptimizationRuleParams defines parameters for UpdateOptimizationRule.

type UpdateOptimizationRuleResp

type UpdateOptimizationRuleResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndOptimizationrulesV1JSON200 *UpdateSPCampaignOptimizationRuleResponse
	JSON400                                  *CampaignOptimizationRuleError
	JSON401                                  *CampaignOptimizationRuleError
	JSON403                                  *CampaignOptimizationRuleError
	JSON422                                  *CampaignOptimizationRuleError
	JSON429                                  *CampaignOptimizationRuleError
	JSON500                                  *CampaignOptimizationRuleError
}

func ParseUpdateOptimizationRuleResp

func ParseUpdateOptimizationRuleResp(rsp *http.Response) (*UpdateOptimizationRuleResp, error)

ParseUpdateOptimizationRuleResp parses an HTTP response from a UpdateOptimizationRuleWithResponse call

func (UpdateOptimizationRuleResp) Status

Status returns HTTPResponse.Status

func (UpdateOptimizationRuleResp) StatusCode

func (r UpdateOptimizationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSPBudgetRulesRequest

type UpdateSPBudgetRulesRequest struct {
	// BudgetRulesDetails A list of budget rule details.
	BudgetRulesDetails *[]SPBudgetRule `json:"budgetRulesDetails,omitempty"`
}

UpdateSPBudgetRulesRequest Request object for updating budget rule for SP campaign

type UpdateSPCampaignOptimizationRuleResponse

type UpdateSPCampaignOptimizationRuleResponse struct {
	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId *CampaignOptimizationId `json:"campaignOptimizationId,omitempty"`

	// Code An enumerated success or error code for machine use.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the error, if unsuccessful
	Details *string `json:"details,omitempty"`
}

UpdateSPCampaignOptimizationRuleResponse defines model for UpdateSPCampaignOptimizationRuleResponse.

type UpdateSPCampaignOptimizationRulesRequest

type UpdateSPCampaignOptimizationRulesRequest struct {
	// CampaignIds A list of campaign ids
	CampaignIds []RuleCampaignId `json:"campaignIds"`

	// CampaignOptimizationId The persistent rule identifier.
	CampaignOptimizationId CampaignOptimizationId `json:"campaignOptimizationId"`

	// Recurrence The frequency of the rule application.
	Recurrence RecurrenceType `json:"recurrence"`

	// RuleAction The action taken when the campaign optimization rule is enabled. Defaults to adopt
	RuleAction    RuleAction        `json:"ruleAction"`
	RuleCondition RuleConditionList `json:"ruleCondition"`

	// RuleName The campaign optimization rule name.
	RuleName *RuleName `json:"ruleName,omitempty"`

	// RuleType The type of the campaign optimization rule. Only Support BID as of now
	RuleType RuleType `json:"ruleType"`
}

UpdateSPCampaignOptimizationRulesRequest Request object for updating campaign optimization rule

type UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody

type UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsAdGroupsRequestContent

UpdateSponsoredProductsAdGroupsApplicationVndSpAdGroupV3PlusJSONRequestBody defines body for UpdateSponsoredProductsAdGroups for application/vnd.spAdGroup.v3+json ContentType.

type UpdateSponsoredProductsAdGroupsParams

type UpdateSponsoredProductsAdGroupsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsAdGroupsParams defines parameters for UpdateSponsoredProductsAdGroups.

type UpdateSponsoredProductsAdGroupsResp

func ParseUpdateSponsoredProductsAdGroupsResp

func ParseUpdateSponsoredProductsAdGroupsResp(rsp *http.Response) (*UpdateSponsoredProductsAdGroupsResp, error)

ParseUpdateSponsoredProductsAdGroupsResp parses an HTTP response from a UpdateSponsoredProductsAdGroupsWithResponse call

func (UpdateSponsoredProductsAdGroupsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsAdGroupsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody

type UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsCampaignNegativeKeywordsRequestContent

UpdateSponsoredProductsCampaignNegativeKeywordsApplicationVndSpCampaignNegativeKeywordV3PlusJSONRequestBody defines body for UpdateSponsoredProductsCampaignNegativeKeywords for application/vnd.spCampaignNegativeKeyword.v3+json ContentType.

type UpdateSponsoredProductsCampaignNegativeKeywordsParams

type UpdateSponsoredProductsCampaignNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsCampaignNegativeKeywordsParams defines parameters for UpdateSponsoredProductsCampaignNegativeKeywords.

type UpdateSponsoredProductsCampaignNegativeKeywordsResp

func ParseUpdateSponsoredProductsCampaignNegativeKeywordsResp

func ParseUpdateSponsoredProductsCampaignNegativeKeywordsResp(rsp *http.Response) (*UpdateSponsoredProductsCampaignNegativeKeywordsResp, error)

ParseUpdateSponsoredProductsCampaignNegativeKeywordsResp parses an HTTP response from a UpdateSponsoredProductsCampaignNegativeKeywordsWithResponse call

func (UpdateSponsoredProductsCampaignNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsCampaignNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody

type UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsCampaignNegativeTargetingClausesRequestContent

UpdateSponsoredProductsCampaignNegativeTargetingClausesApplicationVndSpCampaignNegativeTargetingClauseV3PlusJSONRequestBody defines body for UpdateSponsoredProductsCampaignNegativeTargetingClauses for application/vnd.spCampaignNegativeTargetingClause.v3+json ContentType.

type UpdateSponsoredProductsCampaignNegativeTargetingClausesParams

type UpdateSponsoredProductsCampaignNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsCampaignNegativeTargetingClausesParams defines parameters for UpdateSponsoredProductsCampaignNegativeTargetingClauses.

type UpdateSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseUpdateSponsoredProductsCampaignNegativeTargetingClausesResp

func ParseUpdateSponsoredProductsCampaignNegativeTargetingClausesResp(rsp *http.Response) (*UpdateSponsoredProductsCampaignNegativeTargetingClausesResp, error)

ParseUpdateSponsoredProductsCampaignNegativeTargetingClausesResp parses an HTTP response from a UpdateSponsoredProductsCampaignNegativeTargetingClausesWithResponse call

func (UpdateSponsoredProductsCampaignNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsCampaignNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody

type UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsCampaignsRequestContent

UpdateSponsoredProductsCampaignsApplicationVndSpCampaignV3PlusJSONRequestBody defines body for UpdateSponsoredProductsCampaigns for application/vnd.spCampaign.v3+json ContentType.

type UpdateSponsoredProductsCampaignsParams

type UpdateSponsoredProductsCampaignsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsCampaignsParams defines parameters for UpdateSponsoredProductsCampaigns.

type UpdateSponsoredProductsCampaignsResp

func ParseUpdateSponsoredProductsCampaignsResp

func ParseUpdateSponsoredProductsCampaignsResp(rsp *http.Response) (*UpdateSponsoredProductsCampaignsResp, error)

ParseUpdateSponsoredProductsCampaignsResp parses an HTTP response from a UpdateSponsoredProductsCampaignsWithResponse call

func (UpdateSponsoredProductsCampaignsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsCampaignsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody

type UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsKeywordsRequestContent

UpdateSponsoredProductsKeywordsApplicationVndSpKeywordV3PlusJSONRequestBody defines body for UpdateSponsoredProductsKeywords for application/vnd.spKeyword.v3+json ContentType.

type UpdateSponsoredProductsKeywordsParams

type UpdateSponsoredProductsKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsKeywordsParams defines parameters for UpdateSponsoredProductsKeywords.

type UpdateSponsoredProductsKeywordsResp

func ParseUpdateSponsoredProductsKeywordsResp

func ParseUpdateSponsoredProductsKeywordsResp(rsp *http.Response) (*UpdateSponsoredProductsKeywordsResp, error)

ParseUpdateSponsoredProductsKeywordsResp parses an HTTP response from a UpdateSponsoredProductsKeywordsWithResponse call

func (UpdateSponsoredProductsKeywordsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody

type UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsNegativeKeywordsRequestContent

UpdateSponsoredProductsNegativeKeywordsApplicationVndSpNegativeKeywordV3PlusJSONRequestBody defines body for UpdateSponsoredProductsNegativeKeywords for application/vnd.spNegativeKeyword.v3+json ContentType.

type UpdateSponsoredProductsNegativeKeywordsParams

type UpdateSponsoredProductsNegativeKeywordsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsNegativeKeywordsParams defines parameters for UpdateSponsoredProductsNegativeKeywords.

type UpdateSponsoredProductsNegativeKeywordsResp

func ParseUpdateSponsoredProductsNegativeKeywordsResp

func ParseUpdateSponsoredProductsNegativeKeywordsResp(rsp *http.Response) (*UpdateSponsoredProductsNegativeKeywordsResp, error)

ParseUpdateSponsoredProductsNegativeKeywordsResp parses an HTTP response from a UpdateSponsoredProductsNegativeKeywordsWithResponse call

func (UpdateSponsoredProductsNegativeKeywordsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsNegativeKeywordsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody

type UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsNegativeTargetingClausesRequestContent

UpdateSponsoredProductsNegativeTargetingClausesApplicationVndSpNegativeTargetingClauseV3PlusJSONRequestBody defines body for UpdateSponsoredProductsNegativeTargetingClauses for application/vnd.spNegativeTargetingClause.v3+json ContentType.

type UpdateSponsoredProductsNegativeTargetingClausesParams

type UpdateSponsoredProductsNegativeTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsNegativeTargetingClausesParams defines parameters for UpdateSponsoredProductsNegativeTargetingClauses.

type UpdateSponsoredProductsNegativeTargetingClausesResp

func ParseUpdateSponsoredProductsNegativeTargetingClausesResp

func ParseUpdateSponsoredProductsNegativeTargetingClausesResp(rsp *http.Response) (*UpdateSponsoredProductsNegativeTargetingClausesResp, error)

ParseUpdateSponsoredProductsNegativeTargetingClausesResp parses an HTTP response from a UpdateSponsoredProductsNegativeTargetingClausesWithResponse call

func (UpdateSponsoredProductsNegativeTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsNegativeTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody

type UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsProductAdsRequestContent

UpdateSponsoredProductsProductAdsApplicationVndSpProductAdV3PlusJSONRequestBody defines body for UpdateSponsoredProductsProductAds for application/vnd.spProductAd.v3+json ContentType.

type UpdateSponsoredProductsProductAdsParams

type UpdateSponsoredProductsProductAdsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsProductAdsParams defines parameters for UpdateSponsoredProductsProductAds.

type UpdateSponsoredProductsProductAdsResp

func ParseUpdateSponsoredProductsProductAdsResp

func ParseUpdateSponsoredProductsProductAdsResp(rsp *http.Response) (*UpdateSponsoredProductsProductAdsResp, error)

ParseUpdateSponsoredProductsProductAdsResp parses an HTTP response from a UpdateSponsoredProductsProductAdsWithResponse call

func (UpdateSponsoredProductsProductAdsResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsProductAdsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody

type UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody = SponsoredProductsUpdateSponsoredProductsTargetingClausesRequestContent

UpdateSponsoredProductsTargetingClausesApplicationVndSpTargetingClauseV3PlusJSONRequestBody defines body for UpdateSponsoredProductsTargetingClauses for application/vnd.spTargetingClause.v3+json ContentType.

type UpdateSponsoredProductsTargetingClausesParams

type UpdateSponsoredProductsTargetingClausesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`

	// AmazonAdvertisingAPIScope The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list
	// profiles associated with the access token passed in the HTTP Authorization header.
	AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"`

	// Prefer The "Prefer" header, as defined in [RFC7240], allows clients to request certain behavior from the service.
	// The service ignores preference values that are either not supported or not known by the service.
	// Either multiple Prefer headers are passed or single one with comma separated values, both forms are equivalent
	// Supported preferences:
	// return=representation - return the full object when doing create/update/delete operations instead of ids.
	// Please note that the extendedData field will be part of the full object for /list endpoints only.
	Prefer *string `json:"Prefer,omitempty"`
}

UpdateSponsoredProductsTargetingClausesParams defines parameters for UpdateSponsoredProductsTargetingClauses.

type UpdateSponsoredProductsTargetingClausesResp

func ParseUpdateSponsoredProductsTargetingClausesResp

func ParseUpdateSponsoredProductsTargetingClausesResp(rsp *http.Response) (*UpdateSponsoredProductsTargetingClausesResp, error)

ParseUpdateSponsoredProductsTargetingClausesResp parses an HTTP response from a UpdateSponsoredProductsTargetingClausesWithResponse call

func (UpdateSponsoredProductsTargetingClausesResp) Status

Status returns HTTPResponse.Status

func (UpdateSponsoredProductsTargetingClausesResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ValidationException

type ValidationException struct {
	// Code The HTTP status code of the response.
	Code *string `json:"code,omitempty"`

	// Details A human-readable description of the response.
	Details *string `json:"details,omitempty"`
}

ValidationException Returns information about a ValidationException.

type Values

type Values struct {
	// Clicks Clicks benchmark.
	Clicks *Clicks `json:"clicks,omitempty"`

	// Conversions Conversions benchmark.
	Conversions *Conversions `json:"conversions,omitempty"`

	// Impressions Impressions benchmark.
	Impressions *Impressions `json:"impressions,omitempty"`
}

Values Metrics benchmark values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL