Documentation
¶
Overview ¶
Package sponsoredbrands 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 ¶
- func NewCreateAssociatedBudgetRulesForSBCampaignsRequest(server string, campaignId string, ...) (*http.Request, error)
- func NewCreateAssociatedBudgetRulesForSBCampaignsRequestWithBody(server string, campaignId string, ...) (*http.Request, error)
- func NewCreateBrandVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateBrandVideoCreativeParams, ...) (*http.Request, error)
- func NewCreateBrandVideoCreativeRequestWithBody(server string, params *CreateBrandVideoCreativeParams, contentType string, ...) (*http.Request, error)
- func NewCreateBudgetRulesForSBCampaignsRequest(server string, params *CreateBudgetRulesForSBCampaignsParams, ...) (*http.Request, error)
- func NewCreateBudgetRulesForSBCampaignsRequestWithBody(server string, params *CreateBudgetRulesForSBCampaignsParams, ...) (*http.Request, error)
- func NewCreateProductCollectionCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateProductCollectionCreativeParams, ...) (*http.Request, error)
- func NewCreateProductCollectionCreativeRequestWithBody(server string, params *CreateProductCollectionCreativeParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithBody(server string, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsAdGroupsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsAdGroupsRequestWithBody(server string, params *CreateSponsoredBrandsAdGroupsParams, contentType string, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsBrandVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsBrandVideoAdsRequestWithBody(server string, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsCampaignsRequestWithBody(server string, params *CreateSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsProductCollectionAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsProductCollectionAdsRequestWithBody(server string, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsVideoAdsParams, ...) (*http.Request, error)
- func NewCreateSponsoredBrandsVideoAdsRequestWithBody(server string, params *CreateSponsoredBrandsVideoAdsParams, contentType string, ...) (*http.Request, error)
- func NewCreateStoreSpotlightCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateStoreSpotlightCreativeParams, ...) (*http.Request, error)
- func NewCreateStoreSpotlightCreativeRequestWithBody(server string, params *CreateStoreSpotlightCreativeParams, contentType string, ...) (*http.Request, error)
- func NewCreateVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateVideoCreativeParams, ...) (*http.Request, error)
- func NewCreateVideoCreativeRequestWithBody(server string, params *CreateVideoCreativeParams, contentType string, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsAdGroupsParams, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsAdGroupsRequestWithBody(server string, params *DeleteSponsoredBrandsAdGroupsParams, contentType string, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsAdsParams, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsAdsRequestWithBody(server string, params *DeleteSponsoredBrandsAdsParams, contentType string, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewDeleteSponsoredBrandsCampaignsRequestWithBody(server string, params *DeleteSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewDisassociateAssociatedBudgetRuleForSBCampaignsRequest(server string, campaignId string, budgetRuleId string, ...) (*http.Request, error)
- func NewGetBudgetRecommendationsRequestWithApplicationVndSbbudgetrecommendationV4PlusJSONBody(server string, params *GetBudgetRecommendationsParams, ...) (*http.Request, error)
- func NewGetBudgetRecommendationsRequestWithBody(server string, params *GetBudgetRecommendationsParams, contentType string, ...) (*http.Request, error)
- func NewGetBudgetRuleByRuleIdForSBCampaignsRequest(server string, budgetRuleId string, ...) (*http.Request, error)
- func NewGetCampaignsAssociatedWithSBBudgetRuleRequest(server string, budgetRuleId string, ...) (*http.Request, error)
- func NewGetHeadlineRecommendationsRequest(server string, params *GetHeadlineRecommendationsParams, ...) (*http.Request, error)
- func NewGetHeadlineRecommendationsRequestWithBody(server string, params *GetHeadlineRecommendationsParams, contentType string, ...) (*http.Request, error)
- func NewGetKeywordRecommendationsRequestWithApplicationVndSbkeywordrecommendationV3PlusJSONBody(server string, params *GetKeywordRecommendationsParams, ...) (*http.Request, error)
- func NewGetKeywordRecommendationsRequestWithBody(server string, params *GetKeywordRecommendationsParams, contentType string, ...) (*http.Request, error)
- func NewGetRuleBasedBudgetHistoryForSBCampaignsRequest(server string, campaignId string, ...) (*http.Request, error)
- func NewGetSBBudgetRulesForAdvertiserRequest(server string, params *GetSBBudgetRulesForAdvertiserParams) (*http.Request, error)
- func NewListAssociatedBudgetRulesForSBCampaignsRequest(server string, campaignId string, ...) (*http.Request, error)
- func NewListCreativesRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *ListCreativesParams, ...) (*http.Request, error)
- func NewListCreativesRequestWithBody(server string, params *ListCreativesParams, contentType string, body io.Reader) (*http.Request, error)
- func NewListSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsAdGroupsParams, ...) (*http.Request, error)
- func NewListSponsoredBrandsAdGroupsRequestWithBody(server string, params *ListSponsoredBrandsAdGroupsParams, contentType string, ...) (*http.Request, error)
- func NewListSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsAdsParams, ...) (*http.Request, error)
- func NewListSponsoredBrandsAdsRequestWithBody(server string, params *ListSponsoredBrandsAdsParams, contentType string, ...) (*http.Request, error)
- func NewListSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewListSponsoredBrandsCampaignsRequestWithBody(server string, params *ListSponsoredBrandsCampaignsParams, contentType string, ...) (*http.Request, error)
- func NewSBGetBudgetRulesRecommendationRequestWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody(server string, params *SBGetBudgetRulesRecommendationParams, ...) (*http.Request, error)
- func NewSBGetBudgetRulesRecommendationRequestWithBody(server string, params *SBGetBudgetRulesRecommendationParams, ...) (*http.Request, error)
- func NewSBInsightsCampaignInsightsRequestWithApplicationVndSbinsightsV4PlusJSONBody(server string, params *SBInsightsCampaignInsightsParams, ...) (*http.Request, error)
- func NewSBInsightsCampaignInsightsRequestWithBody(server string, params *SBInsightsCampaignInsightsParams, contentType string, ...) (*http.Request, error)
- func NewSBTargetingGetNegativeBrandsRequest(server string, params *SBTargetingGetNegativeBrandsParams) (*http.Request, error)
- func NewSBTargetingGetRefinementsForCategoryRequest(server string, categoryRefinementId string, ...) (*http.Request, error)
- func NewSBTargetingGetTargetableASINCountsRequestWithApplicationVndSbtargetingV4PlusJSONBody(server string, params *SBTargetingGetTargetableASINCountsParams, ...) (*http.Request, error)
- func NewSBTargetingGetTargetableASINCountsRequestWithBody(server string, params *SBTargetingGetTargetableASINCountsParams, ...) (*http.Request, error)
- func NewSBTargetingGetTargetableCategoriesRequest(server string, params *SBTargetingGetTargetableCategoriesParams) (*http.Request, error)
- func NewSbCampaignsBudgetUsageRequestWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody(server string, params *SbCampaignsBudgetUsageParams, ...) (*http.Request, error)
- func NewSbCampaignsBudgetUsageRequestWithBody(server string, params *SbCampaignsBudgetUsageParams, contentType string, ...) (*http.Request, error)
- func NewUpdateBudgetRulesForSBCampaignsRequest(server string, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*http.Request, error)
- func NewUpdateBudgetRulesForSBCampaignsRequestWithBody(server string, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsAdGroupsParams, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsAdGroupsRequestWithBody(server string, params *UpdateSponsoredBrandsAdGroupsParams, contentType string, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsAdsParams, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsAdsRequestWithBody(server string, params *UpdateSponsoredBrandsAdsParams, contentType string, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- func NewUpdateSponsoredBrandsCampaignsRequestWithBody(server string, params *UpdateSponsoredBrandsCampaignsParams, ...) (*http.Request, error)
- type AcceptHeader
- type AccessDeniedErrorCode
- type AccessDeniedExceptionResponseContent
- type Ad
- type AdExtendedData
- type AdFailureResponseItem
- type AdGroup
- type AdGroupExtendedData
- type AdGroupFailureResponseItem
- type AdGroupMutationError
- type AdGroupMutationErrorSelector
- type AdGroupServingStatus
- type AdGroupSuccessResponseItem
- type AdMutationError
- type AdMutationErrorSelector
- type AdServingStatus
- type AdSuccessResponseItem
- type AssetCrop
- type AssociatedBudgetRuleResponse
- type AssociatedCampaign
- type BidAdjustmentByPlacement
- type BidAdjustmentByShopperSegment
- type BidOptimizationStrategy
- type Bidding
- type BiddingError
- type BillingError
- type BrandLogoCrop
- type BrandVideoCreative
- type BudgetChangeType
- type BudgetError
- type BudgetIncreaseBy
- type BudgetRecommendation
- type BudgetRecommendationError
- type BudgetRuleError
- type BudgetRuleResponse
- type BudgetType
- type BudgetUsageCampaign
- type BudgetUsageCampaignBatchError
- type BudgetUsageCampaignRequest
- type BudgetUsageCampaignResponse
- type BudgetUsageError
- type BulkAdGroupOperationResponse
- type BulkAdOperationResponse
- type BulkCampaignOperationResponse
- type Campaign
- type CampaignExtendedData
- type CampaignMutationError
- type CampaignMutationErrorSelector
- type CampaignMutationFailureResponseItem
- type CampaignMutationSuccessResponseItem
- type CampaignServingStatus
- type Client
- func (c *Client) CreateAssociatedBudgetRulesForSBCampaigns(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) CreateAssociatedBudgetRulesForSBCampaignsWithBody(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateBrandVideoCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateBrandVideoCreativeWithBody(ctx context.Context, params *CreateBrandVideoCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateBudgetRulesForSBCampaigns(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, ...) (*http.Response, error)
- func (c *Client) CreateBudgetRulesForSBCampaignsWithBody(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, ...) (*http.Response, error)
- func (c *Client) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateProductCollectionCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateProductCollectionCreativeWithBody(ctx context.Context, params *CreateProductCollectionCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandStoreSpotlightAdsWithBody(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsBrandVideoAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsCampaignsWithBody(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsProductCollectionAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateSponsoredBrandsVideoAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, ...) (*http.Response, error)
- func (c *Client) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateStoreSpotlightCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateStoreSpotlightCreativeWithBody(ctx context.Context, params *CreateStoreSpotlightCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateVideoCreativeParams, ...) (*http.Response, error)
- func (c *Client) CreateVideoCreativeWithBody(ctx context.Context, params *CreateVideoCreativeParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsAdsWithBody(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) DeleteSponsoredBrandsCampaignsWithBody(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) DisassociateAssociatedBudgetRuleForSBCampaigns(ctx context.Context, campaignId string, budgetRuleId string, ...) (*http.Response, error)
- func (c *Client) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBody(ctx context.Context, params *GetBudgetRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetBudgetRecommendationsWithBody(ctx context.Context, params *GetBudgetRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetBudgetRuleByRuleIdForSBCampaigns(ctx context.Context, budgetRuleId string, ...) (*http.Response, error)
- func (c *Client) GetCampaignsAssociatedWithSBBudgetRule(ctx context.Context, budgetRuleId string, ...) (*http.Response, error)
- func (c *Client) GetHeadlineRecommendations(ctx context.Context, params *GetHeadlineRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetHeadlineRecommendationsWithBody(ctx context.Context, params *GetHeadlineRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBody(ctx context.Context, params *GetKeywordRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetKeywordRecommendationsWithBody(ctx context.Context, params *GetKeywordRecommendationsParams, ...) (*http.Response, error)
- func (c *Client) GetRuleBasedBudgetHistoryForSBCampaigns(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) GetSBBudgetRulesForAdvertiser(ctx context.Context, params *GetSBBudgetRulesForAdvertiserParams) (*http.Response, error)
- func (c *Client) ListAssociatedBudgetRulesForSBCampaigns(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *ListCreativesParams, ...) (*http.Response, error)
- func (c *Client) ListCreativesWithBody(ctx context.Context, params *ListCreativesParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdsParams, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsAdsWithBody(ctx context.Context, params *ListSponsoredBrandsAdsParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) ListSponsoredBrandsCampaignsWithBody(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, ...) (*http.Response, error)
- func (c *Client) SBGetBudgetRulesRecommendationWithBody(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, ...) (*http.Response, error)
- func (c *Client) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBody(ctx context.Context, params *SBInsightsCampaignInsightsParams, ...) (*http.Response, error)
- func (c *Client) SBInsightsCampaignInsightsWithBody(ctx context.Context, params *SBInsightsCampaignInsightsParams, ...) (*http.Response, error)
- func (c *Client) SBTargetingGetNegativeBrands(ctx context.Context, params *SBTargetingGetNegativeBrandsParams) (*http.Response, error)
- func (c *Client) SBTargetingGetRefinementsForCategory(ctx context.Context, categoryRefinementId string, ...) (*http.Response, error)
- func (c *Client) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBody(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, ...) (*http.Response, error)
- func (c *Client) SBTargetingGetTargetableASINCountsWithBody(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, ...) (*http.Response, error)
- func (c *Client) SBTargetingGetTargetableCategories(ctx context.Context, params *SBTargetingGetTargetableCategoriesParams) (*http.Response, error)
- func (c *Client) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody(ctx context.Context, params *SbCampaignsBudgetUsageParams, ...) (*http.Response, error)
- func (c *Client) SbCampaignsBudgetUsageWithBody(ctx context.Context, params *SbCampaignsBudgetUsageParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateBudgetRulesForSBCampaigns(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*http.Response, error)
- func (c *Client) UpdateBudgetRulesForSBCampaignsWithBody(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsAdsWithBody(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSponsoredBrandsCampaignsWithBody(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, campaignId string, ...) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) CreateAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, ...) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, ...) (*CreateBrandVideoCreativeResp, error)
- func (c *ClientWithResponses) CreateBrandVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, ...) (*CreateBrandVideoCreativeResp, error)
- func (c *ClientWithResponses) CreateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, ...) (*CreateBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) CreateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, ...) (*CreateBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, ...) (*CreateProductCollectionCreativeResp, error)
- func (c *ClientWithResponses) CreateProductCollectionCreativeWithBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, ...) (*CreateProductCollectionCreativeResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*CreateSponsoredBrandStoreSpotlightAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, ...) (*CreateSponsoredBrandStoreSpotlightAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, ...) (*CreateSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, ...) (*CreateSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*CreateSponsoredBrandsBrandVideoAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, ...) (*CreateSponsoredBrandsBrandVideoAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, ...) (*CreateSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, ...) (*CreateSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*CreateSponsoredBrandsProductCollectionAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, ...) (*CreateSponsoredBrandsProductCollectionAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, ...) (*CreateSponsoredBrandsVideoAdsResp, error)
- func (c *ClientWithResponses) CreateSponsoredBrandsVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, ...) (*CreateSponsoredBrandsVideoAdsResp, error)
- func (c *ClientWithResponses) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, ...) (*CreateStoreSpotlightCreativeResp, error)
- func (c *ClientWithResponses) CreateStoreSpotlightCreativeWithBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, ...) (*CreateStoreSpotlightCreativeResp, error)
- func (c *ClientWithResponses) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, ...) (*CreateVideoCreativeResp, error)
- func (c *ClientWithResponses) CreateVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, contentType string, ...) (*CreateVideoCreativeResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, ...) (*DeleteSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, ...) (*DeleteSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, ...) (*DeleteSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, ...) (*DeleteSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, ...) (*DeleteSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) DeleteSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, ...) (*DeleteSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse(ctx context.Context, campaignId string, budgetRuleId string, ...) (*DisassociateAssociatedBudgetRuleForSBCampaignsResp, error)
- func (c *ClientWithResponses) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, ...) (*GetBudgetRecommendationsResp, error)
- func (c *ClientWithResponses) GetBudgetRecommendationsWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, ...) (*GetBudgetRecommendationsResp, error)
- func (c *ClientWithResponses) GetBudgetRuleByRuleIdForSBCampaignsWithResponse(ctx context.Context, budgetRuleId string, ...) (*GetBudgetRuleByRuleIdForSBCampaignsResp, error)
- func (c *ClientWithResponses) GetCampaignsAssociatedWithSBBudgetRuleWithResponse(ctx context.Context, budgetRuleId string, ...) (*GetCampaignsAssociatedWithSBBudgetRuleResp, error)
- func (c *ClientWithResponses) GetHeadlineRecommendationsWithBodyWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, ...) (*GetHeadlineRecommendationsResp, error)
- func (c *ClientWithResponses) GetHeadlineRecommendationsWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, ...) (*GetHeadlineRecommendationsResp, error)
- func (c *ClientWithResponses) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, ...) (*GetKeywordRecommendationsResp, error)
- func (c *ClientWithResponses) GetKeywordRecommendationsWithBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, ...) (*GetKeywordRecommendationsResp, error)
- func (c *ClientWithResponses) GetRuleBasedBudgetHistoryForSBCampaignsWithResponse(ctx context.Context, campaignId string, ...) (*GetRuleBasedBudgetHistoryForSBCampaignsResp, error)
- func (c *ClientWithResponses) GetSBBudgetRulesForAdvertiserWithResponse(ctx context.Context, params *GetSBBudgetRulesForAdvertiserParams) (*GetSBBudgetRulesForAdvertiserResp, error)
- func (c *ClientWithResponses) ListAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, ...) (*ListAssociatedBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListCreativesParams, ...) (*ListCreativesResp, error)
- func (c *ClientWithResponses) ListCreativesWithBodyWithResponse(ctx context.Context, params *ListCreativesParams, contentType string, ...) (*ListCreativesResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, ...) (*ListSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, ...) (*ListSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, ...) (*ListSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, contentType string, ...) (*ListSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, ...) (*ListSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) ListSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, ...) (*ListSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, ...) (*SBGetBudgetRulesRecommendationResp, error)
- func (c *ClientWithResponses) SBGetBudgetRulesRecommendationWithBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, ...) (*SBGetBudgetRulesRecommendationResp, error)
- func (c *ClientWithResponses) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, ...) (*SBInsightsCampaignInsightsResp, error)
- func (c *ClientWithResponses) SBInsightsCampaignInsightsWithBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, ...) (*SBInsightsCampaignInsightsResp, error)
- func (c *ClientWithResponses) SBTargetingGetNegativeBrandsWithResponse(ctx context.Context, params *SBTargetingGetNegativeBrandsParams) (*SBTargetingGetNegativeBrandsResp, error)
- func (c *ClientWithResponses) SBTargetingGetRefinementsForCategoryWithResponse(ctx context.Context, categoryRefinementId string, ...) (*SBTargetingGetRefinementsForCategoryResp, error)
- func (c *ClientWithResponses) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, ...) (*SBTargetingGetTargetableASINCountsResp, error)
- func (c *ClientWithResponses) SBTargetingGetTargetableASINCountsWithBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, ...) (*SBTargetingGetTargetableASINCountsResp, error)
- func (c *ClientWithResponses) SBTargetingGetTargetableCategoriesWithResponse(ctx context.Context, params *SBTargetingGetTargetableCategoriesParams) (*SBTargetingGetTargetableCategoriesResp, error)
- func (c *ClientWithResponses) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, ...) (*SbCampaignsBudgetUsageResp, error)
- func (c *ClientWithResponses) SbCampaignsBudgetUsageWithBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, contentType string, ...) (*SbCampaignsBudgetUsageResp, error)
- func (c *ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*UpdateBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, ...) (*UpdateBudgetRulesForSBCampaignsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, ...) (*UpdateSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, ...) (*UpdateSponsoredBrandsAdGroupsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, ...) (*UpdateSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, ...) (*UpdateSponsoredBrandsAdsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, ...) (*UpdateSponsoredBrandsCampaignsResp, error)
- func (c *ClientWithResponses) UpdateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, ...) (*UpdateSponsoredBrandsCampaignsResp, error)
- type ClientWithResponsesInterface
- type ComparisonOperator
- type ConflictStateErrorCode
- type ConflictStateExceptionResponseContent
- type CreateAdGroup
- type CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody
- type CreateAssociatedBudgetRulesForSBCampaignsParams
- type CreateAssociatedBudgetRulesForSBCampaignsResp
- type CreateAssociatedBudgetRulesRequest
- type CreateAssociatedBudgetRulesResponse
- type CreateBrandVideoAd
- type CreateBrandVideoCreative
- type CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody
- type CreateBrandVideoCreativeParams
- type CreateBrandVideoCreativeRequestContent
- type CreateBrandVideoCreativeResp
- type CreateBrandVideoCreativeResponseContent
- type CreateBudgetRulesForSBCampaignsJSONRequestBody
- type CreateBudgetRulesForSBCampaignsParams
- type CreateBudgetRulesForSBCampaignsResp
- type CreateBudgetRulesResponse
- type CreateCampaign
- type CreateOrUpdateEntityState
- type CreateProductCollectionAd
- type CreateProductCollectionCreative
- type CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody
- type CreateProductCollectionCreativeParams
- type CreateProductCollectionCreativeRequestContent
- type CreateProductCollectionCreativeResp
- type CreateProductCollectionCreativeResponseContent
- type CreateSBBudgetRulesRequest
- type CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandStoreSpotlightAdsParams
- type CreateSponsoredBrandStoreSpotlightAdsRequestContent
- type CreateSponsoredBrandStoreSpotlightAdsResp
- type CreateSponsoredBrandStoreSpotlightAdsResponseContent
- type CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandsAdGroupsParams
- type CreateSponsoredBrandsAdGroupsRequestContent
- type CreateSponsoredBrandsAdGroupsResp
- type CreateSponsoredBrandsAdGroupsResponseContent
- type CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandsBrandVideoAdsParams
- type CreateSponsoredBrandsBrandVideoAdsRequestContent
- type CreateSponsoredBrandsBrandVideoAdsResp
- type CreateSponsoredBrandsBrandVideoAdsResponseContent
- type CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandsCampaignsParams
- type CreateSponsoredBrandsCampaignsRequestContent
- type CreateSponsoredBrandsCampaignsResp
- type CreateSponsoredBrandsCampaignsResponseContent
- type CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandsProductCollectionAdsParams
- type CreateSponsoredBrandsProductCollectionAdsRequestContent
- type CreateSponsoredBrandsProductCollectionAdsResp
- type CreateSponsoredBrandsProductCollectionAdsResponseContent
- type CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type CreateSponsoredBrandsVideoAdsParams
- type CreateSponsoredBrandsVideoAdsRequestContent
- type CreateSponsoredBrandsVideoAdsResp
- type CreateSponsoredBrandsVideoAdsResponseContent
- type CreateStoreSpotlightAd
- type CreateStoreSpotlightCreative
- type CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody
- type CreateStoreSpotlightCreativeParams
- type CreateStoreSpotlightCreativeRequestContent
- type CreateStoreSpotlightCreativeResp
- type CreateStoreSpotlightCreativeResponseContent
- type CreateVideoAd
- type CreateVideoCreative
- type CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody
- type CreateVideoCreativeParams
- type CreateVideoCreativeRequestContent
- type CreateVideoCreativeResp
- type CreateVideoCreativeResponseContent
- type Creative
- type CreativeLandingPage
- type CreativeLandingPageType
- type CreativeProperties
- type CreativeStatus
- type CreativeType
- type CustomImage
- type CustomImageCrop
- type DateError
- type DateRangeTypeRuleDuration
- type DayOfWeek
- type DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody
- type DeleteSponsoredBrandsAdGroupsParams
- type DeleteSponsoredBrandsAdGroupsRequestContent
- type DeleteSponsoredBrandsAdGroupsResp
- type DeleteSponsoredBrandsAdGroupsResponseContent
- type DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type DeleteSponsoredBrandsAdsParams
- type DeleteSponsoredBrandsAdsRequestContent
- type DeleteSponsoredBrandsAdsResp
- type DeleteSponsoredBrandsAdsResponseContent
- type DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody
- type DeleteSponsoredBrandsCampaignsParams
- type DeleteSponsoredBrandsCampaignsRequestContent
- type DeleteSponsoredBrandsCampaignsResp
- type DeleteSponsoredBrandsCampaignsResponseContent
- type DisassociateAssociatedBudgetRuleForSBCampaignsParams
- type DisassociateAssociatedBudgetRuleForSBCampaignsResp
- type DisassociateAssociatedBudgetRuleResponse
- type EntityState
- type EntityStateFilter
- type ErrorCause
- type EventTypeRuleDuration
- type GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody
- type GetBudgetRecommendationsParams
- type GetBudgetRecommendationsRequestContent
- type GetBudgetRecommendationsResp
- type GetBudgetRecommendationsResponseContent
- type GetBudgetRuleByRuleIdForSBCampaignsParams
- type GetBudgetRuleByRuleIdForSBCampaignsResp
- type GetCampaignsAssociatedWithSBBudgetRuleParams
- type GetCampaignsAssociatedWithSBBudgetRuleResp
- type GetHeadlineRecommendationsJSONRequestBody
- type GetHeadlineRecommendationsParams
- type GetHeadlineRecommendationsResp
- type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONBody
- type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody
- type GetKeywordRecommendationsParams
- type GetKeywordRecommendationsResp
- type GetRuleBasedBudgetHistoryForSBCampaignsParams
- type GetRuleBasedBudgetHistoryForSBCampaignsResp
- type GetSBBudgetRuleResponse
- type GetSBBudgetRulesForAdvertiserParams
- type GetSBBudgetRulesForAdvertiserResp
- type GetSBBudgetRulesForAdvertiserResponse
- type GoalTypeFilter
- type HeadlineSuggestionRequest
- type HeadlineSuggestionRequestAdFormat
- type HeadlineSuggestionResponse
- type HttpRequestDoer
- type InternalErrorErrorCode
- type InternalServerExceptionResponseContent
- type InvalidArgumentError
- type InvalidArgumentErrorCode
- type InvalidArgumentErrorSelector
- type InvalidArgumentExceptionResponseContent
- type LandingPage
- type LandingPageType
- type ListAssociatedBudgetRulesForSBCampaignsParams
- type ListAssociatedBudgetRulesForSBCampaignsResp
- type ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody
- type ListCreativesParams
- type ListCreativesRequestContent
- type ListCreativesResp
- type ListCreativesResponseContent
- type ListCreativesResultEntry
- type ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody
- type ListSponsoredBrandsAdGroupsParams
- type ListSponsoredBrandsAdGroupsRequestContent
- type ListSponsoredBrandsAdGroupsResp
- type ListSponsoredBrandsAdGroupsResponseContent
- type ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type ListSponsoredBrandsAdsParams
- type ListSponsoredBrandsAdsRequestContent
- type ListSponsoredBrandsAdsResp
- type ListSponsoredBrandsAdsResponseContent
- type ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody
- type ListSponsoredBrandsCampaignsParams
- type ListSponsoredBrandsCampaignsRequestContent
- type ListSponsoredBrandsCampaignsResp
- type ListSponsoredBrandsCampaignsResponseContent
- type ModerationError
- type MultiAdGroupAd
- type NameFilter
- type NotFoundErrorCode
- type NotFoundExceptionResponseContent
- type ObjectIdFilter
- type OtherError
- type PerformanceMeasureConditionForSB
- type PerformanceMetricForSB
- type PerformanceMetricValue
- type Placement
- type ProductCollectionCreative
- type ProductLocation
- type QueryTermMatchType
- type RangeError
- type Recurrence
- type RecurrenceType
- type RequestEditorFn
- type ResponseEditorFn
- type RuleBasedBudget
- type RuleDuration
- type SBBudgetHistory
- type SBBudgetRule
- type SBBudgetRuleDetails
- type SBBudgetRulesRecommendationError
- type SBBudgetRulesRecommendationEvent
- type SBBudgetRulesRecommendationEventRequest
- type SBBudgetRulesRecommendationEventResponse
- type SBCampaignBudgetRule
- type SBGetAssociatedCampaignsResponse
- type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody
- type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody
- type SBGetBudgetRulesRecommendationParams
- type SBGetBudgetRulesRecommendationResp
- type SBInsightsAdFormat
- type SBInsightsAdGroup
- type SBInsightsBadRequestExceptionResponseContent
- type SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody
- type SBInsightsCampaignInsightsParams
- type SBInsightsCampaignInsightsRequestContent
- type SBInsightsCampaignInsightsResp
- type SBInsightsCampaignInsightsResponseContent
- type SBInsightsInternalServerExceptionResponseContent
- type SBInsightsKeyword
- type SBInsightsKeywordAlertType
- type SBInsightsKeywordInsight
- type SBInsightsMatchType
- type SBInsightsObject
- func (t SBInsightsObject) AsSBInsightsObject0() (SBInsightsObject0, error)
- func (t *SBInsightsObject) FromSBInsightsObject0(v SBInsightsObject0) error
- func (t SBInsightsObject) MarshalJSON() ([]byte, error)
- func (t *SBInsightsObject) MergeSBInsightsObject0(v SBInsightsObject0) error
- func (t *SBInsightsObject) UnmarshalJSON(b []byte) error
- type SBInsightsObject0
- type SBInsightsThrottlingExceptionResponseContent
- type SBInsightsUnauthorizedExceptionResponseContent
- type SBInsightsUnprocessableEntityExceptionResponseContent
- type SBKeywordRecommendationCreativeType
- type SBKeywordRecommendationError
- type SBKeywordRecommendationImpressionRank
- type SBKeywordRecommendationImpressionShare
- type SBKeywordRecommendationMatchType
- type SBKeywordRecommendationOutcome
- type SBKeywordRecommendationRequestAsin
- type SBKeywordRecommendationRequestUrl
- type SBKeywordRecommendationResponse
- type SBKeywordRecommendationType
- type SBKeywordSuggestion
- type SBListAssociatedBudgetRulesResponse
- type SBRuleBasedBudget
- type SBRuleType
- type SBTargetingAccessDeniedExceptionResponseContent
- type SBTargetingAgeRange
- type SBTargetingBadRequestExceptionResponseContent
- type SBTargetingBrand
- type SBTargetingCategory
- type SBTargetingEstimatedReachRange
- type SBTargetingGenre
- type SBTargetingGetNegativeBrandsParams
- type SBTargetingGetNegativeBrandsResp
- type SBTargetingGetNegativeBrandsResponseContent
- type SBTargetingGetRefinementsForCategoryParams
- type SBTargetingGetRefinementsForCategoryResp
- type SBTargetingGetRefinementsForCategoryResponseContent
- type SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody
- type SBTargetingGetTargetableASINCountsParams
- type SBTargetingGetTargetableASINCountsRequestContent
- type SBTargetingGetTargetableASINCountsResp
- type SBTargetingGetTargetableASINCountsResponseContent
- type SBTargetingGetTargetableCategoriesParams
- type SBTargetingGetTargetableCategoriesResp
- type SBTargetingGetTargetableCategoriesResponseContent
- type SBTargetingIntegerRange
- type SBTargetingInternalServerExceptionResponseContent
- type SBTargetingLocale
- type SBTargetingPriceRange
- type SBTargetingRatingRange
- type SBTargetingSupplySource
- type SBTargetingThrottlingExceptionResponseContent
- type SBTargetingUnauthorizedExceptionResponseContent
- type SBTargetingUnprocessableEntityExceptionResponseContent
- type SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody
- type SbCampaignsBudgetUsageParams
- type SbCampaignsBudgetUsageResp
- type SevenDaysMissedOpportunities
- type ShopperSegment
- type State
- type StorePage
- type StoreSpotlightCreative
- type Subpage
- type SuggestedHeadline
- type Tags
- type ThrottledErrorCode
- type ThrottlingExceptionResponseContent
- type UnauthorizedErrorCode
- type UnauthorizedExceptionResponseContent
- type UnsupportedMediaTypeExceptionResponseContent
- type UpdateAd
- type UpdateAdGroup
- type UpdateBudgetRulesForSBCampaignsJSONRequestBody
- type UpdateBudgetRulesForSBCampaignsParams
- type UpdateBudgetRulesForSBCampaignsResp
- type UpdateBudgetRulesResponse
- type UpdateCampaign
- type UpdateSBBudgetRulesRequest
- type UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody
- type UpdateSponsoredBrandsAdGroupsParams
- type UpdateSponsoredBrandsAdGroupsRequestContent
- type UpdateSponsoredBrandsAdGroupsResp
- type UpdateSponsoredBrandsAdGroupsResponseContent
- type UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody
- type UpdateSponsoredBrandsAdsParams
- type UpdateSponsoredBrandsAdsRequestContent
- type UpdateSponsoredBrandsAdsResp
- type UpdateSponsoredBrandsAdsResponseContent
- type UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody
- type UpdateSponsoredBrandsCampaignsParams
- type UpdateSponsoredBrandsCampaignsRequestContent
- type UpdateSponsoredBrandsCampaignsResp
- type UpdateSponsoredBrandsCampaignsResponseContent
- type VideoCreative
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateAssociatedBudgetRulesForSBCampaignsRequest ¶
func NewCreateAssociatedBudgetRulesForSBCampaignsRequest(server string, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, body CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody) (*http.Request, error)
NewCreateAssociatedBudgetRulesForSBCampaignsRequest calls the generic CreateAssociatedBudgetRulesForSBCampaigns builder with application/json body
func NewCreateAssociatedBudgetRulesForSBCampaignsRequestWithBody ¶
func NewCreateAssociatedBudgetRulesForSBCampaignsRequestWithBody(server string, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateAssociatedBudgetRulesForSBCampaignsRequestWithBody generates requests for CreateAssociatedBudgetRulesForSBCampaigns with any type of body
func NewCreateBrandVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func NewCreateBrandVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateBrandVideoCreativeParams, body CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateBrandVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody calls the generic CreateBrandVideoCreative builder with application/vnd.sbAdCreativeResource.v4+json body
func NewCreateBrandVideoCreativeRequestWithBody ¶
func NewCreateBrandVideoCreativeRequestWithBody(server string, params *CreateBrandVideoCreativeParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBrandVideoCreativeRequestWithBody generates requests for CreateBrandVideoCreative with any type of body
func NewCreateBudgetRulesForSBCampaignsRequest ¶
func NewCreateBudgetRulesForSBCampaignsRequest(server string, params *CreateBudgetRulesForSBCampaignsParams, body CreateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Request, error)
NewCreateBudgetRulesForSBCampaignsRequest calls the generic CreateBudgetRulesForSBCampaigns builder with application/json body
func NewCreateBudgetRulesForSBCampaignsRequestWithBody ¶
func NewCreateBudgetRulesForSBCampaignsRequestWithBody(server string, params *CreateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBudgetRulesForSBCampaignsRequestWithBody generates requests for CreateBudgetRulesForSBCampaigns with any type of body
func NewCreateProductCollectionCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func NewCreateProductCollectionCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateProductCollectionCreativeParams, body CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateProductCollectionCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody calls the generic CreateProductCollectionCreative builder with application/vnd.sbAdCreativeResource.v4+json body
func NewCreateProductCollectionCreativeRequestWithBody ¶
func NewCreateProductCollectionCreativeRequestWithBody(server string, params *CreateProductCollectionCreativeParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateProductCollectionCreativeRequestWithBody generates requests for CreateProductCollectionCreative with any type of body
func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandStoreSpotlightAdsParams, body CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandStoreSpotlightAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic CreateSponsoredBrandStoreSpotlightAds builder with application/vnd.sbadresource.v4+json body
func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithBody ¶
func NewCreateSponsoredBrandStoreSpotlightAdsRequestWithBody(server string, params *CreateSponsoredBrandStoreSpotlightAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandStoreSpotlightAdsRequestWithBody generates requests for CreateSponsoredBrandStoreSpotlightAds with any type of body
func NewCreateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsAdGroupsParams, body CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody calls the generic CreateSponsoredBrandsAdGroups builder with application/vnd.sbadgroupresource.v4+json body
func NewCreateSponsoredBrandsAdGroupsRequestWithBody ¶
func NewCreateSponsoredBrandsAdGroupsRequestWithBody(server string, params *CreateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandsAdGroupsRequestWithBody generates requests for CreateSponsoredBrandsAdGroups with any type of body
func NewCreateSponsoredBrandsBrandVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandsBrandVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsBrandVideoAdsParams, body CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandsBrandVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic CreateSponsoredBrandsBrandVideoAds builder with application/vnd.sbadresource.v4+json body
func NewCreateSponsoredBrandsBrandVideoAdsRequestWithBody ¶
func NewCreateSponsoredBrandsBrandVideoAdsRequestWithBody(server string, params *CreateSponsoredBrandsBrandVideoAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandsBrandVideoAdsRequestWithBody generates requests for CreateSponsoredBrandsBrandVideoAds with any type of body
func NewCreateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsCampaignsParams, body CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody calls the generic CreateSponsoredBrandsCampaigns builder with application/vnd.sbcampaignresource.v4+json body
func NewCreateSponsoredBrandsCampaignsRequestWithBody ¶
func NewCreateSponsoredBrandsCampaignsRequestWithBody(server string, params *CreateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandsCampaignsRequestWithBody generates requests for CreateSponsoredBrandsCampaigns with any type of body
func NewCreateSponsoredBrandsProductCollectionAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandsProductCollectionAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsProductCollectionAdsParams, body CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandsProductCollectionAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic CreateSponsoredBrandsProductCollectionAds builder with application/vnd.sbadresource.v4+json body
func NewCreateSponsoredBrandsProductCollectionAdsRequestWithBody ¶
func NewCreateSponsoredBrandsProductCollectionAdsRequestWithBody(server string, params *CreateSponsoredBrandsProductCollectionAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandsProductCollectionAdsRequestWithBody generates requests for CreateSponsoredBrandsProductCollectionAds with any type of body
func NewCreateSponsoredBrandsVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewCreateSponsoredBrandsVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *CreateSponsoredBrandsVideoAdsParams, body CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateSponsoredBrandsVideoAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic CreateSponsoredBrandsVideoAds builder with application/vnd.sbadresource.v4+json body
func NewCreateSponsoredBrandsVideoAdsRequestWithBody ¶
func NewCreateSponsoredBrandsVideoAdsRequestWithBody(server string, params *CreateSponsoredBrandsVideoAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSponsoredBrandsVideoAdsRequestWithBody generates requests for CreateSponsoredBrandsVideoAds with any type of body
func NewCreateStoreSpotlightCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func NewCreateStoreSpotlightCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateStoreSpotlightCreativeParams, body CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateStoreSpotlightCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody calls the generic CreateStoreSpotlightCreative builder with application/vnd.sbAdCreativeResource.v4+json body
func NewCreateStoreSpotlightCreativeRequestWithBody ¶
func NewCreateStoreSpotlightCreativeRequestWithBody(server string, params *CreateStoreSpotlightCreativeParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateStoreSpotlightCreativeRequestWithBody generates requests for CreateStoreSpotlightCreative with any type of body
func NewCreateVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func NewCreateVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *CreateVideoCreativeParams, body CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Request, error)
NewCreateVideoCreativeRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody calls the generic CreateVideoCreative builder with application/vnd.sbAdCreativeResource.v4+json body
func NewCreateVideoCreativeRequestWithBody ¶
func NewCreateVideoCreativeRequestWithBody(server string, params *CreateVideoCreativeParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVideoCreativeRequestWithBody generates requests for CreateVideoCreative with any type of body
func NewDeleteSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func NewDeleteSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsAdGroupsParams, body DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Request, error)
NewDeleteSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody calls the generic DeleteSponsoredBrandsAdGroups builder with application/vnd.sbadgroupresource.v4+json body
func NewDeleteSponsoredBrandsAdGroupsRequestWithBody ¶
func NewDeleteSponsoredBrandsAdGroupsRequestWithBody(server string, params *DeleteSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)
NewDeleteSponsoredBrandsAdGroupsRequestWithBody generates requests for DeleteSponsoredBrandsAdGroups with any type of body
func NewDeleteSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewDeleteSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsAdsParams, body DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewDeleteSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic DeleteSponsoredBrandsAds builder with application/vnd.sbadresource.v4+json body
func NewDeleteSponsoredBrandsAdsRequestWithBody ¶
func NewDeleteSponsoredBrandsAdsRequestWithBody(server string, params *DeleteSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewDeleteSponsoredBrandsAdsRequestWithBody generates requests for DeleteSponsoredBrandsAds with any type of body
func NewDeleteSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func NewDeleteSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *DeleteSponsoredBrandsCampaignsParams, body DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Request, error)
NewDeleteSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody calls the generic DeleteSponsoredBrandsCampaigns builder with application/vnd.sbcampaignresource.v4+json body
func NewDeleteSponsoredBrandsCampaignsRequestWithBody ¶
func NewDeleteSponsoredBrandsCampaignsRequestWithBody(server string, params *DeleteSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewDeleteSponsoredBrandsCampaignsRequestWithBody generates requests for DeleteSponsoredBrandsCampaigns with any type of body
func NewDisassociateAssociatedBudgetRuleForSBCampaignsRequest ¶
func NewDisassociateAssociatedBudgetRuleForSBCampaignsRequest(server string, campaignId string, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSBCampaignsParams) (*http.Request, error)
NewDisassociateAssociatedBudgetRuleForSBCampaignsRequest generates requests for DisassociateAssociatedBudgetRuleForSBCampaigns
func NewGetBudgetRecommendationsRequestWithApplicationVndSbbudgetrecommendationV4PlusJSONBody ¶
func NewGetBudgetRecommendationsRequestWithApplicationVndSbbudgetrecommendationV4PlusJSONBody(server string, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody) (*http.Request, error)
NewGetBudgetRecommendationsRequestWithApplicationVndSbbudgetrecommendationV4PlusJSONBody calls the generic GetBudgetRecommendations builder with application/vnd.sbbudgetrecommendation.v4+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 NewGetBudgetRuleByRuleIdForSBCampaignsRequest ¶
func NewGetBudgetRuleByRuleIdForSBCampaignsRequest(server string, budgetRuleId string, params *GetBudgetRuleByRuleIdForSBCampaignsParams) (*http.Request, error)
NewGetBudgetRuleByRuleIdForSBCampaignsRequest generates requests for GetBudgetRuleByRuleIdForSBCampaigns
func NewGetCampaignsAssociatedWithSBBudgetRuleRequest ¶
func NewGetCampaignsAssociatedWithSBBudgetRuleRequest(server string, budgetRuleId string, params *GetCampaignsAssociatedWithSBBudgetRuleParams) (*http.Request, error)
NewGetCampaignsAssociatedWithSBBudgetRuleRequest generates requests for GetCampaignsAssociatedWithSBBudgetRule
func NewGetHeadlineRecommendationsRequest ¶
func NewGetHeadlineRecommendationsRequest(server string, params *GetHeadlineRecommendationsParams, body GetHeadlineRecommendationsJSONRequestBody) (*http.Request, error)
NewGetHeadlineRecommendationsRequest calls the generic GetHeadlineRecommendations builder with application/json body
func NewGetHeadlineRecommendationsRequestWithBody ¶
func NewGetHeadlineRecommendationsRequestWithBody(server string, params *GetHeadlineRecommendationsParams, contentType string, body io.Reader) (*http.Request, error)
NewGetHeadlineRecommendationsRequestWithBody generates requests for GetHeadlineRecommendations with any type of body
func NewGetKeywordRecommendationsRequestWithApplicationVndSbkeywordrecommendationV3PlusJSONBody ¶
func NewGetKeywordRecommendationsRequestWithApplicationVndSbkeywordrecommendationV3PlusJSONBody(server string, params *GetKeywordRecommendationsParams, body GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody) (*http.Request, error)
NewGetKeywordRecommendationsRequestWithApplicationVndSbkeywordrecommendationV3PlusJSONBody calls the generic GetKeywordRecommendations builder with application/vnd.sbkeywordrecommendation.v3+json body
func NewGetKeywordRecommendationsRequestWithBody ¶
func NewGetKeywordRecommendationsRequestWithBody(server string, params *GetKeywordRecommendationsParams, contentType string, body io.Reader) (*http.Request, error)
NewGetKeywordRecommendationsRequestWithBody generates requests for GetKeywordRecommendations with any type of body
func NewGetRuleBasedBudgetHistoryForSBCampaignsRequest ¶
func NewGetRuleBasedBudgetHistoryForSBCampaignsRequest(server string, campaignId string, params *GetRuleBasedBudgetHistoryForSBCampaignsParams) (*http.Request, error)
NewGetRuleBasedBudgetHistoryForSBCampaignsRequest generates requests for GetRuleBasedBudgetHistoryForSBCampaigns
func NewGetSBBudgetRulesForAdvertiserRequest ¶
func NewGetSBBudgetRulesForAdvertiserRequest(server string, params *GetSBBudgetRulesForAdvertiserParams) (*http.Request, error)
NewGetSBBudgetRulesForAdvertiserRequest generates requests for GetSBBudgetRulesForAdvertiser
func NewListAssociatedBudgetRulesForSBCampaignsRequest ¶
func NewListAssociatedBudgetRulesForSBCampaignsRequest(server string, campaignId string, params *ListAssociatedBudgetRulesForSBCampaignsParams) (*http.Request, error)
NewListAssociatedBudgetRulesForSBCampaignsRequest generates requests for ListAssociatedBudgetRulesForSBCampaigns
func NewListCreativesRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func NewListCreativesRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(server string, params *ListCreativesParams, body ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Request, error)
NewListCreativesRequestWithApplicationVndSbAdCreativeResourceV4PlusJSONBody calls the generic ListCreatives builder with application/vnd.sbAdCreativeResource.v4+json body
func NewListCreativesRequestWithBody ¶
func NewListCreativesRequestWithBody(server string, params *ListCreativesParams, contentType string, body io.Reader) (*http.Request, error)
NewListCreativesRequestWithBody generates requests for ListCreatives with any type of body
func NewListSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func NewListSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsAdGroupsParams, body ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Request, error)
NewListSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody calls the generic ListSponsoredBrandsAdGroups builder with application/vnd.sbadgroupresource.v4+json body
func NewListSponsoredBrandsAdGroupsRequestWithBody ¶
func NewListSponsoredBrandsAdGroupsRequestWithBody(server string, params *ListSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)
NewListSponsoredBrandsAdGroupsRequestWithBody generates requests for ListSponsoredBrandsAdGroups with any type of body
func NewListSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewListSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsAdsParams, body ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewListSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic ListSponsoredBrandsAds builder with application/vnd.sbadresource.v4+json body
func NewListSponsoredBrandsAdsRequestWithBody ¶
func NewListSponsoredBrandsAdsRequestWithBody(server string, params *ListSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewListSponsoredBrandsAdsRequestWithBody generates requests for ListSponsoredBrandsAds with any type of body
func NewListSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func NewListSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *ListSponsoredBrandsCampaignsParams, body ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Request, error)
NewListSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody calls the generic ListSponsoredBrandsCampaigns builder with application/vnd.sbcampaignresource.v4+json body
func NewListSponsoredBrandsCampaignsRequestWithBody ¶
func NewListSponsoredBrandsCampaignsRequestWithBody(server string, params *ListSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewListSponsoredBrandsCampaignsRequestWithBody generates requests for ListSponsoredBrandsCampaigns with any type of body
func NewSBGetBudgetRulesRecommendationRequestWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody ¶
func NewSBGetBudgetRulesRecommendationRequestWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody(server string, params *SBGetBudgetRulesRecommendationParams, body SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody) (*http.Request, error)
NewSBGetBudgetRulesRecommendationRequestWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody calls the generic SBGetBudgetRulesRecommendation builder with application/vnd.sbbudgetrulesrecommendation.v3+json body
func NewSBGetBudgetRulesRecommendationRequestWithBody ¶
func NewSBGetBudgetRulesRecommendationRequestWithBody(server string, params *SBGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*http.Request, error)
NewSBGetBudgetRulesRecommendationRequestWithBody generates requests for SBGetBudgetRulesRecommendation with any type of body
func NewSBInsightsCampaignInsightsRequestWithApplicationVndSbinsightsV4PlusJSONBody ¶
func NewSBInsightsCampaignInsightsRequestWithApplicationVndSbinsightsV4PlusJSONBody(server string, params *SBInsightsCampaignInsightsParams, body SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody) (*http.Request, error)
NewSBInsightsCampaignInsightsRequestWithApplicationVndSbinsightsV4PlusJSONBody calls the generic SBInsightsCampaignInsights builder with application/vnd.sbinsights.v4+json body
func NewSBInsightsCampaignInsightsRequestWithBody ¶
func NewSBInsightsCampaignInsightsRequestWithBody(server string, params *SBInsightsCampaignInsightsParams, contentType string, body io.Reader) (*http.Request, error)
NewSBInsightsCampaignInsightsRequestWithBody generates requests for SBInsightsCampaignInsights with any type of body
func NewSBTargetingGetNegativeBrandsRequest ¶
func NewSBTargetingGetNegativeBrandsRequest(server string, params *SBTargetingGetNegativeBrandsParams) (*http.Request, error)
NewSBTargetingGetNegativeBrandsRequest generates requests for SBTargetingGetNegativeBrands
func NewSBTargetingGetRefinementsForCategoryRequest ¶
func NewSBTargetingGetRefinementsForCategoryRequest(server string, categoryRefinementId string, params *SBTargetingGetRefinementsForCategoryParams) (*http.Request, error)
NewSBTargetingGetRefinementsForCategoryRequest generates requests for SBTargetingGetRefinementsForCategory
func NewSBTargetingGetTargetableASINCountsRequestWithApplicationVndSbtargetingV4PlusJSONBody ¶
func NewSBTargetingGetTargetableASINCountsRequestWithApplicationVndSbtargetingV4PlusJSONBody(server string, params *SBTargetingGetTargetableASINCountsParams, body SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody) (*http.Request, error)
NewSBTargetingGetTargetableASINCountsRequestWithApplicationVndSbtargetingV4PlusJSONBody calls the generic SBTargetingGetTargetableASINCounts builder with application/vnd.sbtargeting.v4+json body
func NewSBTargetingGetTargetableASINCountsRequestWithBody ¶
func NewSBTargetingGetTargetableASINCountsRequestWithBody(server string, params *SBTargetingGetTargetableASINCountsParams, contentType string, body io.Reader) (*http.Request, error)
NewSBTargetingGetTargetableASINCountsRequestWithBody generates requests for SBTargetingGetTargetableASINCounts with any type of body
func NewSBTargetingGetTargetableCategoriesRequest ¶
func NewSBTargetingGetTargetableCategoriesRequest(server string, params *SBTargetingGetTargetableCategoriesParams) (*http.Request, error)
NewSBTargetingGetTargetableCategoriesRequest generates requests for SBTargetingGetTargetableCategories
func NewSbCampaignsBudgetUsageRequestWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody ¶
func NewSbCampaignsBudgetUsageRequestWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody(server string, params *SbCampaignsBudgetUsageParams, body SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody) (*http.Request, error)
NewSbCampaignsBudgetUsageRequestWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody calls the generic SbCampaignsBudgetUsage builder with application/vnd.sbcampaignbudgetusage.v1+json body
func NewSbCampaignsBudgetUsageRequestWithBody ¶
func NewSbCampaignsBudgetUsageRequestWithBody(server string, params *SbCampaignsBudgetUsageParams, contentType string, body io.Reader) (*http.Request, error)
NewSbCampaignsBudgetUsageRequestWithBody generates requests for SbCampaignsBudgetUsage with any type of body
func NewUpdateBudgetRulesForSBCampaignsRequest ¶
func NewUpdateBudgetRulesForSBCampaignsRequest(server string, params *UpdateBudgetRulesForSBCampaignsParams, body UpdateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Request, error)
NewUpdateBudgetRulesForSBCampaignsRequest calls the generic UpdateBudgetRulesForSBCampaigns builder with application/json body
func NewUpdateBudgetRulesForSBCampaignsRequestWithBody ¶
func NewUpdateBudgetRulesForSBCampaignsRequestWithBody(server string, params *UpdateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBudgetRulesForSBCampaignsRequestWithBody generates requests for UpdateBudgetRulesForSBCampaigns with any type of body
func NewUpdateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func NewUpdateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsAdGroupsParams, body UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Request, error)
NewUpdateSponsoredBrandsAdGroupsRequestWithApplicationVndSbadgroupresourceV4PlusJSONBody calls the generic UpdateSponsoredBrandsAdGroups builder with application/vnd.sbadgroupresource.v4+json body
func NewUpdateSponsoredBrandsAdGroupsRequestWithBody ¶
func NewUpdateSponsoredBrandsAdGroupsRequestWithBody(server string, params *UpdateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSponsoredBrandsAdGroupsRequestWithBody generates requests for UpdateSponsoredBrandsAdGroups with any type of body
func NewUpdateSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody ¶
func NewUpdateSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsAdsParams, body UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Request, error)
NewUpdateSponsoredBrandsAdsRequestWithApplicationVndSbadresourceV4PlusJSONBody calls the generic UpdateSponsoredBrandsAds builder with application/vnd.sbadresource.v4+json body
func NewUpdateSponsoredBrandsAdsRequestWithBody ¶
func NewUpdateSponsoredBrandsAdsRequestWithBody(server string, params *UpdateSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSponsoredBrandsAdsRequestWithBody generates requests for UpdateSponsoredBrandsAds with any type of body
func NewUpdateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func NewUpdateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody(server string, params *UpdateSponsoredBrandsCampaignsParams, body UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Request, error)
NewUpdateSponsoredBrandsCampaignsRequestWithApplicationVndSbcampaignresourceV4PlusJSONBody calls the generic UpdateSponsoredBrandsCampaigns builder with application/vnd.sbcampaignresource.v4+json body
func NewUpdateSponsoredBrandsCampaignsRequestWithBody ¶
func NewUpdateSponsoredBrandsCampaignsRequestWithBody(server string, params *UpdateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSponsoredBrandsCampaignsRequestWithBody generates requests for UpdateSponsoredBrandsCampaigns with any type of body
Types ¶
type AcceptHeader ¶
type AcceptHeader string
AcceptHeader Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type.
const ( ApplicationvndSbAdCreativeResourceV4Json AcceptHeader = "application/vnd.sbAdCreativeResource.v4+json" ApplicationvndSbCreativeImageRecommendationResourceV4Json AcceptHeader = "application/vnd.sbCreativeImageRecommendationResource.v4+json" ApplicationvndSbCreativeRecommendationResourceV4Json AcceptHeader = "application/vnd.sbCreativeRecommendationResource.v4+json" )
Defines values for AcceptHeader.
type AccessDeniedErrorCode ¶
type AccessDeniedErrorCode string
AccessDeniedErrorCode defines model for AccessDeniedErrorCode.
const (
ACCESSDENIED AccessDeniedErrorCode = "ACCESS_DENIED"
)
Defines values for AccessDeniedErrorCode.
type AccessDeniedExceptionResponseContent ¶
type AccessDeniedExceptionResponseContent struct { Code AccessDeniedErrorCode `json:"code"` // Message Human readable error message. Message string `json:"message"` }
AccessDeniedExceptionResponseContent defines model for AccessDeniedExceptionResponseContent.
type Ad ¶
type Ad struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` // AdId The ad identifier. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated adId. [Learn more](https://advertising.amazon.com/API/docs/en-us/sponsored-brands/campaigns/managing-multi-ad-group-campaigns#ads). AdId *string `json:"adId,omitempty"` // CampaignId The campaign identifier. CampaignId string `json:"campaignId"` Creative *Creative `json:"creative,omitempty"` ExtendedData *AdExtendedData `json:"extendedData,omitempty"` LandingPage *LandingPage `json:"landingPage,omitempty"` // Name The name of the ad. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated name. [Learn more](https://advertising.amazon.com/API/docs/en-us/sponsored-brands/campaigns/managing-multi-ad-group-campaigns#ads). Name *string `json:"name,omitempty"` // State The current resource state. State EntityState `json:"state"` }
Ad defines model for Ad.
type AdExtendedData ¶
type AdExtendedData struct { // CreationDate Creation date in epoch time. CreationDate *float32 `json:"creationDate,omitempty"` // LastUpdateDate Date of last update in epoch time. LastUpdateDate *float32 `json:"lastUpdateDate,omitempty"` // ServingStatus The ad serving status determined by system. // - AD_STATUS_LIVE - Ad's status is enabled. // - AD_POLICING_PENDING_REVIEW - Ad is pending review because of policing reason. // - AD_POLICING_SUSPENDED - Ad is suspended review because of policing reason. // - AD_PAUSED - Ad's status is paused. // - AD_ARCHIVED - Ad's status is archived. // // - AD_GROUP_STATUS_ENABLED - Ad group's (parent) status is enabled. // - AD_GROUP_PAUSED - Ad group's (parent) status is paused. // - AD_GROUP_ARCHIVED - Ad group's (parent) status is archived. // - AD_GROUP_INCOMPLETE - Ad group (parent) does not contain any ads or targeting clauses. // - AD_GROUP_POLICING_PENDING_REVIEW - Ad group is pending review because of policing reason // - AD_GROUP_POLICING_CREATIVE_REJECTED - Ad group is rejected due to creative because of policing reason // - AD_GROUP_LOW_BID - Ad group is less than the minimum allowed bid in its marketplace // // - ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled // - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason // - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason // - ADVERTISER_PAUSED - Advertiser's status is paused // - ADVERTISER_ARCHIVED - Advertiser's status is archived // - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended // - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns // - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns // - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit // // - CAMPAIGN_STATUS_ENABLED - Campaign's (parent) status is enabled. // - CAMPAIGN_PAUSED - Campaign's (parent) status is paused. // - CAMPAIGN_ARCHIVED - Campaign's (parent) status is archived. // - CAMPAIGN_INCOMPLETE - Campaign (parent) does not contain any ads or targeting clauses. // - CAMPAIGN_OUT_OF_BUDGET - Campaign (parent) is out of budget. // // - PORTFOLIO_STATUS_ENABLED - Portfolio's (parent) status is enabled // - PORTFOLIO_PAUSED - Portfolio's (parent) status is paused // - PORTFOLIO_ARCHIVED - Portfolio's (parent) status is archived // - PORTFOLIO_OUT_OF_BUDGET - Portfolio (parent) is out of budget // - PORTFOLIO_PENDING_START_DATE - Portfolio's (parent) start date is in the future // - PORTFOLIO_ENDED - Portfolio's (parent) end date is in the past. // // - INELIGIBLE - Ad is ineligible. // - ELIGIBLE - Ad is eligible. // - ENDED - Campaign's (parent) end date is in the past. // - PENDING_REVIEW - Campaign (parent) is pending review. // - PENDING_START_DATE - Campaign's (parent) start date is in the future. // - REJECTED - Campaign (parent) is rejected by moderation process. // - UNKNOWN - Serving status is unknown. Please contact us for support. ServingStatus *AdServingStatus `json:"servingStatus,omitempty"` // ServingStatusDetails The serving status reasons of the Ad. ServingStatusDetails *[]string `json:"servingStatusDetails,omitempty"` }
AdExtendedData defines model for AdExtendedData.
type AdFailureResponseItem ¶
type AdFailureResponseItem struct { // Errors A list of validation errors. Errors *[]AdMutationError `json:"errors,omitempty"` // Index the index of the ad in the array from the request body. Index float32 `json:"index"` }
AdFailureResponseItem defines model for AdFailureResponseItem.
type AdGroup ¶
type AdGroup 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"` ExtendedData *AdGroupExtendedData `json:"extendedData,omitempty"` // Name The name of the ad group. Name string `json:"name"` // State The current resource state. State EntityState `json:"state"` }
AdGroup defines model for AdGroup.
type AdGroupExtendedData ¶
type AdGroupExtendedData struct { // CreationDate Creation date in epoch time. CreationDate *float32 `json:"creationDate,omitempty"` // LastUpdateDate Date of last update in epoch time. LastUpdateDate *float32 `json:"lastUpdateDate,omitempty"` // ServingStatus `Notice: the servingStatus enums have not been finalized yet.` // The ad group serving status determined by system. // - AD_GROUP_STATUS_ENABLED - Ad group's status is enabled. // - AD_GROUP_PAUSED - Ad group's status is paused. // - AD_GROUP_ARCHIVED - Ad group's status is archived. // - AD_GROUP_INCOMPLETE - Ad group does not contain any ads or targeting clauses. // - AD_GROUP_POLICING_PENDING_REVIEW - Ad group is pending review because of policing reason // - AD_GROUP_POLICING_CREATIVE_REJECTED - Ad group is rejected due to creative because of policing reason // - AD_GROUP_LOW_BID - Ad group is less than the minimum allowed bid in its marketplace // // - ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled // - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason // - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason // - ADVERTISER_PAUSED - Advertiser's status is paused // - ADVERTISER_ARCHIVED - Advertiser's status is archived // - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended // - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns // - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns // - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit // // - CAMPAIGN_STATUS_ENABLED - Campaign's (parent) status is enabled. // - CAMPAIGN_PAUSED - Campaign's (parent) status is paused. // - CAMPAIGN_ARCHIVED - Campaign's (parent) status is archived. // - CAMPAIGN_INCOMPLETE - Campaign (parent) does not contain any ads or targeting clauses. // - CAMPAIGN_OUT_OF_BUDGET - Campaign (parent) is out of budget. // // - PORTFOLIO_STATUS_ENABLED - Portfolio's (parent) status is enabled // - PORTFOLIO_PAUSED - Portfolio's (parent) status is paused // - PORTFOLIO_ARCHIVED - Portfolio's (parent) status is archived // - PORTFOLIO_OUT_OF_BUDGET - Portfolio (parent) is out of budget // - PORTFOLIO_PENDING_START_DATE - Portfolio's (parent) start date is in the future // - PORTFOLIO_ENDED - Portfolio's (parent) end date is in the past. // // - INELIGIBLE - Ad group is ineligible. // - ELIGIBLE - Ad group is eligible. // - ENDED - Campaign's (parent) end date is in the past. // - PENDING_REVIEW - Campaign (parent) is pending review. // - PENDING_START_DATE - Campaign's (parent) start date is in the future. // - REJECTED - Campaign (parent) is rejected by moderation process. // - UNKNOWN - Serving status is unknown. Please contact us for support. ServingStatus *AdGroupServingStatus `json:"servingStatus,omitempty"` // ServingStatusDetails The serving status reasons of the Ad Group. ServingStatusDetails *[]string `json:"servingStatusDetails,omitempty"` }
AdGroupExtendedData defines model for AdGroupExtendedData.
type AdGroupFailureResponseItem ¶
type AdGroupFailureResponseItem struct { // Errors A list of validation errors. Errors *[]AdGroupMutationError `json:"errors,omitempty"` // Index the index of the adGroup in the array from the request body. Index float32 `json:"index"` }
AdGroupFailureResponseItem defines model for AdGroupFailureResponseItem.
type AdGroupMutationError ¶
type AdGroupMutationError struct { // ErrorType The type of the error. ErrorType string `json:"errorType"` ErrorValue AdGroupMutationErrorSelector `json:"errorValue"` }
AdGroupMutationError defines model for AdGroupMutationError.
type AdGroupMutationErrorSelector ¶
type AdGroupMutationErrorSelector struct { // BiddingError Errors related to bids. BiddingError *BiddingError `json:"biddingError,omitempty"` // DateError Errors related to dates. DateError *DateError `json:"dateError,omitempty"` // OtherError Errors not related to any of the other error types. OtherError *OtherError `json:"otherError,omitempty"` // RangeError Errors related to range constraints violations. RangeError *RangeError `json:"rangeError,omitempty"` }
AdGroupMutationErrorSelector defines model for AdGroupMutationErrorSelector.
type AdGroupServingStatus ¶
type AdGroupServingStatus string
AdGroupServingStatus `Notice: the servingStatus enums have not been finalized yet.` The ad group serving status determined by system. - AD_GROUP_STATUS_ENABLED - Ad group's status is enabled. - AD_GROUP_PAUSED - Ad group's status is paused. - AD_GROUP_ARCHIVED - Ad group's status is archived. - AD_GROUP_INCOMPLETE - Ad group does not contain any ads or targeting clauses. - AD_GROUP_POLICING_PENDING_REVIEW - Ad group is pending review because of policing reason - AD_GROUP_POLICING_CREATIVE_REJECTED - Ad group is rejected due to creative because of policing reason - AD_GROUP_LOW_BID - Ad group is less than the minimum allowed bid in its marketplace
- ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason - ADVERTISER_PAUSED - Advertiser's status is paused - ADVERTISER_ARCHIVED - Advertiser's status is archived - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit
- CAMPAIGN_STATUS_ENABLED - Campaign's (parent) status is enabled. - CAMPAIGN_PAUSED - Campaign's (parent) status is paused. - CAMPAIGN_ARCHIVED - Campaign's (parent) status is archived. - CAMPAIGN_INCOMPLETE - Campaign (parent) does not contain any ads or targeting clauses. - CAMPAIGN_OUT_OF_BUDGET - Campaign (parent) is out of budget.
- PORTFOLIO_STATUS_ENABLED - Portfolio's (parent) status is enabled - PORTFOLIO_PAUSED - Portfolio's (parent) status is paused - PORTFOLIO_ARCHIVED - Portfolio's (parent) status is archived - PORTFOLIO_OUT_OF_BUDGET - Portfolio (parent) is out of budget - PORTFOLIO_PENDING_START_DATE - Portfolio's (parent) start date is in the future - PORTFOLIO_ENDED - Portfolio's (parent) end date is in the past.
- INELIGIBLE - Ad group is ineligible. - ELIGIBLE - Ad group is eligible. - ENDED - Campaign's (parent) end date is in the past. - PENDING_REVIEW - Campaign (parent) is pending review. - PENDING_START_DATE - Campaign's (parent) start date is in the future. - REJECTED - Campaign (parent) is rejected by moderation process. - UNKNOWN - Serving status is unknown. Please contact us for support.
const ( AdGroupServingStatusADGROUPARCHIVED AdGroupServingStatus = "AD_GROUP_ARCHIVED" AdGroupServingStatusADGROUPINCOMPLETE AdGroupServingStatus = "AD_GROUP_INCOMPLETE" AdGroupServingStatusADGROUPLOWBID AdGroupServingStatus = "AD_GROUP_LOW_BID" AdGroupServingStatusADGROUPPAUSED AdGroupServingStatus = "AD_GROUP_PAUSED" AdGroupServingStatusADGROUPPOLICINGCREATIVEREJECTED AdGroupServingStatus = "AD_GROUP_POLICING_CREATIVE_REJECTED" AdGroupServingStatusADGROUPPOLICINGPENDINGREVIEW AdGroupServingStatus = "AD_GROUP_POLICING_PENDING_REVIEW" AdGroupServingStatusADGROUPSTATUSENABLED AdGroupServingStatus = "AD_GROUP_STATUS_ENABLED" AdGroupServingStatusADVERTISERACCOUNTOUTOFBUDGET AdGroupServingStatus = "ADVERTISER_ACCOUNT_OUT_OF_BUDGET" AdGroupServingStatusADVERTISERARCHIVED AdGroupServingStatus = "ADVERTISER_ARCHIVED" AdGroupServingStatusADVERTISEREXCEEDSPENDSLIMIT AdGroupServingStatus = "ADVERTISER_EXCEED_SPENDS_LIMIT" AdGroupServingStatusADVERTISEROUTOFPREPAYBALANCE AdGroupServingStatus = "ADVERTISER_OUT_OF_PREPAY_BALANCE" AdGroupServingStatusADVERTISERPAUSED AdGroupServingStatus = "ADVERTISER_PAUSED" AdGroupServingStatusADVERTISERPAYMENTFAILURE AdGroupServingStatus = "ADVERTISER_PAYMENT_FAILURE" AdGroupServingStatusADVERTISERPOLICINGPENDINGREVIEW AdGroupServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW" AdGroupServingStatusADVERTISERPOLICINGSUSPENDED AdGroupServingStatus = "ADVERTISER_POLICING_SUSPENDED" AdGroupServingStatusADVERTISERSTATUSENABLED AdGroupServingStatus = "ADVERTISER_STATUS_ENABLED" AdGroupServingStatusCAMPAIGNARCHIVED AdGroupServingStatus = "CAMPAIGN_ARCHIVED" AdGroupServingStatusCAMPAIGNINCOMPLETE AdGroupServingStatus = "CAMPAIGN_INCOMPLETE" AdGroupServingStatusCAMPAIGNOUTOFBUDGET AdGroupServingStatus = "CAMPAIGN_OUT_OF_BUDGET" AdGroupServingStatusCAMPAIGNPAUSED AdGroupServingStatus = "CAMPAIGN_PAUSED" AdGroupServingStatusCAMPAIGNSTATUSENABLED AdGroupServingStatus = "CAMPAIGN_STATUS_ENABLED" AdGroupServingStatusELIGIBLE AdGroupServingStatus = "ELIGIBLE" AdGroupServingStatusENDED AdGroupServingStatus = "ENDED" AdGroupServingStatusINELIGIBLE AdGroupServingStatus = "INELIGIBLE" AdGroupServingStatusPENDINGREVIEW AdGroupServingStatus = "PENDING_REVIEW" AdGroupServingStatusPENDINGSTARTDATE AdGroupServingStatus = "PENDING_START_DATE" AdGroupServingStatusPORTFOLIOARCHIVED AdGroupServingStatus = "PORTFOLIO_ARCHIVED" AdGroupServingStatusPORTFOLIOENDED AdGroupServingStatus = "PORTFOLIO_ENDED" AdGroupServingStatusPORTFOLIOOUTOFBUDGET AdGroupServingStatus = "PORTFOLIO_OUT_OF_BUDGET" AdGroupServingStatusPORTFOLIOPAUSED AdGroupServingStatus = "PORTFOLIO_PAUSED" AdGroupServingStatusPORTFOLIOPENDINGSTARTDATE AdGroupServingStatus = "PORTFOLIO_PENDING_START_DATE" AdGroupServingStatusPORTFOLIOSTATUSENABLED AdGroupServingStatus = "PORTFOLIO_STATUS_ENABLED" AdGroupServingStatusREJECTED AdGroupServingStatus = "REJECTED" AdGroupServingStatusUNKNOWN AdGroupServingStatus = "UNKNOWN" )
Defines values for AdGroupServingStatus.
type AdGroupSuccessResponseItem ¶
type AdGroupSuccessResponseItem struct { AdGroup *AdGroup `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 float32 `json:"index"` }
AdGroupSuccessResponseItem defines model for AdGroupSuccessResponseItem.
type AdMutationError ¶
type AdMutationError struct { // ErrorType The type of the error. ErrorType string `json:"errorType"` ErrorValue AdMutationErrorSelector `json:"errorValue"` }
AdMutationError defines model for AdMutationError.
type AdMutationErrorSelector ¶
type AdMutationErrorSelector struct { // OtherError Errors not related to any of the other error types. OtherError *OtherError `json:"otherError,omitempty"` // RangeError Errors related to range constraints violations. RangeError *RangeError `json:"rangeError,omitempty"` }
AdMutationErrorSelector defines model for AdMutationErrorSelector.
type AdServingStatus ¶
type AdServingStatus string
AdServingStatus The ad serving status determined by system. - AD_STATUS_LIVE - Ad's status is enabled. - AD_POLICING_PENDING_REVIEW - Ad is pending review because of policing reason. - AD_POLICING_SUSPENDED - Ad is suspended review because of policing reason. - AD_PAUSED - Ad's status is paused. - AD_ARCHIVED - Ad's status is archived.
- AD_GROUP_STATUS_ENABLED - Ad group's (parent) status is enabled. - AD_GROUP_PAUSED - Ad group's (parent) status is paused. - AD_GROUP_ARCHIVED - Ad group's (parent) status is archived. - AD_GROUP_INCOMPLETE - Ad group (parent) does not contain any ads or targeting clauses. - AD_GROUP_POLICING_PENDING_REVIEW - Ad group is pending review because of policing reason - AD_GROUP_POLICING_CREATIVE_REJECTED - Ad group is rejected due to creative because of policing reason - AD_GROUP_LOW_BID - Ad group is less than the minimum allowed bid in its marketplace
- ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason - ADVERTISER_PAUSED - Advertiser's status is paused - ADVERTISER_ARCHIVED - Advertiser's status is archived - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit
- CAMPAIGN_STATUS_ENABLED - Campaign's (parent) status is enabled. - CAMPAIGN_PAUSED - Campaign's (parent) status is paused. - CAMPAIGN_ARCHIVED - Campaign's (parent) status is archived. - CAMPAIGN_INCOMPLETE - Campaign (parent) does not contain any ads or targeting clauses. - CAMPAIGN_OUT_OF_BUDGET - Campaign (parent) is out of budget.
- PORTFOLIO_STATUS_ENABLED - Portfolio's (parent) status is enabled - PORTFOLIO_PAUSED - Portfolio's (parent) status is paused - PORTFOLIO_ARCHIVED - Portfolio's (parent) status is archived - PORTFOLIO_OUT_OF_BUDGET - Portfolio (parent) is out of budget - PORTFOLIO_PENDING_START_DATE - Portfolio's (parent) start date is in the future - PORTFOLIO_ENDED - Portfolio's (parent) end date is in the past.
- INELIGIBLE - Ad is ineligible. - ELIGIBLE - Ad is eligible. - ENDED - Campaign's (parent) end date is in the past. - PENDING_REVIEW - Campaign (parent) is pending review. - PENDING_START_DATE - Campaign's (parent) start date is in the future. - REJECTED - Campaign (parent) is rejected by moderation process. - UNKNOWN - Serving status is unknown. Please contact us for support.
const ( AdServingStatusADARCHIVED AdServingStatus = "AD_ARCHIVED" AdServingStatusADGROUPARCHIVED AdServingStatus = "AD_GROUP_ARCHIVED" AdServingStatusADGROUPINCOMPLETE AdServingStatus = "AD_GROUP_INCOMPLETE" AdServingStatusADGROUPLOWBID AdServingStatus = "AD_GROUP_LOW_BID" AdServingStatusADGROUPPAUSED AdServingStatus = "AD_GROUP_PAUSED" AdServingStatusADGROUPPOLICINGCREATIVEREJECTED AdServingStatus = "AD_GROUP_POLICING_CREATIVE_REJECTED" AdServingStatusADGROUPPOLICINGPENDINGREVIEW AdServingStatus = "AD_GROUP_POLICING_PENDING_REVIEW" AdServingStatusADGROUPSTATUSENABLED AdServingStatus = "AD_GROUP_STATUS_ENABLED" AdServingStatusADPAUSED AdServingStatus = "AD_PAUSED" AdServingStatusADPOLICINGPENDINGREVIEW AdServingStatus = "AD_POLICING_PENDING_REVIEW" AdServingStatusADPOLICINGSUSPENDED AdServingStatus = "AD_POLICING_SUSPENDED" AdServingStatusADSTATUSLIVE AdServingStatus = "AD_STATUS_LIVE" AdServingStatusADVERTISERACCOUNTOUTOFBUDGET AdServingStatus = "ADVERTISER_ACCOUNT_OUT_OF_BUDGET" AdServingStatusADVERTISERARCHIVED AdServingStatus = "ADVERTISER_ARCHIVED" AdServingStatusADVERTISEREXCEEDSPENDSLIMIT AdServingStatus = "ADVERTISER_EXCEED_SPENDS_LIMIT" AdServingStatusADVERTISEROUTOFPREPAYBALANCE AdServingStatus = "ADVERTISER_OUT_OF_PREPAY_BALANCE" AdServingStatusADVERTISERPAUSED AdServingStatus = "ADVERTISER_PAUSED" AdServingStatusADVERTISERPAYMENTFAILURE AdServingStatus = "ADVERTISER_PAYMENT_FAILURE" AdServingStatusADVERTISERPOLICINGPENDINGREVIEW AdServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW" AdServingStatusADVERTISERPOLICINGSUSPENDED AdServingStatus = "ADVERTISER_POLICING_SUSPENDED" AdServingStatusADVERTISERSTATUSENABLED AdServingStatus = "ADVERTISER_STATUS_ENABLED" AdServingStatusCAMPAIGNARCHIVED AdServingStatus = "CAMPAIGN_ARCHIVED" AdServingStatusCAMPAIGNINCOMPLETE AdServingStatus = "CAMPAIGN_INCOMPLETE" AdServingStatusCAMPAIGNOUTOFBUDGET AdServingStatus = "CAMPAIGN_OUT_OF_BUDGET" AdServingStatusCAMPAIGNPAUSED AdServingStatus = "CAMPAIGN_PAUSED" AdServingStatusCAMPAIGNSTATUSENABLED AdServingStatus = "CAMPAIGN_STATUS_ENABLED" AdServingStatusELIGIBLE AdServingStatus = "ELIGIBLE" AdServingStatusENDED AdServingStatus = "ENDED" AdServingStatusINELIGIBLE AdServingStatus = "INELIGIBLE" AdServingStatusPENDINGREVIEW AdServingStatus = "PENDING_REVIEW" AdServingStatusPENDINGSTARTDATE AdServingStatus = "PENDING_START_DATE" AdServingStatusPORTFOLIOARCHIVED AdServingStatus = "PORTFOLIO_ARCHIVED" AdServingStatusPORTFOLIOENDED AdServingStatus = "PORTFOLIO_ENDED" AdServingStatusPORTFOLIOOUTOFBUDGET AdServingStatus = "PORTFOLIO_OUT_OF_BUDGET" AdServingStatusPORTFOLIOPAUSED AdServingStatus = "PORTFOLIO_PAUSED" AdServingStatusPORTFOLIOPENDINGSTARTDATE AdServingStatus = "PORTFOLIO_PENDING_START_DATE" AdServingStatusPORTFOLIOSTATUSENABLED AdServingStatus = "PORTFOLIO_STATUS_ENABLED" AdServingStatusREJECTED AdServingStatus = "REJECTED" AdServingStatusUNKNOWN AdServingStatus = "UNKNOWN" )
Defines values for AdServingStatus.
type AdSuccessResponseItem ¶
type AdSuccessResponseItem struct { Ad *MultiAdGroupAd `json:"ad,omitempty"` // AdId the Ad ID. AdId *string `json:"adId,omitempty"` // Index The index in the original list from the request. Index float32 `json:"index"` }
AdSuccessResponseItem defines model for AdSuccessResponseItem.
type AssetCrop ¶
type AssetCrop struct { // Height The number of pixels to crop down from the value specified as top Height *float32 `json:"height,omitempty"` // Left The leftmost pixel from which to begin cropping Left *float32 `json:"left,omitempty"` // Top The highest pixel from which to begin cropping Top *float32 `json:"top,omitempty"` // Width The number of pixels to crop rightwards from the value specified as left Width *float32 `json:"width,omitempty"` }
AssetCrop Asset cropping attributes
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 BidAdjustmentByPlacement ¶
type BidAdjustmentByPlacement struct { Percentage *float32 `json:"percentage,omitempty"` // Placement List of bid adjustments for placements. // - HOME - The Amazon home page https://www.amazon.com. // - PAGE - A product detail page is where a customer discovers a unique product sold on Amazon. // - OTHER - Other placement groups. Such as search page. Placement *Placement `json:"placement,omitempty"` }
BidAdjustmentByPlacement defines model for BidAdjustmentByPlacement.
type BidAdjustmentByShopperSegment ¶
type BidAdjustmentByShopperSegment struct { Percentage *float32 `json:"percentage,omitempty"` // ShopperSegment List of bid adjustments for shopper segments. // - NEW_TO_BRAND_PURCHASE - The shopper segment where shopper has not purchased product from the brand. ShopperSegment *ShopperSegment `json:"shopperSegment,omitempty"` }
BidAdjustmentByShopperSegment defines model for BidAdjustmentByShopperSegment.
type BidOptimizationStrategy ¶
type BidOptimizationStrategy string
BidOptimizationStrategy The bid optimization strategy. - MAXIMIZE_IMMEDIATE_SALES - The default bidding strategy. The campaign is optimized to maximize sale. - MAXIMIZE_NEW_TO_BRAND_CUSTOMERS - The campaign is optimized to acquire more new-to-brand customers.
const ( MAXIMIZEIMMEDIATESALES BidOptimizationStrategy = "MAXIMIZE_IMMEDIATE_SALES" MAXIMIZENEWTOBRANDCUSTOMERS BidOptimizationStrategy = "MAXIMIZE_NEW_TO_BRAND_CUSTOMERS" )
Defines values for BidOptimizationStrategy.
type Bidding ¶
type Bidding struct { // BidAdjustmentsByPlacement Placement level bid adjustment. Note that this field can only be set when 'bidOptimization' is set to false. BidAdjustmentsByPlacement *[]BidAdjustmentByPlacement `json:"bidAdjustmentsByPlacement,omitempty"` // BidAdjustmentsByShopperSegment Shopper segment level bid adjustment. When both bidAdjustmentsByPlacement and bidAdjustmentsByShopperSegment are specified, the adjustment will be multiplicative. BidAdjustmentsByShopperSegment *[]BidAdjustmentByShopperSegment `json:"bidAdjustmentsByShopperSegment,omitempty"` // BidOptimization Whether to use automatic placement level bid optimization. If set to true, Amazon will automatically set the right placement adjustment and the bidAdjustmentsByPlacement field is ignored. If set to false, the bidAdjustmentsByPlacement field will be used to adjust bid on different placements. // If this field is changed from false to true, the bidAdjustmentsByPlacement field will be reset to null. BidOptimization *bool `json:"bidOptimization,omitempty"` // BidOptimizationStrategy The bid optimization strategy. // - MAXIMIZE_IMMEDIATE_SALES - The default bidding strategy. The campaign is optimized to maximize sale. // - MAXIMIZE_NEW_TO_BRAND_CUSTOMERS - The campaign is optimized to acquire more new-to-brand customers. BidOptimizationStrategy *BidOptimizationStrategy `json:"bidOptimizationStrategy,omitempty"` }
Bidding defines model for Bidding.
type BiddingError ¶
type BiddingError struct { // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` LowerLimit *string `json:"lowerLimit,omitempty"` // Message Human readable error message. Message string `json:"message"` // Reason Exact error reason. Reason string `json:"reason"` UpperLimit *string `json:"upperLimit,omitempty"` }
BiddingError Errors related to bids.
type BillingError ¶
type BillingError struct { // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` // Message Human readable error message. Message string `json:"message"` // Reason Exact error reason. Reason string `json:"reason"` }
BillingError Errors related to billing.
type BrandLogoCrop ¶
type BrandLogoCrop struct { Height *float32 `json:"height,omitempty"` Left *float32 `json:"left,omitempty"` Top *float32 `json:"top,omitempty"` Width *float32 `json:"width,omitempty"` }
BrandLogoCrop The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image.
type BrandVideoCreative ¶
type BrandVideoCreative struct { // Asins An array of ASINs associated with the creative. Asins []string `json:"asins"` // BrandLogoAssetId The identifier of the [brand logo](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#brandlogo) image from the brand store's asset library. // Note that for campaigns created in the Amazon Advertising console prior to release of the brand store's assets library, responses will not include a value for this field. BrandLogoAssetId string `json:"brandLogoAssetId"` // BrandLogoCrop Asset cropping attributes BrandLogoCrop *AssetCrop `json:"brandLogoCrop,omitempty"` // BrandName The displayed brand name in the ad headline. // Maximum length is 30 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. BrandName string `json:"brandName"` // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. // If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. Headline string `json:"headline"` // VideoAssetIds The assetIds of the original videos submitted by the advertiser. // If 'consentToTranslate' is set to true and translation is SUCCESSFUL then 'videoAssetIds' will return translated video assetId whereas `originalVideoAssetIds` will return the original video assetId. In all other cases, `videoAssetIds` will return original video assetId. VideoAssetIds []string `json:"videoAssetIds"` }
BrandVideoCreative defines model for BrandVideoCreative.
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 BudgetError ¶
type BudgetError struct { // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` LowerLimit *string `json:"lowerLimit,omitempty"` // Message Human readable error message. Message string `json:"message"` Reason string `json:"reason"` UpperLimit *string `json:"upperLimit,omitempty"` }
BudgetError defines model for BudgetError.
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 { // CampaignId The identifier of a campaign. CampaignId string `json:"campaignId"` // Index Correlate the recommendation to the campaign index in the request. Zero-based. Index float32 `json:"index"` // SevenDaysMissedOpportunities Missed Opportunities in the trailing seven days. SevenDaysMissedOpportunities SevenDaysMissedOpportunities `json:"sevenDaysMissedOpportunities"` // SuggestedBudget Recommended budget for the campaign. SuggestedBudget float64 `json:"suggestedBudget"` }
BudgetRecommendation Budget recomendation for campagins.
type BudgetRecommendationError ¶
type BudgetRecommendationError struct { // CampaignId The identifier of a campaign. CampaignId string `json:"campaignId"` // Code A human-readable description of the enumerated response code in the `code` field. Code string `json:"code"` // Details An enumerated response code. Details string `json:"details"` // Index Correlate the recommendation to the campaign index in the request. Zero-based. Index float32 `json:"index"` }
BudgetRecommendationError Error that occurred when generating budget recommendations.
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 BudgetType ¶
type BudgetType string
BudgetType For the lifetime budget type, `startDate` and `endDate` must be specified.
const ( BudgetTypeDAILY BudgetType = "DAILY" BudgetTypeLIFETIME BudgetType = "LIFETIME" )
Defines values for BudgetType.
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 BulkAdGroupOperationResponse ¶
type BulkAdGroupOperationResponse struct { Error *[]AdGroupFailureResponseItem `json:"error,omitempty"` Success *[]AdGroupSuccessResponseItem `json:"success,omitempty"` }
BulkAdGroupOperationResponse defines model for BulkAdGroupOperationResponse.
type BulkAdOperationResponse ¶
type BulkAdOperationResponse struct { Error *[]AdFailureResponseItem `json:"error,omitempty"` Success *[]AdSuccessResponseItem `json:"success,omitempty"` }
BulkAdOperationResponse defines model for BulkAdOperationResponse.
type BulkCampaignOperationResponse ¶
type BulkCampaignOperationResponse struct { Error *[]CampaignMutationFailureResponseItem `json:"error,omitempty"` Success *[]CampaignMutationSuccessResponseItem `json:"success,omitempty"` }
BulkCampaignOperationResponse defines model for BulkCampaignOperationResponse.
type Campaign ¶
type Campaign struct { Bidding *Bidding `json:"bidding,omitempty"` BrandEntityId *string `json:"brandEntityId,omitempty"` Budget float64 `json:"budget"` // BudgetType For the lifetime budget type, `startDate` and `endDate` must be specified. BudgetType BudgetType `json:"budgetType"` // CampaignId The identifier of the campaign. CampaignId string `json:"campaignId"` // CostType This parameter is only available in the US marketplace. The costType can be set to determines how the campaign will bid and charge. To view the bid maximums and minimums by geography and costType, see https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace // - CPC [Default] - Cost per click. The performance of this campaign is measured by the clicks triggered by the ad. // - VCPM - Cost per 1000 viewable impressions. The performance of this campaign is measured by the viewable impressions triggered by the ad. CostType *string `json:"costType,omitempty"` // EndDate The format of the date is YYYY-MM-DD. EndDate *string `json:"endDate,omitempty"` // ExtendedData CampaignExtendedData can only be retrieved via the list API. It won't be available in the response during update/create. ExtendedData *CampaignExtendedData `json:"extendedData,omitempty"` // Goal This parameter is only available in the US marketplace. Goal will allow you to set goal type to help drive your campaign performance. If no goal is selected then it will default to PAGE_VISIT. // The goal type of the campaign. // - BRAND_IMPRESSION_SHARE - This goal will allow you grown your brand impression share on top of search placements // - PAGE_VISIT [DEFAULT] - This goal drives traffic to your landing and detail pages through all placements. Goal *string `json:"goal,omitempty"` IsMultiAdGroupsEnabled *bool `json:"isMultiAdGroupsEnabled,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"` // ProductLocation The product location of the campaign. // - SOLD_ON_AMAZON - For products sold on Amazon websites. // - NOT_SOLD_ON_AMAZON - For products not sold on Amazon websites. // - SOLD_ON_DTC - Deprecated (For products sold on DTC websites). ProductLocation *ProductLocation `json:"productLocation,omitempty"` RuleBasedBudget *RuleBasedBudget `json:"ruleBasedBudget,omitempty"` // SmartDefault This parameter is only available in the US marketplace. The smartDefault specifies a list of the smart default options for the campaign. // // `smartDefault` is optional for create campaign requests. `smartDefault` are applicable to all applicable child entities of the campaign and are not editable once the campaign is created. When using ["TARGETING"], targets will be automatically added based on the goal selected. When ["MANUAL"] is selected, you will still be required to manually add targets. // // If you don't specify `smartDefault`, default value will be applied based on `goal` . If campaign's `goal` is selected, `smartDefault` will be set to ["TARGETING"]. Otherwise, a campaign's `smartDefault` will be set to ["MANUAL"]. // // Each element in smartDefault can be set to determines which default strategy to be used // - MANUAL - Manual settings, no smart default be applied to the campaign, if MANUAL is added in the list, no other items are allowed in the list (the list must contains only one item) // - TARGETING - Smart Default Targeting creation, will automatically creating targetings when create ad group // // Example: ["TARGETING"] SmartDefault *[]string `json:"smartDefault,omitempty"` // StartDate The format of the date is YYYY-MM-DD. StartDate *string `json:"startDate,omitempty"` // State The current resource state. State EntityState `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 *Tags `json:"tags,omitempty"` }
Campaign defines model for Campaign.
type CampaignExtendedData ¶
type CampaignExtendedData struct { // CreationDate Creation date in epoch time. CreationDate *float32 `json:"creationDate,omitempty"` // LastUpdateDate Date of last update in epoch time. LastUpdateDate *float32 `json:"lastUpdateDate,omitempty"` // ServingStatus `Notice: the servingStatus enums have not been finalized yet.` // The campaign serving status determined by system. // - ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled // - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason // - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason // - ADVERTISER_PAUSED - Advertiser's status is paused // - ADVERTISER_ARCHIVED - Advertiser's status is archived // - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended // - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns // - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns // - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit // // - CAMPAIGN_STATUS_ENABLED - Campaign's status is enabled. // - CAMPAIGN_PAUSED - Campaign's status is paused. // - CAMPAIGN_ARCHIVED - Campaign's status is archived. // - CAMPAIGN_INCOMPLETE - Campaign does not contain any ads or targeting clauses. // - CAMPAIGN_OUT_OF_BUDGET - Campaign is out of budget. // // - PORTFOLIO_STATUS_ENABLED - Portfolio's status is enabled // - PORTFOLIO_PAUSED - Portfolio's status is paused // - PORTFOLIO_ARCHIVED - Portfolio's status is archived // - PORTFOLIO_OUT_OF_BUDGET - Portfolio is out of budget // - PORTFOLIO_PENDING_START_DATE - Portfolio's start date is in the future // - PORTFOLIO_ENDED - Portfolio's end date is in the past. // // - INELIGIBLE - Ad Offer is ineligible // - ELIGIBLE - Ad Offer is eligible // - ENDED - Campaign's end date is in the past. // - PENDING_REVIEW - Campaign is pending review. // - PENDING_START_DATE - Campaign's start date is in the future. // - REJECTED - Campaign is rejected by moderation process. // - UNKNOWN - Serving status is unknown. Please contact us for support. ServingStatus *CampaignServingStatus `json:"servingStatus,omitempty"` // ServingStatusDetails The serving status reasons of the Campaign. ServingStatusDetails *[]string `json:"servingStatusDetails,omitempty"` }
CampaignExtendedData CampaignExtendedData can only be retrieved via the list API. It won't be available in the response during update/create.
type CampaignMutationError ¶
type CampaignMutationError struct { // ErrorType The type of the error. ErrorType string `json:"errorType"` ErrorValue CampaignMutationErrorSelector `json:"errorValue"` }
CampaignMutationError defines model for CampaignMutationError.
type CampaignMutationErrorSelector ¶
type CampaignMutationErrorSelector struct { // BiddingError Errors related to bids. BiddingError *BiddingError `json:"biddingError,omitempty"` // BillingError Errors related to billing. BillingError *BillingError `json:"billingError,omitempty"` BudgetError *BudgetError `json:"budgetError,omitempty"` // DateError Errors related to dates. DateError *DateError `json:"dateError,omitempty"` // OtherError Errors not related to any of the other error types. OtherError *OtherError `json:"otherError,omitempty"` // RangeError Errors related to range constraints violations. RangeError *RangeError `json:"rangeError,omitempty"` }
CampaignMutationErrorSelector defines model for CampaignMutationErrorSelector.
type CampaignMutationFailureResponseItem ¶
type CampaignMutationFailureResponseItem struct { // Errors A list of validation errors. Errors *[]CampaignMutationError `json:"errors,omitempty"` // Index the index of the campaign in the array from the request body. Index float32 `json:"index"` }
CampaignMutationFailureResponseItem defines model for CampaignMutationFailureResponseItem.
type CampaignMutationSuccessResponseItem ¶
type CampaignMutationSuccessResponseItem struct { Campaign *Campaign `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 float32 `json:"index"` }
CampaignMutationSuccessResponseItem defines model for CampaignMutationSuccessResponseItem.
type CampaignServingStatus ¶
type CampaignServingStatus string
CampaignServingStatus `Notice: the servingStatus enums have not been finalized yet.` The campaign serving status determined by system. - ADVERTISER_STATUS_ENABLED - Advertiser's status is enabled - ADVERTISER_POLICING_PENDING_REVIEW - Avertiser is pending review because of policing reason - ADVERTISER_POLICING_SUSPENDED - Advertiser's status is suspended because of policing reason - ADVERTISER_PAUSED - Advertiser's status is paused - ADVERTISER_ARCHIVED - Advertiser's status is archived - ADVERTISER_PAYMENT_FAILURE - Advertiser's internal status is suspended - ADVERTISER_ACCOUNT_OUT_OF_BUDGET - Advertiser is out of budget for all Sponsored Ads campaigns - ADVERTISER_OUT_OF_PREPAY_BALANCE - Advertiser is out of prepay balance for all Sponsored Ads campaigns - ADVERTISER_EXCEED_SPENDS_LIMIT - Advertiser spends over the daily limit
- CAMPAIGN_STATUS_ENABLED - Campaign's status is enabled. - CAMPAIGN_PAUSED - Campaign's status is paused. - CAMPAIGN_ARCHIVED - Campaign's status is archived. - CAMPAIGN_INCOMPLETE - Campaign does not contain any ads or targeting clauses. - CAMPAIGN_OUT_OF_BUDGET - Campaign is out of budget.
- PORTFOLIO_STATUS_ENABLED - Portfolio's status is enabled - PORTFOLIO_PAUSED - Portfolio's status is paused - PORTFOLIO_ARCHIVED - Portfolio's status is archived - PORTFOLIO_OUT_OF_BUDGET - Portfolio is out of budget - PORTFOLIO_PENDING_START_DATE - Portfolio's start date is in the future - PORTFOLIO_ENDED - Portfolio's end date is in the past.
- INELIGIBLE - Ad Offer is ineligible - ELIGIBLE - Ad Offer is eligible - ENDED - Campaign's end date is in the past. - PENDING_REVIEW - Campaign is pending review. - PENDING_START_DATE - Campaign's start date is in the future. - REJECTED - Campaign is rejected by moderation process. - UNKNOWN - Serving status is unknown. Please contact us for support.
const ( CampaignServingStatusADVERTISERACCOUNTOUTOFBUDGET CampaignServingStatus = "ADVERTISER_ACCOUNT_OUT_OF_BUDGET" CampaignServingStatusADVERTISERARCHIVED CampaignServingStatus = "ADVERTISER_ARCHIVED" CampaignServingStatusADVERTISEREXCEEDSPENDSLIMIT CampaignServingStatus = "ADVERTISER_EXCEED_SPENDS_LIMIT" CampaignServingStatusADVERTISEROUTOFPREPAYBALANCE CampaignServingStatus = "ADVERTISER_OUT_OF_PREPAY_BALANCE" CampaignServingStatusADVERTISERPAUSED CampaignServingStatus = "ADVERTISER_PAUSED" CampaignServingStatusADVERTISERPAYMENTFAILURE CampaignServingStatus = "ADVERTISER_PAYMENT_FAILURE" CampaignServingStatusADVERTISERPOLICINGPENDINGREVIEW CampaignServingStatus = "ADVERTISER_POLICING_PENDING_REVIEW" CampaignServingStatusADVERTISERPOLICINGSUSPENDED CampaignServingStatus = "ADVERTISER_POLICING_SUSPENDED" CampaignServingStatusADVERTISERSTATUSENABLED CampaignServingStatus = "ADVERTISER_STATUS_ENABLED" CampaignServingStatusCAMPAIGNARCHIVED CampaignServingStatus = "CAMPAIGN_ARCHIVED" CampaignServingStatusCAMPAIGNINCOMPLETE CampaignServingStatus = "CAMPAIGN_INCOMPLETE" CampaignServingStatusCAMPAIGNOUTOFBUDGET CampaignServingStatus = "CAMPAIGN_OUT_OF_BUDGET" CampaignServingStatusCAMPAIGNPAUSED CampaignServingStatus = "CAMPAIGN_PAUSED" CampaignServingStatusCAMPAIGNSTATUSENABLED CampaignServingStatus = "CAMPAIGN_STATUS_ENABLED" CampaignServingStatusELIGIBLE CampaignServingStatus = "ELIGIBLE" CampaignServingStatusENDED CampaignServingStatus = "ENDED" CampaignServingStatusINELIGIBLE CampaignServingStatus = "INELIGIBLE" CampaignServingStatusPENDINGREVIEW CampaignServingStatus = "PENDING_REVIEW" CampaignServingStatusPENDINGSTARTDATE CampaignServingStatus = "PENDING_START_DATE" CampaignServingStatusPORTFOLIOARCHIVED CampaignServingStatus = "PORTFOLIO_ARCHIVED" CampaignServingStatusPORTFOLIOENDED CampaignServingStatus = "PORTFOLIO_ENDED" CampaignServingStatusPORTFOLIOOUTOFBUDGET CampaignServingStatus = "PORTFOLIO_OUT_OF_BUDGET" CampaignServingStatusPORTFOLIOPAUSED CampaignServingStatus = "PORTFOLIO_PAUSED" CampaignServingStatusPORTFOLIOPENDINGSTARTDATE CampaignServingStatus = "PORTFOLIO_PENDING_START_DATE" CampaignServingStatusPORTFOLIOSTATUSENABLED CampaignServingStatus = "PORTFOLIO_STATUS_ENABLED" CampaignServingStatusREJECTED CampaignServingStatus = "REJECTED" CampaignServingStatusUNKNOWN CampaignServingStatus = "UNKNOWN" )
Defines values for CampaignServingStatus.
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) CreateAssociatedBudgetRulesForSBCampaigns ¶
func (c *Client) CreateAssociatedBudgetRulesForSBCampaigns(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, body CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error)
func (*Client) CreateAssociatedBudgetRulesForSBCampaignsWithBody ¶
func (*Client) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func (c *Client) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateBrandVideoCreativeParams, body CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateBrandVideoCreativeWithBody ¶
func (*Client) CreateBudgetRulesForSBCampaigns ¶
func (c *Client) CreateBudgetRulesForSBCampaigns(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, body CreateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error)
func (*Client) CreateBudgetRulesForSBCampaignsWithBody ¶
func (*Client) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func (c *Client) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateProductCollectionCreativeParams, body CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateProductCollectionCreativeWithBody ¶
func (*Client) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, body CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandStoreSpotlightAdsWithBody ¶
func (*Client) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, body CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandsAdGroupsWithBody ¶
func (*Client) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, body CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandsBrandVideoAdsWithBody ¶
func (*Client) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, body CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandsCampaignsWithBody ¶
func (*Client) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, body CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandsProductCollectionAdsWithBody ¶
func (*Client) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, body CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateSponsoredBrandsVideoAdsWithBody ¶
func (*Client) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func (c *Client) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateStoreSpotlightCreativeParams, body CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateStoreSpotlightCreativeWithBody ¶
func (*Client) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func (c *Client) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateVideoCreativeParams, body CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) CreateVideoCreativeWithBody ¶
func (*Client) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func (c *Client) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, body DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) DeleteSponsoredBrandsAdGroupsWithBody ¶
func (*Client) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, body DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) DeleteSponsoredBrandsAdsWithBody ¶
func (*Client) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func (c *Client) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, body DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) DeleteSponsoredBrandsCampaignsWithBody ¶
func (*Client) DisassociateAssociatedBudgetRuleForSBCampaigns ¶
func (*Client) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBody ¶
func (c *Client) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBody(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) GetBudgetRecommendationsWithBody ¶
func (*Client) GetBudgetRuleByRuleIdForSBCampaigns ¶
func (*Client) GetCampaignsAssociatedWithSBBudgetRule ¶
func (*Client) GetHeadlineRecommendations ¶
func (c *Client) GetHeadlineRecommendations(ctx context.Context, params *GetHeadlineRecommendationsParams, body GetHeadlineRecommendationsJSONRequestBody) (*http.Response, error)
func (*Client) GetHeadlineRecommendationsWithBody ¶
func (*Client) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBody ¶
func (c *Client) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBody(ctx context.Context, params *GetKeywordRecommendationsParams, body GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody) (*http.Response, error)
func (*Client) GetKeywordRecommendationsWithBody ¶
func (*Client) GetRuleBasedBudgetHistoryForSBCampaigns ¶
func (*Client) GetSBBudgetRulesForAdvertiser ¶
func (*Client) ListAssociatedBudgetRulesForSBCampaigns ¶
func (*Client) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBody ¶
func (c *Client) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *ListCreativesParams, body ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) ListCreativesWithBody ¶
func (*Client) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func (c *Client) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, body ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) ListSponsoredBrandsAdGroupsWithBody ¶
func (*Client) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdsParams, body ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) ListSponsoredBrandsAdsWithBody ¶
func (*Client) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func (c *Client) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, body ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) ListSponsoredBrandsCampaignsWithBody ¶
func (*Client) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody ¶
func (c *Client) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, body SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody) (*http.Response, error)
func (*Client) SBGetBudgetRulesRecommendationWithBody ¶
func (*Client) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBody ¶
func (c *Client) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBody(ctx context.Context, params *SBInsightsCampaignInsightsParams, body SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) SBInsightsCampaignInsightsWithBody ¶
func (*Client) SBTargetingGetNegativeBrands ¶
func (*Client) SBTargetingGetRefinementsForCategory ¶
func (*Client) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBody ¶
func (c *Client) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBody(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, body SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) SBTargetingGetTargetableASINCountsWithBody ¶
func (*Client) SBTargetingGetTargetableCategories ¶
func (*Client) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody ¶
func (c *Client) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody(ctx context.Context, params *SbCampaignsBudgetUsageParams, body SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody) (*http.Response, error)
func (*Client) SbCampaignsBudgetUsageWithBody ¶
func (*Client) UpdateBudgetRulesForSBCampaigns ¶
func (c *Client) UpdateBudgetRulesForSBCampaigns(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, body UpdateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error)
func (*Client) UpdateBudgetRulesForSBCampaignsWithBody ¶
func (*Client) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody ¶
func (c *Client) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, body UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) UpdateSponsoredBrandsAdGroupsWithBody ¶
func (*Client) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody ¶
func (c *Client) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, body UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error)
func (*Client) UpdateSponsoredBrandsAdsWithBody ¶
func (*Client) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody ¶
func (c *Client) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, body UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // CreateBrandVideoCreativeWithBody request with any body CreateBrandVideoCreativeWithBody(ctx context.Context, params *CreateBrandVideoCreativeParams, contentType string, body io.Reader) (*http.Response, error) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateBrandVideoCreativeParams, body CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error) // ListCreativesWithBody request with any body ListCreativesWithBody(ctx context.Context, params *ListCreativesParams, contentType string, body io.Reader) (*http.Response, error) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *ListCreativesParams, body ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error) // CreateProductCollectionCreativeWithBody request with any body CreateProductCollectionCreativeWithBody(ctx context.Context, params *CreateProductCollectionCreativeParams, contentType string, body io.Reader) (*http.Response, error) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateProductCollectionCreativeParams, body CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error) // CreateStoreSpotlightCreativeWithBody request with any body CreateStoreSpotlightCreativeWithBody(ctx context.Context, params *CreateStoreSpotlightCreativeParams, contentType string, body io.Reader) (*http.Response, error) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateStoreSpotlightCreativeParams, body CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error) // CreateVideoCreativeWithBody request with any body CreateVideoCreativeWithBody(ctx context.Context, params *CreateVideoCreativeParams, contentType string, body io.Reader) (*http.Response, error) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBody(ctx context.Context, params *CreateVideoCreativeParams, body CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*http.Response, error) // GetSBBudgetRulesForAdvertiser request GetSBBudgetRulesForAdvertiser(ctx context.Context, params *GetSBBudgetRulesForAdvertiserParams) (*http.Response, error) // CreateBudgetRulesForSBCampaignsWithBody request with any body CreateBudgetRulesForSBCampaignsWithBody(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Response, error) CreateBudgetRulesForSBCampaigns(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, body CreateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error) // UpdateBudgetRulesForSBCampaignsWithBody request with any body UpdateBudgetRulesForSBCampaignsWithBody(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Response, error) UpdateBudgetRulesForSBCampaigns(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, body UpdateBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error) // GetBudgetRuleByRuleIdForSBCampaigns request GetBudgetRuleByRuleIdForSBCampaigns(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSBCampaignsParams) (*http.Response, error) // GetCampaignsAssociatedWithSBBudgetRule request GetCampaignsAssociatedWithSBBudgetRule(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSBBudgetRuleParams) (*http.Response, error) // SbCampaignsBudgetUsageWithBody request with any body SbCampaignsBudgetUsageWithBody(ctx context.Context, params *SbCampaignsBudgetUsageParams, contentType string, body io.Reader) (*http.Response, error) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBody(ctx context.Context, params *SbCampaignsBudgetUsageParams, body SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody) (*http.Response, error) // GetBudgetRecommendationsWithBody request with any body GetBudgetRecommendationsWithBody(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*http.Response, error) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBody(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody) (*http.Response, error) // SBGetBudgetRulesRecommendationWithBody request with any body SBGetBudgetRulesRecommendationWithBody(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*http.Response, error) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, body SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody) (*http.Response, error) // SBInsightsCampaignInsightsWithBody request with any body SBInsightsCampaignInsightsWithBody(ctx context.Context, params *SBInsightsCampaignInsightsParams, contentType string, body io.Reader) (*http.Response, error) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBody(ctx context.Context, params *SBInsightsCampaignInsightsParams, body SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody) (*http.Response, error) // ListAssociatedBudgetRulesForSBCampaigns request ListAssociatedBudgetRulesForSBCampaigns(ctx context.Context, campaignId string, params *ListAssociatedBudgetRulesForSBCampaignsParams) (*http.Response, error) // CreateAssociatedBudgetRulesForSBCampaignsWithBody request with any body CreateAssociatedBudgetRulesForSBCampaignsWithBody(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*http.Response, error) CreateAssociatedBudgetRulesForSBCampaigns(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, body CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody) (*http.Response, error) // GetRuleBasedBudgetHistoryForSBCampaigns request GetRuleBasedBudgetHistoryForSBCampaigns(ctx context.Context, campaignId string, params *GetRuleBasedBudgetHistoryForSBCampaignsParams) (*http.Response, error) // DisassociateAssociatedBudgetRuleForSBCampaigns request DisassociateAssociatedBudgetRuleForSBCampaigns(ctx context.Context, campaignId string, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSBCampaignsParams) (*http.Response, error) // SBTargetingGetNegativeBrands request SBTargetingGetNegativeBrands(ctx context.Context, params *SBTargetingGetNegativeBrandsParams) (*http.Response, error) // GetHeadlineRecommendationsWithBody request with any body GetHeadlineRecommendationsWithBody(ctx context.Context, params *GetHeadlineRecommendationsParams, contentType string, body io.Reader) (*http.Response, error) GetHeadlineRecommendations(ctx context.Context, params *GetHeadlineRecommendationsParams, body GetHeadlineRecommendationsJSONRequestBody) (*http.Response, error) // GetKeywordRecommendationsWithBody request with any body GetKeywordRecommendationsWithBody(ctx context.Context, params *GetKeywordRecommendationsParams, contentType string, body io.Reader) (*http.Response, error) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBody(ctx context.Context, params *GetKeywordRecommendationsParams, body GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody) (*http.Response, error) // SBTargetingGetTargetableCategories request SBTargetingGetTargetableCategories(ctx context.Context, params *SBTargetingGetTargetableCategoriesParams) (*http.Response, error) // SBTargetingGetRefinementsForCategory request SBTargetingGetRefinementsForCategory(ctx context.Context, categoryRefinementId string, params *SBTargetingGetRefinementsForCategoryParams) (*http.Response, error) // SBTargetingGetTargetableASINCountsWithBody request with any body SBTargetingGetTargetableASINCountsWithBody(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, contentType string, body io.Reader) (*http.Response, error) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBody(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, body SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandsAdGroupsWithBody request with any body CreateSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, body CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error) // UpdateSponsoredBrandsAdGroupsWithBody request with any body UpdateSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, body UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error) // DeleteSponsoredBrandsAdGroupsWithBody request with any body DeleteSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, body DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error) // ListSponsoredBrandsAdGroupsWithBody request with any body ListSponsoredBrandsAdGroupsWithBody(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*http.Response, error) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, body ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*http.Response, error) // UpdateSponsoredBrandsAdsWithBody request with any body UpdateSponsoredBrandsAdsWithBody(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Response, error) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, body UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandsBrandVideoAdsWithBody request with any body CreateSponsoredBrandsBrandVideoAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, body CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // DeleteSponsoredBrandsAdsWithBody request with any body DeleteSponsoredBrandsAdsWithBody(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Response, error) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, body DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // ListSponsoredBrandsAdsWithBody request with any body ListSponsoredBrandsAdsWithBody(ctx context.Context, params *ListSponsoredBrandsAdsParams, contentType string, body io.Reader) (*http.Response, error) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsAdsParams, body ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandsProductCollectionAdsWithBody request with any body CreateSponsoredBrandsProductCollectionAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, body CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandStoreSpotlightAdsWithBody request with any body CreateSponsoredBrandStoreSpotlightAdsWithBody(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, body CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandsVideoAdsWithBody request with any body CreateSponsoredBrandsVideoAdsWithBody(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, body CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*http.Response, error) // CreateSponsoredBrandsCampaignsWithBody request with any body CreateSponsoredBrandsCampaignsWithBody(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Response, error) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, body CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error) // UpdateSponsoredBrandsCampaignsWithBody request with any body UpdateSponsoredBrandsCampaignsWithBody(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Response, error) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, body UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error) // DeleteSponsoredBrandsCampaignsWithBody request with any body DeleteSponsoredBrandsCampaignsWithBody(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Response, error) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, body DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error) // ListSponsoredBrandsCampaignsWithBody request with any body ListSponsoredBrandsCampaignsWithBody(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*http.Response, error) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBody(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, body ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error)
CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse request with arbitrary body returning *CreateAssociatedBudgetRulesForSBCampaignsResp
func (*ClientWithResponses) CreateAssociatedBudgetRulesForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) CreateAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, body CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error)
func (*ClientWithResponses) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, body CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateBrandVideoCreativeResp, error)
func (*ClientWithResponses) CreateBrandVideoCreativeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBrandVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, contentType string, body io.Reader) (*CreateBrandVideoCreativeResp, error)
CreateBrandVideoCreativeWithBodyWithResponse request with arbitrary body returning *CreateBrandVideoCreativeResp
func (*ClientWithResponses) CreateBudgetRulesForSBCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*CreateBudgetRulesForSBCampaignsResp, error)
CreateBudgetRulesForSBCampaignsWithBodyWithResponse request with arbitrary body returning *CreateBudgetRulesForSBCampaignsResp
func (*ClientWithResponses) CreateBudgetRulesForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) CreateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, body CreateBudgetRulesForSBCampaignsJSONRequestBody) (*CreateBudgetRulesForSBCampaignsResp, error)
func (*ClientWithResponses) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, body CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateProductCollectionCreativeResp, error)
func (*ClientWithResponses) CreateProductCollectionCreativeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProductCollectionCreativeWithBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, contentType string, body io.Reader) (*CreateProductCollectionCreativeResp, error)
CreateProductCollectionCreativeWithBodyWithResponse request with arbitrary body returning *CreateProductCollectionCreativeResp
func (*ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, body CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandStoreSpotlightAdsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandStoreSpotlightAdsResp, error)
CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandStoreSpotlightAdsResp
func (*ClientWithResponses) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, body CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsAdGroupsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandsAdGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsAdGroupsResp, error)
CreateSponsoredBrandsAdGroupsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandsAdGroupsResp
func (*ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, body CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsBrandVideoAdsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsBrandVideoAdsResp, error)
CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandsBrandVideoAdsResp
func (*ClientWithResponses) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, body CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsCampaignsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandsCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsCampaignsResp, error)
CreateSponsoredBrandsCampaignsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandsCampaignsResp
func (*ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, body CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsProductCollectionAdsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsProductCollectionAdsResp, error)
CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandsProductCollectionAdsResp
func (*ClientWithResponses) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, body CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsVideoAdsResp, error)
func (*ClientWithResponses) CreateSponsoredBrandsVideoAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSponsoredBrandsVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsVideoAdsResp, error)
CreateSponsoredBrandsVideoAdsWithBodyWithResponse request with arbitrary body returning *CreateSponsoredBrandsVideoAdsResp
func (*ClientWithResponses) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, body CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateStoreSpotlightCreativeResp, error)
func (*ClientWithResponses) CreateStoreSpotlightCreativeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStoreSpotlightCreativeWithBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, contentType string, body io.Reader) (*CreateStoreSpotlightCreativeResp, error)
CreateStoreSpotlightCreativeWithBodyWithResponse request with arbitrary body returning *CreateStoreSpotlightCreativeResp
func (*ClientWithResponses) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, body CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateVideoCreativeResp, error)
func (*ClientWithResponses) CreateVideoCreativeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, contentType string, body io.Reader) (*CreateVideoCreativeResp, error)
CreateVideoCreativeWithBodyWithResponse request with arbitrary body returning *CreateVideoCreativeResp
func (*ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, body DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsAdGroupsResp, error)
func (*ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsAdGroupsResp, error)
DeleteSponsoredBrandsAdGroupsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredBrandsAdGroupsResp
func (*ClientWithResponses) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, body DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsAdsResp, error)
func (*ClientWithResponses) DeleteSponsoredBrandsAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsAdsResp, error)
DeleteSponsoredBrandsAdsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredBrandsAdsResp
func (*ClientWithResponses) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, body DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsCampaignsResp, error)
func (*ClientWithResponses) DeleteSponsoredBrandsCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsCampaignsResp, error)
DeleteSponsoredBrandsCampaignsWithBodyWithResponse request with arbitrary body returning *DeleteSponsoredBrandsCampaignsResp
func (*ClientWithResponses) DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse(ctx context.Context, campaignId string, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSBCampaignsParams) (*DisassociateAssociatedBudgetRuleForSBCampaignsResp, error)
DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse request returning *DisassociateAssociatedBudgetRuleForSBCampaignsResp
func (*ClientWithResponses) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody) (*GetBudgetRecommendationsResp, error)
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) GetBudgetRuleByRuleIdForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) GetBudgetRuleByRuleIdForSBCampaignsWithResponse(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSBCampaignsParams) (*GetBudgetRuleByRuleIdForSBCampaignsResp, error)
GetBudgetRuleByRuleIdForSBCampaignsWithResponse request returning *GetBudgetRuleByRuleIdForSBCampaignsResp
func (*ClientWithResponses) GetCampaignsAssociatedWithSBBudgetRuleWithResponse ¶
func (c *ClientWithResponses) GetCampaignsAssociatedWithSBBudgetRuleWithResponse(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSBBudgetRuleParams) (*GetCampaignsAssociatedWithSBBudgetRuleResp, error)
GetCampaignsAssociatedWithSBBudgetRuleWithResponse request returning *GetCampaignsAssociatedWithSBBudgetRuleResp
func (*ClientWithResponses) GetHeadlineRecommendationsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetHeadlineRecommendationsWithBodyWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, contentType string, body io.Reader) (*GetHeadlineRecommendationsResp, error)
GetHeadlineRecommendationsWithBodyWithResponse request with arbitrary body returning *GetHeadlineRecommendationsResp
func (*ClientWithResponses) GetHeadlineRecommendationsWithResponse ¶
func (c *ClientWithResponses) GetHeadlineRecommendationsWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, body GetHeadlineRecommendationsJSONRequestBody) (*GetHeadlineRecommendationsResp, error)
func (*ClientWithResponses) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, body GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody) (*GetKeywordRecommendationsResp, error)
func (*ClientWithResponses) GetKeywordRecommendationsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetKeywordRecommendationsWithBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, contentType string, body io.Reader) (*GetKeywordRecommendationsResp, error)
GetKeywordRecommendationsWithBodyWithResponse request with arbitrary body returning *GetKeywordRecommendationsResp
func (*ClientWithResponses) GetRuleBasedBudgetHistoryForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) GetRuleBasedBudgetHistoryForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *GetRuleBasedBudgetHistoryForSBCampaignsParams) (*GetRuleBasedBudgetHistoryForSBCampaignsResp, error)
GetRuleBasedBudgetHistoryForSBCampaignsWithResponse request returning *GetRuleBasedBudgetHistoryForSBCampaignsResp
func (*ClientWithResponses) GetSBBudgetRulesForAdvertiserWithResponse ¶
func (c *ClientWithResponses) GetSBBudgetRulesForAdvertiserWithResponse(ctx context.Context, params *GetSBBudgetRulesForAdvertiserParams) (*GetSBBudgetRulesForAdvertiserResp, error)
GetSBBudgetRulesForAdvertiserWithResponse request returning *GetSBBudgetRulesForAdvertiserResp
func (*ClientWithResponses) ListAssociatedBudgetRulesForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) ListAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *ListAssociatedBudgetRulesForSBCampaignsParams) (*ListAssociatedBudgetRulesForSBCampaignsResp, error)
ListAssociatedBudgetRulesForSBCampaignsWithResponse request returning *ListAssociatedBudgetRulesForSBCampaignsResp
func (*ClientWithResponses) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListCreativesParams, body ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*ListCreativesResp, error)
func (*ClientWithResponses) ListCreativesWithBodyWithResponse ¶
func (c *ClientWithResponses) ListCreativesWithBodyWithResponse(ctx context.Context, params *ListCreativesParams, contentType string, body io.Reader) (*ListCreativesResp, error)
ListCreativesWithBodyWithResponse request with arbitrary body returning *ListCreativesResp
func (*ClientWithResponses) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, body ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsAdGroupsResp, error)
func (*ClientWithResponses) ListSponsoredBrandsAdGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*ListSponsoredBrandsAdGroupsResp, error)
ListSponsoredBrandsAdGroupsWithBodyWithResponse request with arbitrary body returning *ListSponsoredBrandsAdGroupsResp
func (*ClientWithResponses) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, body ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsAdsResp, error)
func (*ClientWithResponses) ListSponsoredBrandsAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, contentType string, body io.Reader) (*ListSponsoredBrandsAdsResp, error)
ListSponsoredBrandsAdsWithBodyWithResponse request with arbitrary body returning *ListSponsoredBrandsAdsResp
func (*ClientWithResponses) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, body ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsCampaignsResp, error)
func (*ClientWithResponses) ListSponsoredBrandsCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) ListSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*ListSponsoredBrandsCampaignsResp, error)
ListSponsoredBrandsCampaignsWithBodyWithResponse request with arbitrary body returning *ListSponsoredBrandsCampaignsResp
func (*ClientWithResponses) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, body SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody) (*SBGetBudgetRulesRecommendationResp, error)
func (*ClientWithResponses) SBGetBudgetRulesRecommendationWithBodyWithResponse ¶
func (c *ClientWithResponses) SBGetBudgetRulesRecommendationWithBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*SBGetBudgetRulesRecommendationResp, error)
SBGetBudgetRulesRecommendationWithBodyWithResponse request with arbitrary body returning *SBGetBudgetRulesRecommendationResp
func (*ClientWithResponses) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, body SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody) (*SBInsightsCampaignInsightsResp, error)
func (*ClientWithResponses) SBInsightsCampaignInsightsWithBodyWithResponse ¶
func (c *ClientWithResponses) SBInsightsCampaignInsightsWithBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, contentType string, body io.Reader) (*SBInsightsCampaignInsightsResp, error)
SBInsightsCampaignInsightsWithBodyWithResponse request with arbitrary body returning *SBInsightsCampaignInsightsResp
func (*ClientWithResponses) SBTargetingGetNegativeBrandsWithResponse ¶
func (c *ClientWithResponses) SBTargetingGetNegativeBrandsWithResponse(ctx context.Context, params *SBTargetingGetNegativeBrandsParams) (*SBTargetingGetNegativeBrandsResp, error)
SBTargetingGetNegativeBrandsWithResponse request returning *SBTargetingGetNegativeBrandsResp
func (*ClientWithResponses) SBTargetingGetRefinementsForCategoryWithResponse ¶
func (c *ClientWithResponses) SBTargetingGetRefinementsForCategoryWithResponse(ctx context.Context, categoryRefinementId string, params *SBTargetingGetRefinementsForCategoryParams) (*SBTargetingGetRefinementsForCategoryResp, error)
SBTargetingGetRefinementsForCategoryWithResponse request returning *SBTargetingGetRefinementsForCategoryResp
func (*ClientWithResponses) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, body SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody) (*SBTargetingGetTargetableASINCountsResp, error)
func (*ClientWithResponses) SBTargetingGetTargetableASINCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) SBTargetingGetTargetableASINCountsWithBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, contentType string, body io.Reader) (*SBTargetingGetTargetableASINCountsResp, error)
SBTargetingGetTargetableASINCountsWithBodyWithResponse request with arbitrary body returning *SBTargetingGetTargetableASINCountsResp
func (*ClientWithResponses) SBTargetingGetTargetableCategoriesWithResponse ¶
func (c *ClientWithResponses) SBTargetingGetTargetableCategoriesWithResponse(ctx context.Context, params *SBTargetingGetTargetableCategoriesParams) (*SBTargetingGetTargetableCategoriesResp, error)
SBTargetingGetTargetableCategoriesWithResponse request returning *SBTargetingGetTargetableCategoriesResp
func (*ClientWithResponses) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, body SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody) (*SbCampaignsBudgetUsageResp, error)
func (*ClientWithResponses) SbCampaignsBudgetUsageWithBodyWithResponse ¶
func (c *ClientWithResponses) SbCampaignsBudgetUsageWithBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, contentType string, body io.Reader) (*SbCampaignsBudgetUsageResp, error)
SbCampaignsBudgetUsageWithBodyWithResponse request with arbitrary body returning *SbCampaignsBudgetUsageResp
func (*ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*UpdateBudgetRulesForSBCampaignsResp, error)
UpdateBudgetRulesForSBCampaignsWithBodyWithResponse request with arbitrary body returning *UpdateBudgetRulesForSBCampaignsResp
func (*ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithResponse ¶
func (c *ClientWithResponses) UpdateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, body UpdateBudgetRulesForSBCampaignsJSONRequestBody) (*UpdateBudgetRulesForSBCampaignsResp, error)
func (*ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, body UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsAdGroupsResp, error)
func (*ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsAdGroupsResp, error)
UpdateSponsoredBrandsAdGroupsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredBrandsAdGroupsResp
func (*ClientWithResponses) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, body UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsAdsResp, error)
func (*ClientWithResponses) UpdateSponsoredBrandsAdsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsAdsResp, error)
UpdateSponsoredBrandsAdsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredBrandsAdsResp
func (*ClientWithResponses) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, body UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsCampaignsResp, error)
func (*ClientWithResponses) UpdateSponsoredBrandsCampaignsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsCampaignsResp, error)
UpdateSponsoredBrandsCampaignsWithBodyWithResponse request with arbitrary body returning *UpdateSponsoredBrandsCampaignsResp
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // CreateBrandVideoCreativeWithBodyWithResponse request with any body CreateBrandVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, contentType string, body io.Reader) (*CreateBrandVideoCreativeResp, error) CreateBrandVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateBrandVideoCreativeParams, body CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateBrandVideoCreativeResp, error) // ListCreativesWithBodyWithResponse request with any body ListCreativesWithBodyWithResponse(ctx context.Context, params *ListCreativesParams, contentType string, body io.Reader) (*ListCreativesResp, error) ListCreativesWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListCreativesParams, body ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*ListCreativesResp, error) // CreateProductCollectionCreativeWithBodyWithResponse request with any body CreateProductCollectionCreativeWithBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, contentType string, body io.Reader) (*CreateProductCollectionCreativeResp, error) CreateProductCollectionCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateProductCollectionCreativeParams, body CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateProductCollectionCreativeResp, error) // CreateStoreSpotlightCreativeWithBodyWithResponse request with any body CreateStoreSpotlightCreativeWithBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, contentType string, body io.Reader) (*CreateStoreSpotlightCreativeResp, error) CreateStoreSpotlightCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateStoreSpotlightCreativeParams, body CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateStoreSpotlightCreativeResp, error) // CreateVideoCreativeWithBodyWithResponse request with any body CreateVideoCreativeWithBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, contentType string, body io.Reader) (*CreateVideoCreativeResp, error) CreateVideoCreativeWithApplicationVndSbAdCreativeResourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateVideoCreativeParams, body CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody) (*CreateVideoCreativeResp, error) // GetSBBudgetRulesForAdvertiserWithResponse request GetSBBudgetRulesForAdvertiserWithResponse(ctx context.Context, params *GetSBBudgetRulesForAdvertiserParams) (*GetSBBudgetRulesForAdvertiserResp, error) // CreateBudgetRulesForSBCampaignsWithBodyWithResponse request with any body CreateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*CreateBudgetRulesForSBCampaignsResp, error) CreateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *CreateBudgetRulesForSBCampaignsParams, body CreateBudgetRulesForSBCampaignsJSONRequestBody) (*CreateBudgetRulesForSBCampaignsResp, error) // UpdateBudgetRulesForSBCampaignsWithBodyWithResponse request with any body UpdateBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*UpdateBudgetRulesForSBCampaignsResp, error) UpdateBudgetRulesForSBCampaignsWithResponse(ctx context.Context, params *UpdateBudgetRulesForSBCampaignsParams, body UpdateBudgetRulesForSBCampaignsJSONRequestBody) (*UpdateBudgetRulesForSBCampaignsResp, error) // GetBudgetRuleByRuleIdForSBCampaignsWithResponse request GetBudgetRuleByRuleIdForSBCampaignsWithResponse(ctx context.Context, budgetRuleId string, params *GetBudgetRuleByRuleIdForSBCampaignsParams) (*GetBudgetRuleByRuleIdForSBCampaignsResp, error) // GetCampaignsAssociatedWithSBBudgetRuleWithResponse request GetCampaignsAssociatedWithSBBudgetRuleWithResponse(ctx context.Context, budgetRuleId string, params *GetCampaignsAssociatedWithSBBudgetRuleParams) (*GetCampaignsAssociatedWithSBBudgetRuleResp, error) // SbCampaignsBudgetUsageWithBodyWithResponse request with any body SbCampaignsBudgetUsageWithBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, contentType string, body io.Reader) (*SbCampaignsBudgetUsageResp, error) SbCampaignsBudgetUsageWithApplicationVndSbcampaignbudgetusageV1PlusJSONBodyWithResponse(ctx context.Context, params *SbCampaignsBudgetUsageParams, body SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody) (*SbCampaignsBudgetUsageResp, error) // GetBudgetRecommendationsWithBodyWithResponse request with any body GetBudgetRecommendationsWithBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, contentType string, body io.Reader) (*GetBudgetRecommendationsResp, error) GetBudgetRecommendationsWithApplicationVndSbbudgetrecommendationV4PlusJSONBodyWithResponse(ctx context.Context, params *GetBudgetRecommendationsParams, body GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody) (*GetBudgetRecommendationsResp, error) // SBGetBudgetRulesRecommendationWithBodyWithResponse request with any body SBGetBudgetRulesRecommendationWithBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, contentType string, body io.Reader) (*SBGetBudgetRulesRecommendationResp, error) SBGetBudgetRulesRecommendationWithApplicationVndSbbudgetrulesrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *SBGetBudgetRulesRecommendationParams, body SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody) (*SBGetBudgetRulesRecommendationResp, error) // SBInsightsCampaignInsightsWithBodyWithResponse request with any body SBInsightsCampaignInsightsWithBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, contentType string, body io.Reader) (*SBInsightsCampaignInsightsResp, error) SBInsightsCampaignInsightsWithApplicationVndSbinsightsV4PlusJSONBodyWithResponse(ctx context.Context, params *SBInsightsCampaignInsightsParams, body SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody) (*SBInsightsCampaignInsightsResp, error) // ListAssociatedBudgetRulesForSBCampaignsWithResponse request ListAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *ListAssociatedBudgetRulesForSBCampaignsParams) (*ListAssociatedBudgetRulesForSBCampaignsResp, error) // CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse request with any body CreateAssociatedBudgetRulesForSBCampaignsWithBodyWithResponse(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, contentType string, body io.Reader) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error) CreateAssociatedBudgetRulesForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *CreateAssociatedBudgetRulesForSBCampaignsParams, body CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error) // GetRuleBasedBudgetHistoryForSBCampaignsWithResponse request GetRuleBasedBudgetHistoryForSBCampaignsWithResponse(ctx context.Context, campaignId string, params *GetRuleBasedBudgetHistoryForSBCampaignsParams) (*GetRuleBasedBudgetHistoryForSBCampaignsResp, error) // DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse request DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse(ctx context.Context, campaignId string, budgetRuleId string, params *DisassociateAssociatedBudgetRuleForSBCampaignsParams) (*DisassociateAssociatedBudgetRuleForSBCampaignsResp, error) // SBTargetingGetNegativeBrandsWithResponse request SBTargetingGetNegativeBrandsWithResponse(ctx context.Context, params *SBTargetingGetNegativeBrandsParams) (*SBTargetingGetNegativeBrandsResp, error) // GetHeadlineRecommendationsWithBodyWithResponse request with any body GetHeadlineRecommendationsWithBodyWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, contentType string, body io.Reader) (*GetHeadlineRecommendationsResp, error) GetHeadlineRecommendationsWithResponse(ctx context.Context, params *GetHeadlineRecommendationsParams, body GetHeadlineRecommendationsJSONRequestBody) (*GetHeadlineRecommendationsResp, error) // GetKeywordRecommendationsWithBodyWithResponse request with any body GetKeywordRecommendationsWithBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, contentType string, body io.Reader) (*GetKeywordRecommendationsResp, error) GetKeywordRecommendationsWithApplicationVndSbkeywordrecommendationV3PlusJSONBodyWithResponse(ctx context.Context, params *GetKeywordRecommendationsParams, body GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody) (*GetKeywordRecommendationsResp, error) // SBTargetingGetTargetableCategoriesWithResponse request SBTargetingGetTargetableCategoriesWithResponse(ctx context.Context, params *SBTargetingGetTargetableCategoriesParams) (*SBTargetingGetTargetableCategoriesResp, error) // SBTargetingGetRefinementsForCategoryWithResponse request SBTargetingGetRefinementsForCategoryWithResponse(ctx context.Context, categoryRefinementId string, params *SBTargetingGetRefinementsForCategoryParams) (*SBTargetingGetRefinementsForCategoryResp, error) // SBTargetingGetTargetableASINCountsWithBodyWithResponse request with any body SBTargetingGetTargetableASINCountsWithBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, contentType string, body io.Reader) (*SBTargetingGetTargetableASINCountsResp, error) SBTargetingGetTargetableASINCountsWithApplicationVndSbtargetingV4PlusJSONBodyWithResponse(ctx context.Context, params *SBTargetingGetTargetableASINCountsParams, body SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody) (*SBTargetingGetTargetableASINCountsResp, error) // CreateSponsoredBrandsAdGroupsWithBodyWithResponse request with any body CreateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsAdGroupsResp, error) CreateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsAdGroupsParams, body CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsAdGroupsResp, error) // UpdateSponsoredBrandsAdGroupsWithBodyWithResponse request with any body UpdateSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsAdGroupsResp, error) UpdateSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdGroupsParams, body UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsAdGroupsResp, error) // DeleteSponsoredBrandsAdGroupsWithBodyWithResponse request with any body DeleteSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsAdGroupsResp, error) DeleteSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdGroupsParams, body DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsAdGroupsResp, error) // ListSponsoredBrandsAdGroupsWithBodyWithResponse request with any body ListSponsoredBrandsAdGroupsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, contentType string, body io.Reader) (*ListSponsoredBrandsAdGroupsResp, error) ListSponsoredBrandsAdGroupsWithApplicationVndSbadgroupresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdGroupsParams, body ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsAdGroupsResp, error) // UpdateSponsoredBrandsAdsWithBodyWithResponse request with any body UpdateSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsAdsResp, error) UpdateSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsAdsParams, body UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsAdsResp, error) // CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse request with any body CreateSponsoredBrandsBrandVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsBrandVideoAdsResp, error) CreateSponsoredBrandsBrandVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsBrandVideoAdsParams, body CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsBrandVideoAdsResp, error) // DeleteSponsoredBrandsAdsWithBodyWithResponse request with any body DeleteSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsAdsResp, error) DeleteSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsAdsParams, body DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsAdsResp, error) // ListSponsoredBrandsAdsWithBodyWithResponse request with any body ListSponsoredBrandsAdsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, contentType string, body io.Reader) (*ListSponsoredBrandsAdsResp, error) ListSponsoredBrandsAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsAdsParams, body ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsAdsResp, error) // CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse request with any body CreateSponsoredBrandsProductCollectionAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsProductCollectionAdsResp, error) CreateSponsoredBrandsProductCollectionAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsProductCollectionAdsParams, body CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsProductCollectionAdsResp, error) // CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse request with any body CreateSponsoredBrandStoreSpotlightAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandStoreSpotlightAdsResp, error) CreateSponsoredBrandStoreSpotlightAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandStoreSpotlightAdsParams, body CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandStoreSpotlightAdsResp, error) // CreateSponsoredBrandsVideoAdsWithBodyWithResponse request with any body CreateSponsoredBrandsVideoAdsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsVideoAdsResp, error) CreateSponsoredBrandsVideoAdsWithApplicationVndSbadresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsVideoAdsParams, body CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsVideoAdsResp, error) // CreateSponsoredBrandsCampaignsWithBodyWithResponse request with any body CreateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*CreateSponsoredBrandsCampaignsResp, error) CreateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *CreateSponsoredBrandsCampaignsParams, body CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*CreateSponsoredBrandsCampaignsResp, error) // UpdateSponsoredBrandsCampaignsWithBodyWithResponse request with any body UpdateSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*UpdateSponsoredBrandsCampaignsResp, error) UpdateSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *UpdateSponsoredBrandsCampaignsParams, body UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*UpdateSponsoredBrandsCampaignsResp, error) // DeleteSponsoredBrandsCampaignsWithBodyWithResponse request with any body DeleteSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*DeleteSponsoredBrandsCampaignsResp, error) DeleteSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *DeleteSponsoredBrandsCampaignsParams, body DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*DeleteSponsoredBrandsCampaignsResp, error) // ListSponsoredBrandsCampaignsWithBodyWithResponse request with any body ListSponsoredBrandsCampaignsWithBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, contentType string, body io.Reader) (*ListSponsoredBrandsCampaignsResp, error) ListSponsoredBrandsCampaignsWithApplicationVndSbcampaignresourceV4PlusJSONBodyWithResponse(ctx context.Context, params *ListSponsoredBrandsCampaignsParams, body ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody) (*ListSponsoredBrandsCampaignsResp, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ComparisonOperator ¶
type ComparisonOperator string
ComparisonOperator The comparison operator.
const ( 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 ConflictStateErrorCode ¶
type ConflictStateErrorCode string
ConflictStateErrorCode defines model for ConflictStateErrorCode.
const (
CONFLICTSTATE ConflictStateErrorCode = "CONFLICT_STATE"
)
Defines values for ConflictStateErrorCode.
type ConflictStateExceptionResponseContent ¶
type ConflictStateExceptionResponseContent struct { Code ConflictStateErrorCode `json:"code"` Message string `json:"message"` }
ConflictStateExceptionResponseContent defines model for ConflictStateExceptionResponseContent.
type CreateAdGroup ¶
type CreateAdGroup struct { // CampaignId The identifier of the campaign to which the keyword is associated. CampaignId string `json:"campaignId"` // Name The name of the ad group. Name string `json:"name"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `json:"state"` }
CreateAdGroup defines model for CreateAdGroup.
type CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody ¶
type CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody = CreateAssociatedBudgetRulesRequest
CreateAssociatedBudgetRulesForSBCampaignsJSONRequestBody defines body for CreateAssociatedBudgetRulesForSBCampaigns for application/json ContentType.
type CreateAssociatedBudgetRulesForSBCampaignsParams ¶
type CreateAssociatedBudgetRulesForSBCampaignsParams 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"` }
CreateAssociatedBudgetRulesForSBCampaignsParams defines parameters for CreateAssociatedBudgetRulesForSBCampaigns.
type CreateAssociatedBudgetRulesForSBCampaignsResp ¶
type CreateAssociatedBudgetRulesForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON207 *CreateAssociatedBudgetRulesResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseCreateAssociatedBudgetRulesForSBCampaignsResp ¶
func ParseCreateAssociatedBudgetRulesForSBCampaignsResp(rsp *http.Response) (*CreateAssociatedBudgetRulesForSBCampaignsResp, error)
ParseCreateAssociatedBudgetRulesForSBCampaignsResp parses an HTTP response from a CreateAssociatedBudgetRulesForSBCampaignsWithResponse call
func (CreateAssociatedBudgetRulesForSBCampaignsResp) Status ¶
func (r CreateAssociatedBudgetRulesForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (CreateAssociatedBudgetRulesForSBCampaignsResp) StatusCode ¶
func (r CreateAssociatedBudgetRulesForSBCampaignsResp) StatusCode() int
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 CreateBrandVideoAd ¶
type CreateBrandVideoAd struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` Creative CreateBrandVideoCreative `json:"creative"` LandingPage LandingPage `json:"landingPage"` // Name The name of the ad. Name string `json:"name"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `json:"state"` }
CreateBrandVideoAd defines model for CreateBrandVideoAd.
type CreateBrandVideoCreative ¶
type CreateBrandVideoCreative struct { Asins *[]string `json:"asins,omitempty"` BrandLogoAssetID *string `json:"brandLogoAssetID,omitempty"` // BrandLogoCrop The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. BrandLogoCrop *BrandLogoCrop `json:"brandLogoCrop,omitempty"` BrandName *string `json:"brandName,omitempty"` // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. Headline *string `json:"headline,omitempty"` VideoAssetIds *[]string `json:"videoAssetIds,omitempty"` }
CreateBrandVideoCreative defines model for CreateBrandVideoCreative.
type CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody ¶
type CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody = CreateBrandVideoCreativeRequestContent
CreateBrandVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody defines body for CreateBrandVideoCreative for application/vnd.sbAdCreativeResource.v4+json ContentType.
type CreateBrandVideoCreativeParams ¶
type CreateBrandVideoCreativeParams struct { // Accept Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type. Accept *AcceptHeader `json:"Accept,omitempty"` // AmazonAdvertisingAPIClientId ----------------------------------------------- // Simple types // ----------------------------------------------- // 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 and use profileId from the response to pass as input. // This is a required header for advertisers and integrators using the Advertising API. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
CreateBrandVideoCreativeParams defines parameters for CreateBrandVideoCreative.
type CreateBrandVideoCreativeRequestContent ¶
type CreateBrandVideoCreativeRequestContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId string `json:"adId"` Creative BrandVideoCreative `json:"creative"` }
CreateBrandVideoCreativeRequestContent defines model for CreateBrandVideoCreativeRequestContent.
type CreateBrandVideoCreativeResp ¶
type CreateBrandVideoCreativeResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbAdCreativeResourceV4JSON200 *CreateBrandVideoCreativeResponseContent ApplicationvndSbAdCreativeResourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON409 *ConflictStateExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateBrandVideoCreativeResp ¶
func ParseCreateBrandVideoCreativeResp(rsp *http.Response) (*CreateBrandVideoCreativeResp, error)
ParseCreateBrandVideoCreativeResp parses an HTTP response from a CreateBrandVideoCreativeWithResponse call
func (CreateBrandVideoCreativeResp) Status ¶
func (r CreateBrandVideoCreativeResp) Status() string
Status returns HTTPResponse.Status
func (CreateBrandVideoCreativeResp) StatusCode ¶
func (r CreateBrandVideoCreativeResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBrandVideoCreativeResponseContent ¶
type CreateBrandVideoCreativeResponseContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId *string `json:"adId,omitempty"` // CreativeVersion The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative. CreativeVersion *string `json:"creativeVersion,omitempty"` }
CreateBrandVideoCreativeResponseContent Create creative response
type CreateBudgetRulesForSBCampaignsJSONRequestBody ¶
type CreateBudgetRulesForSBCampaignsJSONRequestBody = CreateSBBudgetRulesRequest
CreateBudgetRulesForSBCampaignsJSONRequestBody defines body for CreateBudgetRulesForSBCampaigns for application/json ContentType.
type CreateBudgetRulesForSBCampaignsParams ¶
type CreateBudgetRulesForSBCampaignsParams 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"` }
CreateBudgetRulesForSBCampaignsParams defines parameters for CreateBudgetRulesForSBCampaigns.
type CreateBudgetRulesForSBCampaignsResp ¶
type CreateBudgetRulesForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON207 *CreateBudgetRulesResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseCreateBudgetRulesForSBCampaignsResp ¶
func ParseCreateBudgetRulesForSBCampaignsResp(rsp *http.Response) (*CreateBudgetRulesForSBCampaignsResp, error)
ParseCreateBudgetRulesForSBCampaignsResp parses an HTTP response from a CreateBudgetRulesForSBCampaignsWithResponse call
func (CreateBudgetRulesForSBCampaignsResp) Status ¶
func (r CreateBudgetRulesForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (CreateBudgetRulesForSBCampaignsResp) StatusCode ¶
func (r CreateBudgetRulesForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBudgetRulesResponse ¶
type CreateBudgetRulesResponse struct {
Responses *[]BudgetRuleResponse `json:"responses,omitempty"`
}
CreateBudgetRulesResponse defines model for CreateBudgetRulesResponse.
type CreateCampaign ¶
type CreateCampaign struct { Bidding *Bidding `json:"bidding,omitempty"` BrandEntityId *string `json:"brandEntityId,omitempty"` // Budget The budget of the campaign. Budget float64 `json:"budget"` // BudgetType For the lifetime budget type, `startDate` and `endDate` must be specified. BudgetType BudgetType `json:"budgetType"` // CostType This parameter is only available in the US marketplace. The costType can be set to determines how the campaign will bid and charge. To view the bid maximums and minimums by geography and costType, see https://advertising.amazon.com/API/docs/en-us/concepts/limits#bid-constraints-by-marketplace // - CPC [Default] - Cost per click. The performance of this campaign is measured by the clicks triggered by the ad. // - VCPM - Cost per 1000 viewable impressions. The performance of this campaign is measured by the viewable impressions triggered by the ad. CostType *string `json:"costType,omitempty"` // EndDate endDate is optional. If endDate is specified, startDate must be specified as well. EndDate *string `json:"endDate,omitempty"` // Goal This parameter is only available in the US marketplace. Goal will allow you to set goal type to help drive your campaign performance. If no goal is selected then it will default to PAGE_VISIT. // The goal type of the campaign. // - BRAND_IMPRESSION_SHARE - This goal will allow you grown your brand impression share on top of search placement // - PAGE_VISIT [DEFAULT] - This goal drives traffic to your landing and detail pages through all placements. Goal *string `json:"goal,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"` // ProductLocation The product location of the campaign. // - SOLD_ON_AMAZON - For products sold on Amazon websites. // - NOT_SOLD_ON_AMAZON - For products not sold on Amazon websites. // - SOLD_ON_DTC - Deprecated (For products sold on DTC websites). ProductLocation *ProductLocation `json:"productLocation,omitempty"` // SmartDefault This parameter is only available in the US marketplace. The smartDefault specifies a list of the smart default options for the campaign. // // `smartDefault` is optional for create campaign requests. `smartDefault` are applicable to all applicable child entities of the campaign and are not editable once the campaign is created. When using ["TARGETING"], targets will be automatically added based on the goal selected. When ["MANUAL"] is selected, you will still be required to manually add targets. // // If you don't specify `smartDefault`, default value will be applied based on `goal` . If campaign's `goal` is selected, `smartDefault` will be set to ["TARGETING"]. Otherwise, a campaign's `smartDefault` will be set to ["MANUAL"]. // // Each element in smartDefault can be set to determines which default strategy to be used // - MANUAL - Manual settings, no smart default be applied to the campaign, if MANUAL is added in the list, no other items are allowed in the list (the list must contains only one item) // - TARGETING - Smart Default Targeting creation, will automatically creating targetings when create ad group // // Example: ["TARGETING"] SmartDefault *[]string `json:"smartDefault,omitempty"` // StartDate startDate is optional. If startDate is not specified, current date will be used. StartDate *string `json:"startDate,omitempty"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `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 *Tags `json:"tags,omitempty"` }
CreateCampaign defines model for CreateCampaign.
type CreateOrUpdateEntityState ¶
type CreateOrUpdateEntityState string
CreateOrUpdateEntityState Entity state for create or update operation.
const ( CreateOrUpdateEntityStateENABLED CreateOrUpdateEntityState = "ENABLED" CreateOrUpdateEntityStatePAUSED CreateOrUpdateEntityState = "PAUSED" )
Defines values for CreateOrUpdateEntityState.
type CreateProductCollectionAd ¶
type CreateProductCollectionAd struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` Creative CreateProductCollectionCreative `json:"creative"` LandingPage LandingPage `json:"landingPage"` // Name The name of the ad. Name string `json:"name"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `json:"state"` }
CreateProductCollectionAd defines model for CreateProductCollectionAd.
type CreateProductCollectionCreative ¶
type CreateProductCollectionCreative struct { Asins *[]string `json:"asins,omitempty"` BrandLogoAssetID *string `json:"brandLogoAssetID,omitempty"` // BrandLogoCrop The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. BrandLogoCrop *BrandLogoCrop `json:"brandLogoCrop,omitempty"` BrandName *string `json:"brandName,omitempty"` CustomImageAssetId *string `json:"customImageAssetId,omitempty"` // CustomImageCrop The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. CustomImageCrop *CustomImageCrop `json:"customImageCrop,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. Headline *string `json:"headline,omitempty"` }
CreateProductCollectionCreative defines model for CreateProductCollectionCreative.
type CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody ¶
type CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody = CreateProductCollectionCreativeRequestContent
CreateProductCollectionCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody defines body for CreateProductCollectionCreative for application/vnd.sbAdCreativeResource.v4+json ContentType.
type CreateProductCollectionCreativeParams ¶
type CreateProductCollectionCreativeParams struct { // Accept Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type. Accept *AcceptHeader `json:"Accept,omitempty"` // AmazonAdvertisingAPIClientId ----------------------------------------------- // Simple types // ----------------------------------------------- // 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 and use profileId from the response to pass as input. // This is a required header for advertisers and integrators using the Advertising API. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
CreateProductCollectionCreativeParams defines parameters for CreateProductCollectionCreative.
type CreateProductCollectionCreativeRequestContent ¶
type CreateProductCollectionCreativeRequestContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId string `json:"adId"` Creative ProductCollectionCreative `json:"creative"` }
CreateProductCollectionCreativeRequestContent defines model for CreateProductCollectionCreativeRequestContent.
type CreateProductCollectionCreativeResp ¶
type CreateProductCollectionCreativeResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbAdCreativeResourceV4JSON200 *CreateProductCollectionCreativeResponseContent ApplicationvndSbAdCreativeResourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON409 *ConflictStateExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateProductCollectionCreativeResp ¶
func ParseCreateProductCollectionCreativeResp(rsp *http.Response) (*CreateProductCollectionCreativeResp, error)
ParseCreateProductCollectionCreativeResp parses an HTTP response from a CreateProductCollectionCreativeWithResponse call
func (CreateProductCollectionCreativeResp) Status ¶
func (r CreateProductCollectionCreativeResp) Status() string
Status returns HTTPResponse.Status
func (CreateProductCollectionCreativeResp) StatusCode ¶
func (r CreateProductCollectionCreativeResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProductCollectionCreativeResponseContent ¶
type CreateProductCollectionCreativeResponseContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId *string `json:"adId,omitempty"` // CreativeVersion The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative. CreativeVersion *string `json:"creativeVersion,omitempty"` }
CreateProductCollectionCreativeResponseContent Create creative response
type CreateSBBudgetRulesRequest ¶
type CreateSBBudgetRulesRequest struct { // BudgetRulesDetails A list of budget rule details. BudgetRulesDetails *[]SBBudgetRuleDetails `json:"budgetRulesDetails,omitempty"` }
CreateSBBudgetRulesRequest defines model for CreateSBBudgetRulesRequest.
type CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody = CreateSponsoredBrandStoreSpotlightAdsRequestContent
CreateSponsoredBrandStoreSpotlightAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandStoreSpotlightAds for application/vnd.sbadresource.v4+json ContentType.
type CreateSponsoredBrandStoreSpotlightAdsParams ¶
type CreateSponsoredBrandStoreSpotlightAdsParams 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"` }
CreateSponsoredBrandStoreSpotlightAdsParams defines parameters for CreateSponsoredBrandStoreSpotlightAds.
type CreateSponsoredBrandStoreSpotlightAdsRequestContent ¶
type CreateSponsoredBrandStoreSpotlightAdsRequestContent struct {
Ads []CreateStoreSpotlightAd `json:"ads"`
}
CreateSponsoredBrandStoreSpotlightAdsRequestContent defines model for CreateSponsoredBrandStoreSpotlightAdsRequestContent.
type CreateSponsoredBrandStoreSpotlightAdsResp ¶
type CreateSponsoredBrandStoreSpotlightAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *CreateSponsoredBrandStoreSpotlightAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandStoreSpotlightAdsResp ¶
func ParseCreateSponsoredBrandStoreSpotlightAdsResp(rsp *http.Response) (*CreateSponsoredBrandStoreSpotlightAdsResp, error)
ParseCreateSponsoredBrandStoreSpotlightAdsResp parses an HTTP response from a CreateSponsoredBrandStoreSpotlightAdsWithResponse call
func (CreateSponsoredBrandStoreSpotlightAdsResp) Status ¶
func (r CreateSponsoredBrandStoreSpotlightAdsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandStoreSpotlightAdsResp) StatusCode ¶
func (r CreateSponsoredBrandStoreSpotlightAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandStoreSpotlightAdsResponseContent ¶
type CreateSponsoredBrandStoreSpotlightAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
CreateSponsoredBrandStoreSpotlightAdsResponseContent defines model for CreateSponsoredBrandStoreSpotlightAdsResponseContent.
type CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody = CreateSponsoredBrandsAdGroupsRequestContent
CreateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandsAdGroups for application/vnd.sbadgroupresource.v4+json ContentType.
type CreateSponsoredBrandsAdGroupsParams ¶
type CreateSponsoredBrandsAdGroupsParams 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"` }
CreateSponsoredBrandsAdGroupsParams defines parameters for CreateSponsoredBrandsAdGroups.
type CreateSponsoredBrandsAdGroupsRequestContent ¶
type CreateSponsoredBrandsAdGroupsRequestContent struct {
AdGroups []CreateAdGroup `json:"adGroups"`
}
CreateSponsoredBrandsAdGroupsRequestContent defines model for CreateSponsoredBrandsAdGroupsRequestContent.
type CreateSponsoredBrandsAdGroupsResp ¶
type CreateSponsoredBrandsAdGroupsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadgroupresourceV4JSON207 *CreateSponsoredBrandsAdGroupsResponseContent ApplicationvndSbadgroupresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandsAdGroupsResp ¶
func ParseCreateSponsoredBrandsAdGroupsResp(rsp *http.Response) (*CreateSponsoredBrandsAdGroupsResp, error)
ParseCreateSponsoredBrandsAdGroupsResp parses an HTTP response from a CreateSponsoredBrandsAdGroupsWithResponse call
func (CreateSponsoredBrandsAdGroupsResp) Status ¶
func (r CreateSponsoredBrandsAdGroupsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandsAdGroupsResp) StatusCode ¶
func (r CreateSponsoredBrandsAdGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandsAdGroupsResponseContent ¶
type CreateSponsoredBrandsAdGroupsResponseContent struct {
AdGroups *BulkAdGroupOperationResponse `json:"adGroups,omitempty"`
}
CreateSponsoredBrandsAdGroupsResponseContent defines model for CreateSponsoredBrandsAdGroupsResponseContent.
type CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody = CreateSponsoredBrandsBrandVideoAdsRequestContent
CreateSponsoredBrandsBrandVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandsBrandVideoAds for application/vnd.sbadresource.v4+json ContentType.
type CreateSponsoredBrandsBrandVideoAdsParams ¶
type CreateSponsoredBrandsBrandVideoAdsParams 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"` }
CreateSponsoredBrandsBrandVideoAdsParams defines parameters for CreateSponsoredBrandsBrandVideoAds.
type CreateSponsoredBrandsBrandVideoAdsRequestContent ¶
type CreateSponsoredBrandsBrandVideoAdsRequestContent struct {
Ads []CreateBrandVideoAd `json:"ads"`
}
CreateSponsoredBrandsBrandVideoAdsRequestContent defines model for CreateSponsoredBrandsBrandVideoAdsRequestContent.
type CreateSponsoredBrandsBrandVideoAdsResp ¶
type CreateSponsoredBrandsBrandVideoAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *CreateSponsoredBrandsBrandVideoAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandsBrandVideoAdsResp ¶
func ParseCreateSponsoredBrandsBrandVideoAdsResp(rsp *http.Response) (*CreateSponsoredBrandsBrandVideoAdsResp, error)
ParseCreateSponsoredBrandsBrandVideoAdsResp parses an HTTP response from a CreateSponsoredBrandsBrandVideoAdsWithResponse call
func (CreateSponsoredBrandsBrandVideoAdsResp) Status ¶
func (r CreateSponsoredBrandsBrandVideoAdsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandsBrandVideoAdsResp) StatusCode ¶
func (r CreateSponsoredBrandsBrandVideoAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandsBrandVideoAdsResponseContent ¶
type CreateSponsoredBrandsBrandVideoAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
CreateSponsoredBrandsBrandVideoAdsResponseContent defines model for CreateSponsoredBrandsBrandVideoAdsResponseContent.
type CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody = CreateSponsoredBrandsCampaignsRequestContent
CreateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandsCampaigns for application/vnd.sbcampaignresource.v4+json ContentType.
type CreateSponsoredBrandsCampaignsParams ¶
type CreateSponsoredBrandsCampaignsParams 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"` }
CreateSponsoredBrandsCampaignsParams defines parameters for CreateSponsoredBrandsCampaigns.
type CreateSponsoredBrandsCampaignsRequestContent ¶
type CreateSponsoredBrandsCampaignsRequestContent struct {
Campaigns []CreateCampaign `json:"campaigns"`
}
CreateSponsoredBrandsCampaignsRequestContent defines model for CreateSponsoredBrandsCampaignsRequestContent.
type CreateSponsoredBrandsCampaignsResp ¶
type CreateSponsoredBrandsCampaignsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbcampaignresourceV4JSON207 *CreateSponsoredBrandsCampaignsResponseContent ApplicationvndSbcampaignresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandsCampaignsResp ¶
func ParseCreateSponsoredBrandsCampaignsResp(rsp *http.Response) (*CreateSponsoredBrandsCampaignsResp, error)
ParseCreateSponsoredBrandsCampaignsResp parses an HTTP response from a CreateSponsoredBrandsCampaignsWithResponse call
func (CreateSponsoredBrandsCampaignsResp) Status ¶
func (r CreateSponsoredBrandsCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandsCampaignsResp) StatusCode ¶
func (r CreateSponsoredBrandsCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandsCampaignsResponseContent ¶
type CreateSponsoredBrandsCampaignsResponseContent struct {
Campaigns *BulkCampaignOperationResponse `json:"campaigns,omitempty"`
}
CreateSponsoredBrandsCampaignsResponseContent defines model for CreateSponsoredBrandsCampaignsResponseContent.
type CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody = CreateSponsoredBrandsProductCollectionAdsRequestContent
CreateSponsoredBrandsProductCollectionAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandsProductCollectionAds for application/vnd.sbadresource.v4+json ContentType.
type CreateSponsoredBrandsProductCollectionAdsParams ¶
type CreateSponsoredBrandsProductCollectionAdsParams 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"` }
CreateSponsoredBrandsProductCollectionAdsParams defines parameters for CreateSponsoredBrandsProductCollectionAds.
type CreateSponsoredBrandsProductCollectionAdsRequestContent ¶
type CreateSponsoredBrandsProductCollectionAdsRequestContent struct {
Ads []CreateProductCollectionAd `json:"ads"`
}
CreateSponsoredBrandsProductCollectionAdsRequestContent defines model for CreateSponsoredBrandsProductCollectionAdsRequestContent.
type CreateSponsoredBrandsProductCollectionAdsResp ¶
type CreateSponsoredBrandsProductCollectionAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *CreateSponsoredBrandsProductCollectionAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandsProductCollectionAdsResp ¶
func ParseCreateSponsoredBrandsProductCollectionAdsResp(rsp *http.Response) (*CreateSponsoredBrandsProductCollectionAdsResp, error)
ParseCreateSponsoredBrandsProductCollectionAdsResp parses an HTTP response from a CreateSponsoredBrandsProductCollectionAdsWithResponse call
func (CreateSponsoredBrandsProductCollectionAdsResp) Status ¶
func (r CreateSponsoredBrandsProductCollectionAdsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandsProductCollectionAdsResp) StatusCode ¶
func (r CreateSponsoredBrandsProductCollectionAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandsProductCollectionAdsResponseContent ¶
type CreateSponsoredBrandsProductCollectionAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
CreateSponsoredBrandsProductCollectionAdsResponseContent defines model for CreateSponsoredBrandsProductCollectionAdsResponseContent.
type CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody = CreateSponsoredBrandsVideoAdsRequestContent
CreateSponsoredBrandsVideoAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for CreateSponsoredBrandsVideoAds for application/vnd.sbadresource.v4+json ContentType.
type CreateSponsoredBrandsVideoAdsParams ¶
type CreateSponsoredBrandsVideoAdsParams 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"` }
CreateSponsoredBrandsVideoAdsParams defines parameters for CreateSponsoredBrandsVideoAds.
type CreateSponsoredBrandsVideoAdsRequestContent ¶
type CreateSponsoredBrandsVideoAdsRequestContent struct {
Ads []CreateVideoAd `json:"ads"`
}
CreateSponsoredBrandsVideoAdsRequestContent defines model for CreateSponsoredBrandsVideoAdsRequestContent.
type CreateSponsoredBrandsVideoAdsResp ¶
type CreateSponsoredBrandsVideoAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *CreateSponsoredBrandsVideoAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateSponsoredBrandsVideoAdsResp ¶
func ParseCreateSponsoredBrandsVideoAdsResp(rsp *http.Response) (*CreateSponsoredBrandsVideoAdsResp, error)
ParseCreateSponsoredBrandsVideoAdsResp parses an HTTP response from a CreateSponsoredBrandsVideoAdsWithResponse call
func (CreateSponsoredBrandsVideoAdsResp) Status ¶
func (r CreateSponsoredBrandsVideoAdsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSponsoredBrandsVideoAdsResp) StatusCode ¶
func (r CreateSponsoredBrandsVideoAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSponsoredBrandsVideoAdsResponseContent ¶
type CreateSponsoredBrandsVideoAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
CreateSponsoredBrandsVideoAdsResponseContent defines model for CreateSponsoredBrandsVideoAdsResponseContent.
type CreateStoreSpotlightAd ¶
type CreateStoreSpotlightAd struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` Creative CreateStoreSpotlightCreative `json:"creative"` LandingPage LandingPage `json:"landingPage"` // Name The name of the ad. Name string `json:"name"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `json:"state"` }
CreateStoreSpotlightAd defines model for CreateStoreSpotlightAd.
type CreateStoreSpotlightCreative ¶
type CreateStoreSpotlightCreative struct { BrandLogoAssetID *string `json:"brandLogoAssetID,omitempty"` // BrandLogoCrop The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. BrandLogoCrop *BrandLogoCrop `json:"brandLogoCrop,omitempty"` BrandName *string `json:"brandName,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. Headline *string `json:"headline,omitempty"` Subpages *[]Subpage `json:"subpages,omitempty"` }
CreateStoreSpotlightCreative defines model for CreateStoreSpotlightCreative.
type CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody ¶
type CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody = CreateStoreSpotlightCreativeRequestContent
CreateStoreSpotlightCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody defines body for CreateStoreSpotlightCreative for application/vnd.sbAdCreativeResource.v4+json ContentType.
type CreateStoreSpotlightCreativeParams ¶
type CreateStoreSpotlightCreativeParams struct { // Accept Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type. Accept *AcceptHeader `json:"Accept,omitempty"` // AmazonAdvertisingAPIClientId ----------------------------------------------- // Simple types // ----------------------------------------------- // 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 and use profileId from the response to pass as input. // This is a required header for advertisers and integrators using the Advertising API. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
CreateStoreSpotlightCreativeParams defines parameters for CreateStoreSpotlightCreative.
type CreateStoreSpotlightCreativeRequestContent ¶
type CreateStoreSpotlightCreativeRequestContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId string `json:"adId"` Creative StoreSpotlightCreative `json:"creative"` }
CreateStoreSpotlightCreativeRequestContent defines model for CreateStoreSpotlightCreativeRequestContent.
type CreateStoreSpotlightCreativeResp ¶
type CreateStoreSpotlightCreativeResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbAdCreativeResourceV4JSON200 *CreateStoreSpotlightCreativeResponseContent ApplicationvndSbAdCreativeResourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON409 *ConflictStateExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateStoreSpotlightCreativeResp ¶
func ParseCreateStoreSpotlightCreativeResp(rsp *http.Response) (*CreateStoreSpotlightCreativeResp, error)
ParseCreateStoreSpotlightCreativeResp parses an HTTP response from a CreateStoreSpotlightCreativeWithResponse call
func (CreateStoreSpotlightCreativeResp) Status ¶
func (r CreateStoreSpotlightCreativeResp) Status() string
Status returns HTTPResponse.Status
func (CreateStoreSpotlightCreativeResp) StatusCode ¶
func (r CreateStoreSpotlightCreativeResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStoreSpotlightCreativeResponseContent ¶
type CreateStoreSpotlightCreativeResponseContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId *string `json:"adId,omitempty"` // CreativeVersion The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative. CreativeVersion *string `json:"creativeVersion,omitempty"` }
CreateStoreSpotlightCreativeResponseContent Create creative response
type CreateVideoAd ¶
type CreateVideoAd struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` Creative CreateVideoCreative `json:"creative"` // Name The name of the ad. Name string `json:"name"` // State Entity state for create or update operation. State CreateOrUpdateEntityState `json:"state"` }
CreateVideoAd defines model for CreateVideoAd.
type CreateVideoCreative ¶
type CreateVideoCreative struct { Asins *[]string `json:"asins,omitempty"` // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` // VideoAssetIds In SB API V4, `videoMediaIds` is replaced by `videoAssetIds`. // `videoAssetIds` will only allow Asset Library identifiers for ad creation, but responses can include mediaIds for v1 campaigns and API V3 operations. // At a future state, existing mediaIds will be added to Asset library for use in SB campaigns. VideoAssetIds *[]string `json:"videoAssetIds,omitempty"` }
CreateVideoCreative defines model for CreateVideoCreative.
type CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody ¶
type CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody = CreateVideoCreativeRequestContent
CreateVideoCreativeApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody defines body for CreateVideoCreative for application/vnd.sbAdCreativeResource.v4+json ContentType.
type CreateVideoCreativeParams ¶
type CreateVideoCreativeParams struct { // Accept Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type. Accept *AcceptHeader `json:"Accept,omitempty"` // AmazonAdvertisingAPIClientId ----------------------------------------------- // Simple types // ----------------------------------------------- // 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 and use profileId from the response to pass as input. // This is a required header for advertisers and integrators using the Advertising API. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
CreateVideoCreativeParams defines parameters for CreateVideoCreative.
type CreateVideoCreativeRequestContent ¶
type CreateVideoCreativeRequestContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId string `json:"adId"` Creative VideoCreative `json:"creative"` }
CreateVideoCreativeRequestContent defines model for CreateVideoCreativeRequestContent.
type CreateVideoCreativeResp ¶
type CreateVideoCreativeResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbAdCreativeResourceV4JSON200 *CreateVideoCreativeResponseContent ApplicationvndSbAdCreativeResourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON409 *ConflictStateExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseCreateVideoCreativeResp ¶
func ParseCreateVideoCreativeResp(rsp *http.Response) (*CreateVideoCreativeResp, error)
ParseCreateVideoCreativeResp parses an HTTP response from a CreateVideoCreativeWithResponse call
func (CreateVideoCreativeResp) Status ¶
func (r CreateVideoCreativeResp) Status() string
Status returns HTTPResponse.Status
func (CreateVideoCreativeResp) StatusCode ¶
func (r CreateVideoCreativeResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVideoCreativeResponseContent ¶
type CreateVideoCreativeResponseContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId *string `json:"adId,omitempty"` // CreativeVersion The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative. CreativeVersion *string `json:"creativeVersion,omitempty"` }
CreateVideoCreativeResponseContent Create creative response
type Creative ¶
type Creative struct { Asins *[]string `json:"asins,omitempty"` BrandLogoAssetID *string `json:"brandLogoAssetID,omitempty"` // BrandLogoCrop The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. BrandLogoCrop *BrandLogoCrop `json:"brandLogoCrop,omitempty"` BrandLogoUrl *string `json:"brandLogoUrl,omitempty"` BrandName *string `json:"brandName,omitempty"` // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` CustomImageAssetId *string `json:"customImageAssetId,omitempty"` // CustomImageCrop The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. CustomImageCrop *CustomImageCrop `json:"customImageCrop,omitempty"` CustomImageUrl *string `json:"customImageUrl,omitempty"` CustomImages *[]CustomImage `json:"customImages,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. Headline *string `json:"headline,omitempty"` // OriginalVideoAssetIds The assetIds of the original videos submitted by the advertiser. // If 'consentToTranslate' is set to true and translation is SUCCESSFUL then `originalVideoAssetIds` will return the original video assetId whereas `videoAssetIds` will return translated video assetId. In all other cases, 'originalVideoAssetIds' and `videoAssetIds` both will return original video assetId. OriginalVideoAssetIds *[]string `json:"originalVideoAssetIds,omitempty"` Subpages *[]Subpage `json:"subpages,omitempty"` // Type The creative type of SB ad. Type *CreativeType `json:"type,omitempty"` // VideoAssetIds In SB API V4, `videoMediaIds` is replaced by `videoAssetIds`. // `videoAssetIds` will only allow Asset Library identifiers for ad creation, but responses can include mediaIds for v1 campaigns and API V3 operations. // At a future state, existing mediaIds will be added to Asset library for use in SB campaigns. VideoAssetIds *[]string `json:"videoAssetIds,omitempty"` }
Creative defines model for Creative.
type CreativeLandingPage ¶
type CreativeLandingPage struct { // Type Landing page type Type *CreativeLandingPageType `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
CreativeLandingPage Landing page.
type CreativeLandingPageType ¶
type CreativeLandingPageType string
CreativeLandingPageType Landing page type
const ( CreativeLandingPageTypeADLANDINGPREVIEW CreativeLandingPageType = "AD_LANDING_PREVIEW" CreativeLandingPageTypeADVERTISINGLANDINGPAGE CreativeLandingPageType = "ADVERTISING_LANDING_PAGE" CreativeLandingPageTypeBROWSE CreativeLandingPageType = "BROWSE" CreativeLandingPageTypeCUSTOMURL CreativeLandingPageType = "CUSTOM_URL" CreativeLandingPageTypeDETAILPAGE CreativeLandingPageType = "DETAIL_PAGE" CreativeLandingPageTypePRODUCTLIST CreativeLandingPageType = "PRODUCT_LIST" CreativeLandingPageTypeSEARCH CreativeLandingPageType = "SEARCH" CreativeLandingPageTypeSTORE CreativeLandingPageType = "STORE" CreativeLandingPageTypeUNKNOWN CreativeLandingPageType = "UNKNOWN" )
Defines values for CreativeLandingPageType.
type CreativeProperties ¶
type CreativeProperties struct { // Asins ----------------------------------------------- // List types // ----------------------------------------------- // A list of ASINs Asins *[]string `json:"asins,omitempty"` // BrandLogoAssetId The identifier of image/video asset from the store's asset library BrandLogoAssetId *string `json:"brandLogoAssetId,omitempty"` // BrandLogoCrop Asset cropping attributes BrandLogoCrop *AssetCrop `json:"brandLogoCrop,omitempty"` BrandLogoUrl *string `json:"brandLogoUrl,omitempty"` // BrandName The displayed brand name in the ad headline. // Maximum length is 30 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. BrandName *string `json:"brandName,omitempty"` // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` // CustomImageAssetId The identifier of image/video asset from the store's asset library CustomImageAssetId *string `json:"customImageAssetId,omitempty"` // CustomImageCrop Asset cropping attributes CustomImageCrop *AssetCrop `json:"customImageCrop,omitempty"` CustomImageUrl *string `json:"customImageUrl,omitempty"` // CustomImages An array of customImages associated with the creative. CustomImages *[]CustomImage `json:"customImages,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. Headline *string `json:"headline,omitempty"` // LandingPage Landing page. LandingPage *CreativeLandingPage `json:"landingPage,omitempty"` // OriginalVideoAssetIds The assetIds of the original videos submitted by the advertiser. // If 'consentToTranslate' is set to true and translation is SUCCESSFUL then `originalVideoAssetIds` will return the original video assetId whereas `videoAssetIds` will return translated video assetId. In all other cases, 'originalVideoAssetIds' and `videoAssetIds` both will return original video assetId. OriginalVideoAssetIds *[]string `json:"originalVideoAssetIds,omitempty"` // Subpages An array of subpages Subpages *[]Subpage `json:"subpages,omitempty"` // VideoAssetIds The assetIds of the original videos submitted by the advertiser. // If 'consentToTranslate' is set to true and translation is SUCCESSFUL then 'videoAssetIds' will return translated video assetId whereas `originalVideoAssetIds` will return the original video assetId. In all other cases, `videoAssetIds` will return original video assetId. VideoAssetIds *[]string `json:"videoAssetIds,omitempty"` }
CreativeProperties Creative properties
type CreativeStatus ¶
type CreativeStatus string
CreativeStatus The lifecycle status of a creative
const ( APPROVEDBYMODERATION CreativeStatus = "APPROVED_BY_MODERATION" PENDINGMODERATIONREVIEW CreativeStatus = "PENDING_MODERATION_REVIEW" PENDINGTRANSLATION CreativeStatus = "PENDING_TRANSLATION" PUBLISHED CreativeStatus = "PUBLISHED" REJECTEDBYMODERATION CreativeStatus = "REJECTED_BY_MODERATION" SUBMITTEDFORMODERATION CreativeStatus = "SUBMITTED_FOR_MODERATION" )
Defines values for CreativeStatus.
type CreativeType ¶
type CreativeType string
CreativeType The creative type of SB ad.
const ( CreativeTypeBRANDVIDEO CreativeType = "BRAND_VIDEO" CreativeTypePRODUCTCOLLECTION CreativeType = "PRODUCT_COLLECTION" CreativeTypeSTORESPOTLIGHT CreativeType = "STORE_SPOTLIGHT" CreativeTypeVIDEO CreativeType = "VIDEO" )
Defines values for CreativeType.
type CustomImage ¶
type CustomImage struct { AssetId *string `json:"assetId,omitempty"` // Crop The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Crop *CustomImageCrop `json:"crop,omitempty"` Url *string `json:"url,omitempty"` }
CustomImage defines model for CustomImage.
type CustomImageCrop ¶
type CustomImageCrop struct { Height *float32 `json:"height,omitempty"` Left *float32 `json:"left,omitempty"` Top *float32 `json:"top,omitempty"` Width *float32 `json:"width,omitempty"` }
CustomImageCrop The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image.
type DateError ¶
type DateError struct { // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` // Message Human readable error message. Message string `json:"message"` // Reason Exact error reason.. Reason string `json:"reason"` }
DateError Errors related to dates.
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 DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody ¶
type DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody = DeleteSponsoredBrandsAdGroupsRequestContent
DeleteSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody defines body for DeleteSponsoredBrandsAdGroups for application/vnd.sbadgroupresource.v4+json ContentType.
type DeleteSponsoredBrandsAdGroupsParams ¶
type DeleteSponsoredBrandsAdGroupsParams 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"` }
DeleteSponsoredBrandsAdGroupsParams defines parameters for DeleteSponsoredBrandsAdGroups.
type DeleteSponsoredBrandsAdGroupsRequestContent ¶
type DeleteSponsoredBrandsAdGroupsRequestContent struct { // AdGroupIdFilter Filter entities by the list of objectIds. AdGroupIdFilter *ObjectIdFilter `json:"adGroupIdFilter,omitempty"` }
DeleteSponsoredBrandsAdGroupsRequestContent defines model for DeleteSponsoredBrandsAdGroupsRequestContent.
type DeleteSponsoredBrandsAdGroupsResp ¶
type DeleteSponsoredBrandsAdGroupsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadgroupresourceV4JSON207 *DeleteSponsoredBrandsAdGroupsResponseContent ApplicationvndSbadgroupresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseDeleteSponsoredBrandsAdGroupsResp ¶
func ParseDeleteSponsoredBrandsAdGroupsResp(rsp *http.Response) (*DeleteSponsoredBrandsAdGroupsResp, error)
ParseDeleteSponsoredBrandsAdGroupsResp parses an HTTP response from a DeleteSponsoredBrandsAdGroupsWithResponse call
func (DeleteSponsoredBrandsAdGroupsResp) Status ¶
func (r DeleteSponsoredBrandsAdGroupsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSponsoredBrandsAdGroupsResp) StatusCode ¶
func (r DeleteSponsoredBrandsAdGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSponsoredBrandsAdGroupsResponseContent ¶
type DeleteSponsoredBrandsAdGroupsResponseContent struct {
AdGroups *BulkAdGroupOperationResponse `json:"adGroups,omitempty"`
}
DeleteSponsoredBrandsAdGroupsResponseContent defines model for DeleteSponsoredBrandsAdGroupsResponseContent.
type DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody = DeleteSponsoredBrandsAdsRequestContent
DeleteSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for DeleteSponsoredBrandsAds for application/vnd.sbadresource.v4+json ContentType.
type DeleteSponsoredBrandsAdsParams ¶
type DeleteSponsoredBrandsAdsParams 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"` }
DeleteSponsoredBrandsAdsParams defines parameters for DeleteSponsoredBrandsAds.
type DeleteSponsoredBrandsAdsRequestContent ¶
type DeleteSponsoredBrandsAdsRequestContent struct { // AdIdFilter Filter entities by the list of objectIds. AdIdFilter *ObjectIdFilter `json:"adIdFilter,omitempty"` }
DeleteSponsoredBrandsAdsRequestContent defines model for DeleteSponsoredBrandsAdsRequestContent.
type DeleteSponsoredBrandsAdsResp ¶
type DeleteSponsoredBrandsAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *DeleteSponsoredBrandsAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseDeleteSponsoredBrandsAdsResp ¶
func ParseDeleteSponsoredBrandsAdsResp(rsp *http.Response) (*DeleteSponsoredBrandsAdsResp, error)
ParseDeleteSponsoredBrandsAdsResp parses an HTTP response from a DeleteSponsoredBrandsAdsWithResponse call
func (DeleteSponsoredBrandsAdsResp) Status ¶
func (r DeleteSponsoredBrandsAdsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSponsoredBrandsAdsResp) StatusCode ¶
func (r DeleteSponsoredBrandsAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSponsoredBrandsAdsResponseContent ¶
type DeleteSponsoredBrandsAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
DeleteSponsoredBrandsAdsResponseContent defines model for DeleteSponsoredBrandsAdsResponseContent.
type DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody ¶
type DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody = DeleteSponsoredBrandsCampaignsRequestContent
DeleteSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody defines body for DeleteSponsoredBrandsCampaigns for application/vnd.sbcampaignresource.v4+json ContentType.
type DeleteSponsoredBrandsCampaignsParams ¶
type DeleteSponsoredBrandsCampaignsParams 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"` }
DeleteSponsoredBrandsCampaignsParams defines parameters for DeleteSponsoredBrandsCampaigns.
type DeleteSponsoredBrandsCampaignsRequestContent ¶
type DeleteSponsoredBrandsCampaignsRequestContent struct { // CampaignIdFilter Filter entities by the list of objectIds. CampaignIdFilter *ObjectIdFilter `json:"campaignIdFilter,omitempty"` }
DeleteSponsoredBrandsCampaignsRequestContent defines model for DeleteSponsoredBrandsCampaignsRequestContent.
type DeleteSponsoredBrandsCampaignsResp ¶
type DeleteSponsoredBrandsCampaignsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbcampaignresourceV4JSON207 *DeleteSponsoredBrandsCampaignsResponseContent ApplicationvndSbcampaignresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseDeleteSponsoredBrandsCampaignsResp ¶
func ParseDeleteSponsoredBrandsCampaignsResp(rsp *http.Response) (*DeleteSponsoredBrandsCampaignsResp, error)
ParseDeleteSponsoredBrandsCampaignsResp parses an HTTP response from a DeleteSponsoredBrandsCampaignsWithResponse call
func (DeleteSponsoredBrandsCampaignsResp) Status ¶
func (r DeleteSponsoredBrandsCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSponsoredBrandsCampaignsResp) StatusCode ¶
func (r DeleteSponsoredBrandsCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSponsoredBrandsCampaignsResponseContent ¶
type DeleteSponsoredBrandsCampaignsResponseContent struct {
Campaigns *BulkCampaignOperationResponse `json:"campaigns,omitempty"`
}
DeleteSponsoredBrandsCampaignsResponseContent defines model for DeleteSponsoredBrandsCampaignsResponseContent.
type DisassociateAssociatedBudgetRuleForSBCampaignsParams ¶
type DisassociateAssociatedBudgetRuleForSBCampaignsParams 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"` }
DisassociateAssociatedBudgetRuleForSBCampaignsParams defines parameters for DisassociateAssociatedBudgetRuleForSBCampaigns.
type DisassociateAssociatedBudgetRuleForSBCampaignsResp ¶
type DisassociateAssociatedBudgetRuleForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON200 *DisassociateAssociatedBudgetRuleResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseDisassociateAssociatedBudgetRuleForSBCampaignsResp ¶
func ParseDisassociateAssociatedBudgetRuleForSBCampaignsResp(rsp *http.Response) (*DisassociateAssociatedBudgetRuleForSBCampaignsResp, error)
ParseDisassociateAssociatedBudgetRuleForSBCampaignsResp parses an HTTP response from a DisassociateAssociatedBudgetRuleForSBCampaignsWithResponse call
func (DisassociateAssociatedBudgetRuleForSBCampaignsResp) Status ¶
func (r DisassociateAssociatedBudgetRuleForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (DisassociateAssociatedBudgetRuleForSBCampaignsResp) StatusCode ¶
func (r DisassociateAssociatedBudgetRuleForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisassociateAssociatedBudgetRuleResponse ¶
type DisassociateAssociatedBudgetRuleResponse = map[string]interface{}
DisassociateAssociatedBudgetRuleResponse defines model for DisassociateAssociatedBudgetRuleResponse.
type EntityState ¶
type EntityState string
EntityState The current resource state.
const ( EntityStateARCHIVED EntityState = "ARCHIVED" EntityStateENABLED EntityState = "ENABLED" EntityStatePAUSED EntityState = "PAUSED" )
Defines values for EntityState.
type EntityStateFilter ¶
type EntityStateFilter struct {
Include *[]EntityState `json:"include,omitempty"`
}
EntityStateFilter Filter entities by state.
type ErrorCause ¶
type ErrorCause 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"` }
ErrorCause Structure describing error cause - location in the payload and data causing error.
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 GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody ¶
type GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody = GetBudgetRecommendationsRequestContent
GetBudgetRecommendationsApplicationVndSbbudgetrecommendationV4PlusJSONRequestBody defines body for GetBudgetRecommendations for application/vnd.sbbudgetrecommendation.v4+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 GetBudgetRecommendationsRequestContent ¶
type GetBudgetRecommendationsRequestContent struct { // CampaignIds List of CampaignIds CampaignIds []string `json:"campaignIds"` }
GetBudgetRecommendationsRequestContent defines model for GetBudgetRecommendationsRequestContent.
type GetBudgetRecommendationsResp ¶
type GetBudgetRecommendationsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbbudgetrecommendationV4JSON207 *GetBudgetRecommendationsResponseContent ApplicationvndSbbudgetrecommendationV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbbudgetrecommendationV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbbudgetrecommendationV4JSON415 *UnsupportedMediaTypeExceptionResponseContent ApplicationvndSbbudgetrecommendationV4JSON422 *InvalidArgumentExceptionResponseContent ApplicationvndSbbudgetrecommendationV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbbudgetrecommendationV4JSON500 *InternalServerExceptionResponseContent }
func ParseGetBudgetRecommendationsResp ¶
func ParseGetBudgetRecommendationsResp(rsp *http.Response) (*GetBudgetRecommendationsResp, error)
ParseGetBudgetRecommendationsResp parses an HTTP response from a GetBudgetRecommendationsWithResponse call
func (GetBudgetRecommendationsResp) Status ¶
func (r GetBudgetRecommendationsResp) Status() string
Status returns HTTPResponse.Status
func (GetBudgetRecommendationsResp) StatusCode ¶
func (r GetBudgetRecommendationsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBudgetRecommendationsResponseContent ¶
type GetBudgetRecommendationsResponseContent struct { // Error List of errors that occurred when generating budget recommendations. Error []BudgetRecommendationError `json:"error"` // Success List of successful budget recommendations for campaigns. Success []BudgetRecommendation `json:"success"` }
GetBudgetRecommendationsResponseContent defines model for GetBudgetRecommendationsResponseContent.
type GetBudgetRuleByRuleIdForSBCampaignsParams ¶
type GetBudgetRuleByRuleIdForSBCampaignsParams 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"` }
GetBudgetRuleByRuleIdForSBCampaignsParams defines parameters for GetBudgetRuleByRuleIdForSBCampaigns.
type GetBudgetRuleByRuleIdForSBCampaignsResp ¶
type GetBudgetRuleByRuleIdForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON200 *GetSBBudgetRuleResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseGetBudgetRuleByRuleIdForSBCampaignsResp ¶
func ParseGetBudgetRuleByRuleIdForSBCampaignsResp(rsp *http.Response) (*GetBudgetRuleByRuleIdForSBCampaignsResp, error)
ParseGetBudgetRuleByRuleIdForSBCampaignsResp parses an HTTP response from a GetBudgetRuleByRuleIdForSBCampaignsWithResponse call
func (GetBudgetRuleByRuleIdForSBCampaignsResp) Status ¶
func (r GetBudgetRuleByRuleIdForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (GetBudgetRuleByRuleIdForSBCampaignsResp) StatusCode ¶
func (r GetBudgetRuleByRuleIdForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsAssociatedWithSBBudgetRuleParams ¶
type GetCampaignsAssociatedWithSBBudgetRuleParams 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"` }
GetCampaignsAssociatedWithSBBudgetRuleParams defines parameters for GetCampaignsAssociatedWithSBBudgetRule.
type GetCampaignsAssociatedWithSBBudgetRuleResp ¶
type GetCampaignsAssociatedWithSBBudgetRuleResp struct { Body []byte HTTPResponse *http.Response JSON200 *SBGetAssociatedCampaignsResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseGetCampaignsAssociatedWithSBBudgetRuleResp ¶
func ParseGetCampaignsAssociatedWithSBBudgetRuleResp(rsp *http.Response) (*GetCampaignsAssociatedWithSBBudgetRuleResp, error)
ParseGetCampaignsAssociatedWithSBBudgetRuleResp parses an HTTP response from a GetCampaignsAssociatedWithSBBudgetRuleWithResponse call
func (GetCampaignsAssociatedWithSBBudgetRuleResp) Status ¶
func (r GetCampaignsAssociatedWithSBBudgetRuleResp) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsAssociatedWithSBBudgetRuleResp) StatusCode ¶
func (r GetCampaignsAssociatedWithSBBudgetRuleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHeadlineRecommendationsJSONRequestBody ¶
type GetHeadlineRecommendationsJSONRequestBody = HeadlineSuggestionRequest
GetHeadlineRecommendationsJSONRequestBody defines body for GetHeadlineRecommendations for application/json ContentType.
type GetHeadlineRecommendationsParams ¶
type GetHeadlineRecommendationsParams 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"` }
GetHeadlineRecommendationsParams defines parameters for GetHeadlineRecommendations.
type GetHeadlineRecommendationsResp ¶
type GetHeadlineRecommendationsResp struct { Body []byte HTTPResponse *http.Response JSON200 *HeadlineSuggestionResponse JSON400 *ModerationError JSON401 *ModerationError JSON422 *ModerationError JSON429 *ModerationError JSON500 *ModerationError }
func ParseGetHeadlineRecommendationsResp ¶
func ParseGetHeadlineRecommendationsResp(rsp *http.Response) (*GetHeadlineRecommendationsResp, error)
ParseGetHeadlineRecommendationsResp parses an HTTP response from a GetHeadlineRecommendationsWithResponse call
func (GetHeadlineRecommendationsResp) Status ¶
func (r GetHeadlineRecommendationsResp) Status() string
Status returns HTTPResponse.Status
func (GetHeadlineRecommendationsResp) StatusCode ¶
func (r GetHeadlineRecommendationsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONBody ¶
type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONBody struct {
// contains filtered or unexported fields
}
GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONBody defines parameters for GetKeywordRecommendations.
type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody ¶
type GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONBody
GetKeywordRecommendationsApplicationVndSbkeywordrecommendationV3PlusJSONRequestBody defines body for GetKeywordRecommendations for application/vnd.sbkeywordrecommendation.v3+json ContentType.
type GetKeywordRecommendationsParams ¶
type GetKeywordRecommendationsParams 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 client associated with a "Login with Amazon" account. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
GetKeywordRecommendationsParams defines parameters for GetKeywordRecommendations.
type GetKeywordRecommendationsResp ¶
type GetKeywordRecommendationsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbkeywordrecommendationV3JSON200 *SBKeywordRecommendationResponse ApplicationvndSbkeywordrecommendationV3JSON400 *SBKeywordRecommendationError ApplicationvndSbkeywordrecommendationV3JSON429 *SBKeywordRecommendationError ApplicationvndSbkeywordrecommendationV3JSON500 *SBKeywordRecommendationError }
func ParseGetKeywordRecommendationsResp ¶
func ParseGetKeywordRecommendationsResp(rsp *http.Response) (*GetKeywordRecommendationsResp, error)
ParseGetKeywordRecommendationsResp parses an HTTP response from a GetKeywordRecommendationsWithResponse call
func (GetKeywordRecommendationsResp) Status ¶
func (r GetKeywordRecommendationsResp) Status() string
Status returns HTTPResponse.Status
func (GetKeywordRecommendationsResp) StatusCode ¶
func (r GetKeywordRecommendationsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRuleBasedBudgetHistoryForSBCampaignsParams ¶
type GetRuleBasedBudgetHistoryForSBCampaignsParams 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"` }
GetRuleBasedBudgetHistoryForSBCampaignsParams defines parameters for GetRuleBasedBudgetHistoryForSBCampaigns.
type GetRuleBasedBudgetHistoryForSBCampaignsResp ¶
type GetRuleBasedBudgetHistoryForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON200 *SBBudgetHistory JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseGetRuleBasedBudgetHistoryForSBCampaignsResp ¶
func ParseGetRuleBasedBudgetHistoryForSBCampaignsResp(rsp *http.Response) (*GetRuleBasedBudgetHistoryForSBCampaignsResp, error)
ParseGetRuleBasedBudgetHistoryForSBCampaignsResp parses an HTTP response from a GetRuleBasedBudgetHistoryForSBCampaignsWithResponse call
func (GetRuleBasedBudgetHistoryForSBCampaignsResp) Status ¶
func (r GetRuleBasedBudgetHistoryForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (GetRuleBasedBudgetHistoryForSBCampaignsResp) StatusCode ¶
func (r GetRuleBasedBudgetHistoryForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSBBudgetRuleResponse ¶
type GetSBBudgetRuleResponse struct {
BudgetRule *SBBudgetRule `json:"budgetRule,omitempty"`
}
GetSBBudgetRuleResponse defines model for GetSBBudgetRuleResponse.
type GetSBBudgetRulesForAdvertiserParams ¶
type GetSBBudgetRulesForAdvertiserParams 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"` }
GetSBBudgetRulesForAdvertiserParams defines parameters for GetSBBudgetRulesForAdvertiser.
type GetSBBudgetRulesForAdvertiserResp ¶
type GetSBBudgetRulesForAdvertiserResp struct { Body []byte HTTPResponse *http.Response JSON200 *GetSBBudgetRulesForAdvertiserResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseGetSBBudgetRulesForAdvertiserResp ¶
func ParseGetSBBudgetRulesForAdvertiserResp(rsp *http.Response) (*GetSBBudgetRulesForAdvertiserResp, error)
ParseGetSBBudgetRulesForAdvertiserResp parses an HTTP response from a GetSBBudgetRulesForAdvertiserWithResponse call
func (GetSBBudgetRulesForAdvertiserResp) Status ¶
func (r GetSBBudgetRulesForAdvertiserResp) Status() string
Status returns HTTPResponse.Status
func (GetSBBudgetRulesForAdvertiserResp) StatusCode ¶
func (r GetSBBudgetRulesForAdvertiserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSBBudgetRulesForAdvertiserResponse ¶
type GetSBBudgetRulesForAdvertiserResponse struct { // BudgetRulesForAdvertiserResponse A list of rules created by the advertiser. BudgetRulesForAdvertiserResponse *[]SBBudgetRule `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"` }
GetSBBudgetRulesForAdvertiserResponse defines model for GetSBBudgetRulesForAdvertiserResponse.
type GoalTypeFilter ¶
type GoalTypeFilter struct {
Include *[]string `json:"include,omitempty"`
}
GoalTypeFilter Filter entities by goal type.
type HeadlineSuggestionRequest ¶
type HeadlineSuggestionRequest struct { AdFormat *HeadlineSuggestionRequestAdFormat `json:"adFormat,omitempty"` // Asins An array of ASINs associated with the creative. Note do not pass an empty array, this results in an error. Asins *[]string `json:"asins,omitempty"` // MaxNumSuggestions Maximum number of suggestions that API should return. Response will [0, maxNumSuggestions] suggestions (suggestions are not guaranteed). MaxNumSuggestions *float32 `json:"maxNumSuggestions,omitempty"` // StorePages An array of Store Pages associated with SB Spotlight Creative. StorePages *[]StorePage `json:"storePages,omitempty"` }
HeadlineSuggestionRequest Request structure of headline suggestion API.
type HeadlineSuggestionRequestAdFormat ¶
type HeadlineSuggestionRequestAdFormat string
HeadlineSuggestionRequestAdFormat defines model for HeadlineSuggestionRequest.AdFormat.
const ( SPONSOREDBRANDS HeadlineSuggestionRequestAdFormat = "SPONSORED_BRANDS" SPONSOREDBRANDSSPOTLIGHT HeadlineSuggestionRequestAdFormat = "SPONSORED_BRANDS_SPOTLIGHT" )
Defines values for HeadlineSuggestionRequestAdFormat.
type HeadlineSuggestionResponse ¶
type HeadlineSuggestionResponse struct { // RequestId An identifier for request made which is generated by server. RequestId *string `json:"requestId,omitempty"` // Suggestions Suggestions are sorted, i.e., more suitable headline has lesser array index value Suggestions *[]SuggestedHeadline `json:"suggestions,omitempty"` }
HeadlineSuggestionResponse Response structure of headline suggestion API.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalErrorErrorCode ¶
type InternalErrorErrorCode string
InternalErrorErrorCode defines model for InternalErrorErrorCode.
const (
INTERNALERROR InternalErrorErrorCode = "INTERNAL_ERROR"
)
Defines values for InternalErrorErrorCode.
type InternalServerExceptionResponseContent ¶
type InternalServerExceptionResponseContent struct { Code InternalErrorErrorCode `json:"code"` // Message Human readable error message. Message string `json:"message"` }
InternalServerExceptionResponseContent defines model for InternalServerExceptionResponseContent.
type InvalidArgumentError ¶
type InvalidArgumentError struct { // ErrorType The type of the error ErrorType string `json:"errorType"` ErrorValue InvalidArgumentErrorSelector `json:"errorValue"` }
InvalidArgumentError defines model for InvalidArgumentError.
type InvalidArgumentErrorCode ¶
type InvalidArgumentErrorCode string
InvalidArgumentErrorCode defines model for InvalidArgumentErrorCode.
const (
INVALIDARGUMENT InvalidArgumentErrorCode = "INVALID_ARGUMENT"
)
Defines values for InvalidArgumentErrorCode.
type InvalidArgumentErrorSelector ¶
type InvalidArgumentErrorSelector struct { // OtherError Errors not related to any of the other error types. OtherError *OtherError `json:"otherError,omitempty"` // RangeError Errors related to range constraints violations. RangeError *RangeError `json:"rangeError,omitempty"` }
InvalidArgumentErrorSelector defines model for InvalidArgumentErrorSelector.
type InvalidArgumentExceptionResponseContent ¶
type InvalidArgumentExceptionResponseContent struct { Code InvalidArgumentErrorCode `json:"code"` Errors *[]InvalidArgumentError `json:"errors,omitempty"` // Message Human readable error message. Message string `json:"message"` }
InvalidArgumentExceptionResponseContent defines model for InvalidArgumentExceptionResponseContent.
type LandingPage ¶
type LandingPage struct { Asins *[]string `json:"asins,omitempty"` // PageType The type of landing page, such as store page, product list (simple landing page), custom url. PageType *LandingPageType `json:"pageType,omitempty"` // Url URL of an existing simple landing page or Store page. Vendors may also specify the URL of a custom landing page. // If a custom URL is specified, the landing page must include the ASINs of at least three products that are // advertised as part of the campaign. Do not include this property in the request if the asins property is also // included, these properties are mutually exclusive. // Note that brandVideo ads only support Store page as landing page and does not allow asins property. Url *string `json:"url,omitempty"` }
LandingPage defines model for LandingPage.
type LandingPageType ¶
type LandingPageType string
LandingPageType The type of landing page, such as store page, product list (simple landing page), custom url.
const ( LandingPageTypeCUSTOMURL LandingPageType = "CUSTOM_URL" LandingPageTypeDETAILPAGE LandingPageType = "DETAIL_PAGE" LandingPageTypePRODUCTLIST LandingPageType = "PRODUCT_LIST" LandingPageTypeSTORE LandingPageType = "STORE" )
Defines values for LandingPageType.
type ListAssociatedBudgetRulesForSBCampaignsParams ¶
type ListAssociatedBudgetRulesForSBCampaignsParams 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"` }
ListAssociatedBudgetRulesForSBCampaignsParams defines parameters for ListAssociatedBudgetRulesForSBCampaigns.
type ListAssociatedBudgetRulesForSBCampaignsResp ¶
type ListAssociatedBudgetRulesForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON200 *SBListAssociatedBudgetRulesResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseListAssociatedBudgetRulesForSBCampaignsResp ¶
func ParseListAssociatedBudgetRulesForSBCampaignsResp(rsp *http.Response) (*ListAssociatedBudgetRulesForSBCampaignsResp, error)
ParseListAssociatedBudgetRulesForSBCampaignsResp parses an HTTP response from a ListAssociatedBudgetRulesForSBCampaignsWithResponse call
func (ListAssociatedBudgetRulesForSBCampaignsResp) Status ¶
func (r ListAssociatedBudgetRulesForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (ListAssociatedBudgetRulesForSBCampaignsResp) StatusCode ¶
func (r ListAssociatedBudgetRulesForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody ¶
type ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody = ListCreativesRequestContent
ListCreativesApplicationVndSbAdCreativeResourceV4PlusJSONRequestBody defines body for ListCreatives for application/vnd.sbAdCreativeResource.v4+json ContentType.
type ListCreativesParams ¶
type ListCreativesParams struct { // Accept Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type. Accept *AcceptHeader `json:"Accept,omitempty"` // AmazonAdvertisingAPIClientId ----------------------------------------------- // Simple types // ----------------------------------------------- // 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 and use profileId from the response to pass as input. // This is a required header for advertisers and integrators using the Advertising API. AmazonAdvertisingAPIScope string `json:"Amazon-Advertising-API-Scope"` }
ListCreativesParams defines parameters for ListCreatives.
type ListCreativesRequestContent ¶
type ListCreativesRequestContent struct { // AdId The unique ID of a Sponsored Brands ad. AdId string `json:"adId"` // CreativeStatusFilter Filters creatives by optional creative status. // By default, you can list all creative versions regardless of creative status. CreativeStatusFilter *[]CreativeStatus `json:"creativeStatusFilter,omitempty"` // CreativeTypeFilter Filters creatives by optional creative type. // By default, you can list all creative versions regardless of creative type. CreativeTypeFilter *[]CreativeType `json:"creativeTypeFilter,omitempty"` // CreativeVersionFilter Filters creatives by optional creative version. // This means you can either list all creative versions without specific creative version filter, all just retrieve a single creative version by providing a specific version identifier. CreativeVersionFilter *[]string `json:"creativeVersionFilter,omitempty"` // MaxResults Set a limit on the number of results returned by an operation. MaxResults *float32 `json:"maxResults,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. // 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"` }
ListCreativesRequestContent defines model for ListCreativesRequestContent.
type ListCreativesResp ¶
type ListCreativesResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbAdCreativeResourceV4JSON200 *ListCreativesResponseContent ApplicationvndSbAdCreativeResourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON404 *NotFoundExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbAdCreativeResourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseListCreativesResp ¶
func ParseListCreativesResp(rsp *http.Response) (*ListCreativesResp, error)
ParseListCreativesResp parses an HTTP response from a ListCreativesWithResponse call
func (ListCreativesResp) Status ¶
func (r ListCreativesResp) Status() string
Status returns HTTPResponse.Status
func (ListCreativesResp) StatusCode ¶
func (r ListCreativesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCreativesResponseContent ¶
type ListCreativesResponseContent struct { // Creatives A list of creatives Creatives *[]ListCreativesResultEntry `json:"creatives,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. // 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"` // TotalResults The total number of results returned by an operation. TotalResults *float32 `json:"totalResults,omitempty"` }
ListCreativesResponseContent defines model for ListCreativesResponseContent.
type ListCreativesResultEntry ¶
type ListCreativesResultEntry struct { // AdId The unique ID of a Sponsored Brands ad. AdId *string `json:"adId,omitempty"` CreationTime *float64 `json:"creationTime,omitempty"` // CreativeProperties Creative properties CreativeProperties *CreativeProperties `json:"creativeProperties,omitempty"` // CreativeStatus The lifecycle status of a creative CreativeStatus *CreativeStatus `json:"creativeStatus,omitempty"` // CreativeType The creative type of SB ad. CreativeType *CreativeType `json:"creativeType,omitempty"` // CreativeVersion The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative. CreativeVersion *string `json:"creativeVersion,omitempty"` LastUpdateTime *float64 `json:"lastUpdateTime,omitempty"` }
ListCreativesResultEntry ----------------------------------------------- Structure types ----------------------------------------------- Creative
type ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody ¶
type ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody = ListSponsoredBrandsAdGroupsRequestContent
ListSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody defines body for ListSponsoredBrandsAdGroups for application/vnd.sbadgroupresource.v4+json ContentType.
type ListSponsoredBrandsAdGroupsParams ¶
type ListSponsoredBrandsAdGroupsParams 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"` }
ListSponsoredBrandsAdGroupsParams defines parameters for ListSponsoredBrandsAdGroups.
type ListSponsoredBrandsAdGroupsRequestContent ¶
type ListSponsoredBrandsAdGroupsRequestContent struct { // AdGroupIdFilter Filter entities by the list of objectIds. AdGroupIdFilter *ObjectIdFilter `json:"adGroupIdFilter,omitempty"` // CampaignIdFilter Filter entities by the list of objectIds. CampaignIdFilter *ObjectIdFilter `json:"campaignIdFilter,omitempty"` // IncludeExtendedDataFields Setting to true will slow down performance because the API needs to retrieve extra information for each campaign. IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"` // MaxResults Number of records to include in the paginated response. Defaults to max page size for given API. MaxResults *float32 `json:"maxResults,omitempty"` // NameFilter Filter entities by name. NameFilter *NameFilter `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 *EntityStateFilter `json:"stateFilter,omitempty"` }
ListSponsoredBrandsAdGroupsRequestContent defines model for ListSponsoredBrandsAdGroupsRequestContent.
type ListSponsoredBrandsAdGroupsResp ¶
type ListSponsoredBrandsAdGroupsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadgroupresourceV4JSON200 *ListSponsoredBrandsAdGroupsResponseContent ApplicationvndSbadgroupresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseListSponsoredBrandsAdGroupsResp ¶
func ParseListSponsoredBrandsAdGroupsResp(rsp *http.Response) (*ListSponsoredBrandsAdGroupsResp, error)
ParseListSponsoredBrandsAdGroupsResp parses an HTTP response from a ListSponsoredBrandsAdGroupsWithResponse call
func (ListSponsoredBrandsAdGroupsResp) Status ¶
func (r ListSponsoredBrandsAdGroupsResp) Status() string
Status returns HTTPResponse.Status
func (ListSponsoredBrandsAdGroupsResp) StatusCode ¶
func (r ListSponsoredBrandsAdGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSponsoredBrandsAdGroupsResponseContent ¶
type ListSponsoredBrandsAdGroupsResponseContent struct { AdGroups *[]AdGroup `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 *float32 `json:"totalResults,omitempty"` }
ListSponsoredBrandsAdGroupsResponseContent defines model for ListSponsoredBrandsAdGroupsResponseContent.
type ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody = ListSponsoredBrandsAdsRequestContent
ListSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for ListSponsoredBrandsAds for application/vnd.sbadresource.v4+json ContentType.
type ListSponsoredBrandsAdsParams ¶
type ListSponsoredBrandsAdsParams 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"` }
ListSponsoredBrandsAdsParams defines parameters for ListSponsoredBrandsAds.
type ListSponsoredBrandsAdsRequestContent ¶
type ListSponsoredBrandsAdsRequestContent struct { // AdGroupIdFilter Filter entities by the list of objectIds. AdGroupIdFilter *ObjectIdFilter `json:"adGroupIdFilter,omitempty"` // AdIdFilter Filter entities by the list of objectIds. AdIdFilter *ObjectIdFilter `json:"adIdFilter,omitempty"` // CampaignIdFilter Filter entities by the list of objectIds. CampaignIdFilter *ObjectIdFilter `json:"campaignIdFilter,omitempty"` // MaxResults Number of records to include in the paginated response. Defaults to max page size for given API. MaxResults *float32 `json:"maxResults,omitempty"` // NameFilter Filter entities by name. NameFilter *NameFilter `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 *EntityStateFilter `json:"stateFilter,omitempty"` }
ListSponsoredBrandsAdsRequestContent defines model for ListSponsoredBrandsAdsRequestContent.
type ListSponsoredBrandsAdsResp ¶
type ListSponsoredBrandsAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON200 *ListSponsoredBrandsAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseListSponsoredBrandsAdsResp ¶
func ParseListSponsoredBrandsAdsResp(rsp *http.Response) (*ListSponsoredBrandsAdsResp, error)
ParseListSponsoredBrandsAdsResp parses an HTTP response from a ListSponsoredBrandsAdsWithResponse call
func (ListSponsoredBrandsAdsResp) Status ¶
func (r ListSponsoredBrandsAdsResp) Status() string
Status returns HTTPResponse.Status
func (ListSponsoredBrandsAdsResp) StatusCode ¶
func (r ListSponsoredBrandsAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSponsoredBrandsAdsResponseContent ¶
type ListSponsoredBrandsAdsResponseContent struct { Ads *[]Ad `json:"ads,omitempty"` // NextToken Token value allowing to navigate to the next response page. NextToken *string `json:"nextToken,omitempty"` // TotalResults The total number of entities. TotalResults *float32 `json:"totalResults,omitempty"` }
ListSponsoredBrandsAdsResponseContent defines model for ListSponsoredBrandsAdsResponseContent.
type ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody ¶
type ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody = ListSponsoredBrandsCampaignsRequestContent
ListSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody defines body for ListSponsoredBrandsCampaigns for application/vnd.sbcampaignresource.v4+json ContentType.
type ListSponsoredBrandsCampaignsParams ¶
type ListSponsoredBrandsCampaignsParams 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"` }
ListSponsoredBrandsCampaignsParams defines parameters for ListSponsoredBrandsCampaigns.
type ListSponsoredBrandsCampaignsRequestContent ¶
type ListSponsoredBrandsCampaignsRequestContent struct { // CampaignIdFilter Filter entities by the list of objectIds. CampaignIdFilter *ObjectIdFilter `json:"campaignIdFilter,omitempty"` // GoalTypeFilter Filter entities by goal type. GoalTypeFilter *GoalTypeFilter `json:"goalTypeFilter,omitempty"` // IncludeExtendedDataFields Setting to true will slow down performance because the API needs to retrieve extra information for each campaign. IncludeExtendedDataFields *bool `json:"includeExtendedDataFields,omitempty"` // MaxResults Number of records to include in the paginated response. Defaults to max page size for given API. MaxResults *float32 `json:"maxResults,omitempty"` // NameFilter Filter entities by name. NameFilter *NameFilter `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 *ObjectIdFilter `json:"portfolioIdFilter,omitempty"` // StateFilter Filter entities by state. StateFilter *EntityStateFilter `json:"stateFilter,omitempty"` }
ListSponsoredBrandsCampaignsRequestContent defines model for ListSponsoredBrandsCampaignsRequestContent.
type ListSponsoredBrandsCampaignsResp ¶
type ListSponsoredBrandsCampaignsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbcampaignresourceV4JSON200 *ListSponsoredBrandsCampaignsResponseContent ApplicationvndSbcampaignresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseListSponsoredBrandsCampaignsResp ¶
func ParseListSponsoredBrandsCampaignsResp(rsp *http.Response) (*ListSponsoredBrandsCampaignsResp, error)
ParseListSponsoredBrandsCampaignsResp parses an HTTP response from a ListSponsoredBrandsCampaignsWithResponse call
func (ListSponsoredBrandsCampaignsResp) Status ¶
func (r ListSponsoredBrandsCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (ListSponsoredBrandsCampaignsResp) StatusCode ¶
func (r ListSponsoredBrandsCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSponsoredBrandsCampaignsResponseContent ¶
type ListSponsoredBrandsCampaignsResponseContent struct { Campaigns *[]Campaign `json:"campaigns,omitempty"` // NextToken Token value allowing to navigate to the next response page. NextToken *string `json:"nextToken,omitempty"` // TotalCount The total number of entities. TotalCount *float32 `json:"totalCount,omitempty"` }
ListSponsoredBrandsCampaignsResponseContent defines model for ListSponsoredBrandsCampaignsResponseContent.
type ModerationError ¶
type ModerationError 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"` }
ModerationError The Error Response Object.
type MultiAdGroupAd ¶
type MultiAdGroupAd struct { // AdGroupId The adGroup identifier. AdGroupId string `json:"adGroupId"` // AdId The ad identifier. AdId string `json:"adId"` // CampaignId The campaign identifier. CampaignId string `json:"campaignId"` Creative *Creative `json:"creative,omitempty"` ExtendedData *AdExtendedData `json:"extendedData,omitempty"` LandingPage *LandingPage `json:"landingPage,omitempty"` // Name The name of the ad. Name string `json:"name"` // State The current resource state. State EntityState `json:"state"` }
MultiAdGroupAd defines model for MultiAdGroupAd.
type NameFilter ¶
type NameFilter struct { Include *[]string `json:"include,omitempty"` // QueryTermMatchType Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter. QueryTermMatchType *QueryTermMatchType `json:"queryTermMatchType,omitempty"` }
NameFilter Filter entities by name.
type NotFoundErrorCode ¶
type NotFoundErrorCode string
NotFoundErrorCode defines model for NotFoundErrorCode.
const (
NOTFOUND NotFoundErrorCode = "NOT_FOUND"
)
Defines values for NotFoundErrorCode.
type NotFoundExceptionResponseContent ¶
type NotFoundExceptionResponseContent struct { Code NotFoundErrorCode `json:"code"` Message string `json:"message"` }
NotFoundExceptionResponseContent defines model for NotFoundExceptionResponseContent.
type ObjectIdFilter ¶
type ObjectIdFilter struct {
Include *[]string `json:"include,omitempty"`
}
ObjectIdFilter Filter entities by the list of objectIds.
type OtherError ¶
type OtherError struct { // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` // Message Human readable error message. Message string `json:"message"` Reason string `json:"reason"` }
OtherError Errors not related to any of the other error types.
type PerformanceMeasureConditionForSB ¶
type PerformanceMeasureConditionForSB struct { // ComparisonOperator The comparison operator. ComparisonOperator ComparisonOperator `json:"comparisonOperator"` // MetricName The advertising performance metric. MetricName PerformanceMetricForSB `json:"metricName"` // Threshold The performance threshold value. Threshold float64 `json:"threshold"` }
PerformanceMeasureConditionForSB defines model for PerformanceMeasureConditionForSB.
type PerformanceMetricForSB ¶
type PerformanceMetricForSB string
PerformanceMetricForSB The advertising performance metric.
const ( IS PerformanceMetricForSB = "IS" NTB PerformanceMetricForSB = "NTB" ROAS PerformanceMetricForSB = "ROAS" )
Defines values for PerformanceMetricForSB.
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 Placement ¶
type Placement string
Placement List of bid adjustments for placements. - HOME - The Amazon home page https://www.amazon.com. - PAGE - A product detail page is where a customer discovers a unique product sold on Amazon. - OTHER - Other placement groups. Such as search page.
type ProductCollectionCreative ¶
type ProductCollectionCreative struct { // Asins An array of ASINs associated with the creative. Asins []string `json:"asins"` // BrandLogoAssetId The identifier of the [brand logo](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#brandlogo) image from the brand store's asset library. // Note that for campaigns created in the Amazon Advertising console prior to release of the brand store's assets library, responses will not include a value for this field. BrandLogoAssetId string `json:"brandLogoAssetId"` // BrandLogoCrop Asset cropping attributes BrandLogoCrop *AssetCrop `json:"brandLogoCrop,omitempty"` // BrandName The displayed brand name in the ad headline. // Maximum length is 30 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. BrandName string `json:"brandName"` // CustomImageAssetId The identifier of the Custom image from the Store assets library. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#customimage) for more information on what constitutes a valid Custom image. CustomImageAssetId *string `json:"customImageAssetId,omitempty"` // CustomImageCrop Asset cropping attributes CustomImageCrop *AssetCrop `json:"customImageCrop,omitempty"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. Headline string `json:"headline"` }
ProductCollectionCreative defines model for ProductCollectionCreative.
type ProductLocation ¶
type ProductLocation string
ProductLocation The product location of the campaign. - SOLD_ON_AMAZON - For products sold on Amazon websites. - NOT_SOLD_ON_AMAZON - For products not sold on Amazon websites. - SOLD_ON_DTC - Deprecated (For products sold on DTC websites).
const ( NOTSOLDONAMAZON ProductLocation = "NOT_SOLD_ON_AMAZON" SOLDONAMAZON ProductLocation = "SOLD_ON_AMAZON" SOLDONDTC ProductLocation = "SOLD_ON_DTC" )
Defines values for ProductLocation.
type QueryTermMatchType ¶
type QueryTermMatchType string
QueryTermMatchType Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter.
const ( BROADMATCH QueryTermMatchType = "BROAD_MATCH" EXACTMATCH QueryTermMatchType = "EXACT_MATCH" )
Defines values for QueryTermMatchType.
type RangeError ¶
type RangeError struct { // Allowed Allowed values. Allowed *[]string `json:"allowed,omitempty"` // Cause Structure describing error cause - location in the payload and data causing error. Cause ErrorCause `json:"cause"` // LowerLimit Optional lower limit. LowerLimit *string `json:"lowerLimit,omitempty"` // Message Human readable error message. Message string `json:"message"` Reason string `json:"reason"` // UpperLimit Optional upper limit. UpperLimit *string `json:"upperLimit,omitempty"` }
RangeError Errors related to range constraints violations.
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 depicts the type of recurrence Type *RecurrenceType `json:"type,omitempty"` }
Recurrence defines model for Recurrence.
type RecurrenceType ¶
type RecurrenceType string
RecurrenceType depicts the type of recurrence
const ( RecurrenceTypeDAILY RecurrenceType = "DAILY" RecurrenceTypeWEEKLY RecurrenceType = "WEEKLY" )
Defines values for RecurrenceType.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseEditorFn ¶ added in v0.0.2
ResponseEditorFn is the function signature for the ResponseEditor callback function
type RuleBasedBudget ¶
type RuleBasedBudget struct { ApplicableRuleId *string `json:"applicableRuleId,omitempty"` ApplicableRuleName *string `json:"applicableRuleName,omitempty"` IsProcessing *bool `json:"isProcessing,omitempty"` Value *float64 `json:"value,omitempty"` }
RuleBasedBudget defines model for RuleBasedBudget.
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 SBBudgetHistory ¶
type SBBudgetHistory struct { History *[]SBRuleBasedBudget `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"` }
SBBudgetHistory defines model for SBBudgetHistory.
type SBBudgetRule ¶
type SBBudgetRule 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 *SBBudgetRuleDetails `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"` }
SBBudgetRule defines model for SBBudgetRule.
type SBBudgetRuleDetails ¶
type SBBudgetRuleDetails 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 *PerformanceMeasureConditionForSB `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 *SBRuleType `json:"ruleType,omitempty"` }
SBBudgetRuleDetails defines model for SBBudgetRuleDetails.
type SBBudgetRulesRecommendationError ¶
type SBBudgetRulesRecommendationError 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"` }
SBBudgetRulesRecommendationError The Error Response Object.
type SBBudgetRulesRecommendationEvent ¶
type SBBudgetRulesRecommendationEvent 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"` }
SBBudgetRulesRecommendationEvent defines model for SBBudgetRulesRecommendationEvent.
type SBBudgetRulesRecommendationEventRequest ¶
type SBBudgetRulesRecommendationEventRequest struct { // CampaignId The campaign identifier. CampaignId string `json:"campaignId"` }
SBBudgetRulesRecommendationEventRequest defines model for SBBudgetRulesRecommendationEventRequest.
type SBBudgetRulesRecommendationEventResponse ¶
type SBBudgetRulesRecommendationEventResponse struct { // RecommendedBudgetRuleEvents A list of recommended special events with date range and suggested budget increase. RecommendedBudgetRuleEvents *[]SBBudgetRulesRecommendationEvent `json:"recommendedBudgetRuleEvents,omitempty"` }
SBBudgetRulesRecommendationEventResponse Special events with date range and suggested budget increase.
type SBCampaignBudgetRule ¶
type SBCampaignBudgetRule 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 *SBBudgetRuleDetails `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"` }
SBCampaignBudgetRule defines model for SBCampaignBudgetRule.
type SBGetAssociatedCampaignsResponse ¶
type SBGetAssociatedCampaignsResponse 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"` }
SBGetAssociatedCampaignsResponse defines model for SBGetAssociatedCampaignsResponse.
type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody ¶
type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody struct {
// contains filtered or unexported fields
}
SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody defines parameters for SBGetBudgetRulesRecommendation.
type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody ¶
type SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONBody
SBGetBudgetRulesRecommendationApplicationVndSbbudgetrulesrecommendationV3PlusJSONRequestBody defines body for SBGetBudgetRulesRecommendation for application/vnd.sbbudgetrulesrecommendation.v3+json ContentType.
type SBGetBudgetRulesRecommendationParams ¶
type SBGetBudgetRulesRecommendationParams 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"` }
SBGetBudgetRulesRecommendationParams defines parameters for SBGetBudgetRulesRecommendation.
type SBGetBudgetRulesRecommendationResp ¶
type SBGetBudgetRulesRecommendationResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbbudgetrulesrecommendationV3JSON200 *SBBudgetRulesRecommendationEventResponse ApplicationvndSbbudgetrulesrecommendationV3JSON400 *SBBudgetRulesRecommendationError ApplicationvndSbbudgetrulesrecommendationV3JSON429 *SBBudgetRulesRecommendationError ApplicationvndSbbudgetrulesrecommendationV3JSON500 *SBBudgetRulesRecommendationError }
func ParseSBGetBudgetRulesRecommendationResp ¶
func ParseSBGetBudgetRulesRecommendationResp(rsp *http.Response) (*SBGetBudgetRulesRecommendationResp, error)
ParseSBGetBudgetRulesRecommendationResp parses an HTTP response from a SBGetBudgetRulesRecommendationWithResponse call
func (SBGetBudgetRulesRecommendationResp) Status ¶
func (r SBGetBudgetRulesRecommendationResp) Status() string
Status returns HTTPResponse.Status
func (SBGetBudgetRulesRecommendationResp) StatusCode ¶
func (r SBGetBudgetRulesRecommendationResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBInsightsAdFormat ¶
type SBInsightsAdFormat string
SBInsightsAdFormat Type of Ad format.
const ( SBInsightsAdFormatBRANDVIDEO SBInsightsAdFormat = "BRAND_VIDEO" SBInsightsAdFormatPRODUCTCOLLECTION SBInsightsAdFormat = "PRODUCT_COLLECTION" SBInsightsAdFormatSTORESPOTLIGHT SBInsightsAdFormat = "STORE_SPOTLIGHT" SBInsightsAdFormatVIDEO SBInsightsAdFormat = "VIDEO" )
Defines values for SBInsightsAdFormat.
type SBInsightsAdGroup ¶
type SBInsightsAdGroup struct { // AdFormat Type of Ad format. AdFormat SBInsightsAdFormat `json:"adFormat"` Keywords *[]SBInsightsKeyword `json:"keywords,omitempty"` }
SBInsightsAdGroup The ad group settings.
type SBInsightsBadRequestExceptionResponseContent ¶
type SBInsightsBadRequestExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBInsightsBadRequestExceptionResponseContent Returns information about a BadRequestException.
type SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody ¶
type SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody = SBInsightsCampaignInsightsRequestContent
SBInsightsCampaignInsightsApplicationVndSbinsightsV4PlusJSONRequestBody defines body for SBInsightsCampaignInsights for application/vnd.sbinsights.v4+json ContentType.
type SBInsightsCampaignInsightsParams ¶
type SBInsightsCampaignInsightsParams struct { // NextToken Operations that return paginated results include a pagination token in this field. 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"` // 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"` }
SBInsightsCampaignInsightsParams defines parameters for SBInsightsCampaignInsights.
type SBInsightsCampaignInsightsRequestContent ¶
type SBInsightsCampaignInsightsRequestContent struct {
AdGroups []SBInsightsAdGroup `json:"adGroups"`
}
SBInsightsCampaignInsightsRequestContent defines model for SBInsightsCampaignInsightsRequestContent.
type SBInsightsCampaignInsightsResp ¶
type SBInsightsCampaignInsightsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbinsightsV4JSON200 *SBInsightsCampaignInsightsResponseContent ApplicationvndSbinsightsV4JSON400 *SBInsightsBadRequestExceptionResponseContent ApplicationvndSbinsightsV4JSON401 *SBInsightsUnauthorizedExceptionResponseContent ApplicationvndSbinsightsV4JSON422 *SBInsightsUnprocessableEntityExceptionResponseContent ApplicationvndSbinsightsV4JSON429 *SBInsightsThrottlingExceptionResponseContent ApplicationvndSbinsightsV4JSON500 *SBInsightsInternalServerExceptionResponseContent }
func ParseSBInsightsCampaignInsightsResp ¶
func ParseSBInsightsCampaignInsightsResp(rsp *http.Response) (*SBInsightsCampaignInsightsResp, error)
ParseSBInsightsCampaignInsightsResp parses an HTTP response from a SBInsightsCampaignInsightsWithResponse call
func (SBInsightsCampaignInsightsResp) Status ¶
func (r SBInsightsCampaignInsightsResp) Status() string
Status returns HTTPResponse.Status
func (SBInsightsCampaignInsightsResp) StatusCode ¶
func (r SBInsightsCampaignInsightsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBInsightsCampaignInsightsResponseContent ¶
type SBInsightsCampaignInsightsResponseContent struct { Insights *[]SBInsightsObject `json:"insights,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` }
SBInsightsCampaignInsightsResponseContent Response object for /sb/campaigns/insights containing a list of insights for the campaign.
type SBInsightsInternalServerExceptionResponseContent ¶
type SBInsightsInternalServerExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBInsightsInternalServerExceptionResponseContent Returns information about an InternalServerException.
type SBInsightsKeyword ¶
type SBInsightsKeyword struct { // Bid The associated bid. Note that this value must be less than the budget associated with the Advertiser account. For more information, see [supported features](https://advertising.amazon.com/API/docs/v2/guides/supported_features). Bid float64 `json:"bid"` // KeywordText The keyword text. Maximum of 10 words. KeywordText string `json:"keywordText"` // MatchType The match type. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Advertising support center. MatchType SBInsightsMatchType `json:"matchType"` }
SBInsightsKeyword Keyword associated with the campaign.
type SBInsightsKeywordAlertType ¶
type SBInsightsKeywordAlertType string
SBInsightsKeywordAlertType Keyword alert insights associated with the selected keyword targets and bids. LOW_KEYWORD_TRAFFIC is provided if the keyword has very low traffic and is available in all marketplaces. LOW_BID is provided if the selected bid is low compared to the historical bids for this keyword and is only available in the following marketplaces: US, CA, MX, BR, UK, DE, FR, ES, IT, IN, AE, NL, SE, JP, AU, SG.
const ( LOWBID SBInsightsKeywordAlertType = "LOW_BID" LOWKEYWORDTRAFFIC SBInsightsKeywordAlertType = "LOW_KEYWORD_TRAFFIC" )
Defines values for SBInsightsKeywordAlertType.
type SBInsightsKeywordInsight ¶
type SBInsightsKeywordInsight struct { // AdGroupIndex Correlates the ad group to the ad group array index specified in the request. Zero-based. AdGroupIndex *int `json:"adGroupIndex,omitempty"` Alerts *[]SBInsightsKeywordAlertType `json:"alerts,omitempty"` // Bid The associated bid. Note that this value must be less than the budget associated with the Advertiser account. For more information, see [supported features](https://advertising.amazon.com/API/docs/v2/guides/supported_features). Bid *float64 `json:"bid,omitempty"` // KeywordIndex Correlates the keyword to the keyword array index specified in the request. Zero-based. KeywordIndex *int `json:"keywordIndex,omitempty"` // KeywordText The keyword text. Maximum of 10 words. KeywordText *string `json:"keywordText,omitempty"` // MatchType The match type. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Advertising support center. MatchType *SBInsightsMatchType `json:"matchType,omitempty"` // SearchTermImpressionRank The account-level ad-attributed impression rank for the search-term / keyword. // Provides the [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 7 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. // Only available in the following marketplaces: US, CA, MX, UK, DE, FR, ES, IT, IN, JP. SearchTermImpressionRank *int `json:"searchTermImpressionRank,omitempty"` // Provides percentage share of all ad impressions the advertiser has for the keyword in the last 7 days. // This metric helps advertisers identify potential opportunities based on their share of relevant keywords. // This information is only available for keywords the advertiser targeted with ad impressions. // Only available in the following marketplaces: US, CA, MX, UK, DE, FR, ES, IT, IN, JP. SearchTermImpressionShare *float64 `json:"searchTermImpressionShare,omitempty"` }
SBInsightsKeywordInsight Insights for keywords selected for targeting.
type SBInsightsMatchType ¶
type SBInsightsMatchType string
SBInsightsMatchType The match type. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Advertising support center.
const ( BROAD SBInsightsMatchType = "BROAD" EXACT SBInsightsMatchType = "EXACT" PHRASE SBInsightsMatchType = "PHRASE" )
Defines values for SBInsightsMatchType.
type SBInsightsObject ¶
type SBInsightsObject struct {
// contains filtered or unexported fields
}
SBInsightsObject defines model for SBInsightsObject.
func (SBInsightsObject) AsSBInsightsObject0 ¶
func (t SBInsightsObject) AsSBInsightsObject0() (SBInsightsObject0, error)
AsSBInsightsObject0 returns the union data inside the SBInsightsObject as a SBInsightsObject0
func (*SBInsightsObject) FromSBInsightsObject0 ¶
func (t *SBInsightsObject) FromSBInsightsObject0(v SBInsightsObject0) error
FromSBInsightsObject0 overwrites any union data inside the SBInsightsObject as the provided SBInsightsObject0
func (SBInsightsObject) MarshalJSON ¶
func (t SBInsightsObject) MarshalJSON() ([]byte, error)
func (*SBInsightsObject) MergeSBInsightsObject0 ¶
func (t *SBInsightsObject) MergeSBInsightsObject0(v SBInsightsObject0) error
MergeSBInsightsObject0 performs a merge with any union data inside the SBInsightsObject, using the provided SBInsightsObject0
func (*SBInsightsObject) UnmarshalJSON ¶
func (t *SBInsightsObject) UnmarshalJSON(b []byte) error
type SBInsightsObject0 ¶
type SBInsightsObject0 struct { // KeywordInsight Insights for keywords selected for targeting. KeywordInsight SBInsightsKeywordInsight `json:"keywordInsight"` }
SBInsightsObject0 defines model for .
type SBInsightsThrottlingExceptionResponseContent ¶
type SBInsightsThrottlingExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBInsightsThrottlingExceptionResponseContent Returns information about a ThrottlingException.
type SBInsightsUnauthorizedExceptionResponseContent ¶
type SBInsightsUnauthorizedExceptionResponseContent struct { string `json:"code"` Details string `json:"details"` }Code
SBInsightsUnauthorizedExceptionResponseContent Returns information about an UnauthorizedException.
type SBInsightsUnprocessableEntityExceptionResponseContent ¶
type SBInsightsUnprocessableEntityExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBInsightsUnprocessableEntityExceptionResponseContent Returns information about an UnprocessableEntityException.
type SBKeywordRecommendationCreativeType ¶
type SBKeywordRecommendationCreativeType string
SBKeywordRecommendationCreativeType Optional SB creative type used for generating static or video generated keyword recommendations. Inferred by asins if not included. |Identifier|Description|Recommendations| |----------|-----------|-----------| |PRODUCT_COLLECTION| Showcase multiple products within a branded shopping experience|Static| |AUTHOR_COLLECTION| Showcase books under your name that direct to your Book Brand landing page|Static| |STORE_SPOTLIGHT| Showcase your brand logo, headline, and up to 3 product categories or sub-pages|Static| |VIDEO| Display a video ad promoting a product that redirects to its landing page|Video| |BRAND_VIDEO| Display a branded video ad that redirects shoppers to your Brand Store landing page|Video| <br/>
const ( AUTHORCOLLECTION SBKeywordRecommendationCreativeType = "AUTHOR_COLLECTION" BRANDVIDEO SBKeywordRecommendationCreativeType = "BRAND_VIDEO" PRODUCTCOLLECTION SBKeywordRecommendationCreativeType = "PRODUCT_COLLECTION" STORESPOTLIGHT SBKeywordRecommendationCreativeType = "STORE_SPOTLIGHT" VIDEO SBKeywordRecommendationCreativeType = "VIDEO" )
Defines values for SBKeywordRecommendationCreativeType.
type SBKeywordRecommendationError ¶
type SBKeywordRecommendationError 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"` }
SBKeywordRecommendationError The Error Response Object.
type SBKeywordRecommendationImpressionRank ¶
type SBKeywordRecommendationImpressionRank = int64
SBKeywordRecommendationImpressionRank The account-level ad-attributed impression rank for the search-term / keyword. Provides the [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 7 days. It tells an advertiser how many advertisers had higher share of ad impressions.
type SBKeywordRecommendationImpressionShare ¶
type SBKeywordRecommendationImpressionShare = float64
SBKeywordRecommendationImpressionShare 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 7 days. This metric helps advertisers identify potential opportunities based on their share of relevant keywords.
type SBKeywordRecommendationMatchType ¶
type SBKeywordRecommendationMatchType string
SBKeywordRecommendationMatchType The match type. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Advertising support center.
const ( Broad SBKeywordRecommendationMatchType = "broad" Exact SBKeywordRecommendationMatchType = "exact" Phrase SBKeywordRecommendationMatchType = "phrase" )
Defines values for SBKeywordRecommendationMatchType.
type SBKeywordRecommendationOutcome ¶
type SBKeywordRecommendationOutcome string
SBKeywordRecommendationOutcome Optionally indicate the desired outcome of your campaign. Different keyword recommendations will be provided depending on your specified outcome. |Identifier|Description| |----------|-----------| |PAGE_VISIT| Boost the visits to your landing page| |BRAND_IMPRESSION_SHARE| Facilitate consumers' awareness of your brand|<br/>
const ( BRANDIMPRESSIONSHARE SBKeywordRecommendationOutcome = "BRAND_IMPRESSION_SHARE" PAGEVISIT SBKeywordRecommendationOutcome = "PAGE_VISIT" )
Defines values for SBKeywordRecommendationOutcome.
type SBKeywordRecommendationRequestAsin ¶
type SBKeywordRecommendationRequestAsin struct { Asins []string `json:"asins"` CreativeAsins *[]string `json:"creativeAsins,omitempty"` // CreativeType Optional SB creative type used for generating static or video generated keyword recommendations. Inferred by asins if not included. // |Identifier|Description|Recommendations| // |----------|-----------|-----------| // |PRODUCT_COLLECTION| Showcase multiple products within a branded shopping experience|Static| // |AUTHOR_COLLECTION| Showcase books under your name that direct to your Book Brand landing page|Static| // |STORE_SPOTLIGHT| Showcase your brand logo, headline, and up to 3 product categories or sub-pages|Static| // |VIDEO| Display a video ad promoting a product that redirects to its landing page|Video| // |BRAND_VIDEO| Display a branded video ad that redirects shoppers to your Brand Store landing page|Video| // <br/> CreativeType *SBKeywordRecommendationCreativeType `json:"creativeType,omitempty"` // Locale Optional locale to request keyword suggestion translations. For example, to request Simplified Chinese translations in US, provide locale “zh_CN”. Response will include both keyword suggestions and their translations. Supported locales include: Simplified Chinese (locale: “zh_CN”) for US, UK and CA. English (locale: “en_GB”) for DE, FR, IT and ES. Locale *string `json:"locale,omitempty"` // MaxNumSuggestions Maximum number of suggestions to return. Max value is 1000. If not provided, default to 100. MaxNumSuggestions *int64 `json:"maxNumSuggestions,omitempty"` // Outcome Optionally indicate the desired outcome of your campaign. Different keyword recommendations will be provided depending on your specified outcome. // |Identifier|Description| // |----------|-----------| // |PAGE_VISIT| Boost the visits to your landing page| // |BRAND_IMPRESSION_SHARE| Facilitate consumers' awareness of your brand|<br/> Outcome *SBKeywordRecommendationOutcome `json:"outcome,omitempty"` }
SBKeywordRecommendationRequestAsin defines model for SBKeywordRecommendationRequestAsin.
type SBKeywordRecommendationRequestUrl ¶
type SBKeywordRecommendationRequestUrl struct { CreativeAsins *[]string `json:"creativeAsins,omitempty"` // CreativeType Optional SB creative type used for generating static or video generated keyword recommendations. Inferred by asins if not included. // |Identifier|Description|Recommendations| // |----------|-----------|-----------| // |PRODUCT_COLLECTION| Showcase multiple products within a branded shopping experience|Static| // |AUTHOR_COLLECTION| Showcase books under your name that direct to your Book Brand landing page|Static| // |STORE_SPOTLIGHT| Showcase your brand logo, headline, and up to 3 product categories or sub-pages|Static| // |VIDEO| Display a video ad promoting a product that redirects to its landing page|Video| // |BRAND_VIDEO| Display a branded video ad that redirects shoppers to your Brand Store landing page|Video| // <br/> CreativeType *SBKeywordRecommendationCreativeType `json:"creativeType,omitempty"` // Locale Optional locale to request keyword suggestion translations. For example, to request Simplified Chinese translations in US, provide locale “zh_CN”. Response will include both keyword suggestions and their translations. Supported locales include: Simplified Chinese (locale: “zh_CN”) for US, UK and CA. English (locale: “en_GB”) for DE, FR, IT and ES. Locale *string `json:"locale,omitempty"` // MaxNumSuggestions Maximum number of suggestions to return. Max value is 1000. If not provided, default to 100. MaxNumSuggestions *int64 `json:"maxNumSuggestions,omitempty"` // Outcome Optionally indicate the desired outcome of your campaign. Different keyword recommendations will be provided depending on your specified outcome. // |Identifier|Description| // |----------|-----------| // |PAGE_VISIT| Boost the visits to your landing page| // |BRAND_IMPRESSION_SHARE| Facilitate consumers' awareness of your brand|<br/> Outcome *SBKeywordRecommendationOutcome `json:"outcome,omitempty"` // Url The URL of the Stores page, or, Vendors may also specify the URL of a custom landing page. Url string `json:"url"` }
SBKeywordRecommendationRequestUrl defines model for SBKeywordRecommendationRequestUrl.
type SBKeywordRecommendationResponse ¶
type SBKeywordRecommendationResponse = []SBKeywordSuggestion
SBKeywordRecommendationResponse defines model for SBKeywordRecommendationResponse.
type SBKeywordRecommendationType ¶
type SBKeywordRecommendationType string
SBKeywordRecommendationType A recommendation identifier that describes the suggested action for the recommendation. |Identifier|Description| |----------|-----------| |addKeyword|The suggested action is to add the keyword.| <br/>
const (
AddKeyword SBKeywordRecommendationType = "addKeyword"
)
Defines values for SBKeywordRecommendationType.
type SBKeywordSuggestion ¶
type SBKeywordSuggestion struct { // MatchType The match type. For more information, see [match types](https://advertising.amazon.com/help#GHTRFDZRJPW6764R) in the Amazon Advertising support center. MatchType *SBKeywordRecommendationMatchType `json:"matchType,omitempty"` // RecommendationId Unique ID for each recommendation. RecommendationId *string `json:"recommendationId,omitempty"` // SearchTermImpressionRank The account-level ad-attributed impression rank for the search-term / keyword. Provides the [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 7 days. It tells an advertiser how many advertisers had higher share of ad impressions. SearchTermImpressionRank *SBKeywordRecommendationImpressionRank `json:"searchTermImpressionRank,omitempty"` SearchTermImpressionShare *SBKeywordRecommendationImpressionShare `json:"searchTermImpressionShare,omitempty"` // Translation Localized keyword value if locale was specified. Translation *string `json:"translation,omitempty"` // Type A recommendation identifier that describes the suggested action for the recommendation. // |Identifier|Description| // |----------|-----------| // |addKeyword|The suggested action is to add the keyword.| // <br/> Type *SBKeywordRecommendationType `json:"type,omitempty"` // Value Recommended keyword value. Value *string `json:"value,omitempty"` }
SBKeywordSuggestion defines model for SBKeywordSuggestion.
type SBListAssociatedBudgetRulesResponse ¶
type SBListAssociatedBudgetRulesResponse struct { // AssociatedRules A list of associated budget rules. AssociatedRules *[]SBCampaignBudgetRule `json:"associatedRules,omitempty"` }
SBListAssociatedBudgetRulesResponse defines model for SBListAssociatedBudgetRulesResponse.
type SBRuleBasedBudget ¶
type SBRuleBasedBudget struct { AppliedRule *SBBudgetRule `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"` }
SBRuleBasedBudget defines model for SBRuleBasedBudget.
type SBRuleType ¶
type SBRuleType string
SBRuleType 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 SBRuleType = "PERFORMANCE" SCHEDULE SBRuleType = "SCHEDULE" )
Defines values for SBRuleType.
type SBTargetingAccessDeniedExceptionResponseContent ¶
type SBTargetingAccessDeniedExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBTargetingAccessDeniedExceptionResponseContent Returns information about an AccessDeniedException.
type SBTargetingAgeRange ¶
type SBTargetingAgeRange struct { // AgeRangeRefinementId Id of Age Range. Use /sb/targets/categories/{categoryRefinementId}/refinements to retrieve Age Range Refinement IDs. AgeRangeRefinementId string `json:"ageRangeRefinementId"` // 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"` }
SBTargetingAgeRange defines model for SBTargetingAgeRange.
type SBTargetingBadRequestExceptionResponseContent ¶
type SBTargetingBadRequestExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBTargetingBadRequestExceptionResponseContent Returns information about a BadRequestException.
type SBTargetingBrand ¶
type SBTargetingBrand struct { // BrandRefinementId Id of brand. Use /sb/targets/categories/{categoryRefinementId}/refinements to retrieve Brand Refinement IDs. BrandRefinementId string `json:"brandRefinementId"` // Name Name of brand. Name *string `json:"name,omitempty"` }
SBTargetingBrand defines model for SBTargetingBrand.
type SBTargetingCategory ¶
type SBTargetingCategory struct { AsinCountRange *SBTargetingIntegerRange `json:"asinCountRange,omitempty"` // CategoryRefinementId The category refinement id. Please use /sb/targets/categories or /sb/recommendations/targets/category to retrieve category IDs. CategoryRefinementId *string `json:"categoryRefinementId,omitempty"` EstimatedReach *SBTargetingEstimatedReachRange `json:"estimatedReach,omitempty"` // IsTargetable If the category is targetable or not. IsTargetable *bool `json:"isTargetable,omitempty"` // Name Name of category. Name *string `json:"name,omitempty"` // ParentCategoryRefinementId The category refinement id of the parent category. Missing parentCategoryRefinementId signifies this is a root category. ParentCategoryRefinementId *string `json:"parentCategoryRefinementId,omitempty"` // TranslatedName Translated name of the category. TranslatedName *string `json:"translatedName,omitempty"` }
SBTargetingCategory Category details.
type SBTargetingEstimatedReachRange ¶
type SBTargetingEstimatedReachRange struct { Max *int `json:"max,omitempty"` Min *int `json:"min,omitempty"` }
SBTargetingEstimatedReachRange defines model for SBTargetingEstimatedReachRange.
type SBTargetingGenre ¶
type SBTargetingGenre struct { // GenreRefinementId Id of Genre. Use /sb/targets/categories/{categoryRefinementId}/refinements to retrieve Genre Refinement IDs. GenreRefinementId string `json:"genreRefinementId"` // Name Name of Genre. Name *string `json:"name,omitempty"` // TranslatedName Translated name of Genre based off locale sent in request. TranslatedName *string `json:"translatedName,omitempty"` }
SBTargetingGenre defines model for SBTargetingGenre.
type SBTargetingGetNegativeBrandsParams ¶
type SBTargetingGetNegativeBrandsParams struct { // NextToken Operations that return paginated results include a pagination token in this field. 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"` // 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"` }
SBTargetingGetNegativeBrandsParams defines parameters for SBTargetingGetNegativeBrands.
type SBTargetingGetNegativeBrandsResp ¶
type SBTargetingGetNegativeBrandsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbtargetingV4JSON200 *SBTargetingGetNegativeBrandsResponseContent ApplicationvndSbtargetingV4JSON400 *SBTargetingBadRequestExceptionResponseContent ApplicationvndSbtargetingV4JSON401 *SBTargetingUnauthorizedExceptionResponseContent ApplicationvndSbtargetingV4JSON403 *SBTargetingAccessDeniedExceptionResponseContent ApplicationvndSbtargetingV4JSON429 *SBTargetingThrottlingExceptionResponseContent ApplicationvndSbtargetingV4JSON500 *SBTargetingInternalServerExceptionResponseContent }
func ParseSBTargetingGetNegativeBrandsResp ¶
func ParseSBTargetingGetNegativeBrandsResp(rsp *http.Response) (*SBTargetingGetNegativeBrandsResp, error)
ParseSBTargetingGetNegativeBrandsResp parses an HTTP response from a SBTargetingGetNegativeBrandsWithResponse call
func (SBTargetingGetNegativeBrandsResp) Status ¶
func (r SBTargetingGetNegativeBrandsResp) Status() string
Status returns HTTPResponse.Status
func (SBTargetingGetNegativeBrandsResp) StatusCode ¶
func (r SBTargetingGetNegativeBrandsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBTargetingGetNegativeBrandsResponseContent ¶
type SBTargetingGetNegativeBrandsResponseContent struct { // Brands List of Brands. Brands *[]SBTargetingBrand `json:"brands,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` }
SBTargetingGetNegativeBrandsResponseContent Response object for /sb/negativeTargets/brands/recommendations containing list of brands for negative targeting.
type SBTargetingGetRefinementsForCategoryParams ¶
type SBTargetingGetRefinementsForCategoryParams struct { // Locale The locale to which the caller wishes to translate the targetable categories or refinements 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 tagetable categories will be in the default language of the marketplace. Locale *SBTargetingLocale `form:"locale,omitempty" json:"locale,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` // 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"` }
SBTargetingGetRefinementsForCategoryParams defines parameters for SBTargetingGetRefinementsForCategory.
type SBTargetingGetRefinementsForCategoryResp ¶
type SBTargetingGetRefinementsForCategoryResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbtargetingV4JSON200 *SBTargetingGetRefinementsForCategoryResponseContent ApplicationvndSbtargetingV4JSON400 *SBTargetingBadRequestExceptionResponseContent ApplicationvndSbtargetingV4JSON401 *SBTargetingUnauthorizedExceptionResponseContent ApplicationvndSbtargetingV4JSON429 *SBTargetingThrottlingExceptionResponseContent ApplicationvndSbtargetingV4JSON500 *SBTargetingInternalServerExceptionResponseContent }
func ParseSBTargetingGetRefinementsForCategoryResp ¶
func ParseSBTargetingGetRefinementsForCategoryResp(rsp *http.Response) (*SBTargetingGetRefinementsForCategoryResp, error)
ParseSBTargetingGetRefinementsForCategoryResp parses an HTTP response from a SBTargetingGetRefinementsForCategoryWithResponse call
func (SBTargetingGetRefinementsForCategoryResp) Status ¶
func (r SBTargetingGetRefinementsForCategoryResp) Status() string
Status returns HTTPResponse.Status
func (SBTargetingGetRefinementsForCategoryResp) StatusCode ¶
func (r SBTargetingGetRefinementsForCategoryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBTargetingGetRefinementsForCategoryResponseContent ¶
type SBTargetingGetRefinementsForCategoryResponseContent struct { // AgeRanges List of Age Ranges. Use /sb/targets/categories/{categoryRefinementId}/refinements to retrieve Age Ranges. Age Ranges are only available for categories related to children's toys and games. AgeRanges *[]SBTargetingAgeRange `json:"ageRanges,omitempty"` // Brands List of Brands. Brands *[]SBTargetingBrand `json:"brands,omitempty"` // Genres List of Genres. Use /sb/targets/categories/{categoryRefinementId}/refinements to retrieve Genre Node IDs. Genres are only available for categories related to books. Genres *[]SBTargetingGenre `json:"genres,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` }
SBTargetingGetRefinementsForCategoryResponseContent Response object for /sb/targets/categories/{categoryRefinementId}/refinements containing information on Brand Nodes, Age Range Nodes, and Genre Nodes.
Response is paginated with pagination occurring for all three arrays at once. Example: If there are 800 brands, 5 age ranges, and 600 genres, the first response will return 500 brands, 5 age ranges, and 500 genres. The next paginated response will return 300 brands, 0 age ranges, and 100 genres.
type SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody ¶
type SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody = SBTargetingGetTargetableASINCountsRequestContent
SBTargetingGetTargetableASINCountsApplicationVndSbtargetingV4PlusJSONRequestBody defines body for SBTargetingGetTargetableASINCounts for application/vnd.sbtargeting.v4+json ContentType.
type SBTargetingGetTargetableASINCountsParams ¶
type SBTargetingGetTargetableASINCountsParams 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"` }
SBTargetingGetTargetableASINCountsParams defines parameters for SBTargetingGetTargetableASINCounts.
type SBTargetingGetTargetableASINCountsRequestContent ¶
type SBTargetingGetTargetableASINCountsRequestContent struct { // AgeRanges List of Age Range Refinement Ids. AgeRanges *[]string `json:"ageRanges,omitempty"` // Brands List of Brand Refinement Ids. Brands *[]string `json:"brands,omitempty"` // Category The category refinement id. Please use /sb/targets/categories or /sb/recommendations/targets/category to retrieve category IDs. Category string `json:"category"` // Genres List of Genre Refinement Ids. Genres *[]string `json:"genres,omitempty"` // IsPrimeShipping Indicates if products have prime shipping. Leave empty to include both prime shipping and non-prime shipping products. 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 *SBTargetingPriceRange `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 *SBTargetingRatingRange `json:"ratingRange,omitempty"` }
SBTargetingGetTargetableASINCountsRequestContent defines model for SBTargetingGetTargetableASINCountsRequestContent.
type SBTargetingGetTargetableASINCountsResp ¶
type SBTargetingGetTargetableASINCountsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbtargetingV4JSON200 *SBTargetingGetTargetableASINCountsResponseContent ApplicationvndSbtargetingV4JSON400 *SBTargetingBadRequestExceptionResponseContent ApplicationvndSbtargetingV4JSON401 *SBTargetingUnauthorizedExceptionResponseContent ApplicationvndSbtargetingV4JSON422 *SBTargetingUnprocessableEntityExceptionResponseContent ApplicationvndSbtargetingV4JSON429 *SBTargetingThrottlingExceptionResponseContent ApplicationvndSbtargetingV4JSON500 *SBTargetingInternalServerExceptionResponseContent }
func ParseSBTargetingGetTargetableASINCountsResp ¶
func ParseSBTargetingGetTargetableASINCountsResp(rsp *http.Response) (*SBTargetingGetTargetableASINCountsResp, error)
ParseSBTargetingGetTargetableASINCountsResp parses an HTTP response from a SBTargetingGetTargetableASINCountsWithResponse call
func (SBTargetingGetTargetableASINCountsResp) Status ¶
func (r SBTargetingGetTargetableASINCountsResp) Status() string
Status returns HTTPResponse.Status
func (SBTargetingGetTargetableASINCountsResp) StatusCode ¶
func (r SBTargetingGetTargetableASINCountsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBTargetingGetTargetableASINCountsResponseContent ¶
type SBTargetingGetTargetableASINCountsResponseContent struct {
AsinCounts *SBTargetingIntegerRange `json:"asinCounts,omitempty"`
}
SBTargetingGetTargetableASINCountsResponseContent Response object for /sb/targets/products/count to get number of targetable asins for refinements provided by the user
type SBTargetingGetTargetableCategoriesParams ¶
type SBTargetingGetTargetableCategoriesParams struct { // Locale The locale to which the caller wishes to translate the targetable categories or refinements 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 tagetable categories will be in the default language of the marketplace. Locale *SBTargetingLocale `form:"locale,omitempty" json:"locale,omitempty"` // SupplySource The supply source where the target will be used. Use `AMAZON` for placements on Amazon website. Use `STREAMING_VIDEO` for off-site video placements such as IMDb TV. SupplySource SBTargetingSupplySource `form:"supplySource" json:"supplySource"` // IncludeOnlyRootCategories Indicates whether to only retun root categories or not. IncludeOnlyRootCategories *bool `form:"includeOnlyRootCategories,omitempty" json:"includeOnlyRootCategories,omitempty"` // ParentCategoryRefinementId Returns child categories of category. ParentCategoryRefinementId *string `form:"parentCategoryRefinementId,omitempty" json:"parentCategoryRefinementId,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` // 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"` }
SBTargetingGetTargetableCategoriesParams defines parameters for SBTargetingGetTargetableCategories.
type SBTargetingGetTargetableCategoriesResp ¶
type SBTargetingGetTargetableCategoriesResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbtargetingV4JSON200 *SBTargetingGetTargetableCategoriesResponseContent ApplicationvndSbtargetingV4JSON400 *SBTargetingBadRequestExceptionResponseContent ApplicationvndSbtargetingV4JSON401 *SBTargetingUnauthorizedExceptionResponseContent ApplicationvndSbtargetingV4JSON429 *SBTargetingThrottlingExceptionResponseContent ApplicationvndSbtargetingV4JSON500 *SBTargetingInternalServerExceptionResponseContent }
func ParseSBTargetingGetTargetableCategoriesResp ¶
func ParseSBTargetingGetTargetableCategoriesResp(rsp *http.Response) (*SBTargetingGetTargetableCategoriesResp, error)
ParseSBTargetingGetTargetableCategoriesResp parses an HTTP response from a SBTargetingGetTargetableCategoriesWithResponse call
func (SBTargetingGetTargetableCategoriesResp) Status ¶
func (r SBTargetingGetTargetableCategoriesResp) Status() string
Status returns HTTPResponse.Status
func (SBTargetingGetTargetableCategoriesResp) StatusCode ¶
func (r SBTargetingGetTargetableCategoriesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SBTargetingGetTargetableCategoriesResponseContent ¶
type SBTargetingGetTargetableCategoriesResponseContent struct { // CategoryTree List of categories. CategoryTree *[]SBTargetingCategory `json:"categoryTree,omitempty"` // NextToken Operations that return paginated results include a pagination token in this field. 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"` }
SBTargetingGetTargetableCategoriesResponseContent Response object for /sb/targets/categories containing all targetable categories for the advertiser's marketplace.
type SBTargetingIntegerRange ¶
type SBTargetingIntegerRange struct { Max *int `json:"max,omitempty"` Min *int `json:"min,omitempty"` }
SBTargetingIntegerRange defines model for SBTargetingIntegerRange.
type SBTargetingInternalServerExceptionResponseContent ¶
type SBTargetingInternalServerExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBTargetingInternalServerExceptionResponseContent Returns information about an InternalServerException.
type SBTargetingLocale ¶
type SBTargetingLocale string
SBTargetingLocale The locale to which the caller wishes to translate the targetable categories or refinements 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 tagetable categories will be in the default language of the marketplace.
const ( ArAE SBTargetingLocale = "ar_AE" DeDE SBTargetingLocale = "de_DE" EnAE SBTargetingLocale = "en_AE" EnAU SBTargetingLocale = "en_AU" EnCA SBTargetingLocale = "en_CA" EnGB SBTargetingLocale = "en_GB" EnIN SBTargetingLocale = "en_IN" EnSG SBTargetingLocale = "en_SG" EnUS SBTargetingLocale = "en_US" EsES SBTargetingLocale = "es_ES" EsMX SBTargetingLocale = "es_MX" FrCA SBTargetingLocale = "fr_CA" FrFR SBTargetingLocale = "fr_FR" HiIN SBTargetingLocale = "hi_IN" ItIT SBTargetingLocale = "it_IT" JaJP SBTargetingLocale = "ja_JP" KoKR SBTargetingLocale = "ko_KR" NlNL SBTargetingLocale = "nl_NL" PlPL SBTargetingLocale = "pl_PL" PtBR SBTargetingLocale = "pt_BR" SvSE SBTargetingLocale = "sv_SE" TaIN SBTargetingLocale = "ta_IN" ThTH SBTargetingLocale = "th_TH" TrTR SBTargetingLocale = "tr_TR" ViVN SBTargetingLocale = "vi_VN" ZhCN SBTargetingLocale = "zh_CN" )
Defines values for SBTargetingLocale.
type SBTargetingPriceRange ¶
type SBTargetingPriceRange struct { Max *float64 `json:"max,omitempty"` Min *float64 `json:"min,omitempty"` }
SBTargetingPriceRange A range of prices. We use this to retrieve the number of targetable ASINs that falls within this price range.
type SBTargetingRatingRange ¶
type SBTargetingRatingRange struct { Max *int `json:"max,omitempty"` Min *int `json:"min,omitempty"` }
SBTargetingRatingRange 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 SBTargetingSupplySource ¶
type SBTargetingSupplySource string
SBTargetingSupplySource The supply source where the target will be used. Use `AMAZON` for placements on Amazon website. Use `STREAMING_VIDEO` for off-site video placements such as IMDb TV.
const ( AMAZON SBTargetingSupplySource = "AMAZON" STREAMINGVIDEO SBTargetingSupplySource = "STREAMING_VIDEO" )
Defines values for SBTargetingSupplySource.
type SBTargetingThrottlingExceptionResponseContent ¶
type SBTargetingThrottlingExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBTargetingThrottlingExceptionResponseContent Returns information about a ThrottlingException.
type SBTargetingUnauthorizedExceptionResponseContent ¶
type SBTargetingUnauthorizedExceptionResponseContent struct { string `json:"code"` Details string `json:"details"` }Code
SBTargetingUnauthorizedExceptionResponseContent Returns information about an UnauthorizedException.
type SBTargetingUnprocessableEntityExceptionResponseContent ¶
type SBTargetingUnprocessableEntityExceptionResponseContent struct { // Code The HTTP status code of the response. Code string `json:"code"` // Details A human-readable description of the response. Details string `json:"details"` }
SBTargetingUnprocessableEntityExceptionResponseContent Returns information about an UnprocessableEntityException.
type SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody ¶
type SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody = BudgetUsageCampaignRequest
SbCampaignsBudgetUsageApplicationVndSbcampaignbudgetusageV1PlusJSONRequestBody defines body for SbCampaignsBudgetUsage for application/vnd.sbcampaignbudgetusage.v1+json ContentType.
type SbCampaignsBudgetUsageParams ¶
type SbCampaignsBudgetUsageParams 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"` }
SbCampaignsBudgetUsageParams defines parameters for SbCampaignsBudgetUsage.
type SbCampaignsBudgetUsageResp ¶
type SbCampaignsBudgetUsageResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbcampaignbudgetusageV1JSON207 *BudgetUsageCampaignResponse JSON400 *BudgetUsageError JSON401 *BudgetUsageError JSON403 *BudgetUsageError JSON422 *BudgetUsageError JSON429 *BudgetUsageError JSON500 *BudgetUsageError }
func ParseSbCampaignsBudgetUsageResp ¶
func ParseSbCampaignsBudgetUsageResp(rsp *http.Response) (*SbCampaignsBudgetUsageResp, error)
ParseSbCampaignsBudgetUsageResp parses an HTTP response from a SbCampaignsBudgetUsageWithResponse call
func (SbCampaignsBudgetUsageResp) Status ¶
func (r SbCampaignsBudgetUsageResp) Status() string
Status returns HTTPResponse.Status
func (SbCampaignsBudgetUsageResp) StatusCode ¶
func (r SbCampaignsBudgetUsageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SevenDaysMissedOpportunities ¶
type SevenDaysMissedOpportunities struct { // EndDate End date of the Missed Opportunities date range (YYYY-MM-DD) in local time. EndDate *string `json:"endDate,omitempty"` // EstimatedMissedClicksLower Lower bound of the estimated Missed Clicks. EstimatedMissedClicksLower *float32 `json:"estimatedMissedClicksLower,omitempty"` // EstimatedMissedClicksUpper Upper bound of the estimated Missed Clicks. EstimatedMissedClicksUpper *float32 `json:"estimatedMissedClicksUpper,omitempty"` // EstimatedMissedImpressionsLower Lower bound of the estimated Missed Impressions. EstimatedMissedImpressionsLower *float32 `json:"estimatedMissedImpressionsLower,omitempty"` // EstimatedMissedImpressionsUpper Upper bound of the estimated Missed Impressions. EstimatedMissedImpressionsUpper *float32 `json:"estimatedMissedImpressionsUpper,omitempty"` // EstimatedMissedSalesLower Lower bound of the estimated Missed Sales. This will be in local currency. EstimatedMissedSalesLower *float64 `json:"estimatedMissedSalesLower,omitempty"` // EstimatedMissedSalesUpper Upper bound of the estimated Missed Sales. This will be in local currency. EstimatedMissedSalesUpper *float64 `json:"estimatedMissedSalesUpper,omitempty"` // PercentTimeInBudget Percentage of time the campaign is active with a budget. PercentTimeInBudget *float64 `json:"percentTimeInBudget,omitempty"` // StartDate Start date of the Missed Opportunities date range (YYYY-MM-DD) in local time. StartDate *string `json:"startDate,omitempty"` }
SevenDaysMissedOpportunities Missed Opportunities in the trailing seven days.
type ShopperSegment ¶
type ShopperSegment string
ShopperSegment List of bid adjustments for shopper segments. - NEW_TO_BRAND_PURCHASE - The shopper segment where shopper has not purchased product from the brand.
const (
NEWTOBRANDPURCHASE ShopperSegment = "NEW_TO_BRAND_PURCHASE"
)
Defines values for ShopperSegment.
type StorePage ¶
type StorePage struct { // DisplayName Display Name of the store page shown on a store spotlight campaign. DisplayName *string `json:"displayName,omitempty"` // PrimaryAsin Selected asin from the store page which is displayed on the store spotlight campaign. PrimaryAsin *string `json:"primaryAsin,omitempty"` }
StorePage defines model for StorePage.
type StoreSpotlightCreative ¶
type StoreSpotlightCreative struct { // BrandLogoAssetId The identifier of the [brand logo](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#brandlogo) image from the brand store's asset library. // Note that for campaigns created in the Amazon Advertising console prior to release of the brand store's assets library, responses will not include a value for this field. BrandLogoAssetId string `json:"brandLogoAssetId"` // BrandLogoCrop Asset cropping attributes BrandLogoCrop *AssetCrop `json:"brandLogoCrop,omitempty"` // BrandName The displayed brand name in the ad headline. // Maximum length is 30 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. BrandName string `json:"brandName"` // Headline The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters. // See [the policy](https://advertising.amazon.com/resources/ad-policy/sponsored-ads-policies#headlines) for headline requirements. Headline string `json:"headline"` // Subpages An array of subpages Subpages []Subpage `json:"subpages"` }
StoreSpotlightCreative defines model for StoreSpotlightCreative.
type Subpage ¶
type Subpage struct { Asin *string `json:"asin,omitempty"` PageTitle *string `json:"pageTitle,omitempty"` Url *string `json:"url,omitempty"` }
Subpage defines model for Subpage.
type SuggestedHeadline ¶
type SuggestedHeadline struct { // Headline String that contains suggested headline. Headline *string `json:"headline,omitempty"` // HeadlineId Unique Id of suggested headline. HeadlineId *string `json:"headlineId,omitempty"` }
SuggestedHeadline Suggested Headline in response object.
type Tags ¶
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.
type ThrottledErrorCode ¶
type ThrottledErrorCode string
ThrottledErrorCode defines model for ThrottledErrorCode.
const (
THROTTLED ThrottledErrorCode = "THROTTLED"
)
Defines values for ThrottledErrorCode.
type ThrottlingExceptionResponseContent ¶
type ThrottlingExceptionResponseContent struct { Code ThrottledErrorCode `json:"code"` // Message Human readable error message. Message string `json:"message"` }
ThrottlingExceptionResponseContent defines model for ThrottlingExceptionResponseContent.
type UnauthorizedErrorCode ¶
type UnauthorizedErrorCode string
UnauthorizedErrorCode defines model for UnauthorizedErrorCode.
const (
UNAUTHORIZED UnauthorizedErrorCode = "UNAUTHORIZED"
)
Defines values for UnauthorizedErrorCode.
type UnauthorizedExceptionResponseContent ¶
type UnauthorizedExceptionResponseContent struct { string `json:"message"` }Message
UnauthorizedExceptionResponseContent defines model for UnauthorizedExceptionResponseContent.
type UnsupportedMediaTypeExceptionResponseContent ¶
type UnsupportedMediaTypeExceptionResponseContent struct { // Code A human-readable description of the enumerated response code in the `code` field. Code string `json:"code"` // Details An enumerated response code. Details string `json:"details"` }
UnsupportedMediaTypeExceptionResponseContent defines model for UnsupportedMediaTypeExceptionResponseContent.
type UpdateAd ¶
type UpdateAd struct { // AdId The product ad identifier. AdId string `json:"adId"` // Name The name of the ad. Name *string `json:"name,omitempty"` // State Entity state for create or update operation. State *CreateOrUpdateEntityState `json:"state,omitempty"` }
UpdateAd defines model for UpdateAd.
type UpdateAdGroup ¶
type UpdateAdGroup struct { // AdGroupId The identifier of the keyword. AdGroupId string `json:"adGroupId"` // Name The name of the ad group. Name *string `json:"name,omitempty"` // State Entity state for create or update operation. State *CreateOrUpdateEntityState `json:"state,omitempty"` }
UpdateAdGroup defines model for UpdateAdGroup.
type UpdateBudgetRulesForSBCampaignsJSONRequestBody ¶
type UpdateBudgetRulesForSBCampaignsJSONRequestBody = UpdateSBBudgetRulesRequest
UpdateBudgetRulesForSBCampaignsJSONRequestBody defines body for UpdateBudgetRulesForSBCampaigns for application/json ContentType.
type UpdateBudgetRulesForSBCampaignsParams ¶
type UpdateBudgetRulesForSBCampaignsParams 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"` }
UpdateBudgetRulesForSBCampaignsParams defines parameters for UpdateBudgetRulesForSBCampaigns.
type UpdateBudgetRulesForSBCampaignsResp ¶
type UpdateBudgetRulesForSBCampaignsResp struct { Body []byte HTTPResponse *http.Response JSON207 *UpdateBudgetRulesResponse JSON400 *BudgetRuleError JSON401 *BudgetRuleError JSON403 *BudgetRuleError JSON422 *BudgetRuleError JSON429 *BudgetRuleError JSON500 *BudgetRuleError }
func ParseUpdateBudgetRulesForSBCampaignsResp ¶
func ParseUpdateBudgetRulesForSBCampaignsResp(rsp *http.Response) (*UpdateBudgetRulesForSBCampaignsResp, error)
ParseUpdateBudgetRulesForSBCampaignsResp parses an HTTP response from a UpdateBudgetRulesForSBCampaignsWithResponse call
func (UpdateBudgetRulesForSBCampaignsResp) Status ¶
func (r UpdateBudgetRulesForSBCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateBudgetRulesForSBCampaignsResp) StatusCode ¶
func (r UpdateBudgetRulesForSBCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBudgetRulesResponse ¶
type UpdateBudgetRulesResponse struct {
Responses *[]BudgetRuleResponse `json:"responses,omitempty"`
}
UpdateBudgetRulesResponse defines model for UpdateBudgetRulesResponse.
type UpdateCampaign ¶
type UpdateCampaign struct { Bidding *Bidding `json:"bidding,omitempty"` // Budget The budget of the campaign. See https://advertising.amazon.com/help?entityId=ENTITYJDATFOIA05Q7#GE5QEBS6QRJJAT3A Budget *float64 `json:"budget,omitempty"` // CampaignId The identifier of the campaign. CampaignId string `json:"campaignId"` // EndDate endDate is optional. If endDate is specified, startDate must be specified as well. EndDate *string `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 startDate can only be changed if the current startDate is in the future. StartDate *string `json:"startDate,omitempty"` // State Entity state for create or update operation. State *CreateOrUpdateEntityState `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 *Tags `json:"tags,omitempty"` }
UpdateCampaign defines model for UpdateCampaign.
type UpdateSBBudgetRulesRequest ¶
type UpdateSBBudgetRulesRequest struct { // BudgetRulesDetails A list of budget rule details. BudgetRulesDetails *[]SBBudgetRule `json:"budgetRulesDetails,omitempty"` }
UpdateSBBudgetRulesRequest defines model for UpdateSBBudgetRulesRequest.
type UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody ¶
type UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody = UpdateSponsoredBrandsAdGroupsRequestContent
UpdateSponsoredBrandsAdGroupsApplicationVndSbadgroupresourceV4PlusJSONRequestBody defines body for UpdateSponsoredBrandsAdGroups for application/vnd.sbadgroupresource.v4+json ContentType.
type UpdateSponsoredBrandsAdGroupsParams ¶
type UpdateSponsoredBrandsAdGroupsParams 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"` }
UpdateSponsoredBrandsAdGroupsParams defines parameters for UpdateSponsoredBrandsAdGroups.
type UpdateSponsoredBrandsAdGroupsRequestContent ¶
type UpdateSponsoredBrandsAdGroupsRequestContent struct {
AdGroups []UpdateAdGroup `json:"adGroups"`
}
UpdateSponsoredBrandsAdGroupsRequestContent defines model for UpdateSponsoredBrandsAdGroupsRequestContent.
type UpdateSponsoredBrandsAdGroupsResp ¶
type UpdateSponsoredBrandsAdGroupsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadgroupresourceV4JSON207 *UpdateSponsoredBrandsAdGroupsResponseContent ApplicationvndSbadgroupresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadgroupresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseUpdateSponsoredBrandsAdGroupsResp ¶
func ParseUpdateSponsoredBrandsAdGroupsResp(rsp *http.Response) (*UpdateSponsoredBrandsAdGroupsResp, error)
ParseUpdateSponsoredBrandsAdGroupsResp parses an HTTP response from a UpdateSponsoredBrandsAdGroupsWithResponse call
func (UpdateSponsoredBrandsAdGroupsResp) Status ¶
func (r UpdateSponsoredBrandsAdGroupsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSponsoredBrandsAdGroupsResp) StatusCode ¶
func (r UpdateSponsoredBrandsAdGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSponsoredBrandsAdGroupsResponseContent ¶
type UpdateSponsoredBrandsAdGroupsResponseContent struct {
AdGroups *BulkAdGroupOperationResponse `json:"adGroups,omitempty"`
}
UpdateSponsoredBrandsAdGroupsResponseContent defines model for UpdateSponsoredBrandsAdGroupsResponseContent.
type UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody ¶
type UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody = UpdateSponsoredBrandsAdsRequestContent
UpdateSponsoredBrandsAdsApplicationVndSbadresourceV4PlusJSONRequestBody defines body for UpdateSponsoredBrandsAds for application/vnd.sbadresource.v4+json ContentType.
type UpdateSponsoredBrandsAdsParams ¶
type UpdateSponsoredBrandsAdsParams 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"` }
UpdateSponsoredBrandsAdsParams defines parameters for UpdateSponsoredBrandsAds.
type UpdateSponsoredBrandsAdsRequestContent ¶
type UpdateSponsoredBrandsAdsRequestContent struct {
Ads []UpdateAd `json:"ads"`
}
UpdateSponsoredBrandsAdsRequestContent defines model for UpdateSponsoredBrandsAdsRequestContent.
type UpdateSponsoredBrandsAdsResp ¶
type UpdateSponsoredBrandsAdsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbadresourceV4JSON207 *UpdateSponsoredBrandsAdsResponseContent ApplicationvndSbadresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbadresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbadresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbadresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbadresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseUpdateSponsoredBrandsAdsResp ¶
func ParseUpdateSponsoredBrandsAdsResp(rsp *http.Response) (*UpdateSponsoredBrandsAdsResp, error)
ParseUpdateSponsoredBrandsAdsResp parses an HTTP response from a UpdateSponsoredBrandsAdsWithResponse call
func (UpdateSponsoredBrandsAdsResp) Status ¶
func (r UpdateSponsoredBrandsAdsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSponsoredBrandsAdsResp) StatusCode ¶
func (r UpdateSponsoredBrandsAdsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSponsoredBrandsAdsResponseContent ¶
type UpdateSponsoredBrandsAdsResponseContent struct {
Ads *BulkAdOperationResponse `json:"ads,omitempty"`
}
UpdateSponsoredBrandsAdsResponseContent defines model for UpdateSponsoredBrandsAdsResponseContent.
type UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody ¶
type UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody = UpdateSponsoredBrandsCampaignsRequestContent
UpdateSponsoredBrandsCampaignsApplicationVndSbcampaignresourceV4PlusJSONRequestBody defines body for UpdateSponsoredBrandsCampaigns for application/vnd.sbcampaignresource.v4+json ContentType.
type UpdateSponsoredBrandsCampaignsParams ¶
type UpdateSponsoredBrandsCampaignsParams 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"` }
UpdateSponsoredBrandsCampaignsParams defines parameters for UpdateSponsoredBrandsCampaigns.
type UpdateSponsoredBrandsCampaignsRequestContent ¶
type UpdateSponsoredBrandsCampaignsRequestContent struct {
Campaigns []UpdateCampaign `json:"campaigns"`
}
UpdateSponsoredBrandsCampaignsRequestContent defines model for UpdateSponsoredBrandsCampaignsRequestContent.
type UpdateSponsoredBrandsCampaignsResp ¶
type UpdateSponsoredBrandsCampaignsResp struct { Body []byte HTTPResponse *http.Response ApplicationvndSbcampaignresourceV4JSON207 *UpdateSponsoredBrandsCampaignsResponseContent ApplicationvndSbcampaignresourceV4JSON400 *InvalidArgumentExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON401 *UnauthorizedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON403 *AccessDeniedExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON429 *ThrottlingExceptionResponseContent ApplicationvndSbcampaignresourceV4JSON500 *InternalServerExceptionResponseContent }
func ParseUpdateSponsoredBrandsCampaignsResp ¶
func ParseUpdateSponsoredBrandsCampaignsResp(rsp *http.Response) (*UpdateSponsoredBrandsCampaignsResp, error)
ParseUpdateSponsoredBrandsCampaignsResp parses an HTTP response from a UpdateSponsoredBrandsCampaignsWithResponse call
func (UpdateSponsoredBrandsCampaignsResp) Status ¶
func (r UpdateSponsoredBrandsCampaignsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSponsoredBrandsCampaignsResp) StatusCode ¶
func (r UpdateSponsoredBrandsCampaignsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSponsoredBrandsCampaignsResponseContent ¶
type UpdateSponsoredBrandsCampaignsResponseContent struct {
Campaigns *BulkCampaignOperationResponse `json:"campaigns,omitempty"`
}
UpdateSponsoredBrandsCampaignsResponseContent defines model for UpdateSponsoredBrandsCampaignsResponseContent.
type VideoCreative ¶
type VideoCreative struct { // ConsentToTranslate If set to true and video asset is not in the marketplace's default language, Amazon will attempt to translate the video to the marketplace's default language. // If Amazon is unable to translate it, the ad will be rejected by moderation. We only support translating videos from English to German, French, Italian, and Spanish. See developer notes for more information. ConsentToTranslate *bool `json:"consentToTranslate,omitempty"` // VideoAssetIds The assetIds of the original videos submitted by the advertiser. // If 'consentToTranslate' is set to true and translation is SUCCESSFUL then 'videoAssetIds' will return translated video assetId whereas `originalVideoAssetIds` will return the original video assetId. In all other cases, `videoAssetIds` will return original video assetId. VideoAssetIds []string `json:"videoAssetIds"` }
VideoCreative defines model for VideoCreative.