dsp

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody added in v0.0.2

func NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody(server string, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*http.Request, error)

NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody calls the generic AssociateLineItemsToCreatives builder with application/vnd.dsplineitemcreativeassociations.v2.1+json body

func NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody added in v0.0.2

func NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody(server string, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*http.Request, error)

NewAssociateLineItemsToCreativesRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody calls the generic AssociateLineItemsToCreatives builder with application/vnd.dsplineitemcreativeassociations.v2+json body

func NewAssociateLineItemsToCreativesRequestWithBody added in v0.0.2

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

NewAssociateLineItemsToCreativesRequestWithBody generates requests for AssociateLineItemsToCreatives with any type of body

func NewCreateFileUploadsPolicyRequest added in v0.0.2

func NewCreateFileUploadsPolicyRequest(server string, params *CreateFileUploadsPolicyParams) (*http.Request, error)

NewCreateFileUploadsPolicyRequest generates requests for CreateFileUploadsPolicy

func NewCreateImageCreativeRequestWithApplicationVndDspcreateimagecreativesV1PlusJSONBody added in v0.0.2

func NewCreateImageCreativeRequestWithApplicationVndDspcreateimagecreativesV1PlusJSONBody(server string, params *CreateImageCreativeParams, body CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody) (*http.Request, error)

NewCreateImageCreativeRequestWithApplicationVndDspcreateimagecreativesV1PlusJSONBody calls the generic CreateImageCreative builder with application/vnd.dspcreateimagecreatives.v1+json body

func NewCreateImageCreativeRequestWithBody added in v0.0.2

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

NewCreateImageCreativeRequestWithBody generates requests for CreateImageCreative with any type of body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v2.1+json body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v2.2+json body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v2+json body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v3.1+json body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v3.2+json body

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

func NewCreateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody(server string, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Request, error)

NewCreateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody calls the generic CreateLineItems builder with application/vnd.dsplineitems.v3+json body

func NewCreateLineItemsRequestWithBody added in v0.0.2

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

NewCreateLineItemsRequestWithBody generates requests for CreateLineItems with any type of body

func NewCreateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func NewCreateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody(server string, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Request, error)

NewCreateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody calls the generic CreateOrders builder with application/vnd.dsporders.v2.1+json body

func NewCreateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody added in v0.0.2

func NewCreateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody(server string, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Request, error)

NewCreateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody calls the generic CreateOrders builder with application/vnd.dsporders.v2.2+json body

func NewCreateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody added in v0.0.2

func NewCreateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody(server string, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Request, error)

NewCreateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody calls the generic CreateOrders builder with application/vnd.dsporders.v2.3+json body

func NewCreateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func NewCreateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody(server string, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Request, error)

NewCreateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody calls the generic CreateOrders builder with application/vnd.dsporders.v2+json body

func NewCreateOrdersRequestWithBody added in v0.0.2

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

NewCreateOrdersRequestWithBody generates requests for CreateOrders with any type of body

func NewCreateRecCreativesRequestWithApplicationVndDspcreatereccreativesV1PlusJSONBody added in v0.0.2

func NewCreateRecCreativesRequestWithApplicationVndDspcreatereccreativesV1PlusJSONBody(server string, params *CreateRecCreativesParams, body CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody) (*http.Request, error)

NewCreateRecCreativesRequestWithApplicationVndDspcreatereccreativesV1PlusJSONBody calls the generic CreateRecCreatives builder with application/vnd.dspcreatereccreatives.v1+json body

func NewCreateRecCreativesRequestWithBody added in v0.0.2

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

NewCreateRecCreativesRequestWithBody generates requests for CreateRecCreatives with any type of body

func NewCreateThirdPartyCreativeRequestWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody added in v0.0.2

func NewCreateThirdPartyCreativeRequestWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody(server string, params *CreateThirdPartyCreativeParams, body CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody) (*http.Request, error)

NewCreateThirdPartyCreativeRequestWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody calls the generic CreateThirdPartyCreative builder with application/vnd.dspcreatethirdpartycreatives.v1+json body

func NewCreateThirdPartyCreativeRequestWithBody added in v0.0.2

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

NewCreateThirdPartyCreativeRequestWithBody generates requests for CreateThirdPartyCreative with any type of body

func NewCreateVideoCreativesRequestWithApplicationVndDspcreatevideocreativesV1PlusJSONBody added in v0.0.2

func NewCreateVideoCreativesRequestWithApplicationVndDspcreatevideocreativesV1PlusJSONBody(server string, params *CreateVideoCreativesParams, body CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody) (*http.Request, error)

NewCreateVideoCreativesRequestWithApplicationVndDspcreatevideocreativesV1PlusJSONBody calls the generic CreateVideoCreatives builder with application/vnd.dspcreatevideocreatives.v1+json body

func NewCreateVideoCreativesRequestWithBody added in v0.0.2

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

NewCreateVideoCreativesRequestWithBody generates requests for CreateVideoCreatives with any type of body

func NewExportProductsByOrderIdRequest added in v0.0.2

func NewExportProductsByOrderIdRequest(server string, orderId string, params *ExportProductsByOrderIdParams) (*http.Request, error)

NewExportProductsByOrderIdRequest generates requests for ExportProductsByOrderId

func NewGetAppsRequest added in v0.0.2

func NewGetAppsRequest(server string, params *GetAppsParams) (*http.Request, error)

NewGetAppsRequest generates requests for GetApps

func NewGetConversionTrackingsRequest added in v0.0.2

func NewGetConversionTrackingsRequest(server string, orderId string, params *GetConversionTrackingsParams) (*http.Request, error)

NewGetConversionTrackingsRequest generates requests for GetConversionTrackings

func NewGetCreativeModerationRequest added in v0.0.2

func NewGetCreativeModerationRequest(server string, params *GetCreativeModerationParams) (*http.Request, error)

NewGetCreativeModerationRequest generates requests for GetCreativeModeration

func NewGetCreativesRequest added in v0.0.2

func NewGetCreativesRequest(server string, params *GetCreativesParams) (*http.Request, error)

NewGetCreativesRequest generates requests for GetCreatives

func NewGetDomainTargetingRequest added in v0.0.2

func NewGetDomainTargetingRequest(server string, params *GetDomainTargetingParams) (*http.Request, error)

NewGetDomainTargetingRequest generates requests for GetDomainTargeting

func NewGetDomainsRequest added in v0.0.2

func NewGetDomainsRequest(server string, params *GetDomainsParams) (*http.Request, error)

NewGetDomainsRequest generates requests for GetDomains

func NewGetDvCustomContextualSegmentsRequest added in v0.0.2

func NewGetDvCustomContextualSegmentsRequest(server string, params *GetDvCustomContextualSegmentsParams) (*http.Request, error)

NewGetDvCustomContextualSegmentsRequest generates requests for GetDvCustomContextualSegments

func NewGetGeoLocationsRequest added in v0.0.2

func NewGetGeoLocationsRequest(server string, params *GetGeoLocationsParams) (*http.Request, error)

NewGetGeoLocationsRequest generates requests for GetGeoLocations

func NewGetGoalConfigurationsRequest added in v0.0.2

func NewGetGoalConfigurationsRequest(server string, params *GetGoalConfigurationsParams) (*http.Request, error)

NewGetGoalConfigurationsRequest generates requests for GetGoalConfigurations

func NewGetIabContentCategoriesRequest added in v0.0.2

func NewGetIabContentCategoriesRequest(server string, params *GetIabContentCategoriesParams) (*http.Request, error)

NewGetIabContentCategoriesRequest generates requests for GetIabContentCategories

func NewGetImageCreativesRequest added in v0.0.2

func NewGetImageCreativesRequest(server string, params *GetImageCreativesParams) (*http.Request, error)

NewGetImageCreativesRequest generates requests for GetImageCreatives

func NewGetLineItemRequest added in v0.0.2

func NewGetLineItemRequest(server string, lineItemId string, params *GetLineItemParams) (*http.Request, error)

NewGetLineItemRequest generates requests for GetLineItem

func NewGetLineItemsRequest added in v0.0.2

func NewGetLineItemsRequest(server string, params *GetLineItemsParams) (*http.Request, error)

NewGetLineItemsRequest generates requests for GetLineItems

func NewGetOdcCustomPredictsRequest added in v0.0.2

func NewGetOdcCustomPredictsRequest(server string, params *GetOdcCustomPredictsParams) (*http.Request, error)

NewGetOdcCustomPredictsRequest generates requests for GetOdcCustomPredicts

func NewGetOdcStandardPredictsRequest added in v0.0.2

func NewGetOdcStandardPredictsRequest(server string, params *GetOdcStandardPredictsParams) (*http.Request, error)

NewGetOdcStandardPredictsRequest generates requests for GetOdcStandardPredicts

func NewGetOrderRequest added in v0.0.2

func NewGetOrderRequest(server string, orderId string, params *GetOrderParams) (*http.Request, error)

NewGetOrderRequest generates requests for GetOrder

func NewGetOrdersRequest added in v0.0.2

func NewGetOrdersRequest(server string, params *GetOrdersParams) (*http.Request, error)

NewGetOrdersRequest generates requests for GetOrders

func NewGetPixelsByOrderIdRequest added in v0.0.2

func NewGetPixelsByOrderIdRequest(server string, orderId string, params *GetPixelsByOrderIdParams) (*http.Request, error)

NewGetPixelsByOrderIdRequest generates requests for GetPixelsByOrderId

func NewGetPixelsRequest added in v0.0.2

func NewGetPixelsRequest(server string, params *GetPixelsParams) (*http.Request, error)

NewGetPixelsRequest generates requests for GetPixels

func NewGetProductCategoriesRequest added in v0.0.2

func NewGetProductCategoriesRequest(server string, params *GetProductCategoriesParams) (*http.Request, error)

NewGetProductCategoriesRequest generates requests for GetProductCategories

func NewGetProductsByOrderIdRequest added in v0.0.2

func NewGetProductsByOrderIdRequest(server string, orderId string, params *GetProductsByOrderIdParams) (*http.Request, error)

NewGetProductsByOrderIdRequest generates requests for GetProductsByOrderId

func NewGetRecCreativesRequest added in v0.0.2

func NewGetRecCreativesRequest(server string, params *GetRecCreativesParams) (*http.Request, error)

NewGetRecCreativesRequest generates requests for GetRecCreatives

func NewGetSupplySourcesRequest added in v0.0.2

func NewGetSupplySourcesRequest(server string, params *GetSupplySourcesParams) (*http.Request, error)

NewGetSupplySourcesRequest generates requests for GetSupplySources

func NewGetThirdPartyCreativesRequest added in v0.0.2

func NewGetThirdPartyCreativesRequest(server string, params *GetThirdPartyCreativesParams) (*http.Request, error)

NewGetThirdPartyCreativesRequest generates requests for GetThirdPartyCreatives

func NewGetVideoCreativesRequest added in v0.0.2

func NewGetVideoCreativesRequest(server string, params *GetVideoCreativesParams) (*http.Request, error)

NewGetVideoCreativesRequest generates requests for GetVideoCreatives

func NewListLineItemCreativeAssociationsRequest added in v0.0.2

func NewListLineItemCreativeAssociationsRequest(server string, params *ListLineItemCreativeAssociationsParams) (*http.Request, error)

NewListLineItemCreativeAssociationsRequest generates requests for ListLineItemCreativeAssociations

func NewPreviewImageCreativeRequestWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody added in v0.0.2

func NewPreviewImageCreativeRequestWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody(server string, params *PreviewImageCreativeParams, body PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody) (*http.Request, error)

NewPreviewImageCreativeRequestWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody calls the generic PreviewImageCreative builder with application/vnd.dsppreviewimagecreatives.v1+json body

func NewPreviewImageCreativeRequestWithBody added in v0.0.2

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

NewPreviewImageCreativeRequestWithBody generates requests for PreviewImageCreative with any type of body

func NewPreviewRecCreativeRequestWithApplicationVndDsppreviewreccreativesV1PlusJSONBody added in v0.0.2

func NewPreviewRecCreativeRequestWithApplicationVndDsppreviewreccreativesV1PlusJSONBody(server string, params *PreviewRecCreativeParams, body PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody) (*http.Request, error)

NewPreviewRecCreativeRequestWithApplicationVndDsppreviewreccreativesV1PlusJSONBody calls the generic PreviewRecCreative builder with application/vnd.dsppreviewreccreatives.v1+json body

func NewPreviewRecCreativeRequestWithBody added in v0.0.2

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

NewPreviewRecCreativeRequestWithBody generates requests for PreviewRecCreative with any type of body

func NewPreviewThirdPartyCreativeRequestWithApplicationVndDsppreviewthirdpartycreativesV1PlusJSONBody added in v0.0.2

func NewPreviewThirdPartyCreativeRequestWithApplicationVndDsppreviewthirdpartycreativesV1PlusJSONBody(server string, params *PreviewThirdPartyCreativeParams, body PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody) (*http.Request, error)

NewPreviewThirdPartyCreativeRequestWithApplicationVndDsppreviewthirdpartycreativesV1PlusJSONBody calls the generic PreviewThirdPartyCreative builder with application/vnd.dsppreviewthirdpartycreatives.v1+json body

func NewPreviewThirdPartyCreativeRequestWithBody added in v0.0.2

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

NewPreviewThirdPartyCreativeRequestWithBody generates requests for PreviewThirdPartyCreative with any type of body

func NewPreviewVideoCreativeRequestWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody added in v0.0.2

func NewPreviewVideoCreativeRequestWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody(server string, params *PreviewVideoCreativeParams, body PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody) (*http.Request, error)

NewPreviewVideoCreativeRequestWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody calls the generic PreviewVideoCreative builder with application/vnd.dsppreviewvideocreatives.v1+json body

func NewPreviewVideoCreativeRequestWithBody added in v0.0.2

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

NewPreviewVideoCreativeRequestWithBody generates requests for PreviewVideoCreative with any type of body

func NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithApplicationVndDspproducttrackingV1PlusJSONBody added in v0.0.2

func NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithApplicationVndDspproducttrackingV1PlusJSONBody(server string, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, body PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody) (*http.Request, error)

NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithApplicationVndDspproducttrackingV1PlusJSONBody calls the generic PutDspOrdersOrderIdConversionTrackingProducts builder with application/vnd.dspproducttracking.v1+json body

func NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithBody added in v0.0.2

func NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithBody(server string, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, contentType string, body io.Reader) (*http.Request, error)

NewPutDspOrdersOrderIdConversionTrackingProductsRequestWithBody generates requests for PutDspOrdersOrderIdConversionTrackingProducts with any type of body

func NewSetLineItemStatusRequest added in v0.0.2

func NewSetLineItemStatusRequest(server string, lineItemId string, params *SetLineItemStatusParams) (*http.Request, error)

NewSetLineItemStatusRequest generates requests for SetLineItemStatus

func NewSetOrderStatusRequest added in v0.0.2

func NewSetOrderStatusRequest(server string, orderId string, params *SetOrderStatusParams) (*http.Request, error)

NewSetOrderStatusRequest generates requests for SetOrderStatus

func NewUpdateConversionTrackingRequestWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func NewUpdateConversionTrackingRequestWithApplicationVndDspordersV21PlusJSONBody(server string, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody) (*http.Request, error)

NewUpdateConversionTrackingRequestWithApplicationVndDspordersV21PlusJSONBody calls the generic UpdateConversionTracking builder with application/vnd.dsporders.v2.1+json body

func NewUpdateConversionTrackingRequestWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func NewUpdateConversionTrackingRequestWithApplicationVndDspordersV2PlusJSONBody(server string, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody) (*http.Request, error)

NewUpdateConversionTrackingRequestWithApplicationVndDspordersV2PlusJSONBody calls the generic UpdateConversionTracking builder with application/vnd.dsporders.v2+json body

func NewUpdateConversionTrackingRequestWithBody added in v0.0.2

func NewUpdateConversionTrackingRequestWithBody(server string, orderId string, params *UpdateConversionTrackingParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateConversionTrackingRequestWithBody generates requests for UpdateConversionTracking with any type of body

func NewUpdateDomainTargetingRequestWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody added in v0.0.2

func NewUpdateDomainTargetingRequestWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody(server string, params *UpdateDomainTargetingParams, body UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateDomainTargetingRequestWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody calls the generic UpdateDomainTargeting builder with application/vnd.dspupdatedomaintargeting.v1+json body

func NewUpdateDomainTargetingRequestWithBody added in v0.0.2

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

NewUpdateDomainTargetingRequestWithBody generates requests for UpdateDomainTargeting with any type of body

func NewUpdateImageCreativeRequestWithApplicationVndDspupdateimagecreativesV1PlusJSONBody added in v0.0.2

func NewUpdateImageCreativeRequestWithApplicationVndDspupdateimagecreativesV1PlusJSONBody(server string, params *UpdateImageCreativeParams, body UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateImageCreativeRequestWithApplicationVndDspupdateimagecreativesV1PlusJSONBody calls the generic UpdateImageCreative builder with application/vnd.dspupdateimagecreatives.v1+json body

func NewUpdateImageCreativeRequestWithBody added in v0.0.2

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

NewUpdateImageCreativeRequestWithBody generates requests for UpdateImageCreative with any type of body

func NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody added in v0.0.2

func NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody(server string, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody calls the generic UpdateLineItemCreativeAssociations builder with application/vnd.dsplineitemcreativeassociations.v2.1+json body

func NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody added in v0.0.2

func NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody(server string, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemCreativeAssociationsRequestWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody calls the generic UpdateLineItemCreativeAssociations builder with application/vnd.dsplineitemcreativeassociations.v2+json body

func NewUpdateLineItemCreativeAssociationsRequestWithBody added in v0.0.2

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

NewUpdateLineItemCreativeAssociationsRequestWithBody generates requests for UpdateLineItemCreativeAssociations with any type of body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV21PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v2.1+json body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV22PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v2.2+json body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV2PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v2+json body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV31PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v3.1+json body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV32PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v3.2+json body

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

func NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody(server string, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Request, error)

NewUpdateLineItemsRequestWithApplicationVndDsplineitemsV3PlusJSONBody calls the generic UpdateLineItems builder with application/vnd.dsplineitems.v3+json body

func NewUpdateLineItemsRequestWithBody added in v0.0.2

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

NewUpdateLineItemsRequestWithBody generates requests for UpdateLineItems with any type of body

func NewUpdateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func NewUpdateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody(server string, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Request, error)

NewUpdateOrdersRequestWithApplicationVndDspordersV21PlusJSONBody calls the generic UpdateOrders builder with application/vnd.dsporders.v2.1+json body

func NewUpdateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody added in v0.0.2

func NewUpdateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody(server string, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Request, error)

NewUpdateOrdersRequestWithApplicationVndDspordersV22PlusJSONBody calls the generic UpdateOrders builder with application/vnd.dsporders.v2.2+json body

func NewUpdateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody added in v0.0.2

func NewUpdateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody(server string, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Request, error)

NewUpdateOrdersRequestWithApplicationVndDspordersV23PlusJSONBody calls the generic UpdateOrders builder with application/vnd.dsporders.v2.3+json body

func NewUpdateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func NewUpdateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody(server string, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Request, error)

NewUpdateOrdersRequestWithApplicationVndDspordersV2PlusJSONBody calls the generic UpdateOrders builder with application/vnd.dsporders.v2+json body

func NewUpdateOrdersRequestWithBody added in v0.0.2

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

NewUpdateOrdersRequestWithBody generates requests for UpdateOrders with any type of body

func NewUpdatePixelsByOrderIdRequestWithApplicationVndDsppixeltrackingV1PlusJSONBody added in v0.0.2

func NewUpdatePixelsByOrderIdRequestWithApplicationVndDsppixeltrackingV1PlusJSONBody(server string, orderId string, params *UpdatePixelsByOrderIdParams, body UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody) (*http.Request, error)

NewUpdatePixelsByOrderIdRequestWithApplicationVndDsppixeltrackingV1PlusJSONBody calls the generic UpdatePixelsByOrderId builder with application/vnd.dsppixeltracking.v1+json body

func NewUpdatePixelsByOrderIdRequestWithBody added in v0.0.2

func NewUpdatePixelsByOrderIdRequestWithBody(server string, orderId string, params *UpdatePixelsByOrderIdParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePixelsByOrderIdRequestWithBody generates requests for UpdatePixelsByOrderId with any type of body

func NewUpdateRecCreativesRequestWithApplicationVndDspupdatereccreativesV1PlusJSONBody added in v0.0.2

func NewUpdateRecCreativesRequestWithApplicationVndDspupdatereccreativesV1PlusJSONBody(server string, params *UpdateRecCreativesParams, body UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateRecCreativesRequestWithApplicationVndDspupdatereccreativesV1PlusJSONBody calls the generic UpdateRecCreatives builder with application/vnd.dspupdatereccreatives.v1+json body

func NewUpdateRecCreativesRequestWithBody added in v0.0.2

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

NewUpdateRecCreativesRequestWithBody generates requests for UpdateRecCreatives with any type of body

func NewUpdateThirdPartyCreativeRequestWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody added in v0.0.2

func NewUpdateThirdPartyCreativeRequestWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody(server string, params *UpdateThirdPartyCreativeParams, body UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateThirdPartyCreativeRequestWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody calls the generic UpdateThirdPartyCreative builder with application/vnd.dspupdatethirdpartycreatives.v1+json body

func NewUpdateThirdPartyCreativeRequestWithBody added in v0.0.2

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

NewUpdateThirdPartyCreativeRequestWithBody generates requests for UpdateThirdPartyCreative with any type of body

func NewUpdateVideoCreativesRequestWithApplicationVndDspupdatevideocreativesV1PlusJSONBody added in v0.0.2

func NewUpdateVideoCreativesRequestWithApplicationVndDspupdatevideocreativesV1PlusJSONBody(server string, params *UpdateVideoCreativesParams, body UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody) (*http.Request, error)

NewUpdateVideoCreativesRequestWithApplicationVndDspupdatevideocreativesV1PlusJSONBody calls the generic UpdateVideoCreatives builder with application/vnd.dspupdatevideocreatives.v1+json body

func NewUpdateVideoCreativesRequestWithBody added in v0.0.2

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

NewUpdateVideoCreativesRequestWithBody generates requests for UpdateVideoCreatives with any type of body

Types

type AapMobileAppTargeting added in v0.0.2

type AapMobileAppTargeting struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceOrientationTargeting The mobile device orientation targeting type.
	DeviceOrientationTargeting *AapMobileAppTargetingDeviceOrientationTargeting `json:"deviceOrientationTargeting,omitempty"`

	// DeviceTypeTargeting The targeted mobile application device type. Note that this is applicable only for the `AAP_MOBILE APP` type of line item. It is required input for `AAP_MOBILE APP` line item type.
	DeviceTypeTargeting *[]AapMobileAppTargetingDeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`
	MobileAppTargeting   *MobileAppTargeting   `json:"mobileAppTargeting,omitempty"`
	SegmentTargeting     *SegmentTargeting     `json:"segmentTargeting,omitempty"`
	SupplyTargeting      *SupplyTargeting      `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *ThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.
	UserLocationTargeting *UserLocationTargeting `json:"userLocationTargeting,omitempty"`
}

AapMobileAppTargeting defines model for AapMobileAppTargeting.

type AapMobileAppTargetingDeviceOrientationTargeting added in v0.0.2

type AapMobileAppTargetingDeviceOrientationTargeting string

AapMobileAppTargetingDeviceOrientationTargeting The mobile device orientation targeting type.

const (
	AapMobileAppTargetingDeviceOrientationTargetingANY       AapMobileAppTargetingDeviceOrientationTargeting = "ANY"
	AapMobileAppTargetingDeviceOrientationTargetingLANDSCAPE AapMobileAppTargetingDeviceOrientationTargeting = "LANDSCAPE"
	AapMobileAppTargetingDeviceOrientationTargetingPORTRAIT  AapMobileAppTargetingDeviceOrientationTargeting = "PORTRAIT"
)

Defines values for AapMobileAppTargetingDeviceOrientationTargeting.

type AapMobileAppTargetingDeviceTypeTargeting added in v0.0.2

type AapMobileAppTargetingDeviceTypeTargeting string

AapMobileAppTargetingDeviceTypeTargeting defines model for AapMobileAppTargeting.DeviceTypeTargeting.

const (
	AapMobileAppTargetingDeviceTypeTargetingANDROID      AapMobileAppTargetingDeviceTypeTargeting = "ANDROID"
	AapMobileAppTargetingDeviceTypeTargetingIPAD         AapMobileAppTargetingDeviceTypeTargeting = "IPAD"
	AapMobileAppTargetingDeviceTypeTargetingIPHONE       AapMobileAppTargetingDeviceTypeTargeting = "IPHONE"
	AapMobileAppTargetingDeviceTypeTargetingKINDLEFIRE   AapMobileAppTargetingDeviceTypeTargeting = "KINDLE_FIRE"
	AapMobileAppTargetingDeviceTypeTargetingKINDLEFIREHD AapMobileAppTargetingDeviceTypeTargeting = "KINDLE_FIRE_HD"
)

Defines values for AapMobileAppTargetingDeviceTypeTargeting.

type AapMobileAppTargetingV3 added in v0.0.2

type AapMobileAppTargetingV3 struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceOrientationTargeting The mobile device orientation targeting type.
	DeviceOrientationTargeting *AapMobileAppTargetingV3DeviceOrientationTargeting `json:"deviceOrientationTargeting,omitempty"`

	// DeviceTypeTargeting The targeted mobile application device type. Note that this is applicable only for the `AAP_MOBILE APP` type of line item. It is required input for `AAP_MOBILE APP` line item type.
	DeviceTypeTargeting *[]AapMobileAppTargetingV3DeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`
	MobileAppTargeting   *MobileAppTargeting   `json:"mobileAppTargeting,omitempty"`
	SegmentTargeting     *SegmentTargeting     `json:"segmentTargeting,omitempty"`
	SupplyTargeting      *SupplyTargeting      `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *MobileAppThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, US advertisers can choose from `US`, `EVERYWHERE`, `NON-US`; Canada advertisers can choose from `CA`, `EVERYWHERE`; Mexico advertisers can choose from `MX`, `EVERYWHERE`; Brazil advertisers can choose from `BR`, `EVERYWHERE`.
	UserLocationTargeting *UserLocationTargetingV3 `json:"userLocationTargeting,omitempty"`
}

AapMobileAppTargetingV3 defines model for AapMobileAppTargetingV3.

type AapMobileAppTargetingV31 added in v0.0.2

type AapMobileAppTargetingV31 = AapMobileAppTargetingV3

AapMobileAppTargetingV31 defines model for AapMobileAppTargetingV3_1.

type AapMobileAppTargetingV32 added in v0.0.2

type AapMobileAppTargetingV32 = AapMobileAppTargetingV31

AapMobileAppTargetingV32 defines model for AapMobileAppTargetingV3_2.

type AapMobileAppTargetingV3DeviceOrientationTargeting added in v0.0.2

type AapMobileAppTargetingV3DeviceOrientationTargeting string

AapMobileAppTargetingV3DeviceOrientationTargeting The mobile device orientation targeting type.

const (
	AapMobileAppTargetingV3DeviceOrientationTargetingANY       AapMobileAppTargetingV3DeviceOrientationTargeting = "ANY"
	AapMobileAppTargetingV3DeviceOrientationTargetingLANDSCAPE AapMobileAppTargetingV3DeviceOrientationTargeting = "LANDSCAPE"
	AapMobileAppTargetingV3DeviceOrientationTargetingPORTRAIT  AapMobileAppTargetingV3DeviceOrientationTargeting = "PORTRAIT"
)

Defines values for AapMobileAppTargetingV3DeviceOrientationTargeting.

type AapMobileAppTargetingV3DeviceTypeTargeting added in v0.0.2

type AapMobileAppTargetingV3DeviceTypeTargeting string

AapMobileAppTargetingV3DeviceTypeTargeting defines model for AapMobileAppTargetingV3.DeviceTypeTargeting.

const (
	AapMobileAppTargetingV3DeviceTypeTargetingANDROID      AapMobileAppTargetingV3DeviceTypeTargeting = "ANDROID"
	AapMobileAppTargetingV3DeviceTypeTargetingIPAD         AapMobileAppTargetingV3DeviceTypeTargeting = "IPAD"
	AapMobileAppTargetingV3DeviceTypeTargetingIPHONE       AapMobileAppTargetingV3DeviceTypeTargeting = "IPHONE"
	AapMobileAppTargetingV3DeviceTypeTargetingKINDLEFIRE   AapMobileAppTargetingV3DeviceTypeTargeting = "KINDLE_FIRE"
	AapMobileAppTargetingV3DeviceTypeTargetingKINDLEFIREHD AapMobileAppTargetingV3DeviceTypeTargeting = "KINDLE_FIRE_HD"
)

Defines values for AapMobileAppTargetingV3DeviceTypeTargeting.

type AgencyFee added in v0.0.2

type AgencyFee struct {
	// FeePercentage Fee expressed as a percentage of the total budget.
	FeePercentage *float64 `json:"feePercentage,omitempty"`
}

AgencyFee The service fee associated with an agency.

type AmazonConsoleFee added in v0.0.2

type AmazonConsoleFee struct {
	// FeePercentage The service fee expressed as a percentage.
	FeePercentage float64 `json:"feePercentage"`
}

AmazonConsoleFee A service fee for using the Amazon Ad Platform. Fees are applied as a percentage of supply costs.

type AmazonMobileDisplayTargeting added in v0.0.2

type AmazonMobileDisplayTargeting struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContextualTargeting Set to `true` to enable contextual targeting. Contextual targeting targets the detail page of products that are frequently viewed or purchased with the products in your ad. Note that this feature applies to Dynamic eCommerce ads only.
	ContextualTargeting *bool `json:"contextualTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// MobileOsTargeting The mobile operating system targeting type.
	MobileOsTargeting *MobileOsTargeting `json:"mobileOsTargeting,omitempty"`
	SegmentTargeting  *SegmentTargeting  `json:"segmentTargeting,omitempty"`
	SupplyTargeting   *SupplyTargeting   `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *ThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.
	UserLocationTargeting *UserLocationTargeting `json:"userLocationTargeting,omitempty"`
}

AmazonMobileDisplayTargeting defines model for AmazonMobileDisplayTargeting.

type AmazonMobileDisplayTargetingV3 added in v0.0.2

type AmazonMobileDisplayTargetingV3 struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContextualTargeting Set to `true` to enable contextual targeting. Contextual targeting targets the detail page of products that are frequently viewed or purchased with the products in your ad. Note that this feature applies to Dynamic eCommerce ads only.
	ContextualTargeting *bool `json:"contextualTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// MobileOsTargeting The mobile operating system targeting type.
	MobileOsTargeting *MobileOsTargeting `json:"mobileOsTargeting,omitempty"`
	SegmentTargeting  *SegmentTargeting  `json:"segmentTargeting,omitempty"`
	SupplyTargeting   *SupplyTargeting   `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *MobileDisplayThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, US advertisers can choose from `US`, `EVERYWHERE`, `NON-US`; Canada advertisers can choose from `CA`, `EVERYWHERE`; Mexico advertisers can choose from `MX`, `EVERYWHERE`; Brazil advertisers can choose from `BR`, `EVERYWHERE`.
	UserLocationTargeting *UserLocationTargetingV3 `json:"userLocationTargeting,omitempty"`
}

AmazonMobileDisplayTargetingV3 defines model for AmazonMobileDisplayTargetingV3.

type AmazonMobileDisplayTargetingV31 added in v0.0.2

type AmazonMobileDisplayTargetingV31 = AmazonMobileDisplayTargetingV3

AmazonMobileDisplayTargetingV31 defines model for AmazonMobileDisplayTargetingV3_1.

type AmazonViewabilityTargeting added in v0.0.2

type AmazonViewabilityTargeting struct {
	// IncludeUnmeasurableImpressions Set to `true` to include impressions where impressions can't be measured.
	IncludeUnmeasurableImpressions bool `json:"includeUnmeasurableImpressions"`

	// ViewabilityTier The type of viewability tier.
	ViewabilityTier ViewabilityTier `json:"viewabilityTier"`
}

AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.

type App added in v0.0.2

type App struct {
	// Id The app identifier.
	Id *string `json:"id,omitempty"`

	// Name The app name.
	Name *string `json:"name,omitempty"`
}

App defines model for App.

type AppliedFees added in v0.0.2

type AppliedFees struct {
	// AmazonDspConsoleFee A service fee for using the Amazon Ad Platform. Fees are applied as a percentage of supply costs.
	AmazonDspConsoleFee *AmazonConsoleFee `json:"amazonDspConsoleFee,omitempty"`

	// AudienceFees The list of audience fees associated with the line item.
	AudienceFees *[]AudienceFee `json:"audienceFees,omitempty"`

	// ThirdPartyFees The list of third party fees associated with the line item.
	ThirdPartyFees *[]ThirdPartyFee `json:"thirdPartyFees,omitempty"`
}

AppliedFees defines model for AppliedFees.

type Apps added in v0.0.2

type Apps struct {
	Apps      *[]App  `json:"apps,omitempty"`
	NextToken *string `json:"nextToken,omitempty"`
}

Apps defines model for Apps.

type AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody added in v0.0.2

type AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody = LineItemCreativeAssociationsRequest

AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody defines body for AssociateLineItemsToCreatives for application/vnd.dsplineitemcreativeassociations.v2.1+json ContentType.

type AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody added in v0.0.2

type AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody = LineItemCreativeAssociationsRequest

AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody defines body for AssociateLineItemsToCreatives for application/vnd.dsplineitemcreativeassociations.v2+json ContentType.

type AssociateLineItemsToCreativesParams added in v0.0.2

type AssociateLineItemsToCreativesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

AssociateLineItemsToCreativesParams defines parameters for AssociateLineItemsToCreatives.

type AssociateLineItemsToCreativesResp added in v0.0.2

type AssociateLineItemsToCreativesResp struct {
	Body                                                    []byte
	HTTPResponse                                            *http.Response
	ApplicationvndDsplineitemcreativeassociationsV2JSON207  *LineItemCreativeAssociationsResponse
	ApplicationvndDsplineitemcreativeassociationsV21JSON207 *LineItemCreativeAssociationsResponse
	ApplicationvndDsplineitemcreativeassociationsV2JSON400  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON400 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON401  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON401 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON403  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON403 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON404  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON404 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON415  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON415 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON429  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON429 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON500  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON500 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON502  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON502 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON503  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON503 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON504  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON504 *Error
}

func ParseAssociateLineItemsToCreativesResp added in v0.0.2

func ParseAssociateLineItemsToCreativesResp(rsp *http.Response) (*AssociateLineItemsToCreativesResp, error)

ParseAssociateLineItemsToCreativesResp parses an HTTP response from a AssociateLineItemsToCreativesWithResponse call

func (AssociateLineItemsToCreativesResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (AssociateLineItemsToCreativesResp) StatusCode added in v0.0.2

func (r AssociateLineItemsToCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AudienceFee added in v0.0.2

type AudienceFee struct {
	// Amount The amount of the audience fee.
	Amount float64 `json:"amount"`

	// FeeName The category of the audience fee.
	FeeName AudienceFeeFeeName `json:"feeName"`
}

AudienceFee The audience fee applied to Amazon (in-market and lifestyle) third-party (automotive).

type AudienceFeeFeeName added in v0.0.2

type AudienceFeeFeeName string

AudienceFeeFeeName The category of the audience fee.

const (
	AUTOMOTIVE        AudienceFeeFeeName = "AUTOMOTIVE"
	INMARKETLIFESTYLE AudienceFeeFeeName = "IN_MARKET_LIFESTYLE"
)

Defines values for AudienceFeeFeeName.

type AutoOptimization added in v0.0.2

type AutoOptimization string

AutoOptimization defines model for AutoOptimization.

const (
	BID    AutoOptimization = "BID"
	BUDGET AutoOptimization = "BUDGET"
)

Defines values for AutoOptimization.

type AutoOptimizations added in v0.0.2

type AutoOptimizations = []string

AutoOptimizations The list of optimizations supported.

type BadGateway added in v0.0.2

type BadGateway = Error

BadGateway The error response object.

type BadRequest added in v0.0.2

type BadRequest = Error

BadRequest The error response object.

type Bidding added in v0.0.2

type Bidding struct {
	// BaseSupplyBid The base bid per thousand impressions for ad inventory. Expressed in dollars.
	BaseSupplyBid float64 `json:"baseSupplyBid"`

	// MaxSupplyBid The maximum cost-per-thousand impressions bid for media supply. Expressed in dollars.
	MaxSupplyBid *float64 `json:"maxSupplyBid,omitempty"`
}

Bidding The bid values associated with a line item.

type BiddingStrategy added in v0.0.2

type BiddingStrategy string

BiddingStrategy It specifies how Amazon Advertising determines bids on your behalf for each opportunity to serve an impression. It is immutable once the order has started delivering.

const (
	MAXIMIZEPERFORMANCE BiddingStrategy = "MAXIMIZE_PERFORMANCE"
	SPENDBUDGETINFULL   BiddingStrategy = "SPEND_BUDGET_IN_FULL"
)

Defines values for BiddingStrategy.

type BrandSuitabilityRiskLevel added in v0.0.2

type BrandSuitabilityRiskLevel string

BrandSuitabilityRiskLevel The Double Verify brand suitability risk level.

const (
	BrandSuitabilityRiskLevelALLOWALL      BrandSuitabilityRiskLevel = "ALLOW_ALL"
	BrandSuitabilityRiskLevelHIGH          BrandSuitabilityRiskLevel = "HIGH"
	BrandSuitabilityRiskLevelHIGHMEDIUM    BrandSuitabilityRiskLevel = "HIGH_MEDIUM"
	BrandSuitabilityRiskLevelHIGHMEDIUMLOW BrandSuitabilityRiskLevel = "HIGH_MEDIUM_LOW"
)

Defines values for BrandSuitabilityRiskLevel.

type BudgetCap added in v0.0.2

type BudgetCap struct {
	// Amount The spending limit amount.
	Amount float64 `json:"amount"`

	// RecurrenceTimePeriod The type of recurrence for the spending limit.
	RecurrenceTimePeriod BudgetCapRecurrenceTimePeriod `json:"recurrenceTimePeriod"`
}

BudgetCap Adding a budget cap can result in under-delivery.

type BudgetCapRecurrenceTimePeriod added in v0.0.2

type BudgetCapRecurrenceTimePeriod string

BudgetCapRecurrenceTimePeriod The type of recurrence for the spending limit.

const (
	BudgetCapRecurrenceTimePeriodDAILY    BudgetCapRecurrenceTimePeriod = "DAILY"
	BudgetCapRecurrenceTimePeriodMONTHLY  BudgetCapRecurrenceTimePeriod = "MONTHLY"
	BudgetCapRecurrenceTimePeriodUNCAPPED BudgetCapRecurrenceTimePeriod = "UNCAPPED"
)

Defines values for BudgetCapRecurrenceTimePeriod.

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) AssociateLineItemsToCreativesWithBody added in v0.0.2

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

func (*Client) CreateFileUploadsPolicy added in v0.0.2

func (c *Client) CreateFileUploadsPolicy(ctx context.Context, params *CreateFileUploadsPolicyParams) (*http.Response, error)

func (*Client) CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBody added in v0.0.2

func (c *Client) CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBody(ctx context.Context, params *CreateImageCreativeParams, body CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateImageCreativeWithBody added in v0.0.2

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

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

func (c *Client) CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateLineItemsWithBody added in v0.0.2

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

func (*Client) CreateOrdersWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func (c *Client) CreateOrdersWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateOrdersWithApplicationVndDspordersV22PlusJSONBody added in v0.0.2

func (c *Client) CreateOrdersWithApplicationVndDspordersV22PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateOrdersWithApplicationVndDspordersV23PlusJSONBody added in v0.0.2

func (c *Client) CreateOrdersWithApplicationVndDspordersV23PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateOrdersWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func (c *Client) CreateOrdersWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateOrdersWithBody added in v0.0.2

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

func (*Client) CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBody added in v0.0.2

func (c *Client) CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBody(ctx context.Context, params *CreateRecCreativesParams, body CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateRecCreativesWithBody added in v0.0.2

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

func (*Client) CreateThirdPartyCreativeWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody added in v0.0.2

func (c *Client) CreateThirdPartyCreativeWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody(ctx context.Context, params *CreateThirdPartyCreativeParams, body CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateThirdPartyCreativeWithBody added in v0.0.2

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

func (*Client) CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBody added in v0.0.2

func (c *Client) CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBody(ctx context.Context, params *CreateVideoCreativesParams, body CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) CreateVideoCreativesWithBody added in v0.0.2

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

func (*Client) ExportProductsByOrderId added in v0.0.2

func (c *Client) ExportProductsByOrderId(ctx context.Context, orderId string, params *ExportProductsByOrderIdParams) (*http.Response, error)

func (*Client) GetApps added in v0.0.2

func (c *Client) GetApps(ctx context.Context, params *GetAppsParams) (*http.Response, error)

func (*Client) GetConversionTrackings added in v0.0.2

func (c *Client) GetConversionTrackings(ctx context.Context, orderId string, params *GetConversionTrackingsParams) (*http.Response, error)

func (*Client) GetCreativeModeration added in v0.0.2

func (c *Client) GetCreativeModeration(ctx context.Context, params *GetCreativeModerationParams) (*http.Response, error)

func (*Client) GetCreatives added in v0.0.2

func (c *Client) GetCreatives(ctx context.Context, params *GetCreativesParams) (*http.Response, error)

func (*Client) GetDomainTargeting added in v0.0.2

func (c *Client) GetDomainTargeting(ctx context.Context, params *GetDomainTargetingParams) (*http.Response, error)

func (*Client) GetDomains added in v0.0.2

func (c *Client) GetDomains(ctx context.Context, params *GetDomainsParams) (*http.Response, error)

func (*Client) GetDvCustomContextualSegments added in v0.0.2

func (c *Client) GetDvCustomContextualSegments(ctx context.Context, params *GetDvCustomContextualSegmentsParams) (*http.Response, error)

func (*Client) GetGeoLocations added in v0.0.2

func (c *Client) GetGeoLocations(ctx context.Context, params *GetGeoLocationsParams) (*http.Response, error)

func (*Client) GetGoalConfigurations added in v0.0.2

func (c *Client) GetGoalConfigurations(ctx context.Context, params *GetGoalConfigurationsParams) (*http.Response, error)

func (*Client) GetIabContentCategories added in v0.0.2

func (c *Client) GetIabContentCategories(ctx context.Context, params *GetIabContentCategoriesParams) (*http.Response, error)

func (*Client) GetImageCreatives added in v0.0.2

func (c *Client) GetImageCreatives(ctx context.Context, params *GetImageCreativesParams) (*http.Response, error)

func (*Client) GetLineItem added in v0.0.2

func (c *Client) GetLineItem(ctx context.Context, lineItemId string, params *GetLineItemParams) (*http.Response, error)

func (*Client) GetLineItems added in v0.0.2

func (c *Client) GetLineItems(ctx context.Context, params *GetLineItemsParams) (*http.Response, error)

func (*Client) GetOdcCustomPredicts added in v0.0.2

func (c *Client) GetOdcCustomPredicts(ctx context.Context, params *GetOdcCustomPredictsParams) (*http.Response, error)

func (*Client) GetOdcStandardPredicts added in v0.0.2

func (c *Client) GetOdcStandardPredicts(ctx context.Context, params *GetOdcStandardPredictsParams) (*http.Response, error)

func (*Client) GetOrder added in v0.0.2

func (c *Client) GetOrder(ctx context.Context, orderId string, params *GetOrderParams) (*http.Response, error)

func (*Client) GetOrders added in v0.0.2

func (c *Client) GetOrders(ctx context.Context, params *GetOrdersParams) (*http.Response, error)

func (*Client) GetPixels added in v0.0.2

func (c *Client) GetPixels(ctx context.Context, params *GetPixelsParams) (*http.Response, error)

func (*Client) GetPixelsByOrderId added in v0.0.2

func (c *Client) GetPixelsByOrderId(ctx context.Context, orderId string, params *GetPixelsByOrderIdParams) (*http.Response, error)

func (*Client) GetProductCategories added in v0.0.2

func (c *Client) GetProductCategories(ctx context.Context, params *GetProductCategoriesParams) (*http.Response, error)

func (*Client) GetProductsByOrderId added in v0.0.2

func (c *Client) GetProductsByOrderId(ctx context.Context, orderId string, params *GetProductsByOrderIdParams) (*http.Response, error)

func (*Client) GetRecCreatives added in v0.0.2

func (c *Client) GetRecCreatives(ctx context.Context, params *GetRecCreativesParams) (*http.Response, error)

func (*Client) GetSupplySources added in v0.0.2

func (c *Client) GetSupplySources(ctx context.Context, params *GetSupplySourcesParams) (*http.Response, error)

func (*Client) GetThirdPartyCreatives added in v0.0.2

func (c *Client) GetThirdPartyCreatives(ctx context.Context, params *GetThirdPartyCreativesParams) (*http.Response, error)

func (*Client) GetVideoCreatives added in v0.0.2

func (c *Client) GetVideoCreatives(ctx context.Context, params *GetVideoCreativesParams) (*http.Response, error)

func (*Client) ListLineItemCreativeAssociations added in v0.0.2

func (c *Client) ListLineItemCreativeAssociations(ctx context.Context, params *ListLineItemCreativeAssociationsParams) (*http.Response, error)

func (*Client) PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody added in v0.0.2

func (c *Client) PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody(ctx context.Context, params *PreviewImageCreativeParams, body PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) PreviewImageCreativeWithBody added in v0.0.2

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

func (*Client) PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBody added in v0.0.2

func (c *Client) PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBody(ctx context.Context, params *PreviewRecCreativeParams, body PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) PreviewRecCreativeWithBody added in v0.0.2

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

func (*Client) PreviewThirdPartyCreativeWithBody added in v0.0.2

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

func (*Client) PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody added in v0.0.2

func (c *Client) PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody(ctx context.Context, params *PreviewVideoCreativeParams, body PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) PreviewVideoCreativeWithBody added in v0.0.2

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

func (*Client) PutDspOrdersOrderIdConversionTrackingProductsWithBody added in v0.0.2

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

func (*Client) SetLineItemStatus added in v0.0.2

func (c *Client) SetLineItemStatus(ctx context.Context, lineItemId string, params *SetLineItemStatusParams) (*http.Response, error)

func (*Client) SetOrderStatus added in v0.0.2

func (c *Client) SetOrderStatus(ctx context.Context, orderId string, params *SetOrderStatusParams) (*http.Response, error)

func (*Client) UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func (c *Client) UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func (c *Client) UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateConversionTrackingWithBody added in v0.0.2

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

func (*Client) UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody added in v0.0.2

func (c *Client) UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody(ctx context.Context, params *UpdateDomainTargetingParams, body UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateDomainTargetingWithBody added in v0.0.2

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

func (*Client) UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBody added in v0.0.2

func (c *Client) UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBody(ctx context.Context, params *UpdateImageCreativeParams, body UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateImageCreativeWithBody added in v0.0.2

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

func (*Client) UpdateLineItemCreativeAssociationsWithBody added in v0.0.2

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

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

func (c *Client) UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateLineItemsWithBody added in v0.0.2

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

func (*Client) UpdateOrdersWithApplicationVndDspordersV21PlusJSONBody added in v0.0.2

func (c *Client) UpdateOrdersWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateOrdersWithApplicationVndDspordersV22PlusJSONBody added in v0.0.2

func (c *Client) UpdateOrdersWithApplicationVndDspordersV22PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateOrdersWithApplicationVndDspordersV23PlusJSONBody added in v0.0.2

func (c *Client) UpdateOrdersWithApplicationVndDspordersV23PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateOrdersWithApplicationVndDspordersV2PlusJSONBody added in v0.0.2

func (c *Client) UpdateOrdersWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateOrdersWithBody added in v0.0.2

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

func (*Client) UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBody added in v0.0.2

func (c *Client) UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBody(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, body UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdatePixelsByOrderIdWithBody added in v0.0.2

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

func (*Client) UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBody added in v0.0.2

func (c *Client) UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBody(ctx context.Context, params *UpdateRecCreativesParams, body UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateRecCreativesWithBody added in v0.0.2

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

func (*Client) UpdateThirdPartyCreativeWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody added in v0.0.2

func (c *Client) UpdateThirdPartyCreativeWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody(ctx context.Context, params *UpdateThirdPartyCreativeParams, body UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateThirdPartyCreativeWithBody added in v0.0.2

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

func (*Client) UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBody added in v0.0.2

func (c *Client) UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBody(ctx context.Context, params *UpdateVideoCreativesParams, body UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody) (*http.Response, error)

func (*Client) UpdateVideoCreativesWithBody added in v0.0.2

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

type ClientHeader added in v0.0.2

type ClientHeader = string

ClientHeader defines model for clientHeader.

type ClientInterface

type ClientInterface interface {
	// GetApps request
	GetApps(ctx context.Context, params *GetAppsParams) (*http.Response, error)

	// GetCreatives request
	GetCreatives(ctx context.Context, params *GetCreativesParams) (*http.Response, error)

	// GetImageCreatives request
	GetImageCreatives(ctx context.Context, params *GetImageCreativesParams) (*http.Response, error)

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

	CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBody(ctx context.Context, params *CreateImageCreativeParams, body CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBody(ctx context.Context, params *UpdateImageCreativeParams, body UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBody(ctx context.Context, params *PreviewImageCreativeParams, body PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody) (*http.Response, error)

	// GetRecCreatives request
	GetRecCreatives(ctx context.Context, params *GetRecCreativesParams) (*http.Response, error)

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

	CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBody(ctx context.Context, params *CreateRecCreativesParams, body CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBody(ctx context.Context, params *UpdateRecCreativesParams, body UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBody(ctx context.Context, params *PreviewRecCreativeParams, body PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody) (*http.Response, error)

	// GetThirdPartyCreatives request
	GetThirdPartyCreatives(ctx context.Context, params *GetThirdPartyCreativesParams) (*http.Response, error)

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

	CreateThirdPartyCreativeWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBody(ctx context.Context, params *CreateThirdPartyCreativeParams, body CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	UpdateThirdPartyCreativeWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBody(ctx context.Context, params *UpdateThirdPartyCreativeParams, body UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	PreviewThirdPartyCreativeWithApplicationVndDsppreviewthirdpartycreativesV1PlusJSONBody(ctx context.Context, params *PreviewThirdPartyCreativeParams, body PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody) (*http.Response, error)

	// GetVideoCreatives request
	GetVideoCreatives(ctx context.Context, params *GetVideoCreativesParams) (*http.Response, error)

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

	CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBody(ctx context.Context, params *CreateVideoCreativesParams, body CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBody(ctx context.Context, params *UpdateVideoCreativesParams, body UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody) (*http.Response, error)

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

	PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBody(ctx context.Context, params *PreviewVideoCreativeParams, body PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody) (*http.Response, error)

	// GetDomains request
	GetDomains(ctx context.Context, params *GetDomainsParams) (*http.Response, error)

	// CreateFileUploadsPolicy request
	CreateFileUploadsPolicy(ctx context.Context, params *CreateFileUploadsPolicyParams) (*http.Response, error)

	// GetGeoLocations request
	GetGeoLocations(ctx context.Context, params *GetGeoLocationsParams) (*http.Response, error)

	// GetGoalConfigurations request
	GetGoalConfigurations(ctx context.Context, params *GetGoalConfigurationsParams) (*http.Response, error)

	// GetIabContentCategories request
	GetIabContentCategories(ctx context.Context, params *GetIabContentCategoriesParams) (*http.Response, error)

	// ListLineItemCreativeAssociations request
	ListLineItemCreativeAssociations(ctx context.Context, params *ListLineItemCreativeAssociationsParams) (*http.Response, error)

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

	AssociateLineItemsToCreativesWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody(ctx context.Context, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*http.Response, error)

	AssociateLineItemsToCreativesWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody(ctx context.Context, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*http.Response, error)

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

	UpdateLineItemCreativeAssociationsWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemCreativeAssociationsWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*http.Response, error)

	// GetLineItems request
	GetLineItems(ctx context.Context, params *GetLineItemsParams) (*http.Response, error)

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

	CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Response, error)

	CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Response, error)

	CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Response, error)

	CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Response, error)

	CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Response, error)

	CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Response, error)

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

	UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*http.Response, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBody(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*http.Response, error)

	// GetLineItem request
	GetLineItem(ctx context.Context, lineItemId string, params *GetLineItemParams) (*http.Response, error)

	// SetLineItemStatus request
	SetLineItemStatus(ctx context.Context, lineItemId string, params *SetLineItemStatusParams) (*http.Response, error)

	// GetCreativeModeration request
	GetCreativeModeration(ctx context.Context, params *GetCreativeModerationParams) (*http.Response, error)

	// GetOrders request
	GetOrders(ctx context.Context, params *GetOrdersParams) (*http.Response, error)

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

	CreateOrdersWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

	CreateOrdersWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

	CreateOrdersWithApplicationVndDspordersV22PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Response, error)

	CreateOrdersWithApplicationVndDspordersV23PlusJSONBody(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Response, error)

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

	UpdateOrdersWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

	UpdateOrdersWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

	UpdateOrdersWithApplicationVndDspordersV22PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*http.Response, error)

	UpdateOrdersWithApplicationVndDspordersV23PlusJSONBody(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*http.Response, error)

	// GetOrder request
	GetOrder(ctx context.Context, orderId string, params *GetOrderParams) (*http.Response, error)

	// GetConversionTrackings request
	GetConversionTrackings(ctx context.Context, orderId string, params *GetConversionTrackingsParams) (*http.Response, error)

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

	UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBody(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody) (*http.Response, error)

	UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBody(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody) (*http.Response, error)

	// GetPixelsByOrderId request
	GetPixelsByOrderId(ctx context.Context, orderId string, params *GetPixelsByOrderIdParams) (*http.Response, error)

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

	UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBody(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, body UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody) (*http.Response, error)

	// GetProductsByOrderId request
	GetProductsByOrderId(ctx context.Context, orderId string, params *GetProductsByOrderIdParams) (*http.Response, error)

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

	PutDspOrdersOrderIdConversionTrackingProductsWithApplicationVndDspproducttrackingV1PlusJSONBody(ctx context.Context, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, body PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody) (*http.Response, error)

	// ExportProductsByOrderId request
	ExportProductsByOrderId(ctx context.Context, orderId string, params *ExportProductsByOrderIdParams) (*http.Response, error)

	// SetOrderStatus request
	SetOrderStatus(ctx context.Context, orderId string, params *SetOrderStatusParams) (*http.Response, error)

	// GetPixels request
	GetPixels(ctx context.Context, params *GetPixelsParams) (*http.Response, error)

	// GetDvCustomContextualSegments request
	GetDvCustomContextualSegments(ctx context.Context, params *GetDvCustomContextualSegmentsParams) (*http.Response, error)

	// GetOdcCustomPredicts request
	GetOdcCustomPredicts(ctx context.Context, params *GetOdcCustomPredictsParams) (*http.Response, error)

	// GetOdcStandardPredicts request
	GetOdcStandardPredicts(ctx context.Context, params *GetOdcStandardPredictsParams) (*http.Response, error)

	// GetProductCategories request
	GetProductCategories(ctx context.Context, params *GetProductCategoriesParams) (*http.Response, error)

	// GetSupplySources request
	GetSupplySources(ctx context.Context, params *GetSupplySourcesParams) (*http.Response, error)

	// GetDomainTargeting request
	GetDomainTargeting(ctx context.Context, params *GetDomainTargetingParams) (*http.Response, error)

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

	UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBody(ctx context.Context, params *UpdateDomainTargetingParams, body UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

func WithResponseEditorFn

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) AssociateLineItemsToCreativesWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) AssociateLineItemsToCreativesWithBodyWithResponse(ctx context.Context, params *AssociateLineItemsToCreativesParams, contentType string, body io.Reader) (*AssociateLineItemsToCreativesResp, error)

AssociateLineItemsToCreativesWithBodyWithResponse request with arbitrary body returning *AssociateLineItemsToCreativesResp

func (*ClientWithResponses) CreateFileUploadsPolicyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateFileUploadsPolicyWithResponse(ctx context.Context, params *CreateFileUploadsPolicyParams) (*CreateFileUploadsPolicyResp, error)

CreateFileUploadsPolicyWithResponse request returning *CreateFileUploadsPolicyResp

func (*ClientWithResponses) CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateImageCreativeParams, body CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody) (*CreateImageCreativeResp, error)

func (*ClientWithResponses) CreateImageCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateImageCreativeWithBodyWithResponse(ctx context.Context, params *CreateImageCreativeParams, contentType string, body io.Reader) (*CreateImageCreativeResp, error)

CreateImageCreativeWithBodyWithResponse request with arbitrary body returning *CreateImageCreativeResp

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*CreateLineItemsResp, error)

func (*ClientWithResponses) CreateLineItemsWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateLineItemsWithBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, contentType string, body io.Reader) (*CreateLineItemsResp, error)

CreateLineItemsWithBodyWithResponse request with arbitrary body returning *CreateLineItemsResp

func (*ClientWithResponses) CreateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*CreateOrdersResp, error)

func (*ClientWithResponses) CreateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*CreateOrdersResp, error)

func (*ClientWithResponses) CreateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*CreateOrdersResp, error)

func (*ClientWithResponses) CreateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*CreateOrdersResp, error)

func (*ClientWithResponses) CreateOrdersWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateOrdersWithBodyWithResponse(ctx context.Context, params *CreateOrdersParams, contentType string, body io.Reader) (*CreateOrdersResp, error)

CreateOrdersWithBodyWithResponse request with arbitrary body returning *CreateOrdersResp

func (*ClientWithResponses) CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateRecCreativesParams, body CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody) (*CreateRecCreativesResp, error)

func (*ClientWithResponses) CreateRecCreativesWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateRecCreativesWithBodyWithResponse(ctx context.Context, params *CreateRecCreativesParams, contentType string, body io.Reader) (*CreateRecCreativesResp, error)

CreateRecCreativesWithBodyWithResponse request with arbitrary body returning *CreateRecCreativesResp

func (*ClientWithResponses) CreateThirdPartyCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *CreateThirdPartyCreativeParams, contentType string, body io.Reader) (*CreateThirdPartyCreativeResp, error)

CreateThirdPartyCreativeWithBodyWithResponse request with arbitrary body returning *CreateThirdPartyCreativeResp

func (*ClientWithResponses) CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateVideoCreativesParams, body CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody) (*CreateVideoCreativesResp, error)

func (*ClientWithResponses) CreateVideoCreativesWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) CreateVideoCreativesWithBodyWithResponse(ctx context.Context, params *CreateVideoCreativesParams, contentType string, body io.Reader) (*CreateVideoCreativesResp, error)

CreateVideoCreativesWithBodyWithResponse request with arbitrary body returning *CreateVideoCreativesResp

func (*ClientWithResponses) ExportProductsByOrderIdWithResponse added in v0.0.2

func (c *ClientWithResponses) ExportProductsByOrderIdWithResponse(ctx context.Context, orderId string, params *ExportProductsByOrderIdParams) (*ExportProductsByOrderIdResp, error)

ExportProductsByOrderIdWithResponse request returning *ExportProductsByOrderIdResp

func (*ClientWithResponses) GetAppsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, params *GetAppsParams) (*GetAppsResp, error)

GetAppsWithResponse request returning *GetAppsResp

func (*ClientWithResponses) GetConversionTrackingsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetConversionTrackingsWithResponse(ctx context.Context, orderId string, params *GetConversionTrackingsParams) (*GetConversionTrackingsResp, error)

GetConversionTrackingsWithResponse request returning *GetConversionTrackingsResp

func (*ClientWithResponses) GetCreativeModerationWithResponse added in v0.0.2

func (c *ClientWithResponses) GetCreativeModerationWithResponse(ctx context.Context, params *GetCreativeModerationParams) (*GetCreativeModerationResp, error)

GetCreativeModerationWithResponse request returning *GetCreativeModerationResp

func (*ClientWithResponses) GetCreativesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetCreativesWithResponse(ctx context.Context, params *GetCreativesParams) (*GetCreativesResp, error)

GetCreativesWithResponse request returning *GetCreativesResp

func (*ClientWithResponses) GetDomainTargetingWithResponse added in v0.0.2

func (c *ClientWithResponses) GetDomainTargetingWithResponse(ctx context.Context, params *GetDomainTargetingParams) (*GetDomainTargetingResp, error)

GetDomainTargetingWithResponse request returning *GetDomainTargetingResp

func (*ClientWithResponses) GetDomainsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetDomainsWithResponse(ctx context.Context, params *GetDomainsParams) (*GetDomainsResp, error)

GetDomainsWithResponse request returning *GetDomainsResp

func (*ClientWithResponses) GetDvCustomContextualSegmentsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetDvCustomContextualSegmentsWithResponse(ctx context.Context, params *GetDvCustomContextualSegmentsParams) (*GetDvCustomContextualSegmentsResp, error)

GetDvCustomContextualSegmentsWithResponse request returning *GetDvCustomContextualSegmentsResp

func (*ClientWithResponses) GetGeoLocationsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetGeoLocationsWithResponse(ctx context.Context, params *GetGeoLocationsParams) (*GetGeoLocationsResp, error)

GetGeoLocationsWithResponse request returning *GetGeoLocationsResp

func (*ClientWithResponses) GetGoalConfigurationsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetGoalConfigurationsWithResponse(ctx context.Context, params *GetGoalConfigurationsParams) (*GetGoalConfigurationsResp, error)

GetGoalConfigurationsWithResponse request returning *GetGoalConfigurationsResp

func (*ClientWithResponses) GetIabContentCategoriesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetIabContentCategoriesWithResponse(ctx context.Context, params *GetIabContentCategoriesParams) (*GetIabContentCategoriesResp, error)

GetIabContentCategoriesWithResponse request returning *GetIabContentCategoriesResp

func (*ClientWithResponses) GetImageCreativesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetImageCreativesWithResponse(ctx context.Context, params *GetImageCreativesParams) (*GetImageCreativesResp, error)

GetImageCreativesWithResponse request returning *GetImageCreativesResp

func (*ClientWithResponses) GetLineItemWithResponse added in v0.0.2

func (c *ClientWithResponses) GetLineItemWithResponse(ctx context.Context, lineItemId string, params *GetLineItemParams) (*GetLineItemResp, error)

GetLineItemWithResponse request returning *GetLineItemResp

func (*ClientWithResponses) GetLineItemsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetLineItemsWithResponse(ctx context.Context, params *GetLineItemsParams) (*GetLineItemsResp, error)

GetLineItemsWithResponse request returning *GetLineItemsResp

func (*ClientWithResponses) GetOdcCustomPredictsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetOdcCustomPredictsWithResponse(ctx context.Context, params *GetOdcCustomPredictsParams) (*GetOdcCustomPredictsResp, error)

GetOdcCustomPredictsWithResponse request returning *GetOdcCustomPredictsResp

func (*ClientWithResponses) GetOdcStandardPredictsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetOdcStandardPredictsWithResponse(ctx context.Context, params *GetOdcStandardPredictsParams) (*GetOdcStandardPredictsResp, error)

GetOdcStandardPredictsWithResponse request returning *GetOdcStandardPredictsResp

func (*ClientWithResponses) GetOrderWithResponse added in v0.0.2

func (c *ClientWithResponses) GetOrderWithResponse(ctx context.Context, orderId string, params *GetOrderParams) (*GetOrderResp, error)

GetOrderWithResponse request returning *GetOrderResp

func (*ClientWithResponses) GetOrdersWithResponse added in v0.0.2

func (c *ClientWithResponses) GetOrdersWithResponse(ctx context.Context, params *GetOrdersParams) (*GetOrdersResp, error)

GetOrdersWithResponse request returning *GetOrdersResp

func (*ClientWithResponses) GetPixelsByOrderIdWithResponse added in v0.0.2

func (c *ClientWithResponses) GetPixelsByOrderIdWithResponse(ctx context.Context, orderId string, params *GetPixelsByOrderIdParams) (*GetPixelsByOrderIdResp, error)

GetPixelsByOrderIdWithResponse request returning *GetPixelsByOrderIdResp

func (*ClientWithResponses) GetPixelsWithResponse added in v0.0.2

func (c *ClientWithResponses) GetPixelsWithResponse(ctx context.Context, params *GetPixelsParams) (*GetPixelsResp, error)

GetPixelsWithResponse request returning *GetPixelsResp

func (*ClientWithResponses) GetProductCategoriesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetProductCategoriesWithResponse(ctx context.Context, params *GetProductCategoriesParams) (*GetProductCategoriesResp, error)

GetProductCategoriesWithResponse request returning *GetProductCategoriesResp

func (*ClientWithResponses) GetProductsByOrderIdWithResponse added in v0.0.2

func (c *ClientWithResponses) GetProductsByOrderIdWithResponse(ctx context.Context, orderId string, params *GetProductsByOrderIdParams) (*GetProductsByOrderIdResp, error)

GetProductsByOrderIdWithResponse request returning *GetProductsByOrderIdResp

func (*ClientWithResponses) GetRecCreativesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetRecCreativesWithResponse(ctx context.Context, params *GetRecCreativesParams) (*GetRecCreativesResp, error)

GetRecCreativesWithResponse request returning *GetRecCreativesResp

func (*ClientWithResponses) GetSupplySourcesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetSupplySourcesWithResponse(ctx context.Context, params *GetSupplySourcesParams) (*GetSupplySourcesResp, error)

GetSupplySourcesWithResponse request returning *GetSupplySourcesResp

func (*ClientWithResponses) GetThirdPartyCreativesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetThirdPartyCreativesWithResponse(ctx context.Context, params *GetThirdPartyCreativesParams) (*GetThirdPartyCreativesResp, error)

GetThirdPartyCreativesWithResponse request returning *GetThirdPartyCreativesResp

func (*ClientWithResponses) GetVideoCreativesWithResponse added in v0.0.2

func (c *ClientWithResponses) GetVideoCreativesWithResponse(ctx context.Context, params *GetVideoCreativesParams) (*GetVideoCreativesResp, error)

GetVideoCreativesWithResponse request returning *GetVideoCreativesResp

func (*ClientWithResponses) ListLineItemCreativeAssociationsWithResponse added in v0.0.2

func (c *ClientWithResponses) ListLineItemCreativeAssociationsWithResponse(ctx context.Context, params *ListLineItemCreativeAssociationsParams) (*ListLineItemCreativeAssociationsResp, error)

ListLineItemCreativeAssociationsWithResponse request returning *ListLineItemCreativeAssociationsResp

func (*ClientWithResponses) PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewImageCreativeParams, body PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody) (*PreviewImageCreativeResp, error)

func (*ClientWithResponses) PreviewImageCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewImageCreativeWithBodyWithResponse(ctx context.Context, params *PreviewImageCreativeParams, contentType string, body io.Reader) (*PreviewImageCreativeResp, error)

PreviewImageCreativeWithBodyWithResponse request with arbitrary body returning *PreviewImageCreativeResp

func (*ClientWithResponses) PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewRecCreativeParams, body PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody) (*PreviewRecCreativeResp, error)

func (*ClientWithResponses) PreviewRecCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewRecCreativeWithBodyWithResponse(ctx context.Context, params *PreviewRecCreativeParams, contentType string, body io.Reader) (*PreviewRecCreativeResp, error)

PreviewRecCreativeWithBodyWithResponse request with arbitrary body returning *PreviewRecCreativeResp

func (*ClientWithResponses) PreviewThirdPartyCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *PreviewThirdPartyCreativeParams, contentType string, body io.Reader) (*PreviewThirdPartyCreativeResp, error)

PreviewThirdPartyCreativeWithBodyWithResponse request with arbitrary body returning *PreviewThirdPartyCreativeResp

func (*ClientWithResponses) PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewVideoCreativeParams, body PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody) (*PreviewVideoCreativeResp, error)

func (*ClientWithResponses) PreviewVideoCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PreviewVideoCreativeWithBodyWithResponse(ctx context.Context, params *PreviewVideoCreativeParams, contentType string, body io.Reader) (*PreviewVideoCreativeResp, error)

PreviewVideoCreativeWithBodyWithResponse request with arbitrary body returning *PreviewVideoCreativeResp

func (*ClientWithResponses) PutDspOrdersOrderIdConversionTrackingProductsWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) PutDspOrdersOrderIdConversionTrackingProductsWithBodyWithResponse(ctx context.Context, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, contentType string, body io.Reader) (*PutDspOrdersOrderIdConversionTrackingProductsResp, error)

PutDspOrdersOrderIdConversionTrackingProductsWithBodyWithResponse request with arbitrary body returning *PutDspOrdersOrderIdConversionTrackingProductsResp

func (*ClientWithResponses) SetLineItemStatusWithResponse added in v0.0.2

func (c *ClientWithResponses) SetLineItemStatusWithResponse(ctx context.Context, lineItemId string, params *SetLineItemStatusParams) (*SetLineItemStatusResp, error)

SetLineItemStatusWithResponse request returning *SetLineItemStatusResp

func (*ClientWithResponses) SetOrderStatusWithResponse added in v0.0.2

func (c *ClientWithResponses) SetOrderStatusWithResponse(ctx context.Context, orderId string, params *SetOrderStatusParams) (*SetOrderStatusResp, error)

SetOrderStatusWithResponse request returning *SetOrderStatusResp

func (*ClientWithResponses) UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody) (*UpdateConversionTrackingResp, error)

func (*ClientWithResponses) UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody) (*UpdateConversionTrackingResp, error)

func (*ClientWithResponses) UpdateConversionTrackingWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateConversionTrackingWithBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, contentType string, body io.Reader) (*UpdateConversionTrackingResp, error)

UpdateConversionTrackingWithBodyWithResponse request with arbitrary body returning *UpdateConversionTrackingResp

func (*ClientWithResponses) UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateDomainTargetingParams, body UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody) (*UpdateDomainTargetingResp, error)

func (*ClientWithResponses) UpdateDomainTargetingWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateDomainTargetingWithBodyWithResponse(ctx context.Context, params *UpdateDomainTargetingParams, contentType string, body io.Reader) (*UpdateDomainTargetingResp, error)

UpdateDomainTargetingWithBodyWithResponse request with arbitrary body returning *UpdateDomainTargetingResp

func (*ClientWithResponses) UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateImageCreativeParams, body UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody) (*UpdateImageCreativeResp, error)

func (*ClientWithResponses) UpdateImageCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateImageCreativeWithBodyWithResponse(ctx context.Context, params *UpdateImageCreativeParams, contentType string, body io.Reader) (*UpdateImageCreativeResp, error)

UpdateImageCreativeWithBodyWithResponse request with arbitrary body returning *UpdateImageCreativeResp

func (*ClientWithResponses) UpdateLineItemCreativeAssociationsWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemCreativeAssociationsWithBodyWithResponse(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, contentType string, body io.Reader) (*UpdateLineItemCreativeAssociationsResp, error)

UpdateLineItemCreativeAssociationsWithBodyWithResponse request with arbitrary body returning *UpdateLineItemCreativeAssociationsResp

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*UpdateLineItemsResp, error)

func (*ClientWithResponses) UpdateLineItemsWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateLineItemsWithBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, contentType string, body io.Reader) (*UpdateLineItemsResp, error)

UpdateLineItemsWithBodyWithResponse request with arbitrary body returning *UpdateLineItemsResp

func (*ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*UpdateOrdersResp, error)

func (*ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*UpdateOrdersResp, error)

func (*ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*UpdateOrdersResp, error)

func (*ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*UpdateOrdersResp, error)

func (*ClientWithResponses) UpdateOrdersWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateOrdersWithBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, contentType string, body io.Reader) (*UpdateOrdersResp, error)

UpdateOrdersWithBodyWithResponse request with arbitrary body returning *UpdateOrdersResp

func (*ClientWithResponses) UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, body UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody) (*UpdatePixelsByOrderIdResp, error)

func (*ClientWithResponses) UpdatePixelsByOrderIdWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdatePixelsByOrderIdWithBodyWithResponse(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, contentType string, body io.Reader) (*UpdatePixelsByOrderIdResp, error)

UpdatePixelsByOrderIdWithBodyWithResponse request with arbitrary body returning *UpdatePixelsByOrderIdResp

func (*ClientWithResponses) UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateRecCreativesParams, body UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody) (*UpdateRecCreativesResp, error)

func (*ClientWithResponses) UpdateRecCreativesWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateRecCreativesWithBodyWithResponse(ctx context.Context, params *UpdateRecCreativesParams, contentType string, body io.Reader) (*UpdateRecCreativesResp, error)

UpdateRecCreativesWithBodyWithResponse request with arbitrary body returning *UpdateRecCreativesResp

func (*ClientWithResponses) UpdateThirdPartyCreativeWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *UpdateThirdPartyCreativeParams, contentType string, body io.Reader) (*UpdateThirdPartyCreativeResp, error)

UpdateThirdPartyCreativeWithBodyWithResponse request with arbitrary body returning *UpdateThirdPartyCreativeResp

func (*ClientWithResponses) UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateVideoCreativesParams, body UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody) (*UpdateVideoCreativesResp, error)

func (*ClientWithResponses) UpdateVideoCreativesWithBodyWithResponse added in v0.0.2

func (c *ClientWithResponses) UpdateVideoCreativesWithBodyWithResponse(ctx context.Context, params *UpdateVideoCreativesParams, contentType string, body io.Reader) (*UpdateVideoCreativesResp, error)

UpdateVideoCreativesWithBodyWithResponse request with arbitrary body returning *UpdateVideoCreativesResp

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAppsWithResponse request
	GetAppsWithResponse(ctx context.Context, params *GetAppsParams) (*GetAppsResp, error)

	// GetCreativesWithResponse request
	GetCreativesWithResponse(ctx context.Context, params *GetCreativesParams) (*GetCreativesResp, error)

	// GetImageCreativesWithResponse request
	GetImageCreativesWithResponse(ctx context.Context, params *GetImageCreativesParams) (*GetImageCreativesResp, error)

	// CreateImageCreativeWithBodyWithResponse request with any body
	CreateImageCreativeWithBodyWithResponse(ctx context.Context, params *CreateImageCreativeParams, contentType string, body io.Reader) (*CreateImageCreativeResp, error)

	CreateImageCreativeWithApplicationVndDspcreateimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateImageCreativeParams, body CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody) (*CreateImageCreativeResp, error)

	// UpdateImageCreativeWithBodyWithResponse request with any body
	UpdateImageCreativeWithBodyWithResponse(ctx context.Context, params *UpdateImageCreativeParams, contentType string, body io.Reader) (*UpdateImageCreativeResp, error)

	UpdateImageCreativeWithApplicationVndDspupdateimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateImageCreativeParams, body UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody) (*UpdateImageCreativeResp, error)

	// PreviewImageCreativeWithBodyWithResponse request with any body
	PreviewImageCreativeWithBodyWithResponse(ctx context.Context, params *PreviewImageCreativeParams, contentType string, body io.Reader) (*PreviewImageCreativeResp, error)

	PreviewImageCreativeWithApplicationVndDsppreviewimagecreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewImageCreativeParams, body PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody) (*PreviewImageCreativeResp, error)

	// GetRecCreativesWithResponse request
	GetRecCreativesWithResponse(ctx context.Context, params *GetRecCreativesParams) (*GetRecCreativesResp, error)

	// CreateRecCreativesWithBodyWithResponse request with any body
	CreateRecCreativesWithBodyWithResponse(ctx context.Context, params *CreateRecCreativesParams, contentType string, body io.Reader) (*CreateRecCreativesResp, error)

	CreateRecCreativesWithApplicationVndDspcreatereccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateRecCreativesParams, body CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody) (*CreateRecCreativesResp, error)

	// UpdateRecCreativesWithBodyWithResponse request with any body
	UpdateRecCreativesWithBodyWithResponse(ctx context.Context, params *UpdateRecCreativesParams, contentType string, body io.Reader) (*UpdateRecCreativesResp, error)

	UpdateRecCreativesWithApplicationVndDspupdatereccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateRecCreativesParams, body UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody) (*UpdateRecCreativesResp, error)

	// PreviewRecCreativeWithBodyWithResponse request with any body
	PreviewRecCreativeWithBodyWithResponse(ctx context.Context, params *PreviewRecCreativeParams, contentType string, body io.Reader) (*PreviewRecCreativeResp, error)

	PreviewRecCreativeWithApplicationVndDsppreviewreccreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewRecCreativeParams, body PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody) (*PreviewRecCreativeResp, error)

	// GetThirdPartyCreativesWithResponse request
	GetThirdPartyCreativesWithResponse(ctx context.Context, params *GetThirdPartyCreativesParams) (*GetThirdPartyCreativesResp, error)

	// CreateThirdPartyCreativeWithBodyWithResponse request with any body
	CreateThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *CreateThirdPartyCreativeParams, contentType string, body io.Reader) (*CreateThirdPartyCreativeResp, error)

	CreateThirdPartyCreativeWithApplicationVndDspcreatethirdpartycreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateThirdPartyCreativeParams, body CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody) (*CreateThirdPartyCreativeResp, error)

	// UpdateThirdPartyCreativeWithBodyWithResponse request with any body
	UpdateThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *UpdateThirdPartyCreativeParams, contentType string, body io.Reader) (*UpdateThirdPartyCreativeResp, error)

	UpdateThirdPartyCreativeWithApplicationVndDspupdatethirdpartycreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateThirdPartyCreativeParams, body UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody) (*UpdateThirdPartyCreativeResp, error)

	// PreviewThirdPartyCreativeWithBodyWithResponse request with any body
	PreviewThirdPartyCreativeWithBodyWithResponse(ctx context.Context, params *PreviewThirdPartyCreativeParams, contentType string, body io.Reader) (*PreviewThirdPartyCreativeResp, error)

	PreviewThirdPartyCreativeWithApplicationVndDsppreviewthirdpartycreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewThirdPartyCreativeParams, body PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody) (*PreviewThirdPartyCreativeResp, error)

	// GetVideoCreativesWithResponse request
	GetVideoCreativesWithResponse(ctx context.Context, params *GetVideoCreativesParams) (*GetVideoCreativesResp, error)

	// CreateVideoCreativesWithBodyWithResponse request with any body
	CreateVideoCreativesWithBodyWithResponse(ctx context.Context, params *CreateVideoCreativesParams, contentType string, body io.Reader) (*CreateVideoCreativesResp, error)

	CreateVideoCreativesWithApplicationVndDspcreatevideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *CreateVideoCreativesParams, body CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody) (*CreateVideoCreativesResp, error)

	// UpdateVideoCreativesWithBodyWithResponse request with any body
	UpdateVideoCreativesWithBodyWithResponse(ctx context.Context, params *UpdateVideoCreativesParams, contentType string, body io.Reader) (*UpdateVideoCreativesResp, error)

	UpdateVideoCreativesWithApplicationVndDspupdatevideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateVideoCreativesParams, body UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody) (*UpdateVideoCreativesResp, error)

	// PreviewVideoCreativeWithBodyWithResponse request with any body
	PreviewVideoCreativeWithBodyWithResponse(ctx context.Context, params *PreviewVideoCreativeParams, contentType string, body io.Reader) (*PreviewVideoCreativeResp, error)

	PreviewVideoCreativeWithApplicationVndDsppreviewvideocreativesV1PlusJSONBodyWithResponse(ctx context.Context, params *PreviewVideoCreativeParams, body PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody) (*PreviewVideoCreativeResp, error)

	// GetDomainsWithResponse request
	GetDomainsWithResponse(ctx context.Context, params *GetDomainsParams) (*GetDomainsResp, error)

	// CreateFileUploadsPolicyWithResponse request
	CreateFileUploadsPolicyWithResponse(ctx context.Context, params *CreateFileUploadsPolicyParams) (*CreateFileUploadsPolicyResp, error)

	// GetGeoLocationsWithResponse request
	GetGeoLocationsWithResponse(ctx context.Context, params *GetGeoLocationsParams) (*GetGeoLocationsResp, error)

	// GetGoalConfigurationsWithResponse request
	GetGoalConfigurationsWithResponse(ctx context.Context, params *GetGoalConfigurationsParams) (*GetGoalConfigurationsResp, error)

	// GetIabContentCategoriesWithResponse request
	GetIabContentCategoriesWithResponse(ctx context.Context, params *GetIabContentCategoriesParams) (*GetIabContentCategoriesResp, error)

	// ListLineItemCreativeAssociationsWithResponse request
	ListLineItemCreativeAssociationsWithResponse(ctx context.Context, params *ListLineItemCreativeAssociationsParams) (*ListLineItemCreativeAssociationsResp, error)

	// AssociateLineItemsToCreativesWithBodyWithResponse request with any body
	AssociateLineItemsToCreativesWithBodyWithResponse(ctx context.Context, params *AssociateLineItemsToCreativesParams, contentType string, body io.Reader) (*AssociateLineItemsToCreativesResp, error)

	AssociateLineItemsToCreativesWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBodyWithResponse(ctx context.Context, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*AssociateLineItemsToCreativesResp, error)

	AssociateLineItemsToCreativesWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBodyWithResponse(ctx context.Context, params *AssociateLineItemsToCreativesParams, body AssociateLineItemsToCreativesApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*AssociateLineItemsToCreativesResp, error)

	// UpdateLineItemCreativeAssociationsWithBodyWithResponse request with any body
	UpdateLineItemCreativeAssociationsWithBodyWithResponse(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, contentType string, body io.Reader) (*UpdateLineItemCreativeAssociationsResp, error)

	UpdateLineItemCreativeAssociationsWithApplicationVndDsplineitemcreativeassociationsV2PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody) (*UpdateLineItemCreativeAssociationsResp, error)

	UpdateLineItemCreativeAssociationsWithApplicationVndDsplineitemcreativeassociationsV21PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemCreativeAssociationsParams, body UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody) (*UpdateLineItemCreativeAssociationsResp, error)

	// GetLineItemsWithResponse request
	GetLineItemsWithResponse(ctx context.Context, params *GetLineItemsParams) (*GetLineItemsResp, error)

	// CreateLineItemsWithBodyWithResponse request with any body
	CreateLineItemsWithBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, contentType string, body io.Reader) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*CreateLineItemsResp, error)

	CreateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse(ctx context.Context, params *CreateLineItemsParams, body CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*CreateLineItemsResp, error)

	// UpdateLineItemsWithBodyWithResponse request with any body
	UpdateLineItemsWithBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, contentType string, body io.Reader) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV2PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV21PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV22PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV3PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV31PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	UpdateLineItemsWithApplicationVndDsplineitemsV32PlusJSONBodyWithResponse(ctx context.Context, params *UpdateLineItemsParams, body UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody) (*UpdateLineItemsResp, error)

	// GetLineItemWithResponse request
	GetLineItemWithResponse(ctx context.Context, lineItemId string, params *GetLineItemParams) (*GetLineItemResp, error)

	// SetLineItemStatusWithResponse request
	SetLineItemStatusWithResponse(ctx context.Context, lineItemId string, params *SetLineItemStatusParams) (*SetLineItemStatusResp, error)

	// GetCreativeModerationWithResponse request
	GetCreativeModerationWithResponse(ctx context.Context, params *GetCreativeModerationParams) (*GetCreativeModerationResp, error)

	// GetOrdersWithResponse request
	GetOrdersWithResponse(ctx context.Context, params *GetOrdersParams) (*GetOrdersResp, error)

	// CreateOrdersWithBodyWithResponse request with any body
	CreateOrdersWithBodyWithResponse(ctx context.Context, params *CreateOrdersParams, contentType string, body io.Reader) (*CreateOrdersResp, error)

	CreateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*CreateOrdersResp, error)

	CreateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*CreateOrdersResp, error)

	CreateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*CreateOrdersResp, error)

	CreateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse(ctx context.Context, params *CreateOrdersParams, body CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*CreateOrdersResp, error)

	// UpdateOrdersWithBodyWithResponse request with any body
	UpdateOrdersWithBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, contentType string, body io.Reader) (*UpdateOrdersResp, error)

	UpdateOrdersWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody) (*UpdateOrdersResp, error)

	UpdateOrdersWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody) (*UpdateOrdersResp, error)

	UpdateOrdersWithApplicationVndDspordersV22PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody) (*UpdateOrdersResp, error)

	UpdateOrdersWithApplicationVndDspordersV23PlusJSONBodyWithResponse(ctx context.Context, params *UpdateOrdersParams, body UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody) (*UpdateOrdersResp, error)

	// GetOrderWithResponse request
	GetOrderWithResponse(ctx context.Context, orderId string, params *GetOrderParams) (*GetOrderResp, error)

	// GetConversionTrackingsWithResponse request
	GetConversionTrackingsWithResponse(ctx context.Context, orderId string, params *GetConversionTrackingsParams) (*GetConversionTrackingsResp, error)

	// UpdateConversionTrackingWithBodyWithResponse request with any body
	UpdateConversionTrackingWithBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, contentType string, body io.Reader) (*UpdateConversionTrackingResp, error)

	UpdateConversionTrackingWithApplicationVndDspordersV2PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody) (*UpdateConversionTrackingResp, error)

	UpdateConversionTrackingWithApplicationVndDspordersV21PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdateConversionTrackingParams, body UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody) (*UpdateConversionTrackingResp, error)

	// GetPixelsByOrderIdWithResponse request
	GetPixelsByOrderIdWithResponse(ctx context.Context, orderId string, params *GetPixelsByOrderIdParams) (*GetPixelsByOrderIdResp, error)

	// UpdatePixelsByOrderIdWithBodyWithResponse request with any body
	UpdatePixelsByOrderIdWithBodyWithResponse(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, contentType string, body io.Reader) (*UpdatePixelsByOrderIdResp, error)

	UpdatePixelsByOrderIdWithApplicationVndDsppixeltrackingV1PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *UpdatePixelsByOrderIdParams, body UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody) (*UpdatePixelsByOrderIdResp, error)

	// GetProductsByOrderIdWithResponse request
	GetProductsByOrderIdWithResponse(ctx context.Context, orderId string, params *GetProductsByOrderIdParams) (*GetProductsByOrderIdResp, error)

	// PutDspOrdersOrderIdConversionTrackingProductsWithBodyWithResponse request with any body
	PutDspOrdersOrderIdConversionTrackingProductsWithBodyWithResponse(ctx context.Context, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, contentType string, body io.Reader) (*PutDspOrdersOrderIdConversionTrackingProductsResp, error)

	PutDspOrdersOrderIdConversionTrackingProductsWithApplicationVndDspproducttrackingV1PlusJSONBodyWithResponse(ctx context.Context, orderId string, params *PutDspOrdersOrderIdConversionTrackingProductsParams, body PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody) (*PutDspOrdersOrderIdConversionTrackingProductsResp, error)

	// ExportProductsByOrderIdWithResponse request
	ExportProductsByOrderIdWithResponse(ctx context.Context, orderId string, params *ExportProductsByOrderIdParams) (*ExportProductsByOrderIdResp, error)

	// SetOrderStatusWithResponse request
	SetOrderStatusWithResponse(ctx context.Context, orderId string, params *SetOrderStatusParams) (*SetOrderStatusResp, error)

	// GetPixelsWithResponse request
	GetPixelsWithResponse(ctx context.Context, params *GetPixelsParams) (*GetPixelsResp, error)

	// GetDvCustomContextualSegmentsWithResponse request
	GetDvCustomContextualSegmentsWithResponse(ctx context.Context, params *GetDvCustomContextualSegmentsParams) (*GetDvCustomContextualSegmentsResp, error)

	// GetOdcCustomPredictsWithResponse request
	GetOdcCustomPredictsWithResponse(ctx context.Context, params *GetOdcCustomPredictsParams) (*GetOdcCustomPredictsResp, error)

	// GetOdcStandardPredictsWithResponse request
	GetOdcStandardPredictsWithResponse(ctx context.Context, params *GetOdcStandardPredictsParams) (*GetOdcStandardPredictsResp, error)

	// GetProductCategoriesWithResponse request
	GetProductCategoriesWithResponse(ctx context.Context, params *GetProductCategoriesParams) (*GetProductCategoriesResp, error)

	// GetSupplySourcesWithResponse request
	GetSupplySourcesWithResponse(ctx context.Context, params *GetSupplySourcesParams) (*GetSupplySourcesResp, error)

	// GetDomainTargetingWithResponse request
	GetDomainTargetingWithResponse(ctx context.Context, params *GetDomainTargetingParams) (*GetDomainTargetingResp, error)

	// UpdateDomainTargetingWithBodyWithResponse request with any body
	UpdateDomainTargetingWithBodyWithResponse(ctx context.Context, params *UpdateDomainTargetingParams, contentType string, body io.Reader) (*UpdateDomainTargetingResp, error)

	UpdateDomainTargetingWithApplicationVndDspupdatedomaintargetingV1PlusJSONBodyWithResponse(ctx context.Context, params *UpdateDomainTargetingParams, body UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody) (*UpdateDomainTargetingResp, error)
}

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

type ConversionTracking added in v0.0.2

type ConversionTracking struct {
	// Pixels A list of pixels associated with the campaign.
	Pixels   *PixelTracking   `json:"pixels,omitempty"`
	Products *ProductTracking `json:"products,omitempty"`
}

ConversionTracking defines model for ConversionTracking.

type ConversionTrackingV21 added in v0.0.2

type ConversionTrackingV21 struct {
	// Pixels A list of pixels associated with the campaign.
	Pixels   *PixelTracking      `json:"pixels,omitempty"`
	Products *ProductTrackingV21 `json:"products,omitempty"`
}

ConversionTrackingV21 defines model for ConversionTrackingV2_1.

type CreateFileUploadsPolicyParams added in v0.0.2

type CreateFileUploadsPolicyParams struct {
	// PolicyType The returned file upload policy is determined by policyType.
	PolicyType SupportedPolicyType `form:"policyType" json:"policyType"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateFileUploadsPolicyParams defines parameters for CreateFileUploadsPolicy.

type CreateFileUploadsPolicyResp added in v0.0.2

type CreateFileUploadsPolicyResp struct {
	Body                                         []byte
	HTTPResponse                                 *http.Response
	ApplicationvndDspfileuploadpoliciesV1JSON200 *FileUploadPolicy
	ApplicationvndDsperrorsV1JSON400             *Error
	ApplicationvndDsperrorsV1JSON401             *Error
	ApplicationvndDsperrorsV1JSON415             *Error
	ApplicationvndDsperrorsV1JSON429             *Error
	ApplicationvndDsperrorsV1JSON500             *Error
	ApplicationvndDsperrorsV1JSON502             *Error
	ApplicationvndDsperrorsV1JSON503             *Error
	ApplicationvndDsperrorsV1JSON504             *Error
}

func ParseCreateFileUploadsPolicyResp added in v0.0.2

func ParseCreateFileUploadsPolicyResp(rsp *http.Response) (*CreateFileUploadsPolicyResp, error)

ParseCreateFileUploadsPolicyResp parses an HTTP response from a CreateFileUploadsPolicyWithResponse call

func (CreateFileUploadsPolicyResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (CreateFileUploadsPolicyResp) StatusCode added in v0.0.2

func (r CreateFileUploadsPolicyResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody added in v0.0.2

type CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody = DspCreateImageCreativesRequestV1

CreateImageCreativeApplicationVndDspcreateimagecreativesV1PlusJSONRequestBody defines body for CreateImageCreative for application/vnd.dspcreateimagecreatives.v1+json ContentType.

type CreateImageCreativeParams added in v0.0.2

type CreateImageCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateImageCreativeParams defines parameters for CreateImageCreative.

type CreateImageCreativeResp added in v0.0.2

type CreateImageCreativeResp struct {
	Body                                             []byte
	HTTPResponse                                     *http.Response
	ApplicationvndDspimagecreativesresponseV1JSON207 *DspImageCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                 *BadRequest
	ApplicationvndDsperrorsV1JSON401                 *Unauthorized
	ApplicationvndDsperrorsV1JSON403                 *Forbidden
	ApplicationvndDsperrorsV1JSON404                 *NotFound
	JSON415                                          *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                 *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                 *InternalServerError
	ApplicationvndDsperrorsV1JSON502                 *BadGateway
	ApplicationvndDsperrorsV1JSON503                 *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                 *EndpointRequestTimedOut
}

func ParseCreateImageCreativeResp added in v0.0.2

func ParseCreateImageCreativeResp(rsp *http.Response) (*CreateImageCreativeResp, error)

ParseCreateImageCreativeResp parses an HTTP response from a CreateImageCreativeWithResponse call

func (CreateImageCreativeResp) Status added in v0.0.2

func (r CreateImageCreativeResp) Status() string

Status returns HTTPResponse.Status

func (CreateImageCreativeResp) StatusCode added in v0.0.2

func (r CreateImageCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLineItemsApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV21PlusJSONBody = []LineItemV21

CreateLineItemsApplicationVndDsplineitemsV21PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV21PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v2.1+json ContentType.

type CreateLineItemsApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV22PlusJSONBody = []LineItemV21

CreateLineItemsApplicationVndDsplineitemsV22PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV22PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v2.2+json ContentType.

type CreateLineItemsApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV2PlusJSONBody = []LineItem

CreateLineItemsApplicationVndDsplineitemsV2PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV2PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v2+json ContentType.

type CreateLineItemsApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV31PlusJSONBody = []LineItemV31

CreateLineItemsApplicationVndDsplineitemsV31PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV31PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v3.1+json ContentType.

type CreateLineItemsApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV32PlusJSONBody = []LineItemV32

CreateLineItemsApplicationVndDsplineitemsV32PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV32PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v3.2+json ContentType.

type CreateLineItemsApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV3PlusJSONBody = []LineItemV3

CreateLineItemsApplicationVndDsplineitemsV3PlusJSONBody defines parameters for CreateLineItems.

type CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody added in v0.0.2

type CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody = CreateLineItemsApplicationVndDsplineitemsV3PlusJSONBody

CreateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody defines body for CreateLineItems for application/vnd.dsplineitems.v3+json ContentType.

type CreateLineItemsParams added in v0.0.2

type CreateLineItemsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateLineItemsParams defines parameters for CreateLineItems.

type CreateLineItemsResp added in v0.0.2

type CreateLineItemsResp struct {
	Body                                         []byte
	HTTPResponse                                 *http.Response
	ApplicationvndDsplineitemsV2JSON207          *[]LineItemResponse
	ApplicationvndDsplineitemsV21JSON207         *[]LineItemResponse
	ApplicationvndDsplineitemsV22JSON207         *[]LineItemResponse
	ApplicationvndDsplineitemsresponseV3JSON207  *[]LineItemResponse
	ApplicationvndDsplineitemsresponseV31JSON207 *[]LineItemResponse
	ApplicationvndDsperrorsV3JSON400             *Error
	ApplicationvndDsplineitemsV2JSON400          *Error
	ApplicationvndDsplineitemsV21JSON400         *Error
	ApplicationvndDsplineitemsV22JSON400         *Error
	ApplicationvndDsperrorsV3JSON401             *Error
	ApplicationvndDsplineitemsV2JSON401          *Error
	ApplicationvndDsplineitemsV21JSON401         *Error
	ApplicationvndDsplineitemsV22JSON401         *Error
	ApplicationvndDsperrorsV3JSON403             *Error
	ApplicationvndDsplineitemsV2JSON403          *Error
	ApplicationvndDsplineitemsV21JSON403         *Error
	ApplicationvndDsplineitemsV22JSON403         *Error
	ApplicationvndDsperrorsV3JSON404             *Error
	ApplicationvndDsplineitemsV2JSON404          *Error
	ApplicationvndDsplineitemsV21JSON404         *Error
	ApplicationvndDsplineitemsV22JSON404         *Error
	ApplicationvndDsperrorsV3JSON415             *Error
	ApplicationvndDsplineitemsV2JSON415          *Error
	ApplicationvndDsplineitemsV21JSON415         *Error
	ApplicationvndDsplineitemsV22JSON415         *Error
	ApplicationvndDsperrorsV3JSON429             *Error
	ApplicationvndDsplineitemsV2JSON429          *Error
	ApplicationvndDsplineitemsV21JSON429         *Error
	ApplicationvndDsplineitemsV22JSON429         *Error
	ApplicationvndDsperrorsV3JSON500             *Error
	ApplicationvndDsplineitemsV2JSON500          *Error
	ApplicationvndDsplineitemsV21JSON500         *Error
	ApplicationvndDsplineitemsV22JSON500         *Error
	ApplicationvndDsperrorsV3JSON502             *Error
	ApplicationvndDsplineitemsV2JSON502          *Error
	ApplicationvndDsplineitemsV21JSON502         *Error
	ApplicationvndDsplineitemsV22JSON502         *Error
	ApplicationvndDsperrorsV3JSON503             *Error
	ApplicationvndDsplineitemsV2JSON503          *Error
	ApplicationvndDsplineitemsV21JSON503         *Error
	ApplicationvndDsplineitemsV22JSON503         *Error
	ApplicationvndDsperrorsV3JSON504             *Error
	ApplicationvndDsplineitemsV2JSON504          *Error
	ApplicationvndDsplineitemsV21JSON504         *Error
	ApplicationvndDsplineitemsV22JSON504         *Error
}

func ParseCreateLineItemsResp added in v0.0.2

func ParseCreateLineItemsResp(rsp *http.Response) (*CreateLineItemsResp, error)

ParseCreateLineItemsResp parses an HTTP response from a CreateLineItemsWithResponse call

func (CreateLineItemsResp) Status added in v0.0.2

func (r CreateLineItemsResp) Status() string

Status returns HTTPResponse.Status

func (CreateLineItemsResp) StatusCode added in v0.0.2

func (r CreateLineItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrdersApplicationVndDspordersV21PlusJSONBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV21PlusJSONBody = []Order

CreateOrdersApplicationVndDspordersV21PlusJSONBody defines parameters for CreateOrders.

type CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody = CreateOrdersApplicationVndDspordersV21PlusJSONBody

CreateOrdersApplicationVndDspordersV21PlusJSONRequestBody defines body for CreateOrders for application/vnd.dsporders.v2.1+json ContentType.

type CreateOrdersApplicationVndDspordersV22PlusJSONBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV22PlusJSONBody = []OrderV22

CreateOrdersApplicationVndDspordersV22PlusJSONBody defines parameters for CreateOrders.

type CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody = CreateOrdersApplicationVndDspordersV22PlusJSONBody

CreateOrdersApplicationVndDspordersV22PlusJSONRequestBody defines body for CreateOrders for application/vnd.dsporders.v2.2+json ContentType.

type CreateOrdersApplicationVndDspordersV23PlusJSONBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV23PlusJSONBody = []OrderV23

CreateOrdersApplicationVndDspordersV23PlusJSONBody defines parameters for CreateOrders.

type CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody = CreateOrdersApplicationVndDspordersV23PlusJSONBody

CreateOrdersApplicationVndDspordersV23PlusJSONRequestBody defines body for CreateOrders for application/vnd.dsporders.v2.3+json ContentType.

type CreateOrdersApplicationVndDspordersV2PlusJSONBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV2PlusJSONBody = []Order

CreateOrdersApplicationVndDspordersV2PlusJSONBody defines parameters for CreateOrders.

type CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody added in v0.0.2

type CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody = CreateOrdersApplicationVndDspordersV2PlusJSONBody

CreateOrdersApplicationVndDspordersV2PlusJSONRequestBody defines body for CreateOrders for application/vnd.dsporders.v2+json ContentType.

type CreateOrdersParams added in v0.0.2

type CreateOrdersParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateOrdersParams defines parameters for CreateOrders.

type CreateOrdersResp added in v0.0.2

type CreateOrdersResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON207  *[]OrderResponse
	ApplicationvndDspordersV21JSON207 *[]OrderResponse
	ApplicationvndDspordersV22JSON207 *[]OrderResponse
	ApplicationvndDspordersV23JSON207 *[]OrderResponse
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV22JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV22JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV22JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV22JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV22JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV22JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV22JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV22JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV22JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
	ApplicationvndDspordersV22JSON504 *Error
}

func ParseCreateOrdersResp added in v0.0.2

func ParseCreateOrdersResp(rsp *http.Response) (*CreateOrdersResp, error)

ParseCreateOrdersResp parses an HTTP response from a CreateOrdersWithResponse call

func (CreateOrdersResp) Status added in v0.0.2

func (r CreateOrdersResp) Status() string

Status returns HTTPResponse.Status

func (CreateOrdersResp) StatusCode added in v0.0.2

func (r CreateOrdersResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody added in v0.0.2

type CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody = DspCreateRecCreativesRequestV1

CreateRecCreativesApplicationVndDspcreatereccreativesV1PlusJSONRequestBody defines body for CreateRecCreatives for application/vnd.dspcreatereccreatives.v1+json ContentType.

type CreateRecCreativesParams added in v0.0.2

type CreateRecCreativesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateRecCreativesParams defines parameters for CreateRecCreatives.

type CreateRecCreativesResp added in v0.0.2

type CreateRecCreativesResp struct {
	Body                                           []byte
	HTTPResponse                                   *http.Response
	ApplicationvndDspreccreativesresponseV1JSON207 *DspRecCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400               *BadRequest
	ApplicationvndDsperrorsV1JSON401               *Unauthorized
	ApplicationvndDsperrorsV1JSON403               *Forbidden
	ApplicationvndDsperrorsV1JSON404               *NotFound
	JSON415                                        *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429               *TooManyRequests
	ApplicationvndDsperrorsV1JSON500               *InternalServerError
	ApplicationvndDsperrorsV1JSON502               *BadGateway
	ApplicationvndDsperrorsV1JSON503               *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504               *EndpointRequestTimedOut
}

func ParseCreateRecCreativesResp added in v0.0.2

func ParseCreateRecCreativesResp(rsp *http.Response) (*CreateRecCreativesResp, error)

ParseCreateRecCreativesResp parses an HTTP response from a CreateRecCreativesWithResponse call

func (CreateRecCreativesResp) Status added in v0.0.2

func (r CreateRecCreativesResp) Status() string

Status returns HTTPResponse.Status

func (CreateRecCreativesResp) StatusCode added in v0.0.2

func (r CreateRecCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody added in v0.0.2

type CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody = DspCreateThirdPartyCreativesRequestV1

CreateThirdPartyCreativeApplicationVndDspcreatethirdpartycreativesV1PlusJSONRequestBody defines body for CreateThirdPartyCreative for application/vnd.dspcreatethirdpartycreatives.v1+json ContentType.

type CreateThirdPartyCreativeParams added in v0.0.2

type CreateThirdPartyCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateThirdPartyCreativeParams defines parameters for CreateThirdPartyCreative.

type CreateThirdPartyCreativeResp added in v0.0.2

type CreateThirdPartyCreativeResp struct {
	Body                                                  []byte
	HTTPResponse                                          *http.Response
	ApplicationvndDspthirdpartycreativesresponseV1JSON207 *DspThirdPartyCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                      *BadRequest
	ApplicationvndDsperrorsV1JSON401                      *Unauthorized
	ApplicationvndDsperrorsV1JSON403                      *Forbidden
	ApplicationvndDsperrorsV1JSON404                      *NotFound
	JSON415                                               *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                      *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                      *InternalServerError
	ApplicationvndDsperrorsV1JSON502                      *BadGateway
	ApplicationvndDsperrorsV1JSON503                      *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                      *EndpointRequestTimedOut
}

func ParseCreateThirdPartyCreativeResp added in v0.0.2

func ParseCreateThirdPartyCreativeResp(rsp *http.Response) (*CreateThirdPartyCreativeResp, error)

ParseCreateThirdPartyCreativeResp parses an HTTP response from a CreateThirdPartyCreativeWithResponse call

func (CreateThirdPartyCreativeResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (CreateThirdPartyCreativeResp) StatusCode added in v0.0.2

func (r CreateThirdPartyCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody added in v0.0.2

type CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody = DspCreateVideoCreativesRequestV1

CreateVideoCreativesApplicationVndDspcreatevideocreativesV1PlusJSONRequestBody defines body for CreateVideoCreatives for application/vnd.dspcreatevideocreatives.v1+json ContentType.

type CreateVideoCreativesParams added in v0.0.2

type CreateVideoCreativesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

CreateVideoCreativesParams defines parameters for CreateVideoCreatives.

type CreateVideoCreativesResp added in v0.0.2

type CreateVideoCreativesResp struct {
	Body                                             []byte
	HTTPResponse                                     *http.Response
	ApplicationvndDspvideocreativesresponseV1JSON207 *DspVideoCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                 *BadRequest
	ApplicationvndDsperrorsV1JSON401                 *Unauthorized
	ApplicationvndDsperrorsV1JSON403                 *Forbidden
	ApplicationvndDsperrorsV1JSON404                 *NotFound
	JSON415                                          *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                 *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                 *InternalServerError
	ApplicationvndDsperrorsV1JSON502                 *BadGateway
	ApplicationvndDsperrorsV1JSON503                 *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                 *EndpointRequestTimedOut
}

func ParseCreateVideoCreativesResp added in v0.0.2

func ParseCreateVideoCreativesResp(rsp *http.Response) (*CreateVideoCreativesResp, error)

ParseCreateVideoCreativesResp parses an HTTP response from a CreateVideoCreativesWithResponse call

func (CreateVideoCreativesResp) Status added in v0.0.2

func (r CreateVideoCreativesResp) Status() string

Status returns HTTPResponse.Status

func (CreateVideoCreativesResp) StatusCode added in v0.0.2

func (r CreateVideoCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Creative added in v0.0.2

type Creative struct {
	// AdvertiserId The identifier of the advertiser.
	AdvertiserId *string `json:"advertiserId,omitempty"`

	// CreativeId The identifier of the creative.
	CreativeId *string `json:"creativeId,omitempty"`

	// ExternalId The external identifier of the creative.
	ExternalId *string `json:"externalId,omitempty"`

	// Name The creative name.
	Name *string `json:"name,omitempty"`

	// Size The creative size.
	Size *string `json:"size,omitempty"`

	// SupportedLineItemTypes Supported lineItemTypes where creatives can be associated. VIDEO line item type is supported since version `application/vnd.dspcreatives.v2.1+json`
	SupportedLineItemTypes *[]SupportedLineItemTypes `json:"supportedLineItemTypes,omitempty"`

	// Type The creative type.
	Type *string `json:"type,omitempty"`
}

Creative defines model for Creative.

type CreativeIdFilter added in v0.0.2

type CreativeIdFilter = string

CreativeIdFilter defines model for creativeIdFilter.

type CreativeOptions added in v0.0.2

type CreativeOptions struct {
	// CreativeRotationType The creative rotation type.
	CreativeRotationType *CreativeOptionsCreativeRotationType `json:"creativeRotationType,omitempty"`
}

CreativeOptions defines model for CreativeOptions.

type CreativeOptionsCreativeRotationType added in v0.0.2

type CreativeOptionsCreativeRotationType string

CreativeOptionsCreativeRotationType The creative rotation type.

const (
	RANDOM   CreativeOptionsCreativeRotationType = "RANDOM"
	WEIGHTED CreativeOptionsCreativeRotationType = "WEIGHTED"
)

Defines values for CreativeOptionsCreativeRotationType.

type Creatives added in v0.0.2

type Creatives struct {
	Response *[]Creative `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

Creatives defines model for Creatives.

type CurrencyCode added in v0.0.2

type CurrencyCode string

CurrencyCode The currency code.

const (
	CAD CurrencyCode = "CAD"
	MXN CurrencyCode = "MXN"
	USD CurrencyCode = "USD"
)

Defines values for CurrencyCode.

type CurrencyCodeV3 added in v0.0.2

type CurrencyCodeV3 = CurrencyCode

CurrencyCodeV3 The currency code.

type DayPart added in v0.0.2

type DayPart struct {
	// DayOfWeek The day of the week.
	DayOfWeek DayPartDayOfWeek `json:"dayOfWeek"`
	HourSlots []int64          `json:"hourSlots"`
}

DayPart The parts of a day.

type DayPartDayOfWeek added in v0.0.2

type DayPartDayOfWeek string

DayPartDayOfWeek The day of the week.

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

Defines values for DayPartDayOfWeek.

type DayPartTargeting added in v0.0.2

type DayPartTargeting struct {
	// DayParts The list of parts of the day.
	DayParts []DayPart `json:"dayParts"`

	// TimeZonePreference The time zone associated with line item delivery.
	TimeZonePreference DayPartTargetingTimeZonePreference `json:"timeZonePreference"`
}

DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.

type DayPartTargetingTimeZonePreference added in v0.0.2

type DayPartTargetingTimeZonePreference string

DayPartTargetingTimeZonePreference The time zone associated with line item delivery.

const (
	ADSERVERTIMEZONE DayPartTargetingTimeZonePreference = "AD_SERVER_TIMEZONE"
	USERTIMEZONE     DayPartTargetingTimeZonePreference = "USER_TIMEZONE"
)

Defines values for DayPartTargetingTimeZonePreference.

type DealFee added in v0.0.2

type DealFee struct {
	// Amount The price agreed upon with the publisher. Given in base currency units multiplied by scaling factor ('scale').
	Amount *int `json:"amount,omitempty"`

	// Currency Base currency, such as US Dollar, given in ISO 4217.
	Currency *string `json:"currency,omitempty"`

	// FeeCalculationType How the fee is applied.
	FeeCalculationType *DealFeeFeeCalculationType `json:"feeCalculationType,omitempty"`

	// Scale Scale of the amount relative to the base currency unit. For instance, if the scale is 100000, the currency is USD, and the amount is 50000, the human-readable fee is $0.50.
	Scale *int `json:"scale,omitempty"`
}

DealFee The fee associated with the deal. This will be the same value as deal price, but includes more information such as currency code.

type DealFeeFeeCalculationType added in v0.0.2

type DealFeeFeeCalculationType string

DealFeeFeeCalculationType How the fee is applied.

const (
	FIXEDCPM  DealFeeFeeCalculationType = "FIXED_CPM"
	FLOORRATE DealFeeFeeCalculationType = "FLOOR_RATE"
)

Defines values for DealFeeFeeCalculationType.

type DealInfo added in v0.0.2

type DealInfo struct {
	DealGroup *string `json:"dealGroup,omitempty"`

	// DealPrice Price of the deal
	DealPrice *float64          `json:"dealPrice,omitempty"`
	DealType  *DealInfoDealType `json:"dealType,omitempty"`
	EndDate   *time.Time        `json:"endDate,omitempty"`

	// ExchangeName The name of the supply source item to which the deal belongs. If deal belongs to OPEN_EXCHANGE, it is the name of the consolidated supply source item.
	ExchangeName  *string    `json:"exchangeName,omitempty"`
	PublisherName *string    `json:"publisherName,omitempty"`
	StartDate     *time.Time `json:"startDate,omitempty"`
}

DealInfo Deal metadata present only for the DEAL type.

type DealInfoDealType added in v0.0.2

type DealInfoDealType string

DealInfoDealType defines model for DealInfo.DealType.

const (
	DealInfoDealTypePREFERREDDEAL  DealInfoDealType = "PREFERRED_DEAL"
	DealInfoDealTypePRIVATEAUCTION DealInfoDealType = "PRIVATE_AUCTION"
)

Defines values for DealInfoDealType.

type DealInfoV11 added in v0.0.2

type DealInfoV11 = DealInfo

DealInfoV11 Deal metadata present only for the DEAL type.

type DealInfoV12 added in v0.0.2

type DealInfoV12 struct {
	DealGroup *string `json:"dealGroup,omitempty"`

	// DealId ID provided by the user while creating the deal.
	DealId *string `json:"dealId,omitempty"`

	// DealPrice Price of the deal
	DealPrice *float64             `json:"dealPrice,omitempty"`
	DealType  *DealInfoV12DealType `json:"dealType,omitempty"`
	EndDate   *time.Time           `json:"endDate,omitempty"`

	// ExchangeName The name of the supply source item to which the deal belongs. If deal belongs to OPEN_EXCHANGE, it is the name of the consolidated supply source item.
	ExchangeName  *string    `json:"exchangeName,omitempty"`
	PublisherName *string    `json:"publisherName,omitempty"`
	StartDate     *time.Time `json:"startDate,omitempty"`
}

DealInfoV12 defines model for DealInfoV1_2.

type DealInfoV12DealType added in v0.0.2

type DealInfoV12DealType string

DealInfoV12DealType defines model for DealInfoV12.DealType.

const (
	DealInfoV12DealTypePREFERREDDEAL  DealInfoV12DealType = "PREFERRED_DEAL"
	DealInfoV12DealTypePRIVATEAUCTION DealInfoV12DealType = "PRIVATE_AUCTION"
)

Defines values for DealInfoV12DealType.

type DeliveryActivationStatus added in v0.0.2

type DeliveryActivationStatus string

DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.

const (
	DeliveryActivationStatusACTIVE   DeliveryActivationStatus = "ACTIVE"
	DeliveryActivationStatusINACTIVE DeliveryActivationStatus = "INACTIVE"
)

Defines values for DeliveryActivationStatus.

type DiscoveryLineItemTypes added in v0.0.2

type DiscoveryLineItemTypes string

DiscoveryLineItemTypes defines model for DiscoveryLineItemTypes.

const (
	DiscoveryLineItemTypesAAPMOBILEAPP        DiscoveryLineItemTypes = "AAP_MOBILE_APP"
	DiscoveryLineItemTypesAMAZONMOBILEDISPLAY DiscoveryLineItemTypes = "AMAZON_MOBILE_DISPLAY"
	DiscoveryLineItemTypesSTANDARDDISPLAY     DiscoveryLineItemTypes = "STANDARD_DISPLAY"
	DiscoveryLineItemTypesVIDEO               DiscoveryLineItemTypes = "VIDEO"
)

Defines values for DiscoveryLineItemTypes.

type DomainFileMetaData added in v0.0.2

type DomainFileMetaData struct {
	// FileKey The S3 key of domain list file.
	FileKey string `json:"fileKey"`

	// FileName The domain list file name.
	FileName string `json:"fileName"`
}

DomainFileMetaData defines model for DomainFileMetaData.

type DomainFileValidationResponse added in v0.0.2

type DomainFileValidationResponse struct {
	// AddedDomainSize Number of domains in the file that have been added to the line item.
	AddedDomainSize *int `json:"addedDomainSize,omitempty"`

	// DuplicateDomainSize Number of duplicate domains in the file. The unique ones of them are added to the line item.
	DuplicateDomainSize *int `json:"duplicateDomainSize,omitempty"`

	// DuplicateDomainsFileUrl The URL of duplicate domains file. It expires in 1 hour.
	DuplicateDomainsFileUrl *string `json:"duplicateDomainsFileUrl,omitempty"`

	// FileName The uploaded file name.
	FileName *string `json:"fileName,omitempty"`

	// InvalidDomainSize Number of invalid domains in the file. They are not added to the line item.
	InvalidDomainSize *int `json:"invalidDomainSize,omitempty"`

	// InvalidDomainsFileUrl The URL of invalid domains file. It expires in 1 hour.
	InvalidDomainsFileUrl *string `json:"invalidDomainsFileUrl,omitempty"`
}

DomainFileValidationResponse defines model for DomainFileValidationResponse.

type DomainList added in v0.0.2

type DomainList struct {
	// InheritFromAdvertiser Inherit domains from advertiser settings.
	InheritFromAdvertiser *bool             `json:"inheritFromAdvertiser,omitempty"`
	MergedDomainList      *MergedDomainList `json:"mergedDomainList,omitempty"`
}

DomainList defines model for DomainList.

type DomainListMetadata added in v0.0.2

type DomainListMetadata struct {
	Created *time.Time `json:"created,omitempty"`
	Id      *string    `json:"id,omitempty"`
	Name    *string    `json:"name,omitempty"`

	// Size Number of URLs specified in this list
	Size    *int       `json:"size,omitempty"`
	Updated *time.Time `json:"updated,omitempty"`
}

DomainListMetadata defines model for DomainListMetadata.

type DoubleVerify added in v0.0.2

type DoubleVerify struct {
	AuthenticBrandSafety *DoubleVerifyAuthenticBrandSafety `json:"authenticBrandSafety,omitempty"`

	// BrandSafety In an update from Double Verify (DV), support for `HATE_SPEECH_PROFANITY`, medium severity `ADULT_CONTENT`, and `SEX_EDUCATION` has been dropped. Additionally, DV has moved away from high severity content and medium severity content in favor of content categories and content categories with risk. Any value found below that is represented as a content category will continue to exclude the particular content category that the value represents. Any value found below that is represented as a content category with risk will now exclude the high and medium content category with risk that the value represents. Please consider adopting the latest version of the line item APIs for updated support of DV brand safety.
	BrandSafety *DoubleVerifyBrandSafety `json:"brandSafety,omitempty"`

	// CustomContextualSegmentId The custom segment identifier.
	CustomContextualSegmentId *string                          `json:"customContextualSegmentId,omitempty"`
	FraudInvalidTraffic       *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
	Viewability               *DoubleVerifyViewability         `json:"viewability,omitempty"`
}

DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type DoubleVerifyAuthenticBrandSafety added in v0.0.2

type DoubleVerifyAuthenticBrandSafety struct {
	// DoubleVerifySegmentId The segment identifier.
	DoubleVerifySegmentId *string `json:"doubleVerifySegmentId,omitempty"`
}

DoubleVerifyAuthenticBrandSafety defines model for DoubleVerifyAuthenticBrandSafety.

type DoubleVerifyBrandSafety added in v0.0.2

type DoubleVerifyBrandSafety struct {
	// AppAgeRating A list of app age rating to be used for excluding apps.
	AppAgeRating *[]DoubleVerifyBrandSafetyAppAgeRating `json:"appAgeRating,omitempty"`

	// AppStarRating Exclude by app star rating (app inventory only)
	AppStarRating *DoubleVerifyBrandSafetyAppStarRating `json:"appStarRating,omitempty"`

	// ExcludeAppsWithInsufficientRating Set to `true` to exclude unofficial apps or apps with insufficient user ratings (<100 lifetime).
	ExcludeAppsWithInsufficientRating *bool `json:"excludeAppsWithInsufficientRating,omitempty"`

	// HighSeverityContent A list of high severity content and corresponding status.
	HighSeverityContent *[]DoubleVerifyBrandSafetyHighSeverityContent `json:"highSeverityContent,omitempty"`

	// MediumSeverityContent A list of medium severity content and corresponding status.
	MediumSeverityContent *[]DoubleVerifyBrandSafetyMediumSeverityContent `json:"mediumSeverityContent,omitempty"`

	// UnknownContent Set to `true` to exclude unknown content.
	UnknownContent *bool `json:"unknownContent,omitempty"`
}

DoubleVerifyBrandSafety In an update from Double Verify (DV), support for `HATE_SPEECH_PROFANITY`, medium severity `ADULT_CONTENT`, and `SEX_EDUCATION` has been dropped. Additionally, DV has moved away from high severity content and medium severity content in favor of content categories and content categories with risk. Any value found below that is represented as a content category will continue to exclude the particular content category that the value represents. Any value found below that is represented as a content category with risk will now exclude the high and medium content category with risk that the value represents. Please consider adopting the latest version of the line item APIs for updated support of DV brand safety.

type DoubleVerifyBrandSafetyAppAgeRating added in v0.0.2

type DoubleVerifyBrandSafetyAppAgeRating string

DoubleVerifyBrandSafetyAppAgeRating defines model for DoubleVerifyBrandSafety.AppAgeRating.

const (
	DoubleVerifyBrandSafetyAppAgeRatingADULTSONLY DoubleVerifyBrandSafetyAppAgeRating = "ADULTS_ONLY"
	DoubleVerifyBrandSafetyAppAgeRatingEVERYONE   DoubleVerifyBrandSafetyAppAgeRating = "EVERYONE"
	DoubleVerifyBrandSafetyAppAgeRatingMATURE     DoubleVerifyBrandSafetyAppAgeRating = "MATURE"
	DoubleVerifyBrandSafetyAppAgeRatingTEEN       DoubleVerifyBrandSafetyAppAgeRating = "TEEN"
	DoubleVerifyBrandSafetyAppAgeRatingTWEENS     DoubleVerifyBrandSafetyAppAgeRating = "TWEENS"
	DoubleVerifyBrandSafetyAppAgeRatingUNKNOWN    DoubleVerifyBrandSafetyAppAgeRating = "UNKNOWN"
)

Defines values for DoubleVerifyBrandSafetyAppAgeRating.

type DoubleVerifyBrandSafetyAppStarRating added in v0.0.2

type DoubleVerifyBrandSafetyAppStarRating string

DoubleVerifyBrandSafetyAppStarRating Exclude by app star rating (app inventory only)

const (
	DoubleVerifyBrandSafetyAppStarRatingALLOWALL          DoubleVerifyBrandSafetyAppStarRating = "ALLOW_ALL"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT15 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_15"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT20 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_20"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT25 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_25"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT30 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_30"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT35 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_35"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT40 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_40"
	DoubleVerifyBrandSafetyAppStarRatingAPPSTARRATINGLT45 DoubleVerifyBrandSafetyAppStarRating = "APP_STAR_RATING_LT_45"
)

Defines values for DoubleVerifyBrandSafetyAppStarRating.

type DoubleVerifyBrandSafetyHighSeverityContent added in v0.0.2

type DoubleVerifyBrandSafetyHighSeverityContent string

DoubleVerifyBrandSafetyHighSeverityContent defines model for DoubleVerifyBrandSafety.HighSeverityContent.

const (
	DoubleVerifyBrandSafetyHighSeverityContentADULTCONTENT                   DoubleVerifyBrandSafetyHighSeverityContent = "ADULT_CONTENT"
	DoubleVerifyBrandSafetyHighSeverityContentDRUGSSUBSTANCES                DoubleVerifyBrandSafetyHighSeverityContent = "DRUGS_SUBSTANCES"
	DoubleVerifyBrandSafetyHighSeverityContentEXTREMEGRAPHICSVIOLENCEWEAPONS DoubleVerifyBrandSafetyHighSeverityContent = "EXTREME_GRAPHICS_VIOLENCE_WEAPONS"
	DoubleVerifyBrandSafetyHighSeverityContentHATESPEECHPROFANITY            DoubleVerifyBrandSafetyHighSeverityContent = "HATE_SPEECH_PROFANITY"
	DoubleVerifyBrandSafetyHighSeverityContentILLEGALACTIVITIES              DoubleVerifyBrandSafetyHighSeverityContent = "ILLEGAL_ACTIVITIES"
	DoubleVerifyBrandSafetyHighSeverityContentINCENTIVIZEDMALWARECLUTTER     DoubleVerifyBrandSafetyHighSeverityContent = "INCENTIVIZED_MALWARE_CLUTTER"
	DoubleVerifyBrandSafetyHighSeverityContentPIRACYCOPYRIGHTINFRINGEMENT    DoubleVerifyBrandSafetyHighSeverityContent = "PIRACY_COPYRIGHT_INFRINGEMENT"
)

Defines values for DoubleVerifyBrandSafetyHighSeverityContent.

type DoubleVerifyBrandSafetyMediumSeverityContent added in v0.0.2

type DoubleVerifyBrandSafetyMediumSeverityContent string

DoubleVerifyBrandSafetyMediumSeverityContent defines model for DoubleVerifyBrandSafety.MediumSeverityContent.

const (
	DoubleVerifyBrandSafetyMediumSeverityContentADSERVER                        DoubleVerifyBrandSafetyMediumSeverityContent = "AD_SERVER"
	DoubleVerifyBrandSafetyMediumSeverityContentADULTCONTENT                    DoubleVerifyBrandSafetyMediumSeverityContent = "ADULT_CONTENT"
	DoubleVerifyBrandSafetyMediumSeverityContentCELEBRITYGOSSIP                 DoubleVerifyBrandSafetyMediumSeverityContent = "CELEBRITY_GOSSIP"
	DoubleVerifyBrandSafetyMediumSeverityContentCULTSSURVIVALISM                DoubleVerifyBrandSafetyMediumSeverityContent = "CULTS_SURVIVALISM"
	DoubleVerifyBrandSafetyMediumSeverityContentDISASTERAVIATION                DoubleVerifyBrandSafetyMediumSeverityContent = "DISASTER_AVIATION"
	DoubleVerifyBrandSafetyMediumSeverityContentDISASTERMANMADE                 DoubleVerifyBrandSafetyMediumSeverityContent = "DISASTER_MAN_MADE"
	DoubleVerifyBrandSafetyMediumSeverityContentDISASTERNATURAL                 DoubleVerifyBrandSafetyMediumSeverityContent = "DISASTER_NATURAL"
	DoubleVerifyBrandSafetyMediumSeverityContentDISASTERTERRORISTSEVENTS        DoubleVerifyBrandSafetyMediumSeverityContent = "DISASTER_TERRORISTS_EVENTS"
	DoubleVerifyBrandSafetyMediumSeverityContentDISASTERVEHICLE                 DoubleVerifyBrandSafetyMediumSeverityContent = "DISASTER_VEHICLE"
	DoubleVerifyBrandSafetyMediumSeverityContentDRUGSALCOHOL                    DoubleVerifyBrandSafetyMediumSeverityContent = "DRUGS_ALCOHOL"
	DoubleVerifyBrandSafetyMediumSeverityContentDRUGSSMOKING                    DoubleVerifyBrandSafetyMediumSeverityContent = "DRUGS_SMOKING"
	DoubleVerifyBrandSafetyMediumSeverityContentGAMBLING                        DoubleVerifyBrandSafetyMediumSeverityContent = "GAMBLING"
	DoubleVerifyBrandSafetyMediumSeverityContentINFLAMMATORYPOLITICSNEWS        DoubleVerifyBrandSafetyMediumSeverityContent = "INFLAMMATORY_POLITICS_NEWS"
	DoubleVerifyBrandSafetyMediumSeverityContentNEGATIVENEWSFINANCIAL           DoubleVerifyBrandSafetyMediumSeverityContent = "NEGATIVE_NEWS_FINANCIAL"
	DoubleVerifyBrandSafetyMediumSeverityContentNEGATIVENEWSPHARMACEUTICAL      DoubleVerifyBrandSafetyMediumSeverityContent = "NEGATIVE_NEWS_PHARMACEUTICAL"
	DoubleVerifyBrandSafetyMediumSeverityContentNONSTANDARDCONTENTNONENGLISH    DoubleVerifyBrandSafetyMediumSeverityContent = "NON_STANDARD_CONTENT_NON_ENGLISH"
	DoubleVerifyBrandSafetyMediumSeverityContentNONSTANDARDCONTENTPARKINGPAGE   DoubleVerifyBrandSafetyMediumSeverityContent = "NON_STANDARD_CONTENT_PARKING_PAGE"
	DoubleVerifyBrandSafetyMediumSeverityContentOCCULT                          DoubleVerifyBrandSafetyMediumSeverityContent = "OCCULT"
	DoubleVerifyBrandSafetyMediumSeverityContentSEXEDUCATION                    DoubleVerifyBrandSafetyMediumSeverityContent = "SEX_EDUCATION"
	DoubleVerifyBrandSafetyMediumSeverityContentUNMODERATEDUGCFORUMSIMAGESVIDEO DoubleVerifyBrandSafetyMediumSeverityContent = "UNMODERATED_UGC_FORUMS_IMAGES_VIDEO"
)

Defines values for DoubleVerifyBrandSafetyMediumSeverityContent.

type DoubleVerifyFraudInvalidTraffic added in v0.0.2

type DoubleVerifyFraudInvalidTraffic struct {
	// BlockAppAndSites Set to `true` to block applications and sites with insufficient historical fraud and invalid traffic statistics. This will not be applicable if ALLOW_ALL is chosen.
	BlockAppAndSites    *bool                                               `json:"blockAppAndSites,omitempty"`
	ExcludeAppsAndSites *DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites `json:"excludeAppsAndSites,omitempty"`

	// ExcludeImpressions Set to `true` to exclude impressions delivered to devices identified to be fraudulent or invalid.
	ExcludeImpressions *bool `json:"excludeImpressions,omitempty"`
}

DoubleVerifyFraudInvalidTraffic defines model for DoubleVerifyFraudInvalidTraffic.

type DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites added in v0.0.2

type DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites string

DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites defines model for DoubleVerifyFraudInvalidTraffic.ExcludeAppsAndSites.

const (
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesALLOWALL                DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "ALLOW_ALL"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE02  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_02"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE04  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_04"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE06  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_06"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE08  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_08"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE10  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_10"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE100 DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_100"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE25  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_25"
	DoubleVerifyFraudInvalidTrafficExcludeAppsAndSitesFRAUDTRAFFICLEVELGTE50  DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites = "FRAUD_TRAFFIC_LEVEL_GTE_50"
)

Defines values for DoubleVerifyFraudInvalidTrafficExcludeAppsAndSites.

type DoubleVerifyV21 added in v0.0.2

type DoubleVerifyV21 = DoubleVerify

DoubleVerifyV21 Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type DoubleVerifyViewability added in v0.0.2

type DoubleVerifyViewability struct {
	// BrandExposureViewabilityTargeting The type of brand exposure viewability targeting.
	BrandExposureViewabilityTargeting *DoubleVerifyViewabilityBrandExposureViewabilityTargeting `json:"brandExposureViewabilityTargeting,omitempty"`

	// IncludeUnmeasurableImpressions Set to `true` to include impressions where impressions can't be measured.
	IncludeUnmeasurableImpressions *bool `json:"includeUnmeasurableImpressions,omitempty"`

	// MrcViewabilityTargeting The type of MRC viewability targeting.
	MrcViewabilityTargeting *DoubleVerifyViewabilityMrcViewabilityTargeting `json:"mrcViewabilityTargeting,omitempty"`
}

DoubleVerifyViewability defines model for DoubleVerifyViewability.

type DoubleVerifyViewabilityBrandExposureViewabilityTargeting added in v0.0.2

type DoubleVerifyViewabilityBrandExposureViewabilityTargeting string

DoubleVerifyViewabilityBrandExposureViewabilityTargeting The type of brand exposure viewability targeting.

const (
	DoubleVerifyViewabilityBrandExposureViewabilityTargetingALLOWALL                                    DoubleVerifyViewabilityBrandExposureViewabilityTargeting = "ALLOW_ALL"
	DoubleVerifyViewabilityBrandExposureViewabilityTargetingBRANDEXPOSUREVIEWABILITYGTE10SECAVGDURATION DoubleVerifyViewabilityBrandExposureViewabilityTargeting = "BRAND_EXPOSURE_VIEWABILITY_GTE_10_SEC_AVG_DURATION"
	DoubleVerifyViewabilityBrandExposureViewabilityTargetingBRANDEXPOSUREVIEWABILITYGTE15SECAVGDURATION DoubleVerifyViewabilityBrandExposureViewabilityTargeting = "BRAND_EXPOSURE_VIEWABILITY_GTE_15_SEC_AVG_DURATION"
	DoubleVerifyViewabilityBrandExposureViewabilityTargetingBRANDEXPOSUREVIEWABILITYGTE5SECAVGDURATION  DoubleVerifyViewabilityBrandExposureViewabilityTargeting = "BRAND_EXPOSURE_VIEWABILITY_GTE_5_SEC_AVG_DURATION"
)

Defines values for DoubleVerifyViewabilityBrandExposureViewabilityTargeting.

type DoubleVerifyViewabilityMrcViewabilityTargeting added in v0.0.2

type DoubleVerifyViewabilityMrcViewabilityTargeting string

DoubleVerifyViewabilityMrcViewabilityTargeting The type of MRC viewability targeting.

const (
	DoubleVerifyViewabilityMrcViewabilityTargetingALLOWALL            DoubleVerifyViewabilityMrcViewabilityTargeting = "ALLOW_ALL"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE30 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_30"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE40 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_40"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE50 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_50"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE55 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_55"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE60 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_60"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE65 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_65"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE70 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_70"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE75 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_75"
	DoubleVerifyViewabilityMrcViewabilityTargetingMRCVIEWABILITYGTE80 DoubleVerifyViewabilityMrcViewabilityTargeting = "MRC_VIEWABILITY_GTE_80"
)

Defines values for DoubleVerifyViewabilityMrcViewabilityTargeting.

type DoubleVerifyViewabilityV21 added in v0.0.2

type DoubleVerifyViewabilityV21 = DoubleVerifyViewability

DoubleVerifyViewabilityV21 defines model for DoubleVerifyViewabilityV2_1.

type DspAdChoicesPositionV1 added in v0.0.2

type DspAdChoicesPositionV1 string

DspAdChoicesPositionV1 Default value is TOP_RIGHT.

const (
	BOTTOMLEFT  DspAdChoicesPositionV1 = "BOTTOM_LEFT"
	BOTTOMRIGHT DspAdChoicesPositionV1 = "BOTTOM_RIGHT"
	TOPLEFT     DspAdChoicesPositionV1 = "TOP_LEFT"
	TOPRIGHT    DspAdChoicesPositionV1 = "TOP_RIGHT"
)

Defines values for DspAdChoicesPositionV1.

type DspAssetV1 added in v0.0.2

type DspAssetV1 struct {
	// AssetId The uploaded asset Id. This Id is provided by Creative Assets API when user registers an asset with assetType after upload.
	AssetId string `json:"assetId"`

	// Url The asset's URL. This will be provided if asset linked with the creative being read is not registered in Creative Assets API.
	Url *string `json:"url,omitempty"`

	// Version The uploaded asset version. This version is provided by Creative Assets API when user registers an asset with assetType after upload.
	Version string `json:"version"`
}

DspAssetV1 Asset to be associated with creative.

type DspBaseCreateCreativeRequestV1 added in v0.0.2

type DspBaseCreateCreativeRequestV1 struct {
	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`
}

DspBaseCreateCreativeRequestV1 defines model for DspBaseCreateCreativeRequestV1.

type DspBaseReadCreativeV1 added in v0.0.2

type DspBaseReadCreativeV1 struct {
	// ApprovalStatus The creative approval status.
	ApprovalStatus *DspCreativeApprovalStatusV1 `json:"approvalStatus,omitempty"`

	// CreatedDate The creative created date.
	CreatedDate *string `json:"createdDate,omitempty"`

	// LastUpdatedDate The creative last updated date.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`
}

DspBaseReadCreativeV1 This holds common read-only properties of all creative types.

type DspBaseUpdateCreativeRequestV1 added in v0.0.2

type DspBaseUpdateCreativeRequestV1 struct {
	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// Name The creative name.
	Name string `json:"name"`
}

DspBaseUpdateCreativeRequestV1 defines model for DspBaseUpdateCreativeRequestV1.

type DspBaseWriteCreativeV1 added in v0.0.2

type DspBaseWriteCreativeV1 struct {
	// Name The creative name.
	Name string `json:"name"`
}

DspBaseWriteCreativeV1 This holds common mutable properties of all creative types update request.

type DspClickThroughAndroidAppDownloadActionV1 added in v0.0.2

type DspClickThroughAndroidAppDownloadActionV1 struct {
	// DownloadUrl URL to direct users to download app. By default, This will be built automatically using `playStoreId` and `productAsin` information provided. It can be overriden.
	DownloadUrl *string `json:"downloadUrl,omitempty"`

	// IsRtb Indicates whether it's for real time bidding or not. Default value is `false`. This is applicable only to `MOBILE_AAP` supply.
	IsRtb *bool `json:"isRtb,omitempty"`

	// ProductAsin Amazon product Asin, used to build the download URL. This is applicable only to `MOBILE_AAP` supply.
	ProductAsin *string `json:"productAsin,omitempty"`

	// StoreId Android play store Id for app, used to build the download URL.
	StoreId *string `json:"storeId,omitempty"`

	// StorePriority The higher priority store will be tried first, then if it does not exist on device the second store will be tried. Default value is `PLAY_STORE_THEN_AMAZON_APP_STORE`. This is applicable only to `MOBILE_AAP` supply.
	StorePriority *DspClickThroughAndroidAppDownloadActionV1StorePriority `json:"storePriority,omitempty"`
}

DspClickThroughAndroidAppDownloadActionV1 To target Android app download as click through action, at least `storeId`, `productAsin` or `downloadUrl` must be provided. If both `storeId` and `productAsin` is provided, `storePriority` must be provided as well. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.

type DspClickThroughAndroidAppDownloadActionV1StorePriority added in v0.0.2

type DspClickThroughAndroidAppDownloadActionV1StorePriority string

DspClickThroughAndroidAppDownloadActionV1StorePriority The higher priority store will be tried first, then if it does not exist on device the second store will be tried. Default value is `PLAY_STORE_THEN_AMAZON_APP_STORE`. This is applicable only to `MOBILE_AAP` supply.

const (
	AMAZONAPPSTORETHENPLAYSTORE DspClickThroughAndroidAppDownloadActionV1StorePriority = "AMAZON_APP_STORE_THEN_PLAY_STORE"
	PLAYSTORETHENAMAZONAPPSTORE DspClickThroughAndroidAppDownloadActionV1StorePriority = "PLAY_STORE_THEN_AMAZON_APP_STORE"
)

Defines values for DspClickThroughAndroidAppDownloadActionV1StorePriority.

type DspClickThroughDestinationV1 added in v0.0.2

type DspClickThroughDestinationV1 string

DspClickThroughDestinationV1 Choose `AMAZON` if the `click through` links to an Amazon site like Amazon.com or IMDb. Otherwise choose `OTHER`.

const (
	DspClickThroughDestinationV1AMAZON DspClickThroughDestinationV1 = "AMAZON"
	DspClickThroughDestinationV1OTHER  DspClickThroughDestinationV1 = "OTHER"
)

Defines values for DspClickThroughDestinationV1.

type DspClickThroughDetailPageActionV1 added in v0.0.2

type DspClickThroughDetailPageActionV1 struct {
	// EnableDeepLinking Allow to open URL in Amazon App, if available on device. By default it is false. This will be considered only for `MOBILE_AAP` supply.
	EnableDeepLinking *bool `json:"enableDeepLinking,omitempty"`

	// ProductAsin Define which product's detail page the customer should be taken to when tapping on the creative.
	ProductAsin string `json:"productAsin"`
}

DspClickThroughDetailPageActionV1 Click through Action - Detail Page. This is applicable only to `MOBILE_OO` and `MOBILE_AAP` supply.

type DspClickThroughIosAppDownloadActionV1 added in v0.0.2

type DspClickThroughIosAppDownloadActionV1 struct {
	// DownloadUrl URL to direct users to download app. By default, This will be built automatically using `storeLink` information provided. It can be overridden.
	DownloadUrl *string `json:"downloadUrl,omitempty"`

	// StoreLink Apple app store link for app, used to build the download URL.
	StoreLink string `json:"storeLink"`
}

DspClickThroughIosAppDownloadActionV1 Click through action - IOS App Download. This is applicable only to `MOBILE_AAP` supply.

type DspClickThroughKindleAppDownloadActionV1 added in v0.0.2

type DspClickThroughKindleAppDownloadActionV1 struct {
	// DownloadUrl URL to direct users to download app. By default, this will be built automatically using `productAsin` information provided. It can be overridden.
	DownloadUrl *string `json:"downloadUrl,omitempty"`

	// ProductAsin Amazon product Asin, used to build the download URL.
	ProductAsin string `json:"productAsin"`
}

DspClickThroughKindleAppDownloadActionV1 Click through Action - Kindle App Download. This is applicable only to `MOBILE_AAP` supply.

type DspClickThroughSearchAsinActionV1 added in v0.0.2

type DspClickThroughSearchAsinActionV1 struct {
	// EnableDeepLinking Allow to open URL in Amazon App, if available on device. This will be considered only for `MOBILE_AAP` supply. Default value is `false`.
	EnableDeepLinking *bool `json:"enableDeepLinking,omitempty"`

	// ProductAsins Define the Asins to query for in the search results that will be displayed on click-through.
	ProductAsins []string `json:"productAsins"`
}

DspClickThroughSearchAsinActionV1 Click through Action - Search Asins. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.

type DspClickThroughSearchKeywordActionV1 added in v0.0.2

type DspClickThroughSearchKeywordActionV1 struct {
	// EnableDeepLinking Allow to open URL in Amazon App, if available on device. This will be considered only for `MOBILE_AAP` supply. By default it is `false`.
	EnableDeepLinking *bool `json:"enableDeepLinking,omitempty"`

	// Keywords Define the keywords to query for in the search results that will be displayed on click-through.
	Keywords []string `json:"keywords"`
}

DspClickThroughSearchKeywordActionV1 Click through action - Search Keywords. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.

type DspCreateImageCreativeRequestV1 added in v0.0.2

type DspCreateImageCreativeRequestV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Image's click through action which can have any one of the following properties. One action and one action alone must be provided.
	ClickThroughAction DspImageClickThroughActionV1 `json:"clickThroughAction"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size   DspSizeV1                `json:"size"`
	Supply DspImageCreativeSupplyV1 `json:"supply"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspCreateImageCreativeRequestV1 defines model for DspCreateImageCreativeRequestV1.

type DspCreateImageCreativesRequestV1 added in v0.0.2

type DspCreateImageCreativesRequestV1 = []DspCreateImageCreativeRequestV1

DspCreateImageCreativesRequestV1 Create image creatives request.

type DspCreateRecCreativeRequestV1 added in v0.0.2

type DspCreateRecCreativeRequestV1 struct {
	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// AllowThirdPartySellers If it's true, orders can be fulfilled by third party sellers.
	AllowThirdPartySellers *bool `json:"allowThirdPartySellers,omitempty"`

	// AllowedFormats A list of formats configured to display for the creative.
	AllowedFormats *[]DspRecFormatV1 `json:"allowedFormats,omitempty"`

	// AllowedSizes A list of sizes configured to display for the creative. This overrides the default REC supported sizes.
	AllowedSizes *[]DspSizeV1 `json:"allowedSizes,omitempty"`

	// AssociatedProducts Product objects associated with the creative.
	AssociatedProducts []DspRecProductV1 `json:"associatedProducts"`

	// Content Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.
	Content *DspRecContentV1 `json:"content,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// OptimizationGoal Metric which creative optimization should attempt to improve.
	OptimizationGoal *DspRecOptimizationGoalV1 `json:"optimizationGoal,omitempty"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string `json:"thirdPartyClickTrackers,omitempty"`

	// ThirdPartyTrackers URL used for tracking interactions with third party
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspCreateRecCreativeRequestV1 defines model for DspCreateRecCreativeRequestV1.

type DspCreateRecCreativesRequestV1 added in v0.0.2

type DspCreateRecCreativesRequestV1 = []DspCreateRecCreativeRequestV1

DspCreateRecCreativesRequestV1 Create Responsive eCommerce creatives (REC) request.

type DspCreateThirdPartyCreativeRequestV1 added in v0.0.2

type DspCreateThirdPartyCreativeRequestV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// Destination Choose `AMAZON` if the `tag` links to an Amazon site like Amazon.com or IMDb. Otherwise choose `OTHER`.
	Destination *DspClickThroughDestinationV1 `json:"destination,omitempty"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// Supply Different supported supply of creative.
	Supply DspCreativeSupplyV1 `json:"supply"`

	// TagSource The third party tag associated with creative.
	TagSource          string                    `json:"tagSource"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspCreateThirdPartyCreativeRequestV1 defines model for DspCreateThirdPartyCreativeRequestV1.

type DspCreateThirdPartyCreativesRequestV1 added in v0.0.2

type DspCreateThirdPartyCreativesRequestV1 = []DspCreateThirdPartyCreativeRequestV1

DspCreateThirdPartyCreativesRequestV1 Create Third Party creatives request.

type DspCreateVideoCreativeRequestV1 added in v0.0.2

type DspCreateVideoCreativeRequestV1 struct {
	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Click through action for video creatives
	ClickThroughAction DspVideoClickThroughActionV1 `json:"clickThroughAction"`

	// ExternalId The creative external identifier.
	ExternalId *string `json:"externalId,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name               string                    `json:"name"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspCreateVideoCreativeRequestV1 defines model for DspCreateVideoCreativeRequestV1.

type DspCreateVideoCreativesRequestV1 added in v0.0.2

type DspCreateVideoCreativesRequestV1 = []DspCreateVideoCreativeRequestV1

DspCreateVideoCreativesRequestV1 Create video creatives request.

type DspCreativeApprovalStatusV1 added in v0.0.2

type DspCreativeApprovalStatusV1 string

DspCreativeApprovalStatusV1 The creative approval status.

const (
	APPROVED               DspCreativeApprovalStatusV1 = "APPROVED"
	APPROVEDWITHEXCEPTIONS DspCreativeApprovalStatusV1 = "APPROVED_WITH_EXCEPTIONS"
	NOTAPPROVED            DspCreativeApprovalStatusV1 = "NOT_APPROVED"
	PENDING                DspCreativeApprovalStatusV1 = "PENDING"
	WAITINGFORLINEITEM     DspCreativeApprovalStatusV1 = "WAITING_FOR_LINEITEM"
)

Defines values for DspCreativeApprovalStatusV1.

type DspCreativeMarketplaceV1 added in v0.0.2

type DspCreativeMarketplaceV1 string

DspCreativeMarketplaceV1 Marketplace where this creative is applicable.

const (
	DspCreativeMarketplaceV1US DspCreativeMarketplaceV1 = "US"
)

Defines values for DspCreativeMarketplaceV1.

type DspCreativeModerationV1 added in v0.0.2

type DspCreativeModerationV1 struct {
	// AdditionalNotes The additional notes.
	AdditionalNotes *[]string `json:"additionalNotes,omitempty"`
	CreativeId      *string   `json:"creativeId,omitempty"`

	// Reasons The reasons why creative is not approved.
	Reasons *[]string `json:"reasons,omitempty"`

	// Status The creative approval status.
	Status *DspCreativeApprovalStatusV1 `json:"status,omitempty"`
}

DspCreativeModerationV1 The creative moderation summary.

type DspCreativePreviewResponseV1 added in v0.0.2

type DspCreativePreviewResponseV1 struct {
	// PreviewContent The HTML content
	PreviewContent *string `json:"previewContent,omitempty"`
}

DspCreativePreviewResponseV1 Creative preview response.

type DspCreativeResponseV1 added in v0.0.2

type DspCreativeResponseV1 struct {
	// CreativeId The creative Id.
	CreativeId *string `json:"creativeId,omitempty"`

	// ErrorDetails The error response object.
	ErrorDetails *Error `json:"errorDetails,omitempty"`
}

DspCreativeResponseV1 Response for the creative create/update operations. If operation is successful, it contains only creativeId. If it is a failure, it contains only errorDetails.

type DspCreativeSupplyV1 added in v0.0.2

type DspCreativeSupplyV1 string

DspCreativeSupplyV1 Different supported supply of creative.

const (
	DspCreativeSupplyV1DESKTOP   DspCreativeSupplyV1 = "DESKTOP"
	DspCreativeSupplyV1MOBILEAAP DspCreativeSupplyV1 = "MOBILE_AAP"
	DspCreativeSupplyV1MOBILEOO  DspCreativeSupplyV1 = "MOBILE_OO"
)

Defines values for DspCreativeSupplyV1.

type DspCustomUrlActionV1 added in v0.0.2

type DspCustomUrlActionV1 struct {
	// Url Define where the creative links to on click.
	Url string `json:"url"`
}

DspCustomUrlActionV1 Click through Action - Custom Url.

type DspImageClickThroughActionV1 added in v0.0.2

type DspImageClickThroughActionV1 struct {
	// AndroidAppDownload To target Android app download as click through action, at least `storeId`, `productAsin` or `downloadUrl` must be provided. If both `storeId` and `productAsin` is provided, `storePriority` must be provided as well. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.
	AndroidAppDownload *DspClickThroughAndroidAppDownloadActionV1 `json:"androidAppDownload,omitempty"`

	// CustomUrl Click through Action - Custom Url.
	CustomUrl *DspCustomUrlActionV1 `json:"customUrl,omitempty"`

	// DetailPage Click through Action - Detail Page. This is applicable only to `MOBILE_OO` and `MOBILE_AAP` supply.
	DetailPage *DspClickThroughDetailPageActionV1 `json:"detailPage,omitempty"`

	// IosAppDownload Click through action - IOS App Download. This is applicable only to `MOBILE_AAP` supply.
	IosAppDownload *DspClickThroughIosAppDownloadActionV1 `json:"iosAppDownload,omitempty"`

	// KindleAppDownload Click through Action - Kindle App Download. This is applicable only to `MOBILE_AAP` supply.
	KindleAppDownload *DspClickThroughKindleAppDownloadActionV1 `json:"kindleAppDownload,omitempty"`

	// SearchAsin Click through Action - Search Asins. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.
	SearchAsin *DspClickThroughSearchAsinActionV1 `json:"searchAsin,omitempty"`

	// SearchKeyword Click through action - Search Keywords. This is applicable only to `MOBILE_AAP` and `MOBILE_OO` supply.
	SearchKeyword *DspClickThroughSearchKeywordActionV1 `json:"searchKeyword,omitempty"`
}

DspImageClickThroughActionV1 Image's click through action which can have any one of the following properties. One action and one action alone must be provided.

type DspImageCreativePreviewModelV1 added in v0.0.2

type DspImageCreativePreviewModelV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition DspAdChoicesPositionV1 `json:"adChoicesPosition"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Image's click through action which can have any one of the following properties. One action and one action alone must be provided.
	ClickThroughAction *DspImageClickThroughActionV1 `json:"clickThroughAction,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Size Size of the creative.
	Size   DspSizeV1                `json:"size"`
	Supply DspImageCreativeSupplyV1 `json:"supply"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspImageCreativePreviewModelV1 Image creative preview model. Populate this to preview a new creative.

type DspImageCreativePreviewRequestV1 added in v0.0.2

type DspImageCreativePreviewRequestV1 struct {
	// CreativeId The creative Id.
	CreativeId *string `json:"creativeId,omitempty"`

	// CreativeModel Image creative preview model. Populate this to preview a new creative.
	CreativeModel *DspImageCreativePreviewModelV1 `json:"creativeModel,omitempty"`

	// PreviewConfiguration Configuration settings for preview
	PreviewConfiguration *DspPreviewConfigurationV1 `json:"previewConfiguration,omitempty"`
}

DspImageCreativePreviewRequestV1 Image creative preview request. Either `creativeId` or `creativeModel` must be provided, but not both.

type DspImageCreativeSupplyV1 added in v0.0.2

type DspImageCreativeSupplyV1 = DspCreativeSupplyV1

DspImageCreativeSupplyV1 Different supported supply of creative.

type DspImageCreativeV1 added in v0.0.2

type DspImageCreativeV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// ApprovalStatus The creative approval status.
	ApprovalStatus *DspCreativeApprovalStatusV1 `json:"approvalStatus,omitempty"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Image's click through action which can have any one of the following properties. One action and one action alone must be provided.
	ClickThroughAction DspImageClickThroughActionV1 `json:"clickThroughAction"`

	// CreatedDate The creative created date.
	CreatedDate *string `json:"createdDate,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// LastUpdatedDate The creative last updated date.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size   DspSizeV1                `json:"size"`
	Supply DspImageCreativeSupplyV1 `json:"supply"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspImageCreativeV1 defines model for DspImageCreativeV1.

type DspImageCreativesResponseV1 added in v0.0.2

type DspImageCreativesResponseV1 = []DspCreativeResponseV1

DspImageCreativesResponseV1 Create/Update operation's image creatives response.

type DspPreviewConfigurationV1 added in v0.0.2

type DspPreviewConfigurationV1 struct {
	// IsOnAmazon If it's true, shows preview in amazon websites, else shows in other websites
	IsOnAmazon *bool `json:"isOnAmazon,omitempty"`
}

DspPreviewConfigurationV1 Configuration settings for preview

type DspReadImageCreativesResponseV1 added in v0.0.2

type DspReadImageCreativesResponseV1 struct {
	Creatives *[]DspImageCreativeV1 `json:"creatives,omitempty"`
}

DspReadImageCreativesResponseV1 Read image creatives response.

type DspReadRecCreativesResponseV1 added in v0.0.2

type DspReadRecCreativesResponseV1 struct {
	Creatives *[]DspRecCreativeV1 `json:"creatives,omitempty"`
}

DspReadRecCreativesResponseV1 Read Responsive eCommerce creative (REC) creatives response.

type DspReadThirdPartyCreativesResponseV1 added in v0.0.2

type DspReadThirdPartyCreativesResponseV1 struct {
	Creatives *[]DspThirdPartyCreativeV1 `json:"creatives,omitempty"`
}

DspReadThirdPartyCreativesResponseV1 Read Third Party creative creatives response.

type DspReadVideoCreativesResponseV1 added in v0.0.2

type DspReadVideoCreativesResponseV1 struct {
	Creatives *[]DspVideoCreativeV1 `json:"creatives,omitempty"`
}

DspReadVideoCreativesResponseV1 Read video creatives response.

type DspReadWriteImageCreativeAttributesV1 added in v0.0.2

type DspReadWriteImageCreativeAttributesV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Image's click through action which can have any one of the following properties. One action and one action alone must be provided.
	ClickThroughAction DspImageClickThroughActionV1 `json:"clickThroughAction"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspReadWriteImageCreativeAttributesV1 This holds common properties that can we written and updated for image creative.

type DspReadWriteRecCreativeAttributesV1 added in v0.0.2

type DspReadWriteRecCreativeAttributesV1 struct {
	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AllowThirdPartySellers If it's true, orders can be fulfilled by third party sellers.
	AllowThirdPartySellers *bool `json:"allowThirdPartySellers,omitempty"`

	// AllowedFormats A list of formats configured to display for the creative.
	AllowedFormats *[]DspRecFormatV1 `json:"allowedFormats,omitempty"`

	// AllowedSizes A list of sizes configured to display for the creative. This overrides the default REC supported sizes.
	AllowedSizes *[]DspSizeV1 `json:"allowedSizes,omitempty"`

	// AssociatedProducts Product objects associated with the creative.
	AssociatedProducts []DspRecProductV1 `json:"associatedProducts"`

	// Content Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.
	Content *DspRecContentV1 `json:"content,omitempty"`

	// OptimizationGoal Metric which creative optimization should attempt to improve.
	OptimizationGoal *DspRecOptimizationGoalV1 `json:"optimizationGoal,omitempty"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string `json:"thirdPartyClickTrackers,omitempty"`

	// ThirdPartyTrackers URL used for tracking interactions with third party
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspReadWriteRecCreativeAttributesV1 This holds common properties that can we written and updated for REC creative.

type DspReadWriteThirdPartyCreativeAttributesV1 added in v0.0.2

type DspReadWriteThirdPartyCreativeAttributesV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// Destination Choose `AMAZON` if the `tag` links to an Amazon site like Amazon.com or IMDb. Otherwise choose `OTHER`.
	Destination *DspClickThroughDestinationV1 `json:"destination,omitempty"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// TagSource The third party tag associated with creative.
	TagSource          string                    `json:"tagSource"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspReadWriteThirdPartyCreativeAttributesV1 This holds common properties that can we written and updated for Third Party creative.

type DspReadWriteVideoCreativeAttributesV1 added in v0.0.2

type DspReadWriteVideoCreativeAttributesV1 struct {
	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Click through action for video creatives
	ClickThroughAction DspVideoClickThroughActionV1 `json:"clickThroughAction"`

	// ExternalId The creative external identifier.
	ExternalId         *string                   `json:"externalId,omitempty"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspReadWriteVideoCreativeAttributesV1 This holds common properties that can we written and updated for video creative

type DspRecContentV1 added in v0.0.2

type DspRecContentV1 struct {
	// Background Creative customization field for displaying custom images.
	Background *[]DspAssetV1 `json:"background,omitempty"`

	// LogoHeadline Creative customization field for displaying brandlogo and headline.
	LogoHeadline *struct {
		// BrandLogo Asset to be associated with creative.
		BrandLogo DspAssetV1 `json:"brandLogo"`

		// Headline Creative customization field for displaying headline.
		Headline *string `json:"headline,omitempty"`
	} `json:"logoHeadline,omitempty"`
}

DspRecContentV1 Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.

type DspRecCreativePreviewModelV1 added in v0.0.2

type DspRecCreativePreviewModelV1 struct {
	// Content Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.
	Content *DspRecContentV1 `json:"content,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspRecCreativePreviewModelV1 Responsive eCommerce Creative preview model. Populate this to preview a new creative.

type DspRecCreativePreviewRequestV1 added in v0.0.2

type DspRecCreativePreviewRequestV1 struct {
	// CreativeId The identifier of the creative.
	CreativeId *string `json:"creativeId,omitempty"`

	// CreativeModel Responsive eCommerce Creative preview model. Populate this to preview a new creative.
	CreativeModel        *DspRecCreativePreviewModelV1 `json:"creativeModel,omitempty"`
	PreviewConfiguration DspRecPreviewConfigurationV1  `json:"previewConfiguration"`
}

DspRecCreativePreviewRequestV1 Responsive eCommerce creative preview request. Either `creativeId` or `creativeModel` must be provided, but not both.

type DspRecCreativeV1 added in v0.0.2

type DspRecCreativeV1 struct {
	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// AllowThirdPartySellers If it's true, orders can be fulfilled by third party sellers.
	AllowThirdPartySellers *bool `json:"allowThirdPartySellers,omitempty"`

	// AllowedFormats A list of formats configured to display for the creative.
	AllowedFormats *[]DspRecFormatV1 `json:"allowedFormats,omitempty"`

	// AllowedSizes A list of sizes configured to display for the creative. This overrides the default REC supported sizes.
	AllowedSizes *[]DspSizeV1 `json:"allowedSizes,omitempty"`

	// ApprovalStatus The creative approval status.
	ApprovalStatus *DspCreativeApprovalStatusV1 `json:"approvalStatus,omitempty"`

	// AssociatedProducts Product objects associated with the creative.
	AssociatedProducts []DspRecProductV1 `json:"associatedProducts"`

	// Content Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.
	Content *DspRecContentV1 `json:"content,omitempty"`

	// CreatedDate The creative created date.
	CreatedDate *string `json:"createdDate,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// LastUpdatedDate The creative last updated date.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// OptimizationGoal Metric which creative optimization should attempt to improve.
	OptimizationGoal *DspRecOptimizationGoalV1 `json:"optimizationGoal,omitempty"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string `json:"thirdPartyClickTrackers,omitempty"`

	// ThirdPartyTrackers URL used for tracking interactions with third party
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspRecCreativeV1 defines model for DspRecCreativeV1.

type DspRecCreativesResponseV1 added in v0.0.2

type DspRecCreativesResponseV1 = []DspCreativeResponseV1

DspRecCreativesResponseV1 Create/Update operation's rec creatives response.

type DspRecFormatV1 added in v0.0.2

type DspRecFormatV1 string

DspRecFormatV1 Formats configured to display for the creative. * `SHOP_NOW`: Clicking on the ad will take customer to the relevant product detail page. * `ADD_TO_CART`: Clicking on the ad will add the product to the customer’s Cart. * `COUPON`: Clicking on the ad will clip the coupon and take the customer to the product detail page for that item, if signed in; otherwise take them to the coupon landing page where the customer is instructed to sign in.

const (
	ADDTOCART DspRecFormatV1 = "ADD_TO_CART"
	COUPON    DspRecFormatV1 = "COUPON"
	SHOPNOW   DspRecFormatV1 = "SHOP_NOW"
)

Defines values for DspRecFormatV1.

type DspRecOptimizationGoalV1 added in v0.0.2

type DspRecOptimizationGoalV1 string

DspRecOptimizationGoalV1 Metric which creative optimization should attempt to improve.

const (
	DspRecOptimizationGoalV1CLICKTHROUGHRATE   DspRecOptimizationGoalV1 = "CLICK_THROUGH_RATE"
	DspRecOptimizationGoalV1DETAILPAGEVIEWRATE DspRecOptimizationGoalV1 = "DETAIL_PAGE_VIEW_RATE"
	DspRecOptimizationGoalV1PURCHASERATE       DspRecOptimizationGoalV1 = "PURCHASE_RATE"
)

Defines values for DspRecOptimizationGoalV1.

type DspRecPreviewConfigurationV1 added in v0.0.2

type DspRecPreviewConfigurationV1 struct {
	// AllowedFormat Formats configured to display for the creative.
	// * `SHOP_NOW`: Clicking on the ad will take customer to the relevant product detail page.
	// * `ADD_TO_CART`: Clicking on the ad will add the product to the customer’s Cart.
	// * `COUPON`: Clicking on the ad will clip the coupon and take the customer to the product detail page for that item, if signed in; otherwise take them to the coupon landing page where the customer is instructed to sign in.
	AllowedFormat DspRecFormatV1 `json:"allowedFormat"`

	// AllowedSize Size of the creative.
	AllowedSize DspSizeV1 `json:"allowedSize"`

	// AssociatedProduct The object representation of a product.
	AssociatedProduct DspRecProductV1 `json:"associatedProduct"`

	// IsOnAmazon If it's true, shows preview in amazon websites, else shows in other websites
	IsOnAmazon *bool `json:"isOnAmazon,omitempty"`
}

DspRecPreviewConfigurationV1 defines model for DspRecPreviewConfigurationV1.

type DspRecProductV1 added in v0.0.2

type DspRecProductV1 struct {
	// Asin Amazon standard identification number.
	Asin string `json:"asin"`

	// ProductTitle Retail product title.
	ProductTitle *string `json:"productTitle,omitempty"`
}

DspRecProductV1 The object representation of a product.

type DspSizeV1 added in v0.0.2

type DspSizeV1 struct {
	// Height The creative height in pixels.
	Height float64 `json:"height"`

	// Width The creative width in pixels.
	Width float64 `json:"width"`
}

DspSizeV1 Size of the creative.

type DspThirdPartyCreativePreviewModelV1 added in v0.0.2

type DspThirdPartyCreativePreviewModelV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition DspAdChoicesPositionV1 `json:"adChoicesPosition"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// Supply Different supported supply of creative.
	Supply DspCreativeSupplyV1 `json:"supply"`

	// TagSource The third party tag associated with creative.
	TagSource          string                    `json:"tagSource"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspThirdPartyCreativePreviewModelV1 Third Party Creative preview model. Populate this to preview a new creative.

type DspThirdPartyCreativePreviewRequestV1 added in v0.0.2

type DspThirdPartyCreativePreviewRequestV1 struct {
	// CreativeId The identifier of the creative.
	CreativeId *string `json:"creativeId,omitempty"`

	// CreativeModel Third Party Creative preview model. Populate this to preview a new creative.
	CreativeModel *DspThirdPartyCreativePreviewModelV1 `json:"creativeModel,omitempty"`

	// PreviewConfiguration Configuration settings for preview
	PreviewConfiguration DspPreviewConfigurationV1 `json:"previewConfiguration"`
}

DspThirdPartyCreativePreviewRequestV1 Third Party creative preview request. Either `creativeId` or `creativeModel` must be provided, but not both.

type DspThirdPartyCreativeV1 added in v0.0.2

type DspThirdPartyCreativeV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// ApprovalStatus The creative approval status.
	ApprovalStatus *DspCreativeApprovalStatusV1 `json:"approvalStatus,omitempty"`

	// CreatedDate The creative created date.
	CreatedDate *string `json:"createdDate,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// Destination Choose `AMAZON` if the `tag` links to an Amazon site like Amazon.com or IMDb. Otherwise choose `OTHER`.
	Destination *DspClickThroughDestinationV1 `json:"destination,omitempty"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// LastUpdatedDate The creative last updated date.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// Supply Different supported supply of creative.
	Supply DspCreativeSupplyV1 `json:"supply"`

	// TagSource The third party tag associated with creative.
	TagSource          string                    `json:"tagSource"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspThirdPartyCreativeV1 defines model for DspThirdPartyCreativeV1.

type DspThirdPartyCreativesResponseV1 added in v0.0.2

type DspThirdPartyCreativesResponseV1 = []DspCreativeResponseV1

DspThirdPartyCreativesResponseV1 Create/Update third party creatives response.

type DspThirdPartyTrackerTypeV1 added in v0.0.2

type DspThirdPartyTrackerTypeV1 string

DspThirdPartyTrackerTypeV1 Third party creative tracker type.

const (
	IMPRESSION DspThirdPartyTrackerTypeV1 = "IMPRESSION"
)

Defines values for DspThirdPartyTrackerTypeV1.

type DspThirdPartyTrackerV1 added in v0.0.2

type DspThirdPartyTrackerV1 struct {
	// TrackerUrl URL used for tracking interactions with third party
	TrackerUrl string `json:"trackerUrl"`

	// Type Third party creative tracker type.
	Type DspThirdPartyTrackerTypeV1 `json:"type"`
}

DspThirdPartyTrackerV1 Trackers used for tracking interactions with third party

type DspUpdateImageCreativeRequestV1 added in v0.0.2

type DspUpdateImageCreativeRequestV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Image's click through action which can have any one of the following properties. One action and one action alone must be provided.
	ClickThroughAction DspImageClickThroughActionV1 `json:"clickThroughAction"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string                 `json:"thirdPartyClickTrackers,omitempty"`
	ThirdPartyTrackers      *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspUpdateImageCreativeRequestV1 defines model for DspUpdateImageCreativeRequestV1.

type DspUpdateImageCreativesRequestV1 added in v0.0.2

type DspUpdateImageCreativesRequestV1 = []DspUpdateImageCreativeRequestV1

DspUpdateImageCreativesRequestV1 Update image creatives request.

type DspUpdateRecCreativeRequestV1 added in v0.0.2

type DspUpdateRecCreativeRequestV1 struct {
	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// AllowThirdPartySellers If it's true, orders can be fulfilled by third party sellers.
	AllowThirdPartySellers *bool `json:"allowThirdPartySellers,omitempty"`

	// AllowedFormats A list of formats configured to display for the creative.
	AllowedFormats *[]DspRecFormatV1 `json:"allowedFormats,omitempty"`

	// AllowedSizes A list of sizes configured to display for the creative. This overrides the default REC supported sizes.
	AllowedSizes *[]DspSizeV1 `json:"allowedSizes,omitempty"`

	// AssociatedProducts Product objects associated with the creative.
	AssociatedProducts []DspRecProductV1 `json:"associatedProducts"`

	// Content Responsive eCommerce creative field for displaying customized content. Provide either Background or LogoHeadline but not both.
	Content *DspRecContentV1 `json:"content,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// Name The creative name.
	Name string `json:"name"`

	// OptimizationGoal Metric which creative optimization should attempt to improve.
	OptimizationGoal *DspRecOptimizationGoalV1 `json:"optimizationGoal,omitempty"`

	// ThirdPartyClickTrackers This URL is pinged when the creative is clicked. The URL can contain macros.
	ThirdPartyClickTrackers *[]string `json:"thirdPartyClickTrackers,omitempty"`

	// ThirdPartyTrackers URL used for tracking interactions with third party
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspUpdateRecCreativeRequestV1 defines model for DspUpdateRecCreativeRequestV1.

type DspUpdateRecCreativesRequestV1 added in v0.0.2

type DspUpdateRecCreativesRequestV1 = []DspUpdateRecCreativeRequestV1

DspUpdateRecCreativesRequestV1 Update Responsive eCommerce creatives (REC) request.

type DspUpdateThirdPartyCreativeRequestV1 added in v0.0.2

type DspUpdateThirdPartyCreativeRequestV1 struct {
	// AdChoicesPosition Default value is TOP_RIGHT.
	AdChoicesPosition *DspAdChoicesPositionV1 `json:"adChoicesPosition,omitempty"`

	// AdditionalHtml Add HTML to the creative for surveys or other arbitrary HTML.
	AdditionalHtml *string `json:"additionalHtml,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// Destination Choose `AMAZON` if the `tag` links to an Amazon site like Amazon.com or IMDb. Otherwise choose `OTHER`.
	Destination *DspClickThroughDestinationV1 `json:"destination,omitempty"`

	// ExternalId The creative external Id.
	ExternalId *string `json:"externalId,omitempty"`

	// Name The creative name.
	Name string `json:"name"`

	// Size Size of the creative.
	Size DspSizeV1 `json:"size"`

	// TagSource The third party tag associated with creative.
	TagSource          string                    `json:"tagSource"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspUpdateThirdPartyCreativeRequestV1 defines model for DspUpdateThirdPartyCreativeRequestV1.

type DspUpdateThirdPartyCreativesRequestV1 added in v0.0.2

type DspUpdateThirdPartyCreativesRequestV1 = []DspUpdateThirdPartyCreativeRequestV1

DspUpdateThirdPartyCreativesRequestV1 Update Third Party creatives request.

type DspUpdateVideoCreativeRequestV1 added in v0.0.2

type DspUpdateVideoCreativeRequestV1 struct {
	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Click through action for video creatives
	ClickThroughAction DspVideoClickThroughActionV1 `json:"clickThroughAction"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// ExternalId The creative external identifier.
	ExternalId *string `json:"externalId,omitempty"`

	// Name The creative name.
	Name               string                    `json:"name"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspUpdateVideoCreativeRequestV1 defines model for DspUpdateVideoCreativeRequestV1.

type DspUpdateVideoCreativesRequestV1 added in v0.0.2

type DspUpdateVideoCreativesRequestV1 = []DspUpdateVideoCreativeRequestV1

DspUpdateVideoCreativesRequestV1 Update video creatives request

type DspVideoClickThroughActionV1 added in v0.0.2

type DspVideoClickThroughActionV1 struct {
	// CustomUrl Click through Action - Custom Url.
	CustomUrl *DspCustomUrlActionV1 `json:"customUrl,omitempty"`
}

DspVideoClickThroughActionV1 Click through action for video creatives

type DspVideoCreativePreviewModelV1 added in v0.0.2

type DspVideoCreativePreviewModelV1 struct {
	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Click through action for video creatives
	ClickThroughAction *DspVideoClickThroughActionV1 `json:"clickThroughAction,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace        DspCreativeMarketplaceV1  `json:"marketplace"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspVideoCreativePreviewModelV1 Video creative preview model. Populate this to preview a new creative.

type DspVideoCreativePreviewRequestV1 added in v0.0.2

type DspVideoCreativePreviewRequestV1 struct {
	// CreativeId The creative Id.
	CreativeId *string `json:"creativeId,omitempty"`

	// CreativeModel Video creative preview model. Populate this to preview a new creative.
	CreativeModel *DspVideoCreativePreviewModelV1 `json:"creativeModel,omitempty"`
}

DspVideoCreativePreviewRequestV1 Video creative preview request. Either `creativeId` or `creativeModel` must be provided, but not both.

type DspVideoCreativeV1 added in v0.0.2

type DspVideoCreativeV1 struct {
	// AdvertiserId The advertiser Id. It's an immutable field.
	AdvertiserId string `json:"advertiserId"`

	// ApprovalStatus The creative approval status.
	ApprovalStatus *DspCreativeApprovalStatusV1 `json:"approvalStatus,omitempty"`

	// Asset Asset to be associated with creative.
	Asset DspAssetV1 `json:"asset"`

	// ClickThroughAction Click through action for video creatives
	ClickThroughAction DspVideoClickThroughActionV1 `json:"clickThroughAction"`

	// CreatedDate The creative created date.
	CreatedDate *string `json:"createdDate,omitempty"`

	// CreativeId The creative Id. It will be used to perform update operation. It's an immutable field.
	CreativeId string `json:"creativeId"`

	// ExternalId The creative external identifier.
	ExternalId *string `json:"externalId,omitempty"`

	// LastUpdatedDate The creative last updated date.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Marketplace Marketplace where this creative is applicable.
	Marketplace DspCreativeMarketplaceV1 `json:"marketplace"`

	// Name The creative name.
	Name               string                    `json:"name"`
	ThirdPartyTrackers *[]DspThirdPartyTrackerV1 `json:"thirdPartyTrackers,omitempty"`
}

DspVideoCreativeV1 defines model for DspVideoCreativeV1.

type DspVideoCreativesResponseV1 added in v0.0.2

type DspVideoCreativesResponseV1 = []DspCreativeResponseV1

DspVideoCreativesResponseV1 Create/Update operation's video creatives response.

type DvBrandSafetyAppAgeRating added in v0.0.2

type DvBrandSafetyAppAgeRating = []string

DvBrandSafetyAppAgeRating A list of app age ratings to be used for excluding apps. For example, `TEENS_12_PLUS` will only exclude apps with content rated for everyone ages 12 and over. `UNKNOWN` will exclude apps with content unrated or unknown to Double Verify.

type DvBrandSafetyAppStarRating added in v0.0.2

type DvBrandSafetyAppStarRating string

DvBrandSafetyAppStarRating App star rating to be used for excluding apps.

const (
	DvBrandSafetyAppStarRatingALLOWALL                    DvBrandSafetyAppStarRating = "ALLOW_ALL"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT1POINT5STARS DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_1_POINT_5_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT2POINT5STARS DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_2_POINT_5_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT2STARS       DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_2_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT3POINT5STARS DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_3_POINT_5_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT3STARS       DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_3_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT4POINT5STARS DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_4_POINT_5_STARS"
	DvBrandSafetyAppStarRatingAPPSTARRATINGLT4STARS       DvBrandSafetyAppStarRating = "APP_STAR_RATING_LT_4_STARS"
)

Defines values for DvBrandSafetyAppStarRating.

type DvBrandSafetyContentCategories added in v0.0.2

type DvBrandSafetyContentCategories = []string

DvBrandSafetyContentCategories A list of content categories to exclude from targeting.

type DvBrandSafetyContentCategoriesV32 added in v0.0.2

type DvBrandSafetyContentCategoriesV32 = []string

DvBrandSafetyContentCategoriesV32 A list of content categories to exclude from targeting. EXTREME_GRAPHIC is available since version `application/vnd.dsplineitems.v3.2+json`.

type DvBrandSafetyContentCategoriesWithRisk added in v0.0.2

type DvBrandSafetyContentCategoriesWithRisk map[string]BrandSuitabilityRiskLevel

DvBrandSafetyContentCategoriesWithRisk A map from content categories to risk level to exclude from targeting. Available keys are: [`ADULT_CONTENT`, `ALCOHOL`, `CRIME`, `DISASTER_AVIATION`, `DISASTER_MAN_MADE`, `DISASTER_NATURAL`, `DISASTER_TERRORIST_EVENTS`, `DISASTER_VEHICLE`, `HATE_SPEECH`, `PROFANITY`, `SUBSTANCE_ABUSE`, `TOBACCO_ECIGARETTES`, `VIOLENCE_EXTREME_GRAPHIC`]

type DvBrandSafetyContentCategoriesWithRiskV32 added in v0.0.2

type DvBrandSafetyContentCategoriesWithRiskV32 map[string]BrandSuitabilityRiskLevel

DvBrandSafetyContentCategoriesWithRiskV32 A map from content categories to risk level to exclude from targeting. Available keys are: [`ADULT_CONTENT`, `ALCOHOL`, `CRIME`, `DEATH_INJURIES`, `DISASTER_AVIATION`, `DISASTER_MAN_MADE`, `DISASTER_NATURAL`, `DISASTER_TERRORIST_EVENTS`, `DISASTER_VEHICLE`, `HATE_SPEECH`, `PROFANITY`, `SUBSTANCE_ABUSE`, `TOBACCO_ECIGARETTES`, `VIOLENCE_EXTREME_GRAPHIC`]. `DEATH_INJURIES` is available since version `application/vnd.dsplineitems.v3.2+json`.

type DvBrandSafetyExcludeApps added in v0.0.2

type DvBrandSafetyExcludeApps = bool

DvBrandSafetyExcludeApps Set to `true` to exclude unofficial apps or apps with insufficient user ratings (<100 lifetime).

type DvBrandSafetyUnknownContent added in v0.0.2

type DvBrandSafetyUnknownContent = bool

DvBrandSafetyUnknownContent Set to `true` to exclude unknown content.

type DvCustomContextualSegment added in v0.0.2

type DvCustomContextualSegment struct {
	// Id The segment identifier.
	Id string `json:"id"`

	// Name The segment name.
	Name string `json:"name"`
}

DvCustomContextualSegment defines model for DvCustomContextualSegment.

type DvCustomContextualSegmentId added in v0.0.2

type DvCustomContextualSegmentId = string

DvCustomContextualSegmentId The custom segment identifier.

type DvCustomContextualSegments added in v0.0.2

type DvCustomContextualSegments struct {
	CustomContextualSegments *[]DvCustomContextualSegment `json:"customContextualSegments,omitempty"`
	NextToken                *string                      `json:"nextToken,omitempty"`
}

DvCustomContextualSegments defines model for DvCustomContextualSegments.

type EndpointRequestTimedOut added in v0.0.2

type EndpointRequestTimedOut = Error

EndpointRequestTimedOut The error response object.

type Error added in v0.0.2

type Error struct {
	Errors *[]SubError `json:"errors,omitempty"`

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

	// RequestId Request Id that uniquely identifies your request.
	RequestId *string `json:"requestId,omitempty"`
}

Error The error response object.

type ExportProductsByOrderIdParams added in v0.0.2

type ExportProductsByOrderIdParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

ExportProductsByOrderIdParams defines parameters for ExportProductsByOrderId.

type ExportProductsByOrderIdResp added in v0.0.2

type ExportProductsByOrderIdResp struct {
	Body                                          []byte
	HTTPResponse                                  *http.Response
	ApplicationvndDspproducttrackingfileV1JSON200 *ProductTrackingFile
	ApplicationvndDsperrorsV1JSON400              *Error
	ApplicationvndDsperrorsV1JSON401              *Error
	ApplicationvndDsperrorsV1JSON403              *Error
	ApplicationvndDsperrorsV1JSON404              *Error
	ApplicationvndDsperrorsV1JSON415              *Error
	ApplicationvndDsperrorsV1JSON429              *Error
	ApplicationvndDsperrorsV1JSON500              *Error
	ApplicationvndDsperrorsV1JSON502              *Error
	ApplicationvndDsperrorsV1JSON503              *Error
	ApplicationvndDsperrorsV1JSON504              *Error
}

func ParseExportProductsByOrderIdResp added in v0.0.2

func ParseExportProductsByOrderIdResp(rsp *http.Response) (*ExportProductsByOrderIdResp, error)

ParseExportProductsByOrderIdResp parses an HTTP response from a ExportProductsByOrderIdWithResponse call

func (ExportProductsByOrderIdResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (ExportProductsByOrderIdResp) StatusCode added in v0.0.2

func (r ExportProductsByOrderIdResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FileUploadPolicy added in v0.0.2

type FileUploadPolicy struct {
	// Fields Fields used in Post request. See more details at https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/modules/_aws_sdk_s3_presigned_post.html#post-file-using-formdata-in-nodejs
	Fields *map[string]string `json:"fields,omitempty"`

	// Url The AWS S3 url for file upload. It will be used as POST request URL.
	Url *string `json:"url,omitempty"`
}

FileUploadPolicy defines model for FileUploadPolicy.

type Forbidden added in v0.0.2

type Forbidden = Error

Forbidden The error response object.

type FrequencyCap added in v0.0.2

type FrequencyCap struct {
	// MaxImpressions The maximum number of times an ad is displayed.
	MaxImpressions *int32 `json:"maxImpressions,omitempty"`

	// TimeUnit The time unit.
	TimeUnit *FrequencyCapTimeUnit `json:"timeUnit,omitempty"`

	// TimeUnitCount The count of time units.
	TimeUnitCount *int32 `json:"timeUnitCount,omitempty"`

	// Type The type of advertising frequency cap. If `UNCAPPED`, no other fields are used.
	Type FrequencyCapType `json:"type"`
}

FrequencyCap defines model for FrequencyCap.

type FrequencyCapTimeUnit added in v0.0.2

type FrequencyCapTimeUnit string

FrequencyCapTimeUnit The time unit.

const (
	DAYS  FrequencyCapTimeUnit = "DAYS"
	HOURS FrequencyCapTimeUnit = "HOURS"
)

Defines values for FrequencyCapTimeUnit.

type FrequencyCapType added in v0.0.2

type FrequencyCapType string

FrequencyCapType The type of advertising frequency cap. If `UNCAPPED`, no other fields are used.

const (
	FrequencyCapTypeCUSTOM   FrequencyCapType = "CUSTOM"
	FrequencyCapTypeUNCAPPED FrequencyCapType = "UNCAPPED"
)

Defines values for FrequencyCapType.

type GeoLocation added in v0.0.2

type GeoLocation struct {
	// Category Category of the geo location.
	Category *GeoLocationCategory `json:"category,omitempty"`
	Id       *string              `json:"id,omitempty"`

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

GeoLocation Single geo location information.

type GeoLocationCategory added in v0.0.2

type GeoLocationCategory string

GeoLocationCategory Category of the geo location.

const (
	CITY       GeoLocationCategory = "CITY"
	COUNTRY    GeoLocationCategory = "COUNTRY"
	DMA        GeoLocationCategory = "DMA"
	POSTALCODE GeoLocationCategory = "POSTAL_CODE"
	STATE      GeoLocationCategory = "STATE"
)

Defines values for GeoLocationCategory.

type GeoLocationTargeting added in v0.0.2

type GeoLocationTargeting struct {
	Exclusions *[]Identifier `json:"exclusions,omitempty"`
	Inclusions *[]Identifier `json:"inclusions,omitempty"`

	// LocationTargetingBy The geographic location targeting type. IPADDRESS: includes IP address only. IPADDRESS_POSTALCODE: includes both IP address and postal code.
	LocationTargetingBy *GeoLocationTargetingLocationTargetingBy `json:"locationTargetingBy,omitempty"`
}

GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.

type GeoLocationTargetingLocationTargetingBy added in v0.0.2

type GeoLocationTargetingLocationTargetingBy string

GeoLocationTargetingLocationTargetingBy The geographic location targeting type. IPADDRESS: includes IP address only. IPADDRESS_POSTALCODE: includes both IP address and postal code.

const (
	IPADDRESS           GeoLocationTargetingLocationTargetingBy = "IPADDRESS"
	IPADDRESSPOSTALCODE GeoLocationTargetingLocationTargetingBy = "IPADDRESS_POSTALCODE"
)

Defines values for GeoLocationTargetingLocationTargetingBy.

type GetAppsParams added in v0.0.2

type GetAppsParams struct {
	// AppIdFilter An array of app Ids to retrieve, up to 20 in one request.
	AppIdFilter *[]string `form:"appIdFilter,omitempty" json:"appIdFilter,omitempty"`

	// TextQuery Filter by text. Retrieves up to 1000 results in sorted lexicographically, descending order of relevancy. Results may be paginated to retrieve these items in pages, but no query will return more than 1000 items total.
	TextQuery *string `form:"textQuery,omitempty" json:"textQuery,omitempty"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of apps in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,1000] with default as 10. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetAppsParams defines parameters for GetApps.

type GetAppsResp added in v0.0.2

type GetAppsResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspgetappsV1JSON200 *Apps
	ApplicationvndDspgetappsV1JSON400 *Error
	ApplicationvndDspgetappsV1JSON401 *Error
	ApplicationvndDspgetappsV1JSON403 *Error
	ApplicationvndDspgetappsV1JSON415 *Error
	ApplicationvndDspgetappsV1JSON429 *Error
	ApplicationvndDspgetappsV1JSON500 *Error
}

func ParseGetAppsResp added in v0.0.2

func ParseGetAppsResp(rsp *http.Response) (*GetAppsResp, error)

ParseGetAppsResp parses an HTTP response from a GetAppsWithResponse call

func (GetAppsResp) Status added in v0.0.2

func (r GetAppsResp) Status() string

Status returns HTTPResponse.Status

func (GetAppsResp) StatusCode added in v0.0.2

func (r GetAppsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConversionTrackingsParams added in v0.0.2

type GetConversionTrackingsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetConversionTrackingsParams defines parameters for GetConversionTrackings.

type GetConversionTrackingsResp added in v0.0.2

type GetConversionTrackingsResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON200  *ConversionTracking
	ApplicationvndDspordersV21JSON200 *ConversionTrackingV21
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
}

func ParseGetConversionTrackingsResp added in v0.0.2

func ParseGetConversionTrackingsResp(rsp *http.Response) (*GetConversionTrackingsResp, error)

ParseGetConversionTrackingsResp parses an HTTP response from a GetConversionTrackingsWithResponse call

func (GetConversionTrackingsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (GetConversionTrackingsResp) StatusCode added in v0.0.2

func (r GetConversionTrackingsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreativeModerationParams added in v0.0.2

type GetCreativeModerationParams struct {
	// CreativeIdFilter The returned array is filtered to include only creatives with Ids matching those specified in the comma-delimited string.
	CreativeIdFilter CreativeIdFilter `form:"creativeIdFilter" json:"creativeIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetCreativeModerationParams defines parameters for GetCreativeModeration.

type GetCreativeModerationResp added in v0.0.2

type GetCreativeModerationResp struct {
	Body                                          []byte
	HTTPResponse                                  *http.Response
	ApplicationvndDspmoderationcreativesV1JSON200 *[]DspCreativeModerationV1
	ApplicationvndDsperrorsV1JSON400              *BadRequest
	ApplicationvndDsperrorsV1JSON401              *Unauthorized
	ApplicationvndDsperrorsV1JSON403              *Forbidden
	ApplicationvndDsperrorsV1JSON404              *NotFound
	JSON415                                       *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429              *TooManyRequests
	ApplicationvndDsperrorsV1JSON500              *InternalServerError
	ApplicationvndDsperrorsV1JSON502              *BadGateway
	ApplicationvndDsperrorsV1JSON503              *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504              *EndpointRequestTimedOut
}

func ParseGetCreativeModerationResp added in v0.0.2

func ParseGetCreativeModerationResp(rsp *http.Response) (*GetCreativeModerationResp, error)

ParseGetCreativeModerationResp parses an HTTP response from a GetCreativeModerationWithResponse call

func (GetCreativeModerationResp) Status added in v0.0.2

func (r GetCreativeModerationResp) Status() string

Status returns HTTPResponse.Status

func (GetCreativeModerationResp) StatusCode added in v0.0.2

func (r GetCreativeModerationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreativesParams added in v0.0.2

type GetCreativesParams struct {
	// StartIndex Optional. Sets a zero-based offset into the requested set of creatives. Use in conjunction with the `count` parameter to control pagination of the returned array. Default startIndex is 0. Minimum count is 0.
	StartIndex *string `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// Count Optional. Sets the number of creatives in the returned array. Use in conjunction with the `startIndex` parameter to control pagination. For example, to return the first ten creatives set `startIndex=0` and `count=10`. To return the next ten creatives, set `startIndex=10` and `count=10`, and so on. Default count is 100. Minimum count is 1 and maximum count is 100.
	Count *string `form:"count,omitempty" json:"count,omitempty"`

	// CreativeIdFilter The returned array is filtered to include only creatives with identifiers matching those specified in the comma-delimited string. Either one of (creativeIdFilter or advertiserIdFilter) should be given.
	CreativeIdFilter *string `form:"creativeIdFilter,omitempty" json:"creativeIdFilter,omitempty"`

	// AdvertiserIdFilter The returned array is filtered to include only creatives with identifiers matching those specified in the comma-delimited string. Either one of (creativeIdFilter or advertiserIdFilter) should be given.
	AdvertiserIdFilter *string `form:"advertiserIdFilter,omitempty" json:"advertiserIdFilter,omitempty"`

	// LineItemTypeFilter The returned array is filtered to include only creatives with line item type matching those specified in the comma-delimited string. If the given filter value is not part of enumeration (LineItemType), Response code will be 404. VIDEO line item type filter is available since version `application/vnd.dspcreatives.v2.1+json`.
	LineItemTypeFilter *SupportedLineItemTypes `form:"lineItemTypeFilter,omitempty" json:"lineItemTypeFilter,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetCreativesParams defines parameters for GetCreatives.

type GetCreativesResp added in v0.0.2

type GetCreativesResp struct {
	Body                                 []byte
	HTTPResponse                         *http.Response
	ApplicationvndDspcreativesV2JSON200  *Creatives
	ApplicationvndDspcreativesV21JSON200 *Creatives
	ApplicationvndDspcreativesV2JSON400  *Error
	ApplicationvndDspcreativesV21JSON400 *Error
	ApplicationvndDspcreativesV2JSON401  *Error
	ApplicationvndDspcreativesV21JSON401 *Error
	ApplicationvndDspcreativesV2JSON403  *Error
	ApplicationvndDspcreativesV21JSON403 *Error
	ApplicationvndDspcreativesV2JSON404  *Error
	ApplicationvndDspcreativesV21JSON404 *Error
	ApplicationvndDspcreativesV2JSON415  *Error
	ApplicationvndDspcreativesV21JSON415 *Error
	ApplicationvndDspcreativesV2JSON429  *Error
	ApplicationvndDspcreativesV21JSON429 *Error
	ApplicationvndDspcreativesV2JSON500  *Error
	ApplicationvndDspcreativesV21JSON500 *Error
	ApplicationvndDspcreativesV2JSON502  *Error
	ApplicationvndDspcreativesV21JSON502 *Error
	ApplicationvndDspcreativesV2JSON503  *Error
	ApplicationvndDspcreativesV21JSON503 *Error
	ApplicationvndDspcreativesV2JSON504  *Error
	ApplicationvndDspcreativesV21JSON504 *Error
}

func ParseGetCreativesResp added in v0.0.2

func ParseGetCreativesResp(rsp *http.Response) (*GetCreativesResp, error)

ParseGetCreativesResp parses an HTTP response from a GetCreativesWithResponse call

func (GetCreativesResp) Status added in v0.0.2

func (r GetCreativesResp) Status() string

Status returns HTTPResponse.Status

func (GetCreativesResp) StatusCode added in v0.0.2

func (r GetCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDomainTargetingParams added in v0.0.2

type GetDomainTargetingParams struct {
	// LineItemIdFilter Comma-delimited string of line item ids. Maximum 100 ids.
	LineItemIdFilter string `form:"lineItemIdFilter" json:"lineItemIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetDomainTargetingParams defines parameters for GetDomainTargeting.

type GetDomainTargetingResp added in v0.0.2

type GetDomainTargetingResp struct {
	Body                                          []byte
	HTTPResponse                                  *http.Response
	ApplicationvndDspreaddomaintargetingV1JSON200 *ReadDomainTargetingResponses
	ApplicationvndDsperrorsV1JSON400              *BadRequest
	ApplicationvndDsperrorsV1JSON401              *Unauthorized
	ApplicationvndDsperrorsV1JSON403              *Forbidden
	ApplicationvndDsperrorsV1JSON404              *NotFound
	JSON415                                       *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429              *TooManyRequests
	ApplicationvndDsperrorsV1JSON500              *InternalServerError
	ApplicationvndDsperrorsV1JSON502              *BadGateway
	ApplicationvndDsperrorsV1JSON503              *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504              *EndpointRequestTimedOut
}

func ParseGetDomainTargetingResp added in v0.0.2

func ParseGetDomainTargetingResp(rsp *http.Response) (*GetDomainTargetingResp, error)

ParseGetDomainTargetingResp parses an HTTP response from a GetDomainTargetingWithResponse call

func (GetDomainTargetingResp) Status added in v0.0.2

func (r GetDomainTargetingResp) Status() string

Status returns HTTPResponse.Status

func (GetDomainTargetingResp) StatusCode added in v0.0.2

func (r GetDomainTargetingResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDomainsParams added in v0.0.2

type GetDomainsParams struct {
	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of domain lists in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,100] with default as 10. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetDomainsParams defines parameters for GetDomains.

type GetDomainsResp added in v0.0.2

type GetDomainsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// DomainLists Array of domain lists sorted by creation time, ascending
		DomainLists *interface{} `json:"domainLists,omitempty"`
		NextToken   *string      `json:"nextToken,omitempty"`
	}
	JSON400 *Error
	JSON401 *Error
	JSON403 *Error
	JSON429 *Error
	JSON500 *Error
}

func ParseGetDomainsResp added in v0.0.2

func ParseGetDomainsResp(rsp *http.Response) (*GetDomainsResp, error)

ParseGetDomainsResp parses an HTTP response from a GetDomainsWithResponse call

func (GetDomainsResp) Status added in v0.0.2

func (r GetDomainsResp) Status() string

Status returns HTTPResponse.Status

func (GetDomainsResp) StatusCode added in v0.0.2

func (r GetDomainsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDvCustomContextualSegmentsParams added in v0.0.2

type GetDvCustomContextualSegmentsParams struct {
	// AdvertiserId The advertiser to retrieve pre-bid targeting for.
	AdvertiserId string `form:"advertiserId" json:"advertiserId"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of segments in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetDvCustomContextualSegmentsParams defines parameters for GetDvCustomContextualSegments.

type GetDvCustomContextualSegmentsResp added in v0.0.2

type GetDvCustomContextualSegmentsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DvCustomContextualSegments
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON429      *Error
	JSON500      *Error
}

func ParseGetDvCustomContextualSegmentsResp added in v0.0.2

func ParseGetDvCustomContextualSegmentsResp(rsp *http.Response) (*GetDvCustomContextualSegmentsResp, error)

ParseGetDvCustomContextualSegmentsResp parses an HTTP response from a GetDvCustomContextualSegmentsWithResponse call

func (GetDvCustomContextualSegmentsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (GetDvCustomContextualSegmentsResp) StatusCode added in v0.0.2

func (r GetDvCustomContextualSegmentsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGeoLocationsParams added in v0.0.2

type GetGeoLocationsParams struct {
	// GeoLocationIDFilter An array of location IDs to retrieve, up to 10 in one request.
	GeoLocationIDFilter *[]string `form:"geoLocationIDFilter,omitempty" json:"geoLocationIDFilter,omitempty"`

	// TextQuery Filter by text such as city, state, country, dma, or postal code. Retrieves top 100 results in decreasing order of relevancy. Results may be paginated to retrieve these items in pages, but no query will return more than 100 items total.
	TextQuery *string `form:"textQuery,omitempty" json:"textQuery,omitempty"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of locations in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,100] with default as 10. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetGeoLocationsParams defines parameters for GetGeoLocations.

type GetGeoLocationsResp added in v0.0.2

type GetGeoLocationsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// GeoLocations Array of results matching the given IDs or text query
		GeoLocations *[]GeoLocation `json:"geoLocations,omitempty"`
	}
	JSON400 *Error
	JSON401 *Error
	JSON403 *Error
	JSON429 *Error
	JSON500 *Error
}

func ParseGetGeoLocationsResp added in v0.0.2

func ParseGetGeoLocationsResp(rsp *http.Response) (*GetGeoLocationsResp, error)

ParseGetGeoLocationsResp parses an HTTP response from a GetGeoLocationsWithResponse call

func (GetGeoLocationsResp) Status added in v0.0.2

func (r GetGeoLocationsResp) Status() string

Status returns HTTPResponse.Status

func (GetGeoLocationsResp) StatusCode added in v0.0.2

func (r GetGeoLocationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGoalConfigurationsParams added in v0.0.2

type GetGoalConfigurationsParams struct {
	// ProductLocation Whether to retrieve the goal configurations available for an endemic (sold on Amazon) or non-endemic order.
	ProductLocation GetGoalConfigurationsParamsProductLocation `form:"productLocation" json:"productLocation"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetGoalConfigurationsParams defines parameters for GetGoalConfigurations.

type GetGoalConfigurationsParamsProductLocation added in v0.0.2

type GetGoalConfigurationsParamsProductLocation string

GetGoalConfigurationsParamsProductLocation defines parameters for GetGoalConfigurations.

const (
	GetGoalConfigurationsParamsProductLocationNOTSOLDONAMAZON GetGoalConfigurationsParamsProductLocation = "NOT_SOLD_ON_AMAZON"
	GetGoalConfigurationsParamsProductLocationSOLDONAMAZON    GetGoalConfigurationsParamsProductLocation = "SOLD_ON_AMAZON"
)

Defines values for GetGoalConfigurationsParamsProductLocation.

type GetGoalConfigurationsResp added in v0.0.2

type GetGoalConfigurationsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// GoalConfigurations Array of GoalConfiguration sorted by goal name in ascending lexicographical order.
		GoalConfigurations *[]GoalConfiguration `json:"goalConfigurations,omitempty"`
	}
	ApplicationvndGoalconfigurationsV1JSON200 *struct {
		// GoalConfigurations Array of GoalConfiguration sorted by goal name in ascending lexicographical order.
		GoalConfigurations *[]GoalConfigurationV1 `json:"goalConfigurations,omitempty"`
	}
	ApplicationvndGoalconfigurationsV11JSON200 *struct {
		// GoalConfigurations Array of GoalConfiguration sorted by goal name in ascending lexicographical order.
		GoalConfigurations *[]GoalConfigurationV11 `json:"goalConfigurations,omitempty"`
	}
	JSON400                                   *Error
	ApplicationvndGoalconfigurationsV1JSON400 *Error
	JSON401                                   *Error
	ApplicationvndGoalconfigurationsV1JSON401 *Error
	JSON403                                   *Error
	ApplicationvndGoalconfigurationsV1JSON403 *Error
	JSON429                                   *Error
	ApplicationvndGoalconfigurationsV1JSON429 *Error
	JSON500                                   *Error
	ApplicationvndGoalconfigurationsV1JSON500 *Error
}

func ParseGetGoalConfigurationsResp added in v0.0.2

func ParseGetGoalConfigurationsResp(rsp *http.Response) (*GetGoalConfigurationsResp, error)

ParseGetGoalConfigurationsResp parses an HTTP response from a GetGoalConfigurationsWithResponse call

func (GetGoalConfigurationsResp) Status added in v0.0.2

func (r GetGoalConfigurationsResp) Status() string

Status returns HTTPResponse.Status

func (GetGoalConfigurationsResp) StatusCode added in v0.0.2

func (r GetGoalConfigurationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIabContentCategoriesParams added in v0.0.2

type GetIabContentCategoriesParams struct {
	// LineItemType The line item type to retrieve content categories for. This was introduced in version - `application/vnd.dspiabcontentcategories.v1+json`.
	LineItemType *DiscoveryLineItemTypes `form:"lineItemType,omitempty" json:"lineItemType,omitempty"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of categories in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,1000] with default as 250. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetIabContentCategoriesParams defines parameters for GetIabContentCategories.

type GetIabContentCategoriesResp added in v0.0.2

type GetIabContentCategoriesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// IabContentCategories Array of IABContentCategory sorted by ID in ascending lexicographical order.
		IabContentCategories *[]IABContentCategory `json:"iabContentCategories,omitempty"`
		NextToken            *string               `json:"nextToken,omitempty"`
	}
	ApplicationvndDspiabcontentcategoriesV1JSON200 *struct {
		// IabContentCategories Array of IABContentCategory sorted by ID in ascending lexicographical order.
		IabContentCategories *[]IABContentCategory `json:"iabContentCategories,omitempty"`
		NextToken            *string               `json:"nextToken,omitempty"`
	}
	JSON400                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON400 *Error
	JSON401                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON401 *Error
	JSON403                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON403 *Error
	JSON415                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON415 *Error
	JSON429                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON429 *Error
	JSON500                                        *Error
	ApplicationvndDspiabcontentcategoriesV1JSON500 *Error
}

func ParseGetIabContentCategoriesResp added in v0.0.2

func ParseGetIabContentCategoriesResp(rsp *http.Response) (*GetIabContentCategoriesResp, error)

ParseGetIabContentCategoriesResp parses an HTTP response from a GetIabContentCategoriesWithResponse call

func (GetIabContentCategoriesResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (GetIabContentCategoriesResp) StatusCode added in v0.0.2

func (r GetIabContentCategoriesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetImageCreativesParams added in v0.0.2

type GetImageCreativesParams struct {
	// CreativeIdFilter The returned array is filtered to include only creatives with Ids matching those specified in the comma-delimited string.
	CreativeIdFilter CreativeIdFilter `form:"creativeIdFilter" json:"creativeIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetImageCreativesParams defines parameters for GetImageCreatives.

type GetImageCreativesResp added in v0.0.2

type GetImageCreativesResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndDspimagecreativesV1JSON200 *DspReadImageCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400         *BadRequest
	ApplicationvndDsperrorsV1JSON401         *Unauthorized
	ApplicationvndDsperrorsV1JSON403         *Forbidden
	ApplicationvndDsperrorsV1JSON404         *NotFound
	JSON415                                  *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429         *TooManyRequests
	ApplicationvndDsperrorsV1JSON500         *InternalServerError
	ApplicationvndDsperrorsV1JSON502         *BadGateway
	ApplicationvndDsperrorsV1JSON503         *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504         *EndpointRequestTimedOut
}

func ParseGetImageCreativesResp added in v0.0.2

func ParseGetImageCreativesResp(rsp *http.Response) (*GetImageCreativesResp, error)

ParseGetImageCreativesResp parses an HTTP response from a GetImageCreativesWithResponse call

func (GetImageCreativesResp) Status added in v0.0.2

func (r GetImageCreativesResp) Status() string

Status returns HTTPResponse.Status

func (GetImageCreativesResp) StatusCode added in v0.0.2

func (r GetImageCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLineItemParams added in v0.0.2

type GetLineItemParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetLineItemParams defines parameters for GetLineItem.

type GetLineItemResp added in v0.0.2

type GetLineItemResp struct {
	Body                                 []byte
	HTTPResponse                         *http.Response
	ApplicationvndDsplineitemsV2JSON200  *LineItem
	ApplicationvndDsplineitemsV21JSON200 *LineItemV21
	ApplicationvndDsplineitemsV22JSON200 *LineItemV21
	ApplicationvndDsplineitemsV3JSON200  *LineItemV3
	ApplicationvndDsplineitemsV31JSON200 *LineItemV31
	ApplicationvndDsplineitemsV32JSON200 *LineItemV32
	ApplicationvndDsperrorsV3JSON400     *Error
	ApplicationvndDsplineitemsV2JSON400  *Error
	ApplicationvndDsplineitemsV21JSON400 *Error
	ApplicationvndDsplineitemsV22JSON400 *Error
	ApplicationvndDsperrorsV3JSON401     *Error
	ApplicationvndDsplineitemsV2JSON401  *Error
	ApplicationvndDsplineitemsV21JSON401 *Error
	ApplicationvndDsplineitemsV22JSON401 *Error
	ApplicationvndDsperrorsV3JSON403     *Error
	ApplicationvndDsplineitemsV2JSON403  *Error
	ApplicationvndDsplineitemsV21JSON403 *Error
	ApplicationvndDsplineitemsV22JSON403 *Error
	ApplicationvndDsperrorsV3JSON404     *Error
	ApplicationvndDsplineitemsV2JSON404  *Error
	ApplicationvndDsplineitemsV21JSON404 *Error
	ApplicationvndDsplineitemsV22JSON404 *Error
	ApplicationvndDsperrorsV3JSON415     *Error
	ApplicationvndDsplineitemsV2JSON415  *Error
	ApplicationvndDsplineitemsV21JSON415 *Error
	ApplicationvndDsplineitemsV22JSON415 *Error
	ApplicationvndDsperrorsV3JSON429     *Error
	ApplicationvndDsplineitemsV2JSON429  *Error
	ApplicationvndDsplineitemsV21JSON429 *Error
	ApplicationvndDsplineitemsV22JSON429 *Error
	ApplicationvndDsperrorsV3JSON500     *Error
	ApplicationvndDsplineitemsV2JSON500  *Error
	ApplicationvndDsplineitemsV21JSON500 *Error
	ApplicationvndDsplineitemsV22JSON500 *Error
	ApplicationvndDsperrorsV3JSON502     *Error
	ApplicationvndDsplineitemsV2JSON502  *Error
	ApplicationvndDsplineitemsV21JSON502 *Error
	ApplicationvndDsplineitemsV22JSON502 *Error
	ApplicationvndDsperrorsV3JSON503     *Error
	ApplicationvndDsplineitemsV2JSON503  *Error
	ApplicationvndDsplineitemsV21JSON503 *Error
	ApplicationvndDsplineitemsV22JSON503 *Error
	ApplicationvndDsperrorsV3JSON504     *Error
	ApplicationvndDsplineitemsV2JSON504  *Error
	ApplicationvndDsplineitemsV21JSON504 *Error
	ApplicationvndDsplineitemsV22JSON504 *Error
}

func ParseGetLineItemResp added in v0.0.2

func ParseGetLineItemResp(rsp *http.Response) (*GetLineItemResp, error)

ParseGetLineItemResp parses an HTTP response from a GetLineItemWithResponse call

func (GetLineItemResp) Status added in v0.0.2

func (r GetLineItemResp) Status() string

Status returns HTTPResponse.Status

func (GetLineItemResp) StatusCode added in v0.0.2

func (r GetLineItemResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLineItemsParams added in v0.0.2

type GetLineItemsParams struct {
	// StartIndex Optional. Sets a zero-based offset into the requested set of line items. Use in conjunction with the `count` parameter to control pagination of the returned array. Default startIndex is 0. Minimum count is 0.
	StartIndex *string `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// Count Optional. Sets the number of line items in the returned array. Use in conjunction with the `startIndex` parameter to control pagination. For example, to return the first ten line items set `startIndex=0` and `count=10`. To return the next ten line items, set `startIndex=10` and `count=10`, and so on. Default count is 100. Minimum count is 1 and maximum count is 100.
	Count *string `form:"count,omitempty" json:"count,omitempty"`

	// StatusFilter Optional. The returned array is filtered to include only line items with delivery status matching those specified in the comma-delimited string.
	StatusFilter *string `form:"statusFilter,omitempty" json:"statusFilter,omitempty"`

	// OrderIdFilter The returned array is filtered to include only line items with identifiers matching those specified in the comma-delimited string. Either one of (orderIdFilter or lineItemIdFilter) should be provided.
	OrderIdFilter *string `form:"orderIdFilter,omitempty" json:"orderIdFilter,omitempty"`

	// LineItemIdFilter The returned array is filtered to include only line items with identifiers matching those specified in the comma-delimited string. Either one of (orderIdFilter or lineItemIdFilter) should be provided.
	LineItemIdFilter *string `form:"lineItemIdFilter,omitempty" json:"lineItemIdFilter,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetLineItemsParams defines parameters for GetLineItems.

type GetLineItemsResp added in v0.0.2

type GetLineItemsResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndDspbasiclineitemsV3JSON200 *LineItemsV22
	ApplicationvndDsplineitemsV2JSON200      *LineItems
	ApplicationvndDsplineitemsV21JSON200     *LineItemsV21
	ApplicationvndDsplineitemsV22JSON200     *LineItemsV22
	ApplicationvndDsperrorsV3JSON400         *Error
	ApplicationvndDsplineitemsV2JSON400      *Error
	ApplicationvndDsplineitemsV21JSON400     *Error
	ApplicationvndDsplineitemsV22JSON400     *Error
	ApplicationvndDsperrorsV3JSON401         *Error
	ApplicationvndDsplineitemsV2JSON401      *Error
	ApplicationvndDsplineitemsV21JSON401     *Error
	ApplicationvndDsplineitemsV22JSON401     *Error
	ApplicationvndDsperrorsV3JSON403         *Error
	ApplicationvndDsplineitemsV2JSON403      *Error
	ApplicationvndDsplineitemsV21JSON403     *Error
	ApplicationvndDsplineitemsV22JSON403     *Error
	ApplicationvndDsperrorsV3JSON404         *Error
	ApplicationvndDsplineitemsV2JSON404      *Error
	ApplicationvndDsplineitemsV21JSON404     *Error
	ApplicationvndDsplineitemsV22JSON404     *Error
	ApplicationvndDsperrorsV3JSON415         *Error
	ApplicationvndDsplineitemsV2JSON415      *Error
	ApplicationvndDsplineitemsV21JSON415     *Error
	ApplicationvndDsplineitemsV22JSON415     *Error
	ApplicationvndDsperrorsV3JSON429         *Error
	ApplicationvndDsplineitemsV2JSON429      *Error
	ApplicationvndDsplineitemsV21JSON429     *Error
	ApplicationvndDsplineitemsV22JSON429     *Error
	ApplicationvndDsperrorsV3JSON500         *Error
	ApplicationvndDsplineitemsV2JSON500      *Error
	ApplicationvndDsplineitemsV21JSON500     *Error
	ApplicationvndDsplineitemsV22JSON500     *Error
	ApplicationvndDsperrorsV3JSON502         *Error
	ApplicationvndDsplineitemsV2JSON502      *Error
	ApplicationvndDsplineitemsV21JSON502     *Error
	ApplicationvndDsplineitemsV22JSON502     *Error
	ApplicationvndDsperrorsV3JSON503         *Error
	ApplicationvndDsplineitemsV2JSON503      *Error
	ApplicationvndDsplineitemsV21JSON503     *Error
	ApplicationvndDsplineitemsV22JSON503     *Error
	ApplicationvndDsperrorsV3JSON504         *Error
	ApplicationvndDsplineitemsV2JSON504      *Error
	ApplicationvndDsplineitemsV21JSON504     *Error
	ApplicationvndDsplineitemsV22JSON504     *Error
}

func ParseGetLineItemsResp added in v0.0.2

func ParseGetLineItemsResp(rsp *http.Response) (*GetLineItemsResp, error)

ParseGetLineItemsResp parses an HTTP response from a GetLineItemsWithResponse call

func (GetLineItemsResp) Status added in v0.0.2

func (r GetLineItemsResp) Status() string

Status returns HTTPResponse.Status

func (GetLineItemsResp) StatusCode added in v0.0.2

func (r GetLineItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOdcCustomPredictsParams added in v0.0.2

type GetOdcCustomPredictsParams struct {
	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of segments in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetOdcCustomPredictsParams defines parameters for GetOdcCustomPredicts.

type GetOdcCustomPredictsResp added in v0.0.2

type GetOdcCustomPredictsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OdcCustomPredicts
	JSON400      *Error
	JSON401      *Error
	JSON403      *Error
	JSON429      *Error
	JSON500      *Error
}

func ParseGetOdcCustomPredictsResp added in v0.0.2

func ParseGetOdcCustomPredictsResp(rsp *http.Response) (*GetOdcCustomPredictsResp, error)

ParseGetOdcCustomPredictsResp parses an HTTP response from a GetOdcCustomPredictsWithResponse call

func (GetOdcCustomPredictsResp) Status added in v0.0.2

func (r GetOdcCustomPredictsResp) Status() string

Status returns HTTPResponse.Status

func (GetOdcCustomPredictsResp) StatusCode added in v0.0.2

func (r GetOdcCustomPredictsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOdcStandardPredictsParams added in v0.0.2

type GetOdcStandardPredictsParams struct {
	// NextToken Token to be used to request additional entries. If not provided, up to the first 320 entries are returned. Note: subsequent calls must be made using the same parameters as used in previous requests that returned the provided nextToken.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetOdcStandardPredictsParams defines parameters for GetOdcStandardPredicts.

type GetOdcStandardPredictsResp added in v0.0.2

type GetOdcStandardPredictsResp struct {
	Body                                       []byte
	HTTPResponse                               *http.Response
	ApplicationvndOdcstandardpredictsV1JSON200 *OdcStandardPredicts
	ApplicationvndDsperrorsV1JSON400           *BadRequest
	ApplicationvndDsperrorsV1JSON401           *Unauthorized
	ApplicationvndDsperrorsV1JSON403           *Forbidden
	ApplicationvndDsperrorsV1JSON404           *NotFound
	JSON415                                    *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429           *TooManyRequests
	ApplicationvndDsperrorsV1JSON500           *InternalServerError
	ApplicationvndDsperrorsV1JSON502           *BadGateway
	ApplicationvndDsperrorsV1JSON503           *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504           *EndpointRequestTimedOut
}

func ParseGetOdcStandardPredictsResp added in v0.0.2

func ParseGetOdcStandardPredictsResp(rsp *http.Response) (*GetOdcStandardPredictsResp, error)

ParseGetOdcStandardPredictsResp parses an HTTP response from a GetOdcStandardPredictsWithResponse call

func (GetOdcStandardPredictsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (GetOdcStandardPredictsResp) StatusCode added in v0.0.2

func (r GetOdcStandardPredictsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrderParams added in v0.0.2

type GetOrderParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetOrderParams defines parameters for GetOrder.

type GetOrderResp added in v0.0.2

type GetOrderResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON200  *Order
	ApplicationvndDspordersV21JSON200 *Order
	ApplicationvndDspordersV22JSON200 *OrderV22
	ApplicationvndDspordersV23JSON200 *OrderV23
	ApplicationvndDspordersV24JSON200 *OrdersV24
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV22JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV22JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV22JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV22JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV22JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV22JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV22JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV22JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV22JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
	ApplicationvndDspordersV22JSON504 *Error
}

func ParseGetOrderResp added in v0.0.2

func ParseGetOrderResp(rsp *http.Response) (*GetOrderResp, error)

ParseGetOrderResp parses an HTTP response from a GetOrderWithResponse call

func (GetOrderResp) Status added in v0.0.2

func (r GetOrderResp) Status() string

Status returns HTTPResponse.Status

func (GetOrderResp) StatusCode added in v0.0.2

func (r GetOrderResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrdersParams added in v0.0.2

type GetOrdersParams struct {
	// StartIndex Optional. Sets a zero-based offset into the requested set of orders. Use in conjunction with the `count` parameter to control pagination of the returned array. Default startIndex is 0. Minimum count is 0.
	StartIndex *string `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// Count Optional. Sets the number of orders in the returned array. Use in conjunction with the `startIndex` parameter to control pagination. For example, to return the first ten orders set `startIndex=0` and `count=10`. To return the next ten orders, set `startIndex=10` and `count=10`, and so on. Default count is 100. Minimum count is 1 and maximum count is 100.
	Count *string `form:"count,omitempty" json:"count,omitempty"`

	// StatusFilter Optional. The returned array is filtered to include only orders with delivery status matching those specified in the comma-delimited string.
	StatusFilter *string `form:"statusFilter,omitempty" json:"statusFilter,omitempty"`

	// OrderIdFilter The returned array is filtered to include only orders with identifiers matching those specified in the comma-delimited string. Either one of (OrderIdFilter or advertiserIdFilter) should be provided.
	OrderIdFilter *string `form:"orderIdFilter,omitempty" json:"orderIdFilter,omitempty"`

	// AdvertiserIdFilter The returned array is filtered to include only orders with identifiers matching those specified in the comma-delimited string. Either one of (OrderIdFilter or advertiserIdFilter) should be provided.
	AdvertiserIdFilter *string `form:"advertiserIdFilter,omitempty" json:"advertiserIdFilter,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetOrdersParams defines parameters for GetOrders.

type GetOrdersResp added in v0.0.2

type GetOrdersResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON200  *Orders
	ApplicationvndDspordersV21JSON200 *OrdersV21
	ApplicationvndDspordersV22JSON200 *OrdersV22
	ApplicationvndDspordersV23JSON200 *OrdersV23
	ApplicationvndDspordersV24JSON200 *OrdersV24
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV22JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV22JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV22JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV22JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV22JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV22JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV22JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV22JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV22JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
	ApplicationvndDspordersV22JSON504 *Error
}

func ParseGetOrdersResp added in v0.0.2

func ParseGetOrdersResp(rsp *http.Response) (*GetOrdersResp, error)

ParseGetOrdersResp parses an HTTP response from a GetOrdersWithResponse call

func (GetOrdersResp) Status added in v0.0.2

func (r GetOrdersResp) Status() string

Status returns HTTPResponse.Status

func (GetOrdersResp) StatusCode added in v0.0.2

func (r GetOrdersResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPixelsByOrderIdParams added in v0.0.2

type GetPixelsByOrderIdParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetPixelsByOrderIdParams defines parameters for GetPixelsByOrderId.

type GetPixelsByOrderIdResp added in v0.0.2

type GetPixelsByOrderIdResp struct {
	Body                                    []byte
	HTTPResponse                            *http.Response
	ApplicationvndDsppixeltrackingV1JSON200 *PixelTracking
	ApplicationvndDsperrorsV1JSON400        *Error
	ApplicationvndDsperrorsV1JSON401        *Error
	ApplicationvndDsperrorsV1JSON403        *Error
	ApplicationvndDsperrorsV1JSON404        *Error
	ApplicationvndDsperrorsV1JSON415        *Error
	ApplicationvndDsperrorsV1JSON429        *Error
	ApplicationvndDsperrorsV1JSON500        *Error
	ApplicationvndDsperrorsV1JSON502        *Error
	ApplicationvndDsperrorsV1JSON503        *Error
	ApplicationvndDsperrorsV1JSON504        *Error
}

func ParseGetPixelsByOrderIdResp added in v0.0.2

func ParseGetPixelsByOrderIdResp(rsp *http.Response) (*GetPixelsByOrderIdResp, error)

ParseGetPixelsByOrderIdResp parses an HTTP response from a GetPixelsByOrderIdWithResponse call

func (GetPixelsByOrderIdResp) Status added in v0.0.2

func (r GetPixelsByOrderIdResp) Status() string

Status returns HTTPResponse.Status

func (GetPixelsByOrderIdResp) StatusCode added in v0.0.2

func (r GetPixelsByOrderIdResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPixelsParams added in v0.0.2

type GetPixelsParams struct {
	// AdvertiserIdFilter The returned array is filtered to include only pixels owned by the advertiserIds specified. Up to 5 advertisers may be specified in a single request, unless pixelIdFilter is also present (see pixelIdFilter).
	AdvertiserIdFilter []string `form:"advertiserIdFilter" json:"advertiserIdFilter"`

	// PixelIdFilter The returned array is filtered to include only pixels with ID matching those specified in the comma-delimited string. Limited to 25 pixel IDs per request. All pixels specified must belong to the same advertiser and therefore advertiserIdFilter is limited to a single advertiser if pixelIdFilter is non-null.
	PixelIdFilter *[]string `form:"pixelIdFilter,omitempty" json:"pixelIdFilter,omitempty"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of pixels in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,100] with default as 10. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetPixelsParams defines parameters for GetPixels.

type GetPixelsResp added in v0.0.2

type GetPixelsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		NextToken *string `json:"nextToken,omitempty"`

		// Pixels Array of pixels sorted by create time, earliest first.
		Pixels *[]Pixel `json:"pixels,omitempty"`
	}
	JSON400 *Error
	JSON401 *Error
	JSON403 *Error
	JSON429 *Error
	JSON500 *Error
}

func ParseGetPixelsResp added in v0.0.2

func ParseGetPixelsResp(rsp *http.Response) (*GetPixelsResp, error)

ParseGetPixelsResp parses an HTTP response from a GetPixelsWithResponse call

func (GetPixelsResp) Status added in v0.0.2

func (r GetPixelsResp) Status() string

Status returns HTTPResponse.Status

func (GetPixelsResp) StatusCode added in v0.0.2

func (r GetPixelsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductCategoriesParams added in v0.0.2

type GetProductCategoriesParams struct {
	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of categories in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,1000] with default as 250. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetProductCategoriesParams defines parameters for GetProductCategories.

type GetProductCategoriesResp added in v0.0.2

type GetProductCategoriesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		NextToken *string `json:"nextToken,omitempty"`

		// ProductCategories Array of ProductCategory sorted by ID in ascending lexicographical order.
		ProductCategories *[]ProductCategory `json:"productCategories,omitempty"`
	}
	JSON400 *Error
	JSON401 *Error
	JSON403 *Error
	JSON429 *Error
	JSON500 *Error
}

func ParseGetProductCategoriesResp added in v0.0.2

func ParseGetProductCategoriesResp(rsp *http.Response) (*GetProductCategoriesResp, error)

ParseGetProductCategoriesResp parses an HTTP response from a GetProductCategoriesWithResponse call

func (GetProductCategoriesResp) Status added in v0.0.2

func (r GetProductCategoriesResp) Status() string

Status returns HTTPResponse.Status

func (GetProductCategoriesResp) StatusCode added in v0.0.2

func (r GetProductCategoriesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductsByOrderIdParams added in v0.0.2

type GetProductsByOrderIdParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetProductsByOrderIdParams defines parameters for GetProductsByOrderId.

type GetProductsByOrderIdResp added in v0.0.2

type GetProductsByOrderIdResp struct {
	Body                                          []byte
	HTTPResponse                                  *http.Response
	ApplicationvndDspproducttrackinglistV1JSON200 *ProductTrackingListV1
	ApplicationvndDsperrorsV1JSON400              *Error
	ApplicationvndDsperrorsV1JSON401              *Error
	ApplicationvndDsperrorsV1JSON403              *Error
	ApplicationvndDsperrorsV1JSON404              *Error
	ApplicationvndDsperrorsV1JSON415              *Error
	ApplicationvndDsperrorsV1JSON429              *Error
	ApplicationvndDsperrorsV1JSON500              *Error
	ApplicationvndDsperrorsV1JSON502              *Error
	ApplicationvndDsperrorsV1JSON503              *Error
	ApplicationvndDsperrorsV1JSON504              *Error
}

func ParseGetProductsByOrderIdResp added in v0.0.2

func ParseGetProductsByOrderIdResp(rsp *http.Response) (*GetProductsByOrderIdResp, error)

ParseGetProductsByOrderIdResp parses an HTTP response from a GetProductsByOrderIdWithResponse call

func (GetProductsByOrderIdResp) Status added in v0.0.2

func (r GetProductsByOrderIdResp) Status() string

Status returns HTTPResponse.Status

func (GetProductsByOrderIdResp) StatusCode added in v0.0.2

func (r GetProductsByOrderIdResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRecCreativesParams added in v0.0.2

type GetRecCreativesParams struct {
	// CreativeIdFilter The returned array is filtered to include only creatives with Ids matching those specified in the comma-delimited string.
	CreativeIdFilter CreativeIdFilter `form:"creativeIdFilter" json:"creativeIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetRecCreativesParams defines parameters for GetRecCreatives.

type GetRecCreativesResp added in v0.0.2

type GetRecCreativesResp struct {
	Body                                   []byte
	HTTPResponse                           *http.Response
	ApplicationvndDspreccreativesV1JSON200 *DspReadRecCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400       *BadRequest
	ApplicationvndDsperrorsV1JSON401       *Unauthorized
	ApplicationvndDsperrorsV1JSON403       *Forbidden
	ApplicationvndDsperrorsV1JSON404       *NotFound
	JSON415                                *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429       *TooManyRequests
	ApplicationvndDsperrorsV1JSON500       *InternalServerError
	ApplicationvndDsperrorsV1JSON502       *BadGateway
	ApplicationvndDsperrorsV1JSON503       *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504       *EndpointRequestTimedOut
}

func ParseGetRecCreativesResp added in v0.0.2

func ParseGetRecCreativesResp(rsp *http.Response) (*GetRecCreativesResp, error)

ParseGetRecCreativesResp parses an HTTP response from a GetRecCreativesWithResponse call

func (GetRecCreativesResp) Status added in v0.0.2

func (r GetRecCreativesResp) Status() string

Status returns HTTPResponse.Status

func (GetRecCreativesResp) StatusCode added in v0.0.2

func (r GetRecCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSupplySourcesParams added in v0.0.2

type GetSupplySourcesParams struct {
	// LineItemType Line item type to retrieve supply sources for
	LineItemType DiscoveryLineItemTypes `form:"lineItemType" json:"lineItemType"`

	// SupplySourceType Type of supply source to retrieve
	SupplySourceType GetSupplySourcesParamsSupplySourceType `form:"supplySourceType" json:"supplySourceType"`

	// OrderId Required for deal supply source type. The start time of the Order will be used to determine which deals to fetch. Returned deals will be valid for the advertiserId used to create the Order.
	OrderId *string `form:"orderId,omitempty" json:"orderId,omitempty"`

	// AdvertiserId Optional, but recommended. If specified, the result set of supply sources will be filtered to only those valid for the given advertiserId. If orderId is also provided, the order must belong to the specified advertiser.
	AdvertiserId *string `form:"advertiserId,omitempty" json:"advertiserId,omitempty"`

	// DeviceTypes Restricts query to the specified device types. If not specified, all valid device types for a line item type will be returned.
	DeviceTypes *[]GetSupplySourcesParamsDeviceTypes `form:"deviceTypes,omitempty" json:"deviceTypes,omitempty"`

	// NextToken Token from a previous request. Use in conjunction with the `maxResults` parameter to control pagination of the returned array.
	NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// MaxResults Sets the maximum number of supply sources in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. The range for maxResults is [1,100] with default as 10. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned.
	MaxResults *int `form:"maxResults,omitempty" json:"maxResults,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetSupplySourcesParams defines parameters for GetSupplySources.

type GetSupplySourcesParamsDeviceTypes added in v0.0.2

type GetSupplySourcesParamsDeviceTypes string

GetSupplySourcesParamsDeviceTypes defines parameters for GetSupplySources.

const (
	GetSupplySourcesParamsDeviceTypesCONNECTEDTV      GetSupplySourcesParamsDeviceTypes = "CONNECTED_TV"
	GetSupplySourcesParamsDeviceTypesDESKTOP          GetSupplySourcesParamsDeviceTypes = "DESKTOP"
	GetSupplySourcesParamsDeviceTypesDESKTOPANDMOBILE GetSupplySourcesParamsDeviceTypes = "DESKTOP_AND_MOBILE"
	GetSupplySourcesParamsDeviceTypesMOBILE           GetSupplySourcesParamsDeviceTypes = "MOBILE"
)

Defines values for GetSupplySourcesParamsDeviceTypes.

type GetSupplySourcesParamsSupplySourceType added in v0.0.2

type GetSupplySourcesParamsSupplySourceType string

GetSupplySourcesParamsSupplySourceType defines parameters for GetSupplySources.

const (
	GetSupplySourcesParamsSupplySourceTypeAMAZONEXCLUSIVE GetSupplySourcesParamsSupplySourceType = "AMAZON_EXCLUSIVE"
	GetSupplySourcesParamsSupplySourceTypeDEAL            GetSupplySourcesParamsSupplySourceType = "DEAL"
	GetSupplySourcesParamsSupplySourceTypeOPENEXCHANGE    GetSupplySourcesParamsSupplySourceType = "OPEN_EXCHANGE"
)

Defines values for GetSupplySourcesParamsSupplySourceType.

type GetSupplySourcesResp added in v0.0.2

type GetSupplySourcesResp struct {
	Body                                  []byte
	HTTPResponse                          *http.Response
	JSON200                               *SupplySourceResponse
	ApplicationvndSupplysourcesV1JSON200  *SupplySourceResponse
	ApplicationvndSupplysourcesV11JSON200 *SupplySourceResponseV11
	ApplicationvndSupplysourcesV12JSON200 *SupplySourceResponseV12
	JSON400                               *Error
	ApplicationvndSupplysourcesV1JSON400  *Error
	ApplicationvndSupplysourcesV11JSON400 *Error
	ApplicationvndSupplysourcesV12JSON400 *Error
	JSON401                               *Error
	ApplicationvndSupplysourcesV1JSON401  *Error
	ApplicationvndSupplysourcesV11JSON401 *Error
	ApplicationvndSupplysourcesV12JSON401 *Error
	JSON403                               *Error
	ApplicationvndSupplysourcesV1JSON403  *Error
	ApplicationvndSupplysourcesV11JSON403 *Error
	ApplicationvndSupplysourcesV12JSON403 *Error
	JSON415                               *Error
	ApplicationvndSupplysourcesV1JSON415  *Error
	ApplicationvndSupplysourcesV11JSON415 *Error
	ApplicationvndSupplysourcesV12JSON415 *Error
	JSON429                               *Error
	ApplicationvndSupplysourcesV1JSON429  *Error
	ApplicationvndSupplysourcesV11JSON429 *Error
	ApplicationvndSupplysourcesV12JSON429 *Error
	JSON500                               *Error
	ApplicationvndSupplysourcesV1JSON500  *Error
	ApplicationvndSupplysourcesV11JSON500 *Error
	ApplicationvndSupplysourcesV12JSON500 *Error
}

func ParseGetSupplySourcesResp added in v0.0.2

func ParseGetSupplySourcesResp(rsp *http.Response) (*GetSupplySourcesResp, error)

ParseGetSupplySourcesResp parses an HTTP response from a GetSupplySourcesWithResponse call

func (GetSupplySourcesResp) Status added in v0.0.2

func (r GetSupplySourcesResp) Status() string

Status returns HTTPResponse.Status

func (GetSupplySourcesResp) StatusCode added in v0.0.2

func (r GetSupplySourcesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetThirdPartyCreativesParams added in v0.0.2

type GetThirdPartyCreativesParams struct {
	// CreativeIdFilter The returned array is filtered to include only creatives with Ids matching those specified in the comma-delimited string.
	CreativeIdFilter CreativeIdFilter `form:"creativeIdFilter" json:"creativeIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetThirdPartyCreativesParams defines parameters for GetThirdPartyCreatives.

type GetThirdPartyCreativesResp added in v0.0.2

type GetThirdPartyCreativesResp struct {
	Body                                          []byte
	HTTPResponse                                  *http.Response
	ApplicationvndDspthirdpartycreativesV1JSON200 *DspReadThirdPartyCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400              *BadRequest
	ApplicationvndDsperrorsV1JSON401              *Unauthorized
	ApplicationvndDsperrorsV1JSON403              *Forbidden
	ApplicationvndDsperrorsV1JSON404              *NotFound
	JSON415                                       *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429              *TooManyRequests
	ApplicationvndDsperrorsV1JSON500              *InternalServerError
	ApplicationvndDsperrorsV1JSON502              *BadGateway
	ApplicationvndDsperrorsV1JSON503              *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504              *EndpointRequestTimedOut
}

func ParseGetThirdPartyCreativesResp added in v0.0.2

func ParseGetThirdPartyCreativesResp(rsp *http.Response) (*GetThirdPartyCreativesResp, error)

ParseGetThirdPartyCreativesResp parses an HTTP response from a GetThirdPartyCreativesWithResponse call

func (GetThirdPartyCreativesResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (GetThirdPartyCreativesResp) StatusCode added in v0.0.2

func (r GetThirdPartyCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVideoCreativesParams added in v0.0.2

type GetVideoCreativesParams struct {
	// CreativeIdFilter The returned array is filtered to include only creatives with Ids matching those specified in the comma-delimited string.
	CreativeIdFilter CreativeIdFilter `form:"creativeIdFilter" json:"creativeIdFilter"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

GetVideoCreativesParams defines parameters for GetVideoCreatives.

type GetVideoCreativesResp added in v0.0.2

type GetVideoCreativesResp struct {
	Body                                     []byte
	HTTPResponse                             *http.Response
	ApplicationvndDspvideocreativesV1JSON200 *DspReadVideoCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400         *BadRequest
	ApplicationvndDsperrorsV1JSON401         *Unauthorized
	ApplicationvndDsperrorsV1JSON403         *Forbidden
	ApplicationvndDsperrorsV1JSON404         *NotFound
	JSON415                                  *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429         *TooManyRequests
	ApplicationvndDsperrorsV1JSON500         *InternalServerError
	ApplicationvndDsperrorsV1JSON502         *BadGateway
	ApplicationvndDsperrorsV1JSON503         *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504         *EndpointRequestTimedOut
}

func ParseGetVideoCreativesResp added in v0.0.2

func ParseGetVideoCreativesResp(rsp *http.Response) (*GetVideoCreativesResp, error)

ParseGetVideoCreativesResp parses an HTTP response from a GetVideoCreativesWithResponse call

func (GetVideoCreativesResp) Status added in v0.0.2

func (r GetVideoCreativesResp) Status() string

Status returns HTTPResponse.Status

func (GetVideoCreativesResp) StatusCode added in v0.0.2

func (r GetVideoCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Goal added in v0.0.2

type Goal string

Goal The primary goal that a campaign using this configuration is trying to achieve.

const (
	GoalAWARENESS              Goal = "AWARENESS"
	GoalCONSIDERATIONSONAMAZON Goal = "CONSIDERATIONS_ON_AMAZON"
	GoalCONVERSIONSOFFAMAZON   Goal = "CONVERSIONS_OFF_AMAZON"
	GoalENGAGEMENTWITHMYAD     Goal = "ENGAGEMENT_WITH_MY_AD"
	GoalMOBILEAPPINSTALLS      Goal = "MOBILE_APP_INSTALLS"
	GoalPURCHASESONAMAZON      Goal = "PURCHASES_ON_AMAZON"
)

Defines values for Goal.

type GoalConfiguration added in v0.0.2

type GoalConfiguration struct {
	AvailableKpis *[]struct {
		// AutoOptimizations Which optimizations can be applied for this KPI
		AutoOptimizations *[]AutoOptimization `json:"autoOptimizations,omitempty"`

		// KpiName Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation.
		KpiName *GoalKpi `json:"kpiName,omitempty"`
	} `json:"availableKpis,omitempty"`

	// GoalName The primary goal that a campaign using this configuration is trying to achieve.
	GoalName *Goal `json:"goalName,omitempty"`
}

GoalConfiguration defines model for GoalConfiguration.

type GoalConfigurationV1 added in v0.0.2

type GoalConfigurationV1 struct {
	AvailableKpis *[]struct {
		// AutoOptimizations Which optimizations can be applied for this KPI
		AutoOptimizations *[]AutoOptimization `json:"autoOptimizations,omitempty"`

		// KpiName Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.goalconfigurations.v1+json.
		KpiName *GoalKpiV1 `json:"kpiName,omitempty"`
	} `json:"availableKpis,omitempty"`

	// GoalName The primary goal that a campaign using this configuration is trying to achieve. PURCHASES_ON_OFF_AMAZON is available since application/vnd.goalconfigurations.v1+json.
	GoalName *GoalV1 `json:"goalName,omitempty"`
}

GoalConfigurationV1 defines model for GoalConfigurationV1.

type GoalConfigurationV11 added in v0.0.2

type GoalConfigurationV11 struct {
	AvailableKpis *[]struct {
		// AutoOptimizations Which optimizations can be applied for this KPI
		AutoOptimizations *[]AutoOptimization `json:"autoOptimizations,omitempty"`

		// KpiName Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.goalconfigurations.v1+json.
		// * CLICK_THROUGH_RATE: The number of click-throughs divided by the number of impressions. (CTR = Clicks / Impressions)
		// * COMBINED_RETURN_ON_AD_SPEND: Return on advertising spend for products sold on and off Amazon, measured as ad-attributed sales per local currency unit of ad spend. (Combined ROAS = Combined product sales / Total cost)
		// * COST_PER_ACTION: The cost to acquire an off-Amazon conversion. (CPA = Total cost / Off-Amazon conversions)
		// * COST_PER_CLICK: The cost paid per click-through. (CPC = Total cost / Clicks)
		// * COST_PER_DETAIL_PAGE_VIEW: The cost to acquire a detail page view for a promoted product. (CPDPV = Total cost / Detail page views)
		// * COST_PER_FIRST_APP_OPEN: The cost to acquire a first-time STV app open. (CPFAO = Total cost / First STV app opens)
		// * COST_PER_INSTALL: The cost for a mobile app install. (CPI = Total cost / Mobile app installs)
		// * COST_PER_VIDEO_COMPLETION: The cost to acquire a video complete conversion. (CPVC = Total cost / Video completions)
		// * DETAIL_PAGE_VIEW_RATE: Detail page view rate for promoted products. (DPVR = Detail page views for promoted products / Impressions)
		// * NONE: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action.
		// * OTHER: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action.
		// * REACH: The number of unique users exposed to the creative during its flight.
		// * RETURN_ON_AD_SPEND: Return on advertising spend for promoted products, measured as ad-attributed sales for promoted products per local currency unit of ad spend. (ROAS = Promoted product sales / Total cost)
		// * TOTAL_COST_PER_SUBSCRIPTION: The cost to acquire a new free trial or paid subscription for a Prime Video channel or STV app subscription. (Total cost per subscription = Total cost / Subscription sign ups)
		// * TOTAL_RETURN_ON_AD_SPEND: Return on ad spend, measured as ad-attributed sales for the brands’ products per local currency unit of ad spend. (Total ROAS = Total product sales / Total cost)
		// * VIDEO_COMPLETION_RATE: The number of video completions relative to the number of video starts. (Video completion rate = Video complete / Video start)
		KpiName *GoalKpiV11 `json:"kpiName,omitempty"`
	} `json:"availableKpis,omitempty"`

	// GoalName The primary goal that a campaign using this configuration is trying to achieve. PURCHASES_ON_OFF_AMAZON is available since application/vnd.goalconfigurations.v1+json.
	GoalName *GoalV1 `json:"goalName,omitempty"`
}

GoalConfigurationV11 defines model for GoalConfigurationV1_1.

type GoalKpi added in v0.0.2

type GoalKpi string

GoalKpi Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation.

const (
	GoalKpiCLICKTHROUGHRATE       GoalKpi = "CLICK_THROUGH_RATE"
	GoalKpiCOSTPERACQUISITION     GoalKpi = "COST_PER_ACQUISITION"
	GoalKpiCOSTPERCLICK           GoalKpi = "COST_PER_CLICK"
	GoalKpiCOSTPERDETAILPAGEVIEW  GoalKpi = "COST_PER_DETAIL_PAGE_VIEW"
	GoalKpiCOSTPERVIDEOCOMPLETION GoalKpi = "COST_PER_VIDEO_COMPLETION"
	GoalKpiDETAILPAGEVIEWRATE     GoalKpi = "DETAIL_PAGE_VIEW_RATE"
	GoalKpiNONE                   GoalKpi = "NONE"
	GoalKpiOTHER                  GoalKpi = "OTHER"
	GoalKpiREACH                  GoalKpi = "REACH"
	GoalKpiRETURNONADSPEND        GoalKpi = "RETURN_ON_AD_SPEND"
	GoalKpiTOTALRETURNONADSPEND   GoalKpi = "TOTAL_RETURN_ON_AD_SPEND"
	GoalKpiVIDEOCOMPLETIONRATE    GoalKpi = "VIDEO_COMPLETION_RATE"
)

Defines values for GoalKpi.

type GoalKpiV1 added in v0.0.2

type GoalKpiV1 = GoalKpi

GoalKpiV1 Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation.

type GoalKpiV11 added in v0.0.2

type GoalKpiV11 string

GoalKpiV11 Performance metrics that may be chosen to measure how effectively an order is achieving the desired goal. Although some goals may have multiple possible KPIs, exactly one KPI must be chosen during order creation. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.goalconfigurations.v1+json. * CLICK_THROUGH_RATE: The number of click-throughs divided by the number of impressions. (CTR = Clicks / Impressions) * COMBINED_RETURN_ON_AD_SPEND: Return on advertising spend for products sold on and off Amazon, measured as ad-attributed sales per local currency unit of ad spend. (Combined ROAS = Combined product sales / Total cost) * COST_PER_ACTION: The cost to acquire an off-Amazon conversion. (CPA = Total cost / Off-Amazon conversions) * COST_PER_CLICK: The cost paid per click-through. (CPC = Total cost / Clicks) * COST_PER_DETAIL_PAGE_VIEW: The cost to acquire a detail page view for a promoted product. (CPDPV = Total cost / Detail page views) * COST_PER_FIRST_APP_OPEN: The cost to acquire a first-time STV app open. (CPFAO = Total cost / First STV app opens) * COST_PER_INSTALL: The cost for a mobile app install. (CPI = Total cost / Mobile app installs) * COST_PER_VIDEO_COMPLETION: The cost to acquire a video complete conversion. (CPVC = Total cost / Video completions) * DETAIL_PAGE_VIEW_RATE: Detail page view rate for promoted products. (DPVR = Detail page views for promoted products / Impressions) * NONE: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action. * OTHER: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action. * REACH: The number of unique users exposed to the creative during its flight. * RETURN_ON_AD_SPEND: Return on advertising spend for promoted products, measured as ad-attributed sales for promoted products per local currency unit of ad spend. (ROAS = Promoted product sales / Total cost) * TOTAL_COST_PER_SUBSCRIPTION: The cost to acquire a new free trial or paid subscription for a Prime Video channel or STV app subscription. (Total cost per subscription = Total cost / Subscription sign ups) * TOTAL_RETURN_ON_AD_SPEND: Return on ad spend, measured as ad-attributed sales for the brands’ products per local currency unit of ad spend. (Total ROAS = Total product sales / Total cost) * VIDEO_COMPLETION_RATE: The number of video completions relative to the number of video starts. (Video completion rate = Video complete / Video start)

const (
	GoalKpiV11CLICKTHROUGHRATE         GoalKpiV11 = "CLICK_THROUGH_RATE"
	GoalKpiV11COMBINEDRETURNONADSPEND  GoalKpiV11 = "COMBINED_RETURN_ON_AD_SPEND"
	GoalKpiV11COSTPERACTION            GoalKpiV11 = "COST_PER_ACTION"
	GoalKpiV11COSTPERCLICK             GoalKpiV11 = "COST_PER_CLICK"
	GoalKpiV11COSTPERDETAILPAGEVIEW    GoalKpiV11 = "COST_PER_DETAIL_PAGE_VIEW"
	GoalKpiV11COSTPERFIRSTAPPOPEN      GoalKpiV11 = "COST_PER_FIRST_APP_OPEN"
	GoalKpiV11COSTPERINSTALL           GoalKpiV11 = "COST_PER_INSTALL"
	GoalKpiV11COSTPERVIDEOCOMPLETION   GoalKpiV11 = "COST_PER_VIDEO_COMPLETION"
	GoalKpiV11DETAILPAGEVIEWRATE       GoalKpiV11 = "DETAIL_PAGE_VIEW_RATE"
	GoalKpiV11NONE                     GoalKpiV11 = "NONE"
	GoalKpiV11OTHER                    GoalKpiV11 = "OTHER"
	GoalKpiV11REACH                    GoalKpiV11 = "REACH"
	GoalKpiV11RETURNONADSPEND          GoalKpiV11 = "RETURN_ON_AD_SPEND"
	GoalKpiV11TOTALCOSTPERSUBSCRIPTION GoalKpiV11 = "TOTAL_COST_PER_SUBSCRIPTION"
	GoalKpiV11TOTALRETURNONADSPEND     GoalKpiV11 = "TOTAL_RETURN_ON_AD_SPEND"
	GoalKpiV11VIDEOCOMPLETIONRATE      GoalKpiV11 = "VIDEO_COMPLETION_RATE"
)

Defines values for GoalKpiV11.

type GoalV1 added in v0.0.2

type GoalV1 = Goal

GoalV1 The primary goal that a campaign using this configuration is trying to achieve.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IABContentCategory added in v0.0.2

type IABContentCategory struct {
	// Id The category identifier.
	Id string `json:"id"`

	// Name The category name.
	Name string `json:"name"`

	// ParentId The identifier of the parent category. This is blank if the category is a parent category.
	ParentId *string `json:"parentId,omitempty"`
}

IABContentCategory defines model for IABContentCategory.

type IasBrandSafety added in v0.0.2

type IasBrandSafety struct {
	// ExcludeContent Set to `true` to exclude content that Integral Ad Science is not able to rate.
	ExcludeContent bool `json:"excludeContent"`

	// IasBrandSafetyAdult The IAS brand safety risk level.
	IasBrandSafetyAdult IasBrandSafetyLevel `json:"iasBrandSafetyAdult"`

	// IasBrandSafetyAlcohol The IAS brand safety risk level.
	IasBrandSafetyAlcohol IasBrandSafetyLevel `json:"iasBrandSafetyAlcohol"`

	// IasBrandSafetyGambling The IAS brand safety risk level.
	IasBrandSafetyGambling IasBrandSafetyLevel `json:"iasBrandSafetyGambling"`

	// IasBrandSafetyHateSpeech The IAS brand safety risk level.
	IasBrandSafetyHateSpeech IasBrandSafetyLevel `json:"iasBrandSafetyHateSpeech"`

	// IasBrandSafetyIllegalDownloads The IAS brand safety risk level.
	IasBrandSafetyIllegalDownloads IasBrandSafetyLevel `json:"iasBrandSafetyIllegalDownloads"`

	// IasBrandSafetyIllegalDrugs The IAS brand safety risk level.
	IasBrandSafetyIllegalDrugs IasBrandSafetyLevel `json:"iasBrandSafetyIllegalDrugs"`

	// IasBrandSafetyOffensiveLanguage The IAS brand safety risk level.
	IasBrandSafetyOffensiveLanguage IasBrandSafetyLevel `json:"iasBrandSafetyOffensiveLanguage"`

	// IasBrandSafetyViolence The IAS brand safety risk level.
	IasBrandSafetyViolence IasBrandSafetyLevel `json:"iasBrandSafetyViolence"`
}

IasBrandSafety defines model for IasBrandSafety.

type IasBrandSafetyLevel added in v0.0.2

type IasBrandSafetyLevel string

IasBrandSafetyLevel The IAS brand safety risk level.

const (
	IasBrandSafetyLevelALLOWALL                             IasBrandSafetyLevel = "ALLOW_ALL"
	IasBrandSafetyLevelBRANDSAFETYEXCLUEHIGHANDMODERATERISK IasBrandSafetyLevel = "BRAND_SAFETY_EXCLUE_HIGH_AND_MODERATE_RISK"
	IasBrandSafetyLevelBRANDSAFETYEXCLUEHIGHRISK            IasBrandSafetyLevel = "BRAND_SAFETY_EXCLUE_HIGH_RISK"
)

Defines values for IasBrandSafetyLevel.

type IasBrandSafetyLevelV3 added in v0.0.2

type IasBrandSafetyLevelV3 string

IasBrandSafetyLevelV3 The IAS brand safety risk level.

const (
	IasBrandSafetyLevelV3ALLOWALL                              IasBrandSafetyLevelV3 = "ALLOW_ALL"
	IasBrandSafetyLevelV3BRANDSAFETYEXCLUDEHIGHANDMODERATERISK IasBrandSafetyLevelV3 = "BRAND_SAFETY_EXCLUDE_HIGH_AND_MODERATE_RISK"
	IasBrandSafetyLevelV3BRANDSAFETYEXCLUDEHIGHRISK            IasBrandSafetyLevelV3 = "BRAND_SAFETY_EXCLUDE_HIGH_RISK"
)

Defines values for IasBrandSafetyLevelV3.

type IasBrandSafetyV3 added in v0.0.2

type IasBrandSafetyV3 = IasBrandSafety

IasBrandSafetyV3 defines model for IasBrandSafetyV3.

type IasFraudInvalidTraffic added in v0.0.2

type IasFraudInvalidTraffic string

IasFraudInvalidTraffic The type of fraud invalid traffic.

const (
	IasFraudInvalidTrafficALLOWALL                                   IasFraudInvalidTraffic = "ALLOW_ALL"
	IasFraudInvalidTrafficFRAUDINVALIDTRAFFICEXCLUDEHIGHMODERATERISK IasFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_EXCLUDE_HIGH_MODERATE_RISK"
	IasFraudInvalidTrafficFRAUDINVALIDTRAFFICEXCLUDEHIGHRISK         IasFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_EXCLUDE_HIGH_RISK"
)

Defines values for IasFraudInvalidTraffic.

type IasViewability added in v0.0.2

type IasViewability struct {
	// Standard The viewability standard
	Standard IasViewabilityStandard `json:"standard"`

	// ViewabilityTargeting The type of viewability tier.
	ViewabilityTargeting ViewabilityTier `json:"viewabilityTargeting"`
}

IasViewability The IAS viewability standard.

type IasViewabilityStandard added in v0.0.2

type IasViewabilityStandard string

IasViewabilityStandard The viewability standard

const (
	IasViewabilityStandardGROUPM   IasViewabilityStandard = "GROUPM"
	IasViewabilityStandardMRC      IasViewabilityStandard = "MRC"
	IasViewabilityStandardNONE     IasViewabilityStandard = "NONE"
	IasViewabilityStandardPUBLICIS IasViewabilityStandard = "PUBLICIS"
)

Defines values for IasViewabilityStandard.

type Identifier added in v0.0.2

type Identifier = string

Identifier The unique identifier of the DSP resource/object.

type IntegralAdScience added in v0.0.2

type IntegralAdScience struct {
	BrandSafety *IasBrandSafety `json:"brandSafety,omitempty"`

	// FraudInvalidTraffic The type of fraud invalid traffic.
	FraudInvalidTraffic *IntegralAdScienceFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`

	// Viewability The IAS viewability standard.
	Viewability *IasViewability `json:"viewability,omitempty"`
}

IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.

type IntegralAdScienceFraudInvalidTraffic added in v0.0.2

type IntegralAdScienceFraudInvalidTraffic string

IntegralAdScienceFraudInvalidTraffic The type of fraud invalid traffic.

const (
	IntegralAdScienceFraudInvalidTrafficALLOWALL                                   IntegralAdScienceFraudInvalidTraffic = "ALLOW_ALL"
	IntegralAdScienceFraudInvalidTrafficFRAUDINVALIDTRAFFICEXCLUDEHIGHMODERATERISK IntegralAdScienceFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_EXCLUDE_HIGH_MODERATE_RISK"
	IntegralAdScienceFraudInvalidTrafficFRAUDINVALIDTRAFFICEXCLUDEHIGHRISK         IntegralAdScienceFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_EXCLUDE_HIGH_RISK"
)

Defines values for IntegralAdScienceFraudInvalidTraffic.

type InternalServerError added in v0.0.2

type InternalServerError = Error

InternalServerError The error response object.

type LineItem added in v0.0.2

type LineItem struct {
	AppliedFees *AppliedFees `json:"appliedFees,omitempty"`

	// Bidding The bid values associated with a line item.
	Bidding Bidding         `json:"bidding"`
	Budget  *LineItemBudget `json:"budget,omitempty"`

	// Comments The line item comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The line item creation date.
	CreationDate    *string          `json:"creationDate,omitempty"`
	CreativeOptions *CreativeOptions `json:"creativeOptions,omitempty"`

	// CurrencyCode The currency code.
	CurrencyCode *CurrencyCode `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The lineitem delivery status. DELIVERING: The line item is delivering. OUT_OF_BUDGET: The line item is out of budget. ENDED: The line item has ended. CREATIVES_NOT_RUNNING: The line item doesn't have any active creatives to deliver. INACTIVE: The line item is paused by the user. READY_TO_DELIVER: The line item has not yet started.
	DeliveryStatus *LineItemDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The line item end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-07-16T19:20:30+01:00
	EndDateTime string `json:"endDateTime"`

	// ExternalId The external identifier of the line item.
	ExternalId   *string      `json:"externalId,omitempty"`
	FrequencyCap FrequencyCap `json:"frequencyCap"`

	// LastUpdateDate The line item last update date.
	LastUpdateDate         *string                `json:"lastUpdateDate,omitempty"`
	LineItemClassification LineItemClassification `json:"lineItemClassification"`

	// LineItemId The line item identifier. This is required when we perform update operations. Immutable field.
	LineItemId *string `json:"lineItemId,omitempty"`

	// LineItemType The line item type.
	LineItemType LineItemType `json:"lineItemType"`

	// Name The line item name.
	Name         string               `json:"name"`
	Optimization LineItemOptimization `json:"optimization"`

	// OrderId The order to which the line item is associated. Immutable field.
	OrderId string `json:"orderId"`

	// StartDateTime The line item start date in ISO date format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-07-16T19:20:30+01:00.
	StartDateTime string             `json:"startDateTime"`
	Targeting     *LineItemTargeting `json:"targeting,omitempty"`
}

LineItem defines model for LineItem.

type LineItemBasic added in v0.0.2

type LineItemBasic struct {
	// Bidding The bid values associated with a line item.
	Bidding *Bidding        `json:"bidding,omitempty"`
	Budget  *LineItemBudget `json:"budget,omitempty"`

	// Comments The line item comments.
	Comments *string `json:"comments,omitempty"`

	// CurrencyCode The currency code.
	CurrencyCode *CurrencyCode `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The lineitem delivery status. DELIVERING: The line item is delivering. OUT_OF_BUDGET: The line item is out of budget. ENDED: The line item has ended. CREATIVES_NOT_RUNNING: The line item doesn't have any active creatives to deliver. INACTIVE: The line item is paused by the user. READY_TO_DELIVER: The line item has not yet started.
	DeliveryStatus *LineItemDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The line item end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example,2020-07-16T19:20:30+01:00
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The line item external identifier.
	ExternalId   *string       `json:"externalId,omitempty"`
	FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`

	// LineItemId The line item identifier.
	LineItemId *string `json:"lineItemId,omitempty"`

	// LineItemType The line item type.
	LineItemType *LineItemType `json:"lineItemType,omitempty"`

	// Name The line item name.
	Name         *string               `json:"name,omitempty"`
	Optimization *LineItemOptimization `json:"optimization,omitempty"`

	// OrderId The order to which the line item is associated.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The line item start date in ISO date format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-07-16T19:20:30+01:00
	StartDateTime *string `json:"startDateTime,omitempty"`
}

LineItemBasic defines model for LineItemBasic.

type LineItemBasicV21 added in v0.0.2

type LineItemBasicV21 = LineItemBasic

LineItemBasicV21 defines model for LineItemBasicV2_1.

type LineItemBasicV22 added in v0.0.2

type LineItemBasicV22 = LineItemBasic

LineItemBasicV22 defines model for LineItemBasicV2_2.

type LineItemBudget added in v0.0.2

type LineItemBudget struct {
	BudgetCaps *[]BudgetCap `json:"budgetCaps,omitempty"`
	Pacing     *Pacing      `json:"pacing,omitempty"`

	// TotalBudgetAmount The total budget amount.
	TotalBudgetAmount *float64 `json:"totalBudgetAmount,omitempty"`
}

LineItemBudget defines model for LineItemBudget.

type LineItemClassification added in v0.0.2

type LineItemClassification struct {
	// ProductCategories The array of identifiers of product categories associated with the line item. For `VIDEO` line item type only one parent product category or multiple sub-categories from one parent product category are allowed.
	ProductCategories []Identifier `json:"productCategories"`
}

LineItemClassification defines model for LineItemClassification.

type LineItemCreativeAssociation added in v0.0.2

type LineItemCreativeAssociation struct {
	// CreativeId The creative to operate on.
	CreativeId string `json:"creativeId"`

	// EndDate The creative end date in in ISO format (YYYY-MM-DD hh:mm:ss z). Timezone is UTC. For example, 2020-10-21 03:59:00 UTC.
	EndDate *string `json:"endDate,omitempty"`

	// LineItemId The lineitem to operate on.
	LineItemId string `json:"lineItemId"`

	// StartDate The creative start date in ISO format (YYYY-MM-DD hh:mm:ss z). Timezone is UTC. For example, 2020-10-21 03:59:00 UTC.
	StartDate *string `json:"startDate,omitempty"`

	// Weight The weight of the creative. This field will be available only if the creative rotation type is `WEIGHTED`.
	Weight *int `json:"weight,omitempty"`
}

LineItemCreativeAssociation defines model for LineItemCreativeAssociation.

type LineItemCreativeAssociationOperation added in v0.0.2

type LineItemCreativeAssociationOperation string

LineItemCreativeAssociationOperation A lineItemCreativeAssociation operation.

const (
	CREATE LineItemCreativeAssociationOperation = "CREATE"
	DELETE LineItemCreativeAssociationOperation = "DELETE"
)

Defines values for LineItemCreativeAssociationOperation.

type LineItemCreativeAssociations added in v0.0.2

type LineItemCreativeAssociations struct {
	Response *[]LineItemCreativeAssociation `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

LineItemCreativeAssociations defines model for LineItemCreativeAssociations.

type LineItemCreativeAssociationsRequest added in v0.0.2

type LineItemCreativeAssociationsRequest struct {
	// AdvertiserId The advertiser identifier.
	AdvertiserId string `json:"advertiserId"`

	// Associations A list of the associations to operate on. This object requires only lineItemId and creativeId and other fields are not required.
	Associations []LineItemCreativeAssociation `json:"associations"`

	// Operation A lineItemCreativeAssociation operation.
	Operation LineItemCreativeAssociationOperation `json:"operation"`
}

LineItemCreativeAssociationsRequest defines model for LineItemCreativeAssociationsRequest.

type LineItemCreativeAssociationsResponse added in v0.0.2

type LineItemCreativeAssociationsResponse struct {
	// ErrorDetails The error response object.
	ErrorDetails *Error                       `json:"errorDetails,omitempty"`
	Success      *LineItemCreativeAssociation `json:"success,omitempty"`
}

LineItemCreativeAssociationsResponse Response for the update operation. This object will have either success or failure property for the corresponding requests on the index.

type LineItemDeliveryStatus added in v0.0.2

type LineItemDeliveryStatus string

LineItemDeliveryStatus The lineitem delivery status. DELIVERING: The line item is delivering. OUT_OF_BUDGET: The line item is out of budget. ENDED: The line item has ended. CREATIVES_NOT_RUNNING: The line item doesn't have any active creatives to deliver. INACTIVE: The line item is paused by the user. READY_TO_DELIVER: The line item has not yet started.

const (
	LineItemDeliveryStatusCREATIVESNOTRUNNING LineItemDeliveryStatus = "CREATIVES_NOT_RUNNING"
	LineItemDeliveryStatusDELIVERING          LineItemDeliveryStatus = "DELIVERING"
	LineItemDeliveryStatusENDED               LineItemDeliveryStatus = "ENDED"
	LineItemDeliveryStatusINACTIVE            LineItemDeliveryStatus = "INACTIVE"
	LineItemDeliveryStatusOUTOFBUDGET         LineItemDeliveryStatus = "OUT_OF_BUDGET"
	LineItemDeliveryStatusREADYTODELIVER      LineItemDeliveryStatus = "READY_TO_DELIVER"
)

Defines values for LineItemDeliveryStatus.

type LineItemOptimization added in v0.0.2

type LineItemOptimization struct {
	// BudgetOptimization Set to `true` to enable budget optimization for the line item.
	BudgetOptimization bool `json:"budgetOptimization"`
}

LineItemOptimization defines model for LineItemOptimization.

type LineItemResponse added in v0.0.2

type LineItemResponse struct {
	// ErrorDetails The error response object.
	ErrorDetails *Error `json:"errorDetails,omitempty"`

	// LineItemId The Line item identifier.
	LineItemId *string `json:"lineItemId,omitempty"`
}

LineItemResponse Response for the line item create/update operations. Success contains only lineItemId and failure contains only errorDetails corresponding to that requested index in that batch (array of items).

type LineItemTargeting added in v0.0.2

type LineItemTargeting struct {
	AapMobileAppTargeting        *AapMobileAppTargeting        `json:"aapMobileAppTargeting,omitempty"`
	AmazonMobileDisplayTargeting *AmazonMobileDisplayTargeting `json:"amazonMobileDisplayTargeting,omitempty"`
	StandardDisplayTargeting     *StandardDisplayTargeting     `json:"standardDisplayTargeting,omitempty"`
}

LineItemTargeting defines model for LineItemTargeting.

type LineItemTargetingV21 added in v0.0.2

type LineItemTargetingV21 = LineItemTargeting

LineItemTargetingV21 defines model for LineItemTargetingV2_1.

type LineItemTargetingV3 added in v0.0.2

type LineItemTargetingV3 struct {
	AapMobileAppTargeting        *AapMobileAppTargetingV3        `json:"aapMobileAppTargeting,omitempty"`
	AmazonMobileDisplayTargeting *AmazonMobileDisplayTargetingV3 `json:"amazonMobileDisplayTargeting,omitempty"`
	StandardDisplayTargeting     *StandardDisplayTargetingV3     `json:"standardDisplayTargeting,omitempty"`

	// VideoTargeting This field is available since version `application/vnd.dsplineitems.v2.1+json`.
	VideoTargeting *VideoTargetingV3 `json:"videoTargeting,omitempty"`
}

LineItemTargetingV3 defines model for LineItemTargetingV3.

type LineItemTargetingV31 added in v0.0.2

type LineItemTargetingV31 struct {
	AapMobileAppTargeting        *AapMobileAppTargetingV31        `json:"aapMobileAppTargeting,omitempty"`
	AmazonMobileDisplayTargeting *AmazonMobileDisplayTargetingV31 `json:"amazonMobileDisplayTargeting,omitempty"`
	StandardDisplayTargeting     *StandardDisplayTargetingV31     `json:"standardDisplayTargeting,omitempty"`
	VideoTargeting               *VideoTargetingV31               `json:"videoTargeting,omitempty"`
}

LineItemTargetingV31 defines model for LineItemTargetingV3_1.

type LineItemTargetingV32 added in v0.0.2

type LineItemTargetingV32 struct {
	AapMobileAppTargeting        *AapMobileAppTargetingV32        `json:"aapMobileAppTargeting,omitempty"`
	AmazonMobileDisplayTargeting *AmazonMobileDisplayTargetingV31 `json:"amazonMobileDisplayTargeting,omitempty"`
	StandardDisplayTargeting     *StandardDisplayTargetingV32     `json:"standardDisplayTargeting,omitempty"`
	VideoTargeting               *VideoTargetingV32               `json:"videoTargeting,omitempty"`
}

LineItemTargetingV32 defines model for LineItemTargetingV3_2.

type LineItemType added in v0.0.2

type LineItemType string

LineItemType The line item type.

const (
	LineItemTypeAAPMOBILEAPP        LineItemType = "AAP_MOBILE_APP"
	LineItemTypeAMAZONMOBILEDISPLAY LineItemType = "AMAZON_MOBILE_DISPLAY"
	LineItemTypeSTANDARDDISPLAY     LineItemType = "STANDARD_DISPLAY"
)

Defines values for LineItemType.

type LineItemTypeBasicV21 added in v0.0.2

type LineItemTypeBasicV21 = LineItemType

LineItemTypeBasicV21 The line item type.

type LineItemTypeV21 added in v0.0.2

type LineItemTypeV21 = LineItemType

LineItemTypeV21 The line item type.

type LineItemV21 added in v0.0.2

type LineItemV21 = LineItem

LineItemV21 defines model for LineItemV2_1.

type LineItemV3 added in v0.0.2

type LineItemV3 struct {
	AppliedFees *AppliedFees `json:"appliedFees,omitempty"`

	// Bidding The bid values associated with a line item.
	Bidding Bidding         `json:"bidding"`
	Budget  *LineItemBudget `json:"budget,omitempty"`

	// Comments The line item comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The line item creation date.
	CreationDate    *string          `json:"creationDate,omitempty"`
	CreativeOptions *CreativeOptions `json:"creativeOptions,omitempty"`
	CurrencyCode    *CurrencyCodeV3  `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The lineitem delivery status. DELIVERING: The line item is delivering. OUT_OF_BUDGET: The line item is out of budget. ENDED: The line item has ended. CREATIVES_NOT_RUNNING: The line item doesn't have any active creatives to deliver. INACTIVE: The line item is paused by the user. READY_TO_DELIVER: The line item has not yet started.
	DeliveryStatus *LineItemDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The line item end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-07-16T19:20:30+01:00
	EndDateTime string `json:"endDateTime"`

	// ExternalId The external identifier of the line item.
	ExternalId   *string      `json:"externalId,omitempty"`
	FrequencyCap FrequencyCap `json:"frequencyCap"`

	// LastUpdatedDate The line item last updated date.
	LastUpdatedDate        *string                `json:"lastUpdatedDate,omitempty"`
	LineItemClassification LineItemClassification `json:"lineItemClassification"`

	// LineItemId The line item identifier. This is required when we perform update operations. Immutable field.
	LineItemId *string `json:"lineItemId,omitempty"`

	// LineItemType The line item type. All operations are supported for VIDEO line item type since version `application/vnd.dsplineitems.v2.1+json`.
	LineItemType LineItemTypeV21 `json:"lineItemType"`

	// Name The line item name.
	Name         string               `json:"name"`
	Optimization LineItemOptimization `json:"optimization"`

	// OrderId The order to which the line item is associated. Immutable field.
	OrderId string `json:"orderId"`

	// StartDateTime The line item start date in ISO date format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-07-16T19:20:30+01:00.
	StartDateTime string               `json:"startDateTime"`
	Targeting     *LineItemTargetingV3 `json:"targeting,omitempty"`
}

LineItemV3 defines model for LineItemV3.

type LineItemV31 added in v0.0.2

type LineItemV31 = LineItemV3

LineItemV31 defines model for LineItemV3_1.

type LineItemV32 added in v0.0.2

type LineItemV32 = LineItemV31

LineItemV32 defines model for LineItemV3_2.

type LineItems added in v0.0.2

type LineItems struct {
	Response *[]LineItemBasic `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

LineItems defines model for LineItems.

type LineItemsV21 added in v0.0.2

type LineItemsV21 struct {
	Response *[]LineItemBasicV21 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

LineItemsV21 defines model for LineItemsV2_1.

type LineItemsV22 added in v0.0.2

type LineItemsV22 struct {
	Response *[]LineItemBasicV22 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

LineItemsV22 defines model for LineItemsV2_2.

type ListLineItemCreativeAssociationsParams added in v0.0.2

type ListLineItemCreativeAssociationsParams struct {
	// LineItemIdFilter The returned array includes only associations to line items matching those specified in the comma-delimited string.
	LineItemIdFilter string `form:"lineItemIdFilter" json:"lineItemIdFilter"`

	// Count Optional. Sets the number of results in the returned array. Use in conjunction with the `startIndex` parameter to control pagination. For example, to return the first ten results set `startIndex=0` and `count=10`. To return the next ten results, set `startIndex=10` and `count=10`, and so on. Maximum of count is 20.
	Count *int `form:"count,omitempty" json:"count,omitempty"`

	// StartIndex Optional. Sets a zero-based offset into the requested set of results. Use in conjunction with the `count` parameter to control pagination of the returned array. Default startIndex is 0.
	StartIndex *int `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

ListLineItemCreativeAssociationsParams defines parameters for ListLineItemCreativeAssociations.

type ListLineItemCreativeAssociationsResp added in v0.0.2

type ListLineItemCreativeAssociationsResp struct {
	Body                                                    []byte
	HTTPResponse                                            *http.Response
	ApplicationvndDsplineitemcreativeassociationsV2JSON200  *LineItemCreativeAssociations
	ApplicationvndDsplineitemcreativeassociationsV21JSON200 *LineItemCreativeAssociations
	ApplicationvndDsplineitemcreativeassociationsV2JSON400  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON400 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON401  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON401 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON403  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON403 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON404  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON404 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON415  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON415 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON429  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON429 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON500  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON500 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON502  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON502 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON503  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON503 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON504  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON504 *Error
}

func ParseListLineItemCreativeAssociationsResp added in v0.0.2

func ParseListLineItemCreativeAssociationsResp(rsp *http.Response) (*ListLineItemCreativeAssociationsResp, error)

ParseListLineItemCreativeAssociationsResp parses an HTTP response from a ListLineItemCreativeAssociationsWithResponse call

func (ListLineItemCreativeAssociationsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (ListLineItemCreativeAssociationsResp) StatusCode added in v0.0.2

StatusCode returns HTTPResponse.StatusCode

type MergedDomainList added in v0.0.2

type MergedDomainList struct {
	// DomainListMergedFile The URL address of the domain list file after merging all domains into single file"
	DomainListMergedFile *string `json:"domainListMergedFile,omitempty"`

	// DomainListMergedTargetingType The list type of the domain. Either include or exclude
	DomainListMergedTargetingType *MergedDomainListDomainListMergedTargetingType `json:"domainListMergedTargetingType,omitempty"`
}

MergedDomainList defines model for MergedDomainList.

type MergedDomainListDomainListMergedTargetingType added in v0.0.2

type MergedDomainListDomainListMergedTargetingType string

MergedDomainListDomainListMergedTargetingType The list type of the domain. Either include or exclude

const (
	MergedDomainListDomainListMergedTargetingTypeEXCLUDE MergedDomainListDomainListMergedTargetingType = "EXCLUDE"
	MergedDomainListDomainListMergedTargetingTypeINCLUDE MergedDomainListDomainListMergedTargetingType = "INCLUDE"
)

Defines values for MergedDomainListDomainListMergedTargetingType.

type MobileAppDoubleVerify added in v0.0.2

type MobileAppDoubleVerify struct {
	AuthenticBrandSafety *DoubleVerifyAuthenticBrandSafety `json:"authenticBrandSafety,omitempty"`
	BrandSafety          *MobileAppDoubleVerifyBrandSafety `json:"brandSafety,omitempty"`

	// CustomContextualSegmentId The custom segment identifier.
	CustomContextualSegmentId *DvCustomContextualSegmentId     `json:"customContextualSegmentId,omitempty"`
	FraudInvalidTraffic       *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
	Viewability               *DoubleVerifyViewabilityV21      `json:"viewability,omitempty"`
}

MobileAppDoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type MobileAppDoubleVerifyBrandSafety added in v0.0.2

type MobileAppDoubleVerifyBrandSafety struct {
	// AppAgeRating A list of app age ratings to be used for excluding apps. For example, `TEENS_12_PLUS` will only exclude apps with content rated for everyone ages 12 and over. `UNKNOWN` will exclude apps with content unrated or unknown to Double Verify.
	AppAgeRating *DvBrandSafetyAppAgeRating `json:"appAgeRating,omitempty"`

	// AppStarRating App star rating to be used for excluding apps.
	AppStarRating *DvBrandSafetyAppStarRating `json:"appStarRating,omitempty"`

	// ContentCategories A list of content categories to exclude from targeting.
	ContentCategories *DvBrandSafetyContentCategories `json:"contentCategories,omitempty"`

	// ContentCategoriesWithRisk A map from content categories to risk level to exclude from targeting. Available keys are: [`ADULT_CONTENT`, `ALCOHOL`, `CRIME`, `DISASTER_AVIATION`, `DISASTER_MAN_MADE`, `DISASTER_NATURAL`, `DISASTER_TERRORIST_EVENTS`, `DISASTER_VEHICLE`, `HATE_SPEECH`, `PROFANITY`, `SUBSTANCE_ABUSE`, `TOBACCO_ECIGARETTES`, `VIOLENCE_EXTREME_GRAPHIC`]
	ContentCategoriesWithRisk *DvBrandSafetyContentCategoriesWithRisk `json:"contentCategoriesWithRisk,omitempty"`

	// ExcludeAppsWithInsufficientRating Set to `true` to exclude unofficial apps or apps with insufficient user ratings (<100 lifetime).
	ExcludeAppsWithInsufficientRating *DvBrandSafetyExcludeApps `json:"excludeAppsWithInsufficientRating,omitempty"`

	// UnknownContent Set to `true` to exclude unknown content.
	UnknownContent *DvBrandSafetyUnknownContent `json:"unknownContent,omitempty"`
}

MobileAppDoubleVerifyBrandSafety defines model for MobileAppDoubleVerifyBrandSafety.

type MobileAppDoubleVerifyBrandSafetyV32 added in v0.0.2

type MobileAppDoubleVerifyBrandSafetyV32 = MobileAppDoubleVerifyBrandSafety

MobileAppDoubleVerifyBrandSafetyV32 defines model for MobileAppDoubleVerifyBrandSafetyV3_2.

type MobileAppDoubleVerifyV32 added in v0.0.2

type MobileAppDoubleVerifyV32 = MobileAppDoubleVerify

MobileAppDoubleVerifyV32 Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type MobileAppIntegralAdScience added in v0.0.2

type MobileAppIntegralAdScience struct {
	BrandSafety *IasBrandSafetyV3 `json:"brandSafety,omitempty"`

	// FraudInvalidTraffic The type of fraud invalid traffic.
	FraudInvalidTraffic *IasFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
}

MobileAppIntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.

type MobileAppTargeting added in v0.0.2

type MobileAppTargeting struct {
	// AppIds The list of application identifiers.
	AppIds []string `json:"appIds"`

	// AppTargetingOption The mobile application targeting inclusion type.
	AppTargetingOption MobileAppTargetingAppTargetingOption `json:"appTargetingOption"`
}

MobileAppTargeting defines model for MobileAppTargeting.

type MobileAppTargetingAppTargetingOption added in v0.0.2

type MobileAppTargetingAppTargetingOption string

MobileAppTargetingAppTargetingOption The mobile application targeting inclusion type.

const (
	EXCLUDEAPPS MobileAppTargetingAppTargetingOption = "EXCLUDE_APPS"
	INCLUDEAPPS MobileAppTargetingAppTargetingOption = "INCLUDE_APPS"
)

Defines values for MobileAppTargetingAppTargetingOption.

type MobileAppThirdPartyPreBidTargeting added in v0.0.2

type MobileAppThirdPartyPreBidTargeting struct {
	// DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.
	DoubleVerify *MobileAppDoubleVerify `json:"doubleVerify,omitempty"`

	// IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.
	IntegralAdScience *MobileAppIntegralAdScience `json:"integralAdScience,omitempty"`
	OracleDataCloud   *OracleDataCloudV3          `json:"oracleDataCloud,omitempty"`
}

MobileAppThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type MobileAppThirdPartyPreBidTargetingV31 added in v0.0.2

type MobileAppThirdPartyPreBidTargetingV31 = MobileAppThirdPartyPreBidTargeting

MobileAppThirdPartyPreBidTargetingV31 Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type MobileAppThirdPartyPreBidTargetingV32 added in v0.0.2

type MobileAppThirdPartyPreBidTargetingV32 = MobileAppThirdPartyPreBidTargetingV31

MobileAppThirdPartyPreBidTargetingV32 defines model for MobileAppThirdPartyPreBidTargetingV3_2.

type MobileDisplayDoubleVerify added in v0.0.2

type MobileDisplayDoubleVerify struct {
	FraudInvalidTraffic *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
}

MobileDisplayDoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type MobileDisplayIntegralAdScience added in v0.0.2

type MobileDisplayIntegralAdScience struct {
	// FraudInvalidTraffic The type of fraud invalid traffic.
	FraudInvalidTraffic *IasFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
}

MobileDisplayIntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.

type MobileDisplayThirdPartyPreBidTargeting added in v0.0.2

type MobileDisplayThirdPartyPreBidTargeting struct {
	// DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.
	DoubleVerify *MobileDisplayDoubleVerify `json:"doubleVerify,omitempty"`

	// IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.
	IntegralAdScience *MobileDisplayIntegralAdScience `json:"integralAdScience,omitempty"`
}

MobileDisplayThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type MobileDisplayThirdPartyPreBidTargetingV31 added in v0.0.2

type MobileDisplayThirdPartyPreBidTargetingV31 = MobileDisplayThirdPartyPreBidTargeting

MobileDisplayThirdPartyPreBidTargetingV31 Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type MobileOsTargeting added in v0.0.2

type MobileOsTargeting string

MobileOsTargeting The mobile operating system targeting type.

const (
	MobileOsTargetingANDROID MobileOsTargeting = "ANDROID"
	MobileOsTargetingANY     MobileOsTargeting = "ANY"
	MobileOsTargetingIOS     MobileOsTargeting = "IOS"
)

Defines values for MobileOsTargeting.

type NotFound added in v0.0.2

type NotFound = Error

NotFound The error response object.

type ODCViewability added in v0.0.2

type ODCViewability struct {
	// Standard The viewability standard.
	Standard ODCViewabilityStandard `json:"standard"`

	// ViewabilityTargeting The type of ODC MRC viewability tier.
	ViewabilityTargeting ODCViewabilityViewabilityTargeting `json:"viewabilityTargeting"`
}

ODCViewability The ODC viewability standard.

type ODCViewabilityStandard added in v0.0.2

type ODCViewabilityStandard string

ODCViewabilityStandard The viewability standard.

const (
	ODCViewabilityStandardMRC  ODCViewabilityStandard = "MRC"
	ODCViewabilityStandardNONE ODCViewabilityStandard = "NONE"
)

Defines values for ODCViewabilityStandard.

type ODCViewabilityViewabilityTargeting added in v0.0.2

type ODCViewabilityViewabilityTargeting string

ODCViewabilityViewabilityTargeting The type of ODC MRC viewability tier.

const (
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT20 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_20"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT30 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_30"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT40 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_40"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT50 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_50"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT60 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_60"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT70 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_70"
	ODCViewabilityViewabilityTargetingVIEWABILITYTIERGT80 ODCViewabilityViewabilityTargeting = "VIEWABILITY_TIER_GT_80"
)

Defines values for ODCViewabilityViewabilityTargeting.

type OdcCustomPredicts added in v0.0.2

type OdcCustomPredicts struct {
	CustomPredicts *[]OdcPredict `json:"customPredicts,omitempty"`
	NextToken      *string       `json:"nextToken,omitempty"`
}

OdcCustomPredicts defines model for OdcCustomPredicts.

type OdcPredict added in v0.0.2

type OdcPredict struct {
	// Id The segment identifier.
	Id string `json:"id"`

	// Name The segment name.
	Name string `json:"name"`
}

OdcPredict defines model for OdcPredict.

type OdcStandardPredicts added in v0.0.2

type OdcStandardPredicts struct {
	NextToken        *string       `json:"nextToken,omitempty"`
	StandardPredicts *[]OdcPredict `json:"standardPredicts,omitempty"`
}

OdcStandardPredicts defines model for OdcStandardPredicts.

type OptimizationGoal added in v0.0.2

type OptimizationGoal string

OptimizationGoal The budget optimization goal type.

const (
	OptimizationGoalAWARENESS              OptimizationGoal = "AWARENESS"
	OptimizationGoalCONSIDERATIONSONAMAZON OptimizationGoal = "CONSIDERATIONS_ON_AMAZON"
	OptimizationGoalCONVERSIONSOFFAMAZON   OptimizationGoal = "CONVERSIONS_OFF_AMAZON"
	OptimizationGoalENGAGEMENTWITHMYAD     OptimizationGoal = "ENGAGEMENT_WITH_MY_AD"
	OptimizationGoalMOBILEAPPINSTALLS      OptimizationGoal = "MOBILE_APP_INSTALLS"
	OptimizationGoalPURCHASESONAMAZON      OptimizationGoal = "PURCHASES_ON_AMAZON"
)

Defines values for OptimizationGoal.

type OptimizationGoalKpi added in v0.0.2

type OptimizationGoalKpi string

OptimizationGoalKpi KPI for the selected goal.

const (
	OptimizationGoalKpiCLICKTHROUGHRATE       OptimizationGoalKpi = "CLICK_THROUGH_RATE"
	OptimizationGoalKpiCOSTPERACQUISITION     OptimizationGoalKpi = "COST_PER_ACQUISITION"
	OptimizationGoalKpiCOSTPERCLICK           OptimizationGoalKpi = "COST_PER_CLICK"
	OptimizationGoalKpiCOSTPERDETAILPAGEVIEW  OptimizationGoalKpi = "COST_PER_DETAIL_PAGE_VIEW"
	OptimizationGoalKpiCOSTPERDOWNLOAD        OptimizationGoalKpi = "COST_PER_DOWNLOAD"
	OptimizationGoalKpiCOSTPERVIDEOCOMPLETION OptimizationGoalKpi = "COST_PER_VIDEO_COMPLETION"
	OptimizationGoalKpiDETAILPAGEVIEWRATE     OptimizationGoalKpi = "DETAIL_PAGE_VIEW_RATE"
	OptimizationGoalKpiNONE                   OptimizationGoalKpi = "NONE"
	OptimizationGoalKpiOTHER                  OptimizationGoalKpi = "OTHER"
	OptimizationGoalKpiREACH                  OptimizationGoalKpi = "REACH"
	OptimizationGoalKpiRETURNONADSPEND        OptimizationGoalKpi = "RETURN_ON_AD_SPEND"
	OptimizationGoalKpiTOTALRETURNONADSPEND   OptimizationGoalKpi = "TOTAL_RETURN_ON_AD_SPEND"
	OptimizationGoalKpiVIDEOCOMPLETIONRATE    OptimizationGoalKpi = "VIDEO_COMPLETION_RATE"
)

Defines values for OptimizationGoalKpi.

type OptimizationGoalKpiV23 added in v0.0.2

type OptimizationGoalKpiV23 = OptimizationGoalKpi

OptimizationGoalKpiV23 KPI for the selected goal.

type OptimizationGoalKpiV24 added in v0.0.2

type OptimizationGoalKpiV24 string

OptimizationGoalKpiV24 KPI for the selected goal. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.dsporders.v2.3+json. * CLICK_THROUGH_RATE: The number of click-throughs divided by the number of impressions. (CTR = Clicks / Impressions) * COMBINED_RETURN_ON_AD_SPEND: Return on advertising spend for products sold on and off Amazon, measured as ad-attributed sales per local currency unit of ad spend. (Combined ROAS = Combined product sales / Total cost) * COST_PER_ACTION: The cost to acquire an off-Amazon conversion. (CPA = Total cost / Off-Amazon conversions) * COST_PER_CLICK: The cost paid per click-through. (CPC = Total cost / Clicks) * COST_PER_DETAIL_PAGE_VIEW: The cost to acquire a detail page view for a promoted product. (CPDPV = Total cost / Detail page views) * COST_PER_FIRST_APP_OPEN: The cost to acquire a first-time STV app open. (CPFAO = Total cost / First STV app opens) * COST_PER_INSTALL: The cost for a mobile app install. (CPI = Total cost / Mobile app installs) * COST_PER_VIDEO_COMPLETION: The cost to acquire a video complete conversion. (CPVC = Total cost / Video completions) * DETAIL_PAGE_VIEW_RATE: Detail page view rate for promoted products. (DPVR = Detail page views for promoted products / Impressions) * NONE: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action. * OTHER: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action. * REACH: The number of unique users exposed to the creative during its flight. * RETURN_ON_AD_SPEND: Return on advertising spend for promoted products, measured as ad-attributed sales for promoted products per local currency unit of ad spend. (ROAS = Promoted product sales / Total cost) * TOTAL_COST_PER_SUBSCRIPTION: The cost to acquire a new free trial or paid subscription for a Prime Video channel or STV app subscription. (Total cost per subscription = Total cost / Subscription sign ups) * TOTAL_RETURN_ON_AD_SPEND: Return on ad spend, measured as ad-attributed sales for the brands’ products per local currency unit of ad spend. (Total ROAS = Total product sales / Total cost) * VIDEO_COMPLETION_RATE: The number of video completions relative to the number of video starts. (Video completion rate = Video complete / Video start)

const (
	OptimizationGoalKpiV24CLICKTHROUGHRATE         OptimizationGoalKpiV24 = "CLICK_THROUGH_RATE"
	OptimizationGoalKpiV24COMBINEDRETURNONADSPEND  OptimizationGoalKpiV24 = "COMBINED_RETURN_ON_AD_SPEND"
	OptimizationGoalKpiV24COSTPERACTION            OptimizationGoalKpiV24 = "COST_PER_ACTION"
	OptimizationGoalKpiV24COSTPERCLICK             OptimizationGoalKpiV24 = "COST_PER_CLICK"
	OptimizationGoalKpiV24COSTPERDETAILPAGEVIEW    OptimizationGoalKpiV24 = "COST_PER_DETAIL_PAGE_VIEW"
	OptimizationGoalKpiV24COSTPERFIRSTAPPOPEN      OptimizationGoalKpiV24 = "COST_PER_FIRST_APP_OPEN"
	OptimizationGoalKpiV24COSTPERINSTALL           OptimizationGoalKpiV24 = "COST_PER_INSTALL"
	OptimizationGoalKpiV24COSTPERVIDEOCOMPLETION   OptimizationGoalKpiV24 = "COST_PER_VIDEO_COMPLETION"
	OptimizationGoalKpiV24DETAILPAGEVIEWRATE       OptimizationGoalKpiV24 = "DETAIL_PAGE_VIEW_RATE"
	OptimizationGoalKpiV24NONE                     OptimizationGoalKpiV24 = "NONE"
	OptimizationGoalKpiV24OTHER                    OptimizationGoalKpiV24 = "OTHER"
	OptimizationGoalKpiV24REACH                    OptimizationGoalKpiV24 = "REACH"
	OptimizationGoalKpiV24RETURNONADSPEND          OptimizationGoalKpiV24 = "RETURN_ON_AD_SPEND"
	OptimizationGoalKpiV24TOTALCOSTPERSUBSCRIPTION OptimizationGoalKpiV24 = "TOTAL_COST_PER_SUBSCRIPTION"
	OptimizationGoalKpiV24TOTALRETURNONADSPEND     OptimizationGoalKpiV24 = "TOTAL_RETURN_ON_AD_SPEND"
	OptimizationGoalKpiV24VIDEOCOMPLETIONRATE      OptimizationGoalKpiV24 = "VIDEO_COMPLETION_RATE"
)

Defines values for OptimizationGoalKpiV24.

type OptimizationGoalV23 added in v0.0.2

type OptimizationGoalV23 = OptimizationGoal

OptimizationGoalV23 The budget optimization goal type.

type OracleDataCloud added in v0.0.2

type OracleDataCloud struct {
	// BrandSafety The oracle data cloud brand safety.
	BrandSafety *OracleDataCloudBrandSafety `json:"brandSafety,omitempty"`

	// ContextualPredictsSegmentId The custom segment predict identifier.
	ContextualPredictsSegmentId *string `json:"contextualPredictsSegmentId,omitempty"`

	// CustomSegmentId The custom segment identifier.
	CustomSegmentId *string `json:"customSegmentId,omitempty"`

	// FraudInvalidTraffic The fraud invalid traffic type.
	FraudInvalidTraffic *OracleDataCloudFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
}

OracleDataCloud Oracle Data Cloud is a third party provider in digital ad verification. Oracle Data Cloud offers technologies to drive high-quality advertising media.

type OracleDataCloudBrandSafety added in v0.0.2

type OracleDataCloudBrandSafety struct {
	EssentialProtection *OracleDataCloudBrandSafetyEssentialProtection `json:"essentialProtection,omitempty"`
	TargetingOption     *OracleDataCloudBrandSafetyTargetingOption     `json:"targetingOption,omitempty"`
}

OracleDataCloudBrandSafety The oracle data cloud brand safety.

type OracleDataCloudBrandSafetyEssentialProtection added in v0.0.2

type OracleDataCloudBrandSafetyEssentialProtection string

OracleDataCloudBrandSafetyEssentialProtection defines model for OracleDataCloudBrandSafety.EssentialProtection.

const (
	OracleDataCloudBrandSafetyEssentialProtectionADULT      OracleDataCloudBrandSafetyEssentialProtection = "ADULT"
	OracleDataCloudBrandSafetyEssentialProtectionARMS       OracleDataCloudBrandSafetyEssentialProtection = "ARMS"
	OracleDataCloudBrandSafetyEssentialProtectionCRIME      OracleDataCloudBrandSafetyEssentialProtection = "CRIME"
	OracleDataCloudBrandSafetyEssentialProtectionDRUGS      OracleDataCloudBrandSafetyEssentialProtection = "DRUGS"
	OracleDataCloudBrandSafetyEssentialProtectionHATESPEECH OracleDataCloudBrandSafetyEssentialProtection = "HATE_SPEECH"
	OracleDataCloudBrandSafetyEssentialProtectionINJURY     OracleDataCloudBrandSafetyEssentialProtection = "INJURY"
	OracleDataCloudBrandSafetyEssentialProtectionMILITARY   OracleDataCloudBrandSafetyEssentialProtection = "MILITARY"
	OracleDataCloudBrandSafetyEssentialProtectionOBSCENITY  OracleDataCloudBrandSafetyEssentialProtection = "OBSCENITY"
	OracleDataCloudBrandSafetyEssentialProtectionPIRACY     OracleDataCloudBrandSafetyEssentialProtection = "PIRACY"
	OracleDataCloudBrandSafetyEssentialProtectionTERRORISM  OracleDataCloudBrandSafetyEssentialProtection = "TERRORISM"
	OracleDataCloudBrandSafetyEssentialProtectionTOBACCO    OracleDataCloudBrandSafetyEssentialProtection = "TOBACCO"
)

Defines values for OracleDataCloudBrandSafetyEssentialProtection.

type OracleDataCloudBrandSafetyTargetingOption added in v0.0.2

type OracleDataCloudBrandSafetyTargetingOption string

OracleDataCloudBrandSafetyTargetingOption defines model for OracleDataCloudBrandSafety.TargetingOption.

const (
	ESSENTIALPROTECTION OracleDataCloudBrandSafetyTargetingOption = "ESSENTIAL_PROTECTION"
	MAXIMUMPROTECTION   OracleDataCloudBrandSafetyTargetingOption = "MAXIMUM_PROTECTION"
	NOBRANDSAFETY       OracleDataCloudBrandSafetyTargetingOption = "NO_BRAND_SAFETY"
)

Defines values for OracleDataCloudBrandSafetyTargetingOption.

type OracleDataCloudFraudInvalidTraffic added in v0.0.2

type OracleDataCloudFraudInvalidTraffic string

OracleDataCloudFraudInvalidTraffic The fraud invalid traffic type.

const (
	ALLOWALL                               OracleDataCloudFraudInvalidTraffic = "ALLOW_ALL"
	FRAUDINVALIDTRAFFICESSENTIALPROTECTION OracleDataCloudFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_ESSENTIAL_PROTECTION"
	FRAUDINVALIDTRAFFICMAXIMUMPROTECTION   OracleDataCloudFraudInvalidTraffic = "FRAUD_INVALID_TRAFFIC_MAXIMUM_PROTECTION"
)

Defines values for OracleDataCloudFraudInvalidTraffic.

type OracleDataCloudV3 added in v0.0.2

type OracleDataCloudV3 = OracleDataCloud

OracleDataCloudV3 Oracle Data Cloud is a third party provider in digital ad verification. Oracle Data Cloud offers technologies to drive high-quality advertising media.

type OracleDataCloudV31 added in v0.0.2

type OracleDataCloudV31 = OracleDataCloudV3

OracleDataCloudV31 defines model for OracleDataCloudV3_1.

type Order added in v0.0.2

type Order struct {
	// AdvertiserId The advertiser identifier. Immutable field.
	AdvertiserId string `json:"advertiserId"`

	// AgencyFee The service fee associated with an agency.
	AgencyFee *AgencyFee  `json:"agencyFee,omitempty"`
	Budget    OrderBudget `json:"budget"`

	// Comments The order comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The order creation date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00.
	CreationDate *string `json:"creationDate,omitempty"`

	// CurrencyCode The currency code.
	CurrencyCode *CurrencyCode `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.
	DeliveryStatus *OrderDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The order end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC. The end date has to be modeled as a part of flights object.
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The order external identifier, also known as purchase order number (PO number). This field is required if "Mandatory PO numbers" is set at the entity level. `N/A` (not applicable) is a valid value. This field will be deprecated and renamed to `poNumber` in a future release.
	ExternalId   *string      `json:"externalId,omitempty"`
	FrequencyCap FrequencyCap `json:"frequencyCap"`

	// LastUpdatedDate The order last update date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Name The order name.
	Name         string            `json:"name"`
	Optimization OrderOptimization `json:"optimization"`

	// OrderId The order identifier. It will be used to perform update operation. Immutable field.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The order start date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC. The start date has to be modeled as a part of flights object.
	StartDateTime *string `json:"startDateTime,omitempty"`
}

Order Complete order model which willl be used for create/update and get.

type OrderBasic added in v0.0.2

type OrderBasic struct {
	// AdvertiserId The advertiser identifier.
	AdvertiserId *string `json:"advertiserId,omitempty"`

	// AgencyFee The service fee associated with an agency.
	AgencyFee *AgencyFee        `json:"agencyFee,omitempty"`
	Budget    *OrderBudgetBasic `json:"budget,omitempty"`

	// Comments The order comments.
	Comments *string `json:"comments,omitempty"`

	// CurrencyCode The currency code.
	CurrencyCode *CurrencyCode `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.
	DeliveryStatus *OrderDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The order end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The order external identifier, also known as purchase order number (PO number). This field is required if "Mandatory PO numbers" is set at the entity level. `N/A` (not applicable) is a valid value. This field will be deprecated and renamed to `poNumber` in a future release.
	ExternalId   *string       `json:"externalId,omitempty"`
	FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`

	// Name The order name.
	Name         *string            `json:"name,omitempty"`
	Optimization *OrderOptimization `json:"optimization,omitempty"`

	// OrderId The order identifier.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The order start date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	StartDateTime *string `json:"startDateTime,omitempty"`
}

OrderBasic This model is designed to support batch get operation for better performance.

type OrderBasicV21 added in v0.0.2

type OrderBasicV21 = OrderBasic

OrderBasicV21 This model is designed to support batch get operation for better performance.

type OrderBasicV22 added in v0.0.2

type OrderBasicV22 = OrderBasicV21

OrderBasicV22 defines model for OrderBasicV2_2.

type OrderBasicV23 added in v0.0.2

type OrderBasicV23 struct {
	// AdvertiserId The advertiser identifier.
	AdvertiserId *string `json:"advertiserId,omitempty"`

	// AgencyFee The service fee associated with an agency.
	AgencyFee *AgencyFee        `json:"agencyFee,omitempty"`
	Budget    *OrderBudgetBasic `json:"budget,omitempty"`

	// Comments The order comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The order creation date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00. This field is available since version `application/vnd.dsporders.v2.1+json`.
	CreationDate *string         `json:"creationDate,omitempty"`
	CurrencyCode *CurrencyCodeV3 `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.
	DeliveryStatus *OrderDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The order end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The order external identifier, also known as purchase order number (PO number). This field is required if "Mandatory PO numbers" is set at the entity level. "N/A" (not applicable) is a valid value. This field will be deprecated and renamed to poNumber in a future release.
	ExternalId   *string       `json:"externalId,omitempty"`
	FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`

	// LastUpdatedDate The order last update date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00. This field is available since version `application/vnd.dsporders.v2.1+json`.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Name The order name.
	Name         *string               `json:"name,omitempty"`
	Optimization *OrderOptimizationV23 `json:"optimization,omitempty"`

	// OrderId The order identifier.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The order start date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	StartDateTime *string `json:"startDateTime,omitempty"`
}

OrderBasicV23 This model is designed to support batch get operation for better performance.

type OrderBasicV24 added in v0.0.2

type OrderBasicV24 struct {
	// AdvertiserId The advertiser identifier.
	AdvertiserId *string `json:"advertiserId,omitempty"`

	// AgencyFee The service fee associated with an agency.
	AgencyFee *AgencyFee        `json:"agencyFee,omitempty"`
	Budget    *OrderBudgetBasic `json:"budget,omitempty"`

	// Comments The order comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The order creation date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00. This field is available since version `application/vnd.dsporders.v2.1+json`.
	CreationDate *string         `json:"creationDate,omitempty"`
	CurrencyCode *CurrencyCodeV3 `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.
	DeliveryStatus *OrderDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The order end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The order external identifier, also known as purchase order number (PO number). This field is required if "Mandatory PO numbers" is set at the entity level. "N/A" (not applicable) is a valid value. This field will be deprecated and renamed to poNumber in a future release.
	ExternalId   *string       `json:"externalId,omitempty"`
	FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`

	// LastUpdatedDate The order last update date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00. This field is available since version `application/vnd.dsporders.v2.1+json`.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Name The order name.
	Name         *string               `json:"name,omitempty"`
	Optimization *OrderOptimizationV24 `json:"optimization,omitempty"`

	// OrderId The order identifier.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The order start date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC
	StartDateTime *string `json:"startDateTime,omitempty"`
}

OrderBasicV24 This model is designed to support batch get operation for better performance.

type OrderBudget added in v0.0.2

type OrderBudget struct {
	BudgetCaps *[]BudgetCap `json:"budgetCaps,omitempty"`

	// Flights The budget, start date and end date for an order have to be modeled as flight object. An order can have multiple flights.
	Flights *[]OrderFlight `json:"flights,omitempty"`

	// TotalBudgetAmount The total budget amount. For create/update operations, budget has to be modeled as part of flights object.
	TotalBudgetAmount *float64 `json:"totalBudgetAmount,omitempty"`
}

OrderBudget defines model for OrderBudget.

type OrderBudgetBasic added in v0.0.2

type OrderBudgetBasic struct {
	BudgetCaps *[]BudgetCap `json:"budgetCaps,omitempty"`

	// TotalBudgetAmount The total budget amount. For create/update operations, budget has to be modeled as part of flights object.
	TotalBudgetAmount *float64 `json:"totalBudgetAmount,omitempty"`
}

OrderBudgetBasic defines model for OrderBudgetBasic.

type OrderDeliveryStatus added in v0.0.2

type OrderDeliveryStatus string

OrderDeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.

const (
	DELIVERING          OrderDeliveryStatus = "DELIVERING"
	ENDED               OrderDeliveryStatus = "ENDED"
	INACTIVE            OrderDeliveryStatus = "INACTIVE"
	LINEITEMSNOTRUNNING OrderDeliveryStatus = "LINEITEMS_NOT_RUNNING"
	OUTOFBUDGET         OrderDeliveryStatus = "OUT_OF_BUDGET"
	READYTODELIVER      OrderDeliveryStatus = "READY_TO_DELIVER"
)

Defines values for OrderDeliveryStatus.

type OrderFlight added in v0.0.2

type OrderFlight struct {
	// Amount The total flight budget amount.
	Amount float64 `json:"amount"`

	// EndDateTime The flight start date in ISO format (YYYY-MM-DD hh:mm:ss z). Timezone is UTC. For example, 2020-10-21 03:59:00 UTC.
	EndDateTime string `json:"endDateTime"`

	// FlightId The flight identifier. Immutable field.
	FlightId *string `json:"flightId,omitempty"`

	// RemainingAmount The remaining flight budget amount.
	RemainingAmount *float64 `json:"remainingAmount,omitempty"`

	// SpentAmount The spent flight budget amount.
	SpentAmount *float64 `json:"spentAmount,omitempty"`

	// StartDateTime The flight start date in ISO format (YYYY-MM-DD hh:mm:ss z). Timezone is UTC. For example, 2020-10-21 03:59:00 UTC.
	StartDateTime string `json:"startDateTime"`
}

OrderFlight defines model for OrderFlight.

type OrderOptimization added in v0.0.2

type OrderOptimization struct {
	// AutoOptimizations The list of optimizations supported.
	AutoOptimizations *AutoOptimizations `json:"autoOptimizations,omitempty"`

	// BiddingStrategy It specifies how Amazon Advertising determines bids on your behalf for each opportunity to serve an impression. It is immutable once the order has started delivering.
	BiddingStrategy *BiddingStrategy `json:"biddingStrategy,omitempty"`

	// Goal The budget optimization goal type.
	Goal OptimizationGoal `json:"goal"`

	// GoalKpi KPI for the selected goal.
	GoalKpi OptimizationGoalKpi `json:"goalKpi"`

	// ProductLocation The product location indicates whether the product is endemic or non-endemic.
	ProductLocation ProductLocation `json:"productLocation"`
}

OrderOptimization defines model for OrderOptimization.

type OrderOptimizationV23 added in v0.0.2

type OrderOptimizationV23 struct {
	// AutoOptimizations The list of optimizations supported.
	AutoOptimizations *AutoOptimizations `json:"autoOptimizations,omitempty"`

	// BiddingStrategy It specifies how Amazon Advertising determines bids on your behalf for each opportunity to serve an impression. It is immutable once the order has started delivering.
	BiddingStrategy *BiddingStrategy `json:"biddingStrategy,omitempty"`

	// Goal The budget optimization goal type. PURCHASES_ON_OFF_AMAZON is available since application/vnd.dsporders.v2.3+json.
	Goal OptimizationGoalV23 `json:"goal"`

	// GoalKpi KPI for the selected goal. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.dsporders.v2.3+json.
	GoalKpi OptimizationGoalKpiV23 `json:"goalKpi"`

	// ProductLocation The product location indicates whether the product is endemic or non-endemic.
	ProductLocation ProductLocation `json:"productLocation"`
}

OrderOptimizationV23 defines model for OrderOptimizationV2_3.

type OrderOptimizationV24 added in v0.0.2

type OrderOptimizationV24 struct {
	// AutoOptimizations The list of optimizations supported.
	AutoOptimizations *AutoOptimizations `json:"autoOptimizations,omitempty"`

	// BiddingStrategy It specifies how Amazon Advertising determines bids on your behalf for each opportunity to serve an impression. It is immutable once the order has started delivering.
	BiddingStrategy *BiddingStrategy `json:"biddingStrategy,omitempty"`

	// Goal The budget optimization goal type. PURCHASES_ON_OFF_AMAZON is available since application/vnd.dsporders.v2.3+json.
	Goal OptimizationGoalV23 `json:"goal"`

	// GoalKpi KPI for the selected goal. COMBINED_RETURN_ON_AD_SPEND is available since application/vnd.dsporders.v2.3+json.
	// * CLICK_THROUGH_RATE: The number of click-throughs divided by the number of impressions. (CTR = Clicks / Impressions)
	// * COMBINED_RETURN_ON_AD_SPEND: Return on advertising spend for products sold on and off Amazon, measured as ad-attributed sales per local currency unit of ad spend. (Combined ROAS = Combined product sales / Total cost)
	// * COST_PER_ACTION: The cost to acquire an off-Amazon conversion. (CPA = Total cost / Off-Amazon conversions)
	// * COST_PER_CLICK: The cost paid per click-through. (CPC = Total cost / Clicks)
	// * COST_PER_DETAIL_PAGE_VIEW: The cost to acquire a detail page view for a promoted product. (CPDPV = Total cost / Detail page views)
	// * COST_PER_FIRST_APP_OPEN: The cost to acquire a first-time STV app open. (CPFAO = Total cost / First STV app opens)
	// * COST_PER_INSTALL: The cost for a mobile app install. (CPI = Total cost / Mobile app installs)
	// * COST_PER_VIDEO_COMPLETION: The cost to acquire a video complete conversion. (CPVC = Total cost / Video completions)
	// * DETAIL_PAGE_VIEW_RATE: Detail page view rate for promoted products. (DPVR = Detail page views for promoted products / Impressions)
	// * NONE: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action.
	// * OTHER: If this option is chosen, the Amazon DSP will not alter bids based on the likelihood that a given impression will result in a performance action.
	// * REACH: The number of unique users exposed to the creative during its flight.
	// * RETURN_ON_AD_SPEND: Return on advertising spend for promoted products, measured as ad-attributed sales for promoted products per local currency unit of ad spend. (ROAS = Promoted product sales / Total cost)
	// * TOTAL_COST_PER_SUBSCRIPTION: The cost to acquire a new free trial or paid subscription for a Prime Video channel or STV app subscription. (Total cost per subscription = Total cost / Subscription sign ups)
	// * TOTAL_RETURN_ON_AD_SPEND: Return on ad spend, measured as ad-attributed sales for the brands’ products per local currency unit of ad spend. (Total ROAS = Total product sales / Total cost)
	// * VIDEO_COMPLETION_RATE: The number of video completions relative to the number of video starts. (Video completion rate = Video complete / Video start)
	GoalKpi OptimizationGoalKpiV24 `json:"goalKpi"`

	// ProductLocation The product location indicates whether the product is endemic or non-endemic.
	ProductLocation ProductLocation `json:"productLocation"`
}

OrderOptimizationV24 defines model for OrderOptimizationV2_4.

type OrderResponse added in v0.0.2

type OrderResponse struct {
	// ErrorDetails The error response object.
	ErrorDetails *Error `json:"errorDetails,omitempty"`

	// OrderId The order Identifier.
	OrderId *string `json:"orderId,omitempty"`
}

OrderResponse Response for the order create/update operations. If operation is successful, it contains only orderId. If it is a failure, it contains only errorDetails. success and failure will be corresponding to that requested index in that batch (array of items).

type OrderV22 added in v0.0.2

type OrderV22 = Order

OrderV22 Complete order model which willl be used for create/update and get.

type OrderV23 added in v0.0.2

type OrderV23 struct {
	// AdvertiserId The advertiser identifier. Immutable field.
	AdvertiserId string `json:"advertiserId"`

	// AgencyFee The service fee associated with an agency.
	AgencyFee *AgencyFee  `json:"agencyFee,omitempty"`
	Budget    OrderBudget `json:"budget"`

	// Comments The order comments.
	Comments *string `json:"comments,omitempty"`

	// CreationDate The order creation date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00.
	CreationDate *string         `json:"creationDate,omitempty"`
	CurrencyCode *CurrencyCodeV3 `json:"currencyCode,omitempty"`

	// DeliveryActivationStatus This will be used to control the delivery activation status of order and lineitem  resource. Active - Activate order or lineitem. INACTIVE - Pause the order or lineitem.
	DeliveryActivationStatus *DeliveryActivationStatus `json:"deliveryActivationStatus,omitempty"`

	// DeliveryStatus The order delivery status. DELIVERING: The order is delivering. OUT_OF_BUDGET: The order is out of budget. ENDED: The order has ended. LINEITEMS_NOT_RUNNING: The order doesn’t have any active line items to deliver. INACTIVE: The order is paused by the user. READY_TO_DELIVER: The order has not yet started.
	DeliveryStatus *OrderDeliveryStatus `json:"deliveryStatus,omitempty"`

	// EndDateTime The order end date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC. The end date has to be modeled as a part of flights object.
	EndDateTime *string `json:"endDateTime,omitempty"`

	// ExternalId The order external identifier, also known as purchase order number (PO number). This field is required if "Mandatory PO numbers" is set at the entity level. `N/A` (not applicable) is a valid value. This field will be deprecated and renamed to `poNumber` in a future release.
	ExternalId   *string      `json:"externalId,omitempty"`
	FrequencyCap FrequencyCap `json:"frequencyCap"`

	// LastUpdatedDate The order last update date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00.
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`

	// Name The order name.
	Name         string               `json:"name"`
	Optimization OrderOptimizationV23 `json:"optimization"`

	// OrderId The order identifier. It will be used to perform update operation. Immutable field.
	OrderId *string `json:"orderId,omitempty"`

	// StartDateTime The order start date in ISO format (YYYY-MM-DDThh:mm:ssTZD). Timezone is UTC. For example, 2020-12-16T19:20:30+01:00 UTC. The start date has to be modeled as a part of flights object.
	StartDateTime *string `json:"startDateTime,omitempty"`
}

OrderV23 Complete order model which willl be used for create/update and get.

type Orders added in v0.0.2

type Orders struct {
	Response *[]OrderBasic `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

Orders defines model for Orders.

type OrdersV21 added in v0.0.2

type OrdersV21 struct {
	Response *[]OrderBasicV21 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

OrdersV21 defines model for OrdersV2_1.

type OrdersV22 added in v0.0.2

type OrdersV22 struct {
	Response *[]OrderBasicV22 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

OrdersV22 defines model for OrdersV2_2.

type OrdersV23 added in v0.0.2

type OrdersV23 struct {
	Response *[]OrderBasicV23 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

OrdersV23 defines model for OrdersV2_3.

type OrdersV24 added in v0.0.2

type OrdersV24 struct {
	Response *[]OrderBasicV24 `json:"response,omitempty"`

	// TotalResults Total number of results which satisfy the filtering criteria. This will help to support pagination.
	TotalResults *int `json:"totalResults,omitempty"`
}

OrdersV24 defines model for OrdersV2_4.

type OttContentGenres added in v0.0.2

type OttContentGenres string

OttContentGenres defines model for OttContentGenres.

const (
	OttContentGenresACTION            OttContentGenres = "ACTION"
	OttContentGenresADVENTURE         OttContentGenres = "ADVENTURE"
	OttContentGenresANIMATION         OttContentGenres = "ANIMATION"
	OttContentGenresBIOGRAPHY         OttContentGenres = "BIOGRAPHY"
	OttContentGenresCOMEDY            OttContentGenres = "COMEDY"
	OttContentGenresCRIME             OttContentGenres = "CRIME"
	OttContentGenresDOCUMENTARY       OttContentGenres = "DOCUMENTARY"
	OttContentGenresDRAMA             OttContentGenres = "DRAMA"
	OttContentGenresFAMILY            OttContentGenres = "FAMILY"
	OttContentGenresFANTASY           OttContentGenres = "FANTASY"
	OttContentGenresFILMNOIR          OttContentGenres = "FILM_NOIR"
	OttContentGenresGAMESHOW          OttContentGenres = "GAME_SHOW"
	OttContentGenresGENRENOTAVAILABLE OttContentGenres = "GENRE_NOT_AVAILABLE"
	OttContentGenresHISTORY           OttContentGenres = "HISTORY"
	OttContentGenresHORROR            OttContentGenres = "HORROR"
	OttContentGenresMUSICAL           OttContentGenres = "MUSICAL"
	OttContentGenresMYSTERY           OttContentGenres = "MYSTERY"
	OttContentGenresNEWS              OttContentGenres = "NEWS"
	OttContentGenresREALITYTV         OttContentGenres = "REALITY_TV"
	OttContentGenresROMANCE           OttContentGenres = "ROMANCE"
	OttContentGenresSCIENCEFICTION    OttContentGenres = "SCIENCE_FICTION"
	OttContentGenresSHORT             OttContentGenres = "SHORT"
	OttContentGenresSPORT             OttContentGenres = "SPORT"
	OttContentGenresSUPERHERO         OttContentGenres = "SUPER_HERO"
	OttContentGenresTALKSHOW          OttContentGenres = "TALK_SHOW"
	OttContentGenresTHRILLER          OttContentGenres = "THRILLER"
	OttContentGenresWAR               OttContentGenres = "WAR"
	OttContentGenresWESTERN           OttContentGenres = "WESTERN"
)

Defines values for OttContentGenres.

type OttTargeting added in v0.0.2

type OttTargeting struct {
	// OttAppBlocking Select the apps that should be excluded.
	OttAppBlocking *[]string `json:"ottAppBlocking,omitempty"`

	// OttContentGenres Select genres to exclude delivery to that audience.
	OttContentGenres *[]OttContentGenres `json:"ottContentGenres,omitempty"`
}

OttTargeting This targeting only applies to Amazon O&O and Amazon Publisher Services (APS) inventory. It can only be provided when CONNECTED_TV is selected in deviceTypeTargeting. Currently API does not support excluding delivery to audience according to content ratings. This feature will be added in later versions. If a user creates or updates a line item with this field on UI, they will not see the data for this field in API and updates via API will not update this field.

type Pacing added in v0.0.2

type Pacing struct {
	// CatchUpBoost Turning on catch up boost will lead to inconsistent delivery. If you want to avoid delivery spikes, we recommend turning catch up boost off.
	CatchUpBoost *PacingCatchUpBoost `json:"catchUpBoost,omitempty"`

	// DeliveryProfile The type of line item delivery profile. FRONT_LOADED: Front loaded can deliver up to 25% more than the daily Even pace targets. EVENLY: Even pacing spends your budget consistently across the length of the campaign. We recommend turning catch up boost off to ensure consistent delivery.
	DeliveryProfile PacingDeliveryProfile `json:"deliveryProfile"`
}

Pacing defines model for Pacing.

type PacingCatchUpBoost added in v0.0.2

type PacingCatchUpBoost string

PacingCatchUpBoost Turning on catch up boost will lead to inconsistent delivery. If you want to avoid delivery spikes, we recommend turning catch up boost off.

const (
	CATCHUPBOOST2X PacingCatchUpBoost = "CATCH_UP_BOOST_2X"
	CATCHUPBOOST3X PacingCatchUpBoost = "CATCH_UP_BOOST_3X"
	CATCHUPBOOST4X PacingCatchUpBoost = "CATCH_UP_BOOST_4X"
	NONE           PacingCatchUpBoost = "NONE"
)

Defines values for PacingCatchUpBoost.

type PacingDeliveryProfile added in v0.0.2

type PacingDeliveryProfile string

PacingDeliveryProfile The type of line item delivery profile. FRONT_LOADED: Front loaded can deliver up to 25% more than the daily Even pace targets. EVENLY: Even pacing spends your budget consistently across the length of the campaign. We recommend turning catch up boost off to ensure consistent delivery.

const (
	EVENLY      PacingDeliveryProfile = "EVENLY"
	FRONTLOADED PacingDeliveryProfile = "FRONT_LOADED"
)

Defines values for PacingDeliveryProfile.

type Pixalate added in v0.0.2

type Pixalate struct {
	FraudInvalidTraffic *PixalateFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
}

Pixalate Pixalate is a third party provider for digital ad verification. Pixalate offers technologies that drive high-quality advertising media.

type PixalateFraudInvalidTraffic added in v0.0.2

type PixalateFraudInvalidTraffic struct {
	// ExcludeAppsAndDomains Set to `true` to exclude traffic from Apps and Domains identified to be fraudulent or invalid.
	ExcludeAppsAndDomains *bool `json:"excludeAppsAndDomains,omitempty"`

	// ExcludeIpAddressAndUserAgents Set to `true` to exclude traffic from IPV4 and IPV6 addresses and usger agents identified to to be fraudulent or invalid.
	ExcludeIpAddressAndUserAgents *bool `json:"excludeIpAddressAndUserAgents,omitempty"`

	// ExcludeOttAndMobileDevices Set to `true` to exclude traffic from OTT and Mobile devices identified to be fraudulent or invalid.
	ExcludeOttAndMobileDevices *bool `json:"excludeOttAndMobileDevices,omitempty"`

	// ExcludeRemovedAppsFromAppStores Set to `true` to exlude traffic from Apps that have been removed from the google play and apple app stores in the last 6 months.
	ExcludeRemovedAppsFromAppStores *bool `json:"excludeRemovedAppsFromAppStores,omitempty"`
}

PixalateFraudInvalidTraffic defines model for PixalateFraudInvalidTraffic.

type Pixel added in v0.0.2

type Pixel struct {
	AdvertiserId *string         `json:"advertiserId,omitempty"`
	Created      *time.Time      `json:"created,omitempty"`
	Description  *string         `json:"description,omitempty"`
	Domain       *string         `json:"domain,omitempty"`
	Event        *PixelEvent     `json:"event,omitempty"`
	Id           *string         `json:"id,omitempty"`
	Name         *string         `json:"name,omitempty"`
	Purpose      *[]PixelPurpose `json:"purpose,omitempty"`
}

Pixel defines model for Pixel.

type PixelEvent added in v0.0.2

type PixelEvent string

PixelEvent defines model for Pixel.Event.

const (
	MARKETINGLANDINGPAGE PixelEvent = "MARKETING_LANDING_PAGE"
)

Defines values for PixelEvent.

type PixelPurpose added in v0.0.2

type PixelPurpose string

PixelPurpose defines model for Pixel.Purpose.

const (
	CONVERSION  PixelPurpose = "CONVERSION"
	ENGAGEMENT  PixelPurpose = "ENGAGEMENT"
	REMARKETING PixelPurpose = "REMARKETING"
)

Defines values for PixelPurpose.

type PixelTracking added in v0.0.2

type PixelTracking = []string

PixelTracking A list of pixels associated with the campaign.

type PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody added in v0.0.2

type PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody = DspImageCreativePreviewRequestV1

PreviewImageCreativeApplicationVndDsppreviewimagecreativesV1PlusJSONRequestBody defines body for PreviewImageCreative for application/vnd.dsppreviewimagecreatives.v1+json ContentType.

type PreviewImageCreativeParams added in v0.0.2

type PreviewImageCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

PreviewImageCreativeParams defines parameters for PreviewImageCreative.

type PreviewImageCreativeResp added in v0.0.2

type PreviewImageCreativeResp struct {
	Body                                               []byte
	HTTPResponse                                       *http.Response
	ApplicationvndDsppreviewcreativesresponseV1JSON200 *DspCreativePreviewResponseV1
	ApplicationvndDsperrorsV1JSON400                   *BadRequest
	ApplicationvndDsperrorsV1JSON401                   *Unauthorized
	ApplicationvndDsperrorsV1JSON403                   *Forbidden
	ApplicationvndDsperrorsV1JSON404                   *NotFound
	JSON415                                            *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                   *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                   *InternalServerError
	ApplicationvndDsperrorsV1JSON502                   *BadGateway
	ApplicationvndDsperrorsV1JSON503                   *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                   *EndpointRequestTimedOut
}

func ParsePreviewImageCreativeResp added in v0.0.2

func ParsePreviewImageCreativeResp(rsp *http.Response) (*PreviewImageCreativeResp, error)

ParsePreviewImageCreativeResp parses an HTTP response from a PreviewImageCreativeWithResponse call

func (PreviewImageCreativeResp) Status added in v0.0.2

func (r PreviewImageCreativeResp) Status() string

Status returns HTTPResponse.Status

func (PreviewImageCreativeResp) StatusCode added in v0.0.2

func (r PreviewImageCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody added in v0.0.2

type PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody = DspRecCreativePreviewRequestV1

PreviewRecCreativeApplicationVndDsppreviewreccreativesV1PlusJSONRequestBody defines body for PreviewRecCreative for application/vnd.dsppreviewreccreatives.v1+json ContentType.

type PreviewRecCreativeParams added in v0.0.2

type PreviewRecCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

PreviewRecCreativeParams defines parameters for PreviewRecCreative.

type PreviewRecCreativeResp added in v0.0.2

type PreviewRecCreativeResp struct {
	Body                                               []byte
	HTTPResponse                                       *http.Response
	ApplicationvndDsppreviewcreativesresponseV1JSON200 *DspCreativePreviewResponseV1
	ApplicationvndDsperrorsV1JSON400                   *BadRequest
	ApplicationvndDsperrorsV1JSON401                   *Unauthorized
	ApplicationvndDsperrorsV1JSON403                   *Forbidden
	ApplicationvndDsperrorsV1JSON404                   *NotFound
	JSON415                                            *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                   *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                   *InternalServerError
	ApplicationvndDsperrorsV1JSON502                   *BadGateway
	ApplicationvndDsperrorsV1JSON503                   *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                   *EndpointRequestTimedOut
}

func ParsePreviewRecCreativeResp added in v0.0.2

func ParsePreviewRecCreativeResp(rsp *http.Response) (*PreviewRecCreativeResp, error)

ParsePreviewRecCreativeResp parses an HTTP response from a PreviewRecCreativeWithResponse call

func (PreviewRecCreativeResp) Status added in v0.0.2

func (r PreviewRecCreativeResp) Status() string

Status returns HTTPResponse.Status

func (PreviewRecCreativeResp) StatusCode added in v0.0.2

func (r PreviewRecCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody added in v0.0.2

type PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody = DspThirdPartyCreativePreviewRequestV1

PreviewThirdPartyCreativeApplicationVndDsppreviewthirdpartycreativesV1PlusJSONRequestBody defines body for PreviewThirdPartyCreative for application/vnd.dsppreviewthirdpartycreatives.v1+json ContentType.

type PreviewThirdPartyCreativeParams added in v0.0.2

type PreviewThirdPartyCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

PreviewThirdPartyCreativeParams defines parameters for PreviewThirdPartyCreative.

type PreviewThirdPartyCreativeResp added in v0.0.2

type PreviewThirdPartyCreativeResp struct {
	Body                                               []byte
	HTTPResponse                                       *http.Response
	ApplicationvndDsppreviewcreativesresponseV1JSON200 *DspCreativePreviewResponseV1
	ApplicationvndDsperrorsV1JSON400                   *BadRequest
	ApplicationvndDsperrorsV1JSON401                   *Unauthorized
	ApplicationvndDsperrorsV1JSON403                   *Forbidden
	ApplicationvndDsperrorsV1JSON404                   *NotFound
	JSON415                                            *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                   *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                   *InternalServerError
	ApplicationvndDsperrorsV1JSON502                   *BadGateway
	ApplicationvndDsperrorsV1JSON503                   *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                   *EndpointRequestTimedOut
}

func ParsePreviewThirdPartyCreativeResp added in v0.0.2

func ParsePreviewThirdPartyCreativeResp(rsp *http.Response) (*PreviewThirdPartyCreativeResp, error)

ParsePreviewThirdPartyCreativeResp parses an HTTP response from a PreviewThirdPartyCreativeWithResponse call

func (PreviewThirdPartyCreativeResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (PreviewThirdPartyCreativeResp) StatusCode added in v0.0.2

func (r PreviewThirdPartyCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody added in v0.0.2

type PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody = DspVideoCreativePreviewRequestV1

PreviewVideoCreativeApplicationVndDsppreviewvideocreativesV1PlusJSONRequestBody defines body for PreviewVideoCreative for application/vnd.dsppreviewvideocreatives.v1+json ContentType.

type PreviewVideoCreativeParams added in v0.0.2

type PreviewVideoCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

PreviewVideoCreativeParams defines parameters for PreviewVideoCreative.

type PreviewVideoCreativeResp added in v0.0.2

type PreviewVideoCreativeResp struct {
	Body                                               []byte
	HTTPResponse                                       *http.Response
	ApplicationvndDsppreviewcreativesresponseV1JSON200 *DspCreativePreviewResponseV1
	ApplicationvndDsperrorsV1JSON400                   *BadRequest
	ApplicationvndDsperrorsV1JSON401                   *Unauthorized
	ApplicationvndDsperrorsV1JSON403                   *Forbidden
	ApplicationvndDsperrorsV1JSON404                   *NotFound
	JSON415                                            *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                   *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                   *InternalServerError
	ApplicationvndDsperrorsV1JSON502                   *BadGateway
	ApplicationvndDsperrorsV1JSON503                   *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                   *EndpointRequestTimedOut
}

func ParsePreviewVideoCreativeResp added in v0.0.2

func ParsePreviewVideoCreativeResp(rsp *http.Response) (*PreviewVideoCreativeResp, error)

ParsePreviewVideoCreativeResp parses an HTTP response from a PreviewVideoCreativeWithResponse call

func (PreviewVideoCreativeResp) Status added in v0.0.2

func (r PreviewVideoCreativeResp) Status() string

Status returns HTTPResponse.Status

func (PreviewVideoCreativeResp) StatusCode added in v0.0.2

func (r PreviewVideoCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProductCategory added in v0.0.2

type ProductCategory struct {
	// Id The category identifier.
	Id string `json:"id"`

	// Name The category name.
	Name string `json:"name"`

	// ParentId The identifier of the parent category. This is blank if the category is a parent category.
	ParentId *string `json:"parentId,omitempty"`
}

ProductCategory defines model for ProductCategory.

type ProductLocation added in v0.0.2

type ProductLocation string

ProductLocation The product location indicates whether the product is endemic or non-endemic.

const (
	ProductLocationNOTSOLDONAMAZON ProductLocation = "NOT_SOLD_ON_AMAZON"
	ProductLocationSOLDONAMAZON    ProductLocation = "SOLD_ON_AMAZON"
)

Defines values for ProductLocation.

type ProductTracking added in v0.0.2

type ProductTracking struct {
	// ProductFile The URL of the product tracking file.
	ProductFile *string `json:"productFile,omitempty"`

	// ProductList The tracking product list.
	ProductList *[]ProductTrackingItem `json:"productList,omitempty"`
}

ProductTracking defines model for ProductTracking.

type ProductTrackingDomain added in v0.0.2

type ProductTrackingDomain string

ProductTrackingDomain The ASIN domain type. Applicable to ASIN line item type only.

const (
	ProductTrackingDomainAMAZONCA           ProductTrackingDomain = "AMAZON_CA"
	ProductTrackingDomainAMAZONMX           ProductTrackingDomain = "AMAZON_MX"
	ProductTrackingDomainAMAZONUS           ProductTrackingDomain = "AMAZON_US"
	ProductTrackingDomainPRIMENOWCA         ProductTrackingDomain = "PRIME_NOW_CA"
	ProductTrackingDomainPRIMENOWUS         ProductTrackingDomain = "PRIME_NOW_US"
	ProductTrackingDomainWHOLEFOODSMARKETUS ProductTrackingDomain = "WHOLE_FOODS_MARKET_US"
)

Defines values for ProductTrackingDomain.

type ProductTrackingDomainV21 added in v0.0.2

type ProductTrackingDomainV21 = ProductTrackingDomain

ProductTrackingDomainV21 The ASIN domain type. Applicable to ASIN line item type only.

type ProductTrackingFile added in v0.0.2

type ProductTrackingFile = string

ProductTrackingFile The URL of the product tracking file.

type ProductTrackingItem added in v0.0.2

type ProductTrackingItem struct {
	// Domain The ASIN domain type. Applicable to ASIN line item type only.
	Domain ProductTrackingDomain `json:"domain"`

	// ProductAssociation The product feature type.
	ProductAssociation ProductTrackingItemProductAssociation `json:"productAssociation"`

	// ProductId The product identifier.
	ProductId string `json:"productId"`
}

ProductTrackingItem defines model for ProductTrackingItem.

type ProductTrackingItemProductAssociation added in v0.0.2

type ProductTrackingItemProductAssociation string

ProductTrackingItemProductAssociation The product feature type.

const (
	ProductTrackingItemProductAssociationFEATURED    ProductTrackingItemProductAssociation = "FEATURED"
	ProductTrackingItemProductAssociationNOTFEATURED ProductTrackingItemProductAssociation = "NOT_FEATURED"
)

Defines values for ProductTrackingItemProductAssociation.

type ProductTrackingItemV1 added in v0.0.2

type ProductTrackingItemV1 struct {
	// Domain The ASIN domain type.
	Domain SupportedProductTrackingDomainV1 `json:"domain"`

	// ProductAssociation The product feature type.
	ProductAssociation SupportedProductAssociationV1 `json:"productAssociation"`

	// ProductId The product identifier.
	ProductId string `json:"productId"`
}

ProductTrackingItemV1 defines model for ProductTrackingItemV1.

type ProductTrackingItemV21 added in v0.0.2

type ProductTrackingItemV21 = ProductTrackingItem

ProductTrackingItemV21 defines model for ProductTrackingItemV2_1.

type ProductTrackingListV1 added in v0.0.2

type ProductTrackingListV1 = []ProductTrackingItemV1

ProductTrackingListV1 The tracking product list.

type ProductTrackingV1 added in v0.0.2

type ProductTrackingV1 struct {
	// ProductFile The URL of the product tracking file.
	ProductFile *string `json:"productFile,omitempty"`

	// ProductList The tracking product list.
	ProductList *ProductTrackingListV1 `json:"productList,omitempty"`
}

ProductTrackingV1 defines model for ProductTrackingV1.

type ProductTrackingV21 added in v0.0.2

type ProductTrackingV21 = ProductTracking

ProductTrackingV21 defines model for ProductTrackingV2_1.

type ProfileHeader added in v0.0.2

type ProfileHeader = string

ProfileHeader defines model for profileHeader.

type PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody added in v0.0.2

type PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody = ProductTrackingV1

PutDspOrdersOrderIdConversionTrackingProductsApplicationVndDspproducttrackingV1PlusJSONRequestBody defines body for PutDspOrdersOrderIdConversionTrackingProducts for application/vnd.dspproducttracking.v1+json ContentType.

type PutDspOrdersOrderIdConversionTrackingProductsParams added in v0.0.2

type PutDspOrdersOrderIdConversionTrackingProductsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

PutDspOrdersOrderIdConversionTrackingProductsParams defines parameters for PutDspOrdersOrderIdConversionTrackingProducts.

type PutDspOrdersOrderIdConversionTrackingProductsResp added in v0.0.2

type PutDspOrdersOrderIdConversionTrackingProductsResp struct {
	Body                             []byte
	HTTPResponse                     *http.Response
	ApplicationvndDsperrorsV1JSON400 *Error
	ApplicationvndDsperrorsV1JSON401 *Error
	ApplicationvndDsperrorsV1JSON403 *Error
	ApplicationvndDsperrorsV1JSON404 *Error
	ApplicationvndDsperrorsV1JSON415 *Error
	ApplicationvndDsperrorsV1JSON429 *Error
	ApplicationvndDsperrorsV1JSON500 *Error
	ApplicationvndDsperrorsV1JSON502 *Error
	ApplicationvndDsperrorsV1JSON503 *Error
	ApplicationvndDsperrorsV1JSON504 *Error
}

func ParsePutDspOrdersOrderIdConversionTrackingProductsResp added in v0.0.2

func ParsePutDspOrdersOrderIdConversionTrackingProductsResp(rsp *http.Response) (*PutDspOrdersOrderIdConversionTrackingProductsResp, error)

ParsePutDspOrdersOrderIdConversionTrackingProductsResp parses an HTTP response from a PutDspOrdersOrderIdConversionTrackingProductsWithResponse call

func (PutDspOrdersOrderIdConversionTrackingProductsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (PutDspOrdersOrderIdConversionTrackingProductsResp) StatusCode added in v0.0.2

StatusCode returns HTTPResponse.StatusCode

type ReadDomainTargetingResponse added in v0.0.2

type ReadDomainTargetingResponse struct {
	// DomainListMergedFile The URL address of the domain file after merging all domains into single file, including inheritance from advertiser, domain lists, domain files, domains entered, if any.
	DomainListMergedFile *string `json:"domainListMergedFile,omitempty"`

	// InheritFromAdvertiser Set to `true` to enable domain inheritance from advertiser.
	InheritFromAdvertiser *bool `json:"inheritFromAdvertiser,omitempty"`

	// LineItemId The line item identifier.
	LineItemId *string `json:"lineItemId,omitempty"`

	// TargetingType The list type of the domain. Either INCLUDE (ALLOW_LIST) or EXCLUDE (BLOCK_LIST).
	TargetingType *TargetingType `json:"targetingType,omitempty"`
}

ReadDomainTargetingResponse The read operation response.

type ReadDomainTargetingResponses added in v0.0.2

type ReadDomainTargetingResponses struct {
	Response *[]ReadDomainTargetingResponse `json:"response,omitempty"`
}

ReadDomainTargetingResponses defines model for ReadDomainTargetingResponses.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseEditorFn

type ResponseEditorFn func(ctx context.Context, rsp *http.Response) error

ResponseEditorFn is the function signature for the ResponseEditor callback function

type SegmentClause added in v0.0.2

type SegmentClause struct {
	// IsNot Set to `true` to set to negative targeting. Set to `false` to set to  positive targeting. Default is false.
	IsNot *bool `json:"isNot,omitempty"`

	// SegmentId The unique identifier of the DSP resource/object.
	SegmentId Identifier `json:"segmentId"`
}

SegmentClause The segment clause.

type SegmentGroup added in v0.0.2

type SegmentGroup struct {
	// InterOperator The inter operator used among segments within the same segment group.
	InterOperator interface{} `json:"interOperator"`

	// IntraOperator The intra operator used between two segment groups.
	IntraOperator SegmentGroupIntraOperator `json:"intraOperator"`

	// Segments The list of segment clauses.
	Segments []SegmentClause `json:"segments"`
}

SegmentGroup This segment group.

type SegmentGroupIntraOperator added in v0.0.2

type SegmentGroupIntraOperator string

SegmentGroupIntraOperator The intra operator used between two segment groups.

const (
	AND SegmentGroupIntraOperator = "AND"
	OR  SegmentGroupIntraOperator = "OR"
)

Defines values for SegmentGroupIntraOperator.

type SegmentTargeting added in v0.0.2

type SegmentTargeting struct {
	// SegmentGroups The list of segment groups.
	SegmentGroups *[]SegmentGroup `json:"segmentGroups,omitempty"`
}

SegmentTargeting defines model for SegmentTargeting.

type ServiceUnavailable added in v0.0.2

type ServiceUnavailable = Error

ServiceUnavailable The error response object.

type SetLineItemStatusParams added in v0.0.2

type SetLineItemStatusParams struct {
	// Status The delivery activation status. If the given delivery activation status value is not part of enumeration (DeliveryActivationStatus), Response code will be 404.
	Status DeliveryActivationStatus `form:"status" json:"status"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

SetLineItemStatusParams defines parameters for SetLineItemStatus.

type SetLineItemStatusResp added in v0.0.2

type SetLineItemStatusResp struct {
	Body                                 []byte
	HTTPResponse                         *http.Response
	ApplicationvndDsperrorsV3JSON400     *Error
	ApplicationvndDsplineitemsV2JSON400  *Error
	ApplicationvndDsplineitemsV21JSON400 *Error
	ApplicationvndDsplineitemsV22JSON400 *Error
	ApplicationvndDsperrorsV3JSON401     *Error
	ApplicationvndDsplineitemsV2JSON401  *Error
	ApplicationvndDsplineitemsV21JSON401 *Error
	ApplicationvndDsplineitemsV22JSON401 *Error
	ApplicationvndDsperrorsV3JSON403     *Error
	ApplicationvndDsplineitemsV2JSON403  *Error
	ApplicationvndDsplineitemsV21JSON403 *Error
	ApplicationvndDsplineitemsV22JSON403 *Error
	ApplicationvndDsperrorsV3JSON404     *Error
	ApplicationvndDsplineitemsV2JSON404  *Error
	ApplicationvndDsplineitemsV21JSON404 *Error
	ApplicationvndDsplineitemsV22JSON404 *Error
	ApplicationvndDsperrorsV3JSON415     *Error
	ApplicationvndDsplineitemsV2JSON415  *Error
	ApplicationvndDsplineitemsV21JSON415 *Error
	ApplicationvndDsplineitemsV22JSON415 *Error
	ApplicationvndDsperrorsV3JSON429     *Error
	ApplicationvndDsplineitemsV2JSON429  *Error
	ApplicationvndDsplineitemsV21JSON429 *Error
	ApplicationvndDsplineitemsV22JSON429 *Error
	ApplicationvndDsperrorsV3JSON500     *Error
	ApplicationvndDsplineitemsV2JSON500  *Error
	ApplicationvndDsplineitemsV21JSON500 *Error
	ApplicationvndDsplineitemsV22JSON500 *Error
	ApplicationvndDsperrorsV3JSON502     *Error
	ApplicationvndDsplineitemsV2JSON502  *Error
	ApplicationvndDsplineitemsV21JSON502 *Error
	ApplicationvndDsplineitemsV22JSON502 *Error
	ApplicationvndDsperrorsV3JSON503     *Error
	ApplicationvndDsplineitemsV2JSON503  *Error
	ApplicationvndDsplineitemsV21JSON503 *Error
	ApplicationvndDsplineitemsV22JSON503 *Error
	ApplicationvndDsperrorsV3JSON504     *Error
	ApplicationvndDsplineitemsV2JSON504  *Error
	ApplicationvndDsplineitemsV21JSON504 *Error
	ApplicationvndDsplineitemsV22JSON504 *Error
}

func ParseSetLineItemStatusResp added in v0.0.2

func ParseSetLineItemStatusResp(rsp *http.Response) (*SetLineItemStatusResp, error)

ParseSetLineItemStatusResp parses an HTTP response from a SetLineItemStatusWithResponse call

func (SetLineItemStatusResp) Status added in v0.0.2

func (r SetLineItemStatusResp) Status() string

Status returns HTTPResponse.Status

func (SetLineItemStatusResp) StatusCode added in v0.0.2

func (r SetLineItemStatusResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetOrderStatusParams added in v0.0.2

type SetOrderStatusParams struct {
	// Status The delivery activation status. If the given status value is not part of enumeration (DeliveryActivationStatus), then response code will be 404.
	Status DeliveryActivationStatus `form:"status" json:"status"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

SetOrderStatusParams defines parameters for SetOrderStatus.

type SetOrderStatusResp added in v0.0.2

type SetOrderStatusResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV22JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV22JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV22JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV22JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV22JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV22JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV22JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV22JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV22JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
	ApplicationvndDspordersV22JSON504 *Error
}

func ParseSetOrderStatusResp added in v0.0.2

func ParseSetOrderStatusResp(rsp *http.Response) (*SetOrderStatusResp, error)

ParseSetOrderStatusResp parses an HTTP response from a SetOrderStatusWithResponse call

func (SetOrderStatusResp) Status added in v0.0.2

func (r SetOrderStatusResp) Status() string

Status returns HTTPResponse.Status

func (SetOrderStatusResp) StatusCode added in v0.0.2

func (r SetOrderStatusResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SiteLanguageTargeting added in v0.0.2

type SiteLanguageTargeting string

SiteLanguageTargeting The site language targeting type. For example, `EN`, `ES`.

const (
	EN SiteLanguageTargeting = "EN"
	ES SiteLanguageTargeting = "ES"
)

Defines values for SiteLanguageTargeting.

type SiteLanguageTargetingV3 added in v0.0.2

type SiteLanguageTargetingV3 = SiteLanguageTargeting

SiteLanguageTargetingV3 The site language targeting type. For example, `EN`, `ES`.

type StandardDisplayDoubleVerify added in v0.0.2

type StandardDisplayDoubleVerify struct {
	AuthenticBrandSafety *DoubleVerifyAuthenticBrandSafety       `json:"authenticBrandSafety,omitempty"`
	BrandSafety          *StandardDisplayDoubleVerifyBrandSafety `json:"brandSafety,omitempty"`

	// CustomContextualSegmentId The custom segment identifier.
	CustomContextualSegmentId *DvCustomContextualSegmentId     `json:"customContextualSegmentId,omitempty"`
	FraudInvalidTraffic       *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
	Viewability               *DoubleVerifyViewabilityV21      `json:"viewability,omitempty"`
}

StandardDisplayDoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type StandardDisplayDoubleVerifyBrandSafety added in v0.0.2

type StandardDisplayDoubleVerifyBrandSafety struct {
	// ContentCategories A list of content categories to exclude from targeting.
	ContentCategories *DvBrandSafetyContentCategories `json:"contentCategories,omitempty"`

	// ContentCategoriesWithRisk A map from content categories to risk level to exclude from targeting. Available keys are: [`ADULT_CONTENT`, `ALCOHOL`, `CRIME`, `DISASTER_AVIATION`, `DISASTER_MAN_MADE`, `DISASTER_NATURAL`, `DISASTER_TERRORIST_EVENTS`, `DISASTER_VEHICLE`, `HATE_SPEECH`, `PROFANITY`, `SUBSTANCE_ABUSE`, `TOBACCO_ECIGARETTES`, `VIOLENCE_EXTREME_GRAPHIC`]
	ContentCategoriesWithRisk *DvBrandSafetyContentCategoriesWithRisk `json:"contentCategoriesWithRisk,omitempty"`

	// UnknownContent Set to `true` to exclude unknown content.
	UnknownContent *DvBrandSafetyUnknownContent `json:"unknownContent,omitempty"`
}

StandardDisplayDoubleVerifyBrandSafety defines model for StandardDisplayDoubleVerifyBrandSafety.

type StandardDisplayDoubleVerifyBrandSafetyV32 added in v0.0.2

type StandardDisplayDoubleVerifyBrandSafetyV32 = StandardDisplayDoubleVerifyBrandSafety

StandardDisplayDoubleVerifyBrandSafetyV32 defines model for StandardDisplayDoubleVerifyBrandSafetyV3_2.

type StandardDisplayDoubleVerifyV32 added in v0.0.2

type StandardDisplayDoubleVerifyV32 = StandardDisplayDoubleVerify

StandardDisplayDoubleVerifyV32 Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type StandardDisplayIntegralAdScience added in v0.0.2

type StandardDisplayIntegralAdScience struct {
	BrandSafety *IasBrandSafetyV3 `json:"brandSafety,omitempty"`

	// FraudInvalidTraffic The type of fraud invalid traffic.
	FraudInvalidTraffic *IasFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`

	// Viewability The IAS viewability standard.
	Viewability *IasViewability `json:"viewability,omitempty"`
}

StandardDisplayIntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.

type StandardDisplayTargeting added in v0.0.2

type StandardDisplayTargeting struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContentTargeting The IAB content category type. IAB content categories enable advertisers to target websites according to their subject matter by scanning their content. This helps deliver ads to relevant sites while ensuring that the ads are not displayed near undesirable content.
	ContentTargeting *[]Identifier `json:"contentTargeting,omitempty"`

	// ContextualTargeting Set to `true` to enable contextual targeting. Contextual targeting targets the detail page of products that are frequently viewed or purchased with the products in your ad. Note that this feature applies to Dynamic eCommerce ads only.
	ContextualTargeting *bool `json:"contextualTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceTypeTargeting The targeted device type for standard display line item type. It is required input for `STANDARD_DISPLAY` line item type.
	DeviceTypeTargeting *StandardDisplayTargetingDeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`
	DomainListTargeting *DomainList                                  `json:"domainListTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// MobileOsTargeting The mobile operating system targeting type.
	MobileOsTargeting *MobileOsTargeting `json:"mobileOsTargeting,omitempty"`
	SegmentTargeting  *SegmentTargeting  `json:"segmentTargeting,omitempty"`

	// SiteLanguageTargeting The site language targeting type. For example, `EN`, `ES`.
	SiteLanguageTargeting *SiteLanguageTargeting `json:"siteLanguageTargeting,omitempty"`
	SupplyTargeting       *SupplyTargeting       `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *ThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.
	UserLocationTargeting *UserLocationTargeting `json:"userLocationTargeting,omitempty"`
}

StandardDisplayTargeting defines model for StandardDisplayTargeting.

type StandardDisplayTargetingDeviceTypeTargeting added in v0.0.2

type StandardDisplayTargetingDeviceTypeTargeting string

StandardDisplayTargetingDeviceTypeTargeting The targeted device type for standard display line item type. It is required input for `STANDARD_DISPLAY` line item type.

const (
	StandardDisplayTargetingDeviceTypeTargetingDESKTOP          StandardDisplayTargetingDeviceTypeTargeting = "DESKTOP"
	StandardDisplayTargetingDeviceTypeTargetingDESKTOPANDMOBILE StandardDisplayTargetingDeviceTypeTargeting = "DESKTOP_AND_MOBILE"
	StandardDisplayTargetingDeviceTypeTargetingMOBILE           StandardDisplayTargetingDeviceTypeTargeting = "MOBILE"
)

Defines values for StandardDisplayTargetingDeviceTypeTargeting.

type StandardDisplayTargetingV3 added in v0.0.2

type StandardDisplayTargetingV3 struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContentTargeting The IAB content category type. IAB content categories enable advertisers to target websites according to their subject matter by scanning their content. This helps deliver ads to relevant sites while ensuring that the ads are not displayed near undesirable content.
	ContentTargeting *[]Identifier `json:"contentTargeting,omitempty"`

	// ContextualTargeting Set to `true` to enable contextual targeting. Contextual targeting targets the detail page of products that are frequently viewed or purchased with the products in your ad. Note that this feature applies to Dynamic eCommerce ads only.
	ContextualTargeting *bool `json:"contextualTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceTypeTargeting The targeted device type for standard display line item type. It is required input for `STANDARD_DISPLAY` line item type.
	DeviceTypeTargeting *StandardDisplayTargetingV3DeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`
	DomainListTargeting *DomainList                                    `json:"domainListTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// MobileOsTargeting The mobile operating system targeting type.
	MobileOsTargeting *MobileOsTargeting `json:"mobileOsTargeting,omitempty"`
	SegmentTargeting  *SegmentTargeting  `json:"segmentTargeting,omitempty"`

	// SiteLanguageTargeting The site language targeting type. For example, US/Mexico advertisers can choose from `EN`, `ES`; Canada advertisers can choose from `EN`, `FR`; Brazil advertisers can choose from `EN`, `PT`.
	SiteLanguageTargeting *SiteLanguageTargetingV3 `json:"siteLanguageTargeting,omitempty"`
	SupplyTargeting       *SupplyTargeting         `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *StandardDisplayThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, US advertisers can choose from `US`, `EVERYWHERE`, `NON-US`; Canada advertisers can choose from `CA`, `EVERYWHERE`; Mexico advertisers can choose from `MX`, `EVERYWHERE`; Brazil advertisers can choose from `BR`, `EVERYWHERE`.
	UserLocationTargeting *UserLocationTargetingV3 `json:"userLocationTargeting,omitempty"`
}

StandardDisplayTargetingV3 defines model for StandardDisplayTargetingV3.

type StandardDisplayTargetingV31 added in v0.0.2

type StandardDisplayTargetingV31 = StandardDisplayTargetingV3

StandardDisplayTargetingV31 defines model for StandardDisplayTargetingV3_1.

type StandardDisplayTargetingV32 added in v0.0.2

type StandardDisplayTargetingV32 = StandardDisplayTargetingV31

StandardDisplayTargetingV32 defines model for StandardDisplayTargetingV3_2.

type StandardDisplayTargetingV3DeviceTypeTargeting added in v0.0.2

type StandardDisplayTargetingV3DeviceTypeTargeting string

StandardDisplayTargetingV3DeviceTypeTargeting The targeted device type for standard display line item type. It is required input for `STANDARD_DISPLAY` line item type.

const (
	StandardDisplayTargetingV3DeviceTypeTargetingDESKTOP          StandardDisplayTargetingV3DeviceTypeTargeting = "DESKTOP"
	StandardDisplayTargetingV3DeviceTypeTargetingDESKTOPANDMOBILE StandardDisplayTargetingV3DeviceTypeTargeting = "DESKTOP_AND_MOBILE"
	StandardDisplayTargetingV3DeviceTypeTargetingMOBILE           StandardDisplayTargetingV3DeviceTypeTargeting = "MOBILE"
)

Defines values for StandardDisplayTargetingV3DeviceTypeTargeting.

type StandardDisplayThirdPartyPreBidTargeting added in v0.0.2

type StandardDisplayThirdPartyPreBidTargeting struct {
	// DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.
	DoubleVerify *StandardDisplayDoubleVerify `json:"doubleVerify,omitempty"`

	// IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.
	IntegralAdScience *StandardDisplayIntegralAdScience `json:"integralAdScience,omitempty"`
	OracleDataCloud   *OracleDataCloudV3                `json:"oracleDataCloud,omitempty"`
}

StandardDisplayThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type StandardDisplayThirdPartyPreBidTargetingV31 added in v0.0.2

type StandardDisplayThirdPartyPreBidTargetingV31 = StandardDisplayThirdPartyPreBidTargeting

StandardDisplayThirdPartyPreBidTargetingV31 Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type StandardDisplayThirdPartyPreBidTargetingV32 added in v0.0.2

type StandardDisplayThirdPartyPreBidTargetingV32 = StandardDisplayThirdPartyPreBidTargetingV31

StandardDisplayThirdPartyPreBidTargetingV32 defines model for StandardDisplayThirdPartyPreBidTargetingV3_2.

type SubError added in v0.0.2

type SubError struct {
	ErrorType string  `json:"errorType"`
	FieldName *string `json:"fieldName,omitempty"`
	Message   string  `json:"message"`
}

SubError The sub error object.

type SupplyDealTargeting added in v0.0.2

type SupplyDealTargeting struct {
	// Deals The list of deal supply sources to target.
	Deals *[]Identifier `json:"deals,omitempty"`
}

SupplyDealTargeting defines model for SupplyDealTargeting.

type SupplySource added in v0.0.2

type SupplySource struct {
	// DealInfo Deal metadata present only for the DEAL type.
	DealInfo *DealInfo `json:"dealInfo,omitempty"`

	// Id ID of the supply source item. For OPEN_EXCHANGE type, it is ID of the consolidated supply source item.
	Id *string `json:"id,omitempty"`

	// Name The name of the supply source item. For OPEN_EXCHANGE type, it is the name of the consolidated supply source item.
	Name *string `json:"name,omitempty"`

	// SupplySourceType Type of this item
	SupplySourceType *SupplySourceSupplySourceType `json:"supplySourceType,omitempty"`
}

SupplySource defines model for SupplySource.

type SupplySourceResponse added in v0.0.2

type SupplySourceResponse struct {
	NextToken *string `json:"nextToken,omitempty"`

	// SupplySources Array of supply source items sorted by deal start time (if available) then ID, ascending.
	SupplySources *[]SupplySource `json:"supplySources,omitempty"`
}

SupplySourceResponse defines model for SupplySourceResponse.

type SupplySourceResponseV11 added in v0.0.2

type SupplySourceResponseV11 struct {
	NextToken *string `json:"nextToken,omitempty"`

	// SupplySources Array of supply source items sorted by deal start time (if available) then ID, ascending.
	SupplySources *[]SupplySource `json:"supplySources,omitempty"`
}

SupplySourceResponseV11 defines model for SupplySourceResponseV1_1.

type SupplySourceResponseV12 added in v0.0.2

type SupplySourceResponseV12 struct {
	NextToken *string `json:"nextToken,omitempty"`

	// SupplySources Array of supply source items sorted by deal start time (if available) then ID, ascending.
	SupplySources *[]SupplySource `json:"supplySources,omitempty"`
}

SupplySourceResponseV12 defines model for SupplySourceResponseV1_2.

type SupplySourceSupplySourceType added in v0.0.2

type SupplySourceSupplySourceType string

SupplySourceSupplySourceType Type of this item

const (
	SupplySourceSupplySourceTypeAMAZONEXCLUSIVE SupplySourceSupplySourceType = "AMAZON_EXCLUSIVE"
	SupplySourceSupplySourceTypeDEAL            SupplySourceSupplySourceType = "DEAL"
	SupplySourceSupplySourceTypeOPENEXCHANGE    SupplySourceSupplySourceType = "OPEN_EXCHANGE"
)

Defines values for SupplySourceSupplySourceType.

type SupplySourceTargeting added in v0.0.2

type SupplySourceTargeting struct {
	// SupplySources The list of supply sources to target. In case of OPEN_EXCHANGE, the ID is of consolidated supply source.
	SupplySources *[]Identifier `json:"supplySources,omitempty"`
}

SupplySourceTargeting defines model for SupplySourceTargeting.

type SupplyTargeting added in v0.0.2

type SupplyTargeting struct {
	SupplyDealTargeting   *SupplyDealTargeting   `json:"supplyDealTargeting,omitempty"`
	SupplySourceTargeting *SupplySourceTargeting `json:"supplySourceTargeting,omitempty"`
}

SupplyTargeting defines model for SupplyTargeting.

type SupportedLineItemTypes added in v0.0.2

type SupportedLineItemTypes string

SupportedLineItemTypes defines model for SupportedLineItemTypes.

const (
	AAPMOBILEAPP        SupportedLineItemTypes = "AAP_MOBILE_APP"
	AMAZONMOBILEDISPLAY SupportedLineItemTypes = "AMAZON_MOBILE_DISPLAY"
	STANDARDDISPLAY     SupportedLineItemTypes = "STANDARD_DISPLAY"
	VIDEO               SupportedLineItemTypes = "VIDEO"
)

Defines values for SupportedLineItemTypes.

type SupportedPolicyType added in v0.0.2

type SupportedPolicyType string

SupportedPolicyType defines model for SupportedPolicyType.

const (
	DOMAIN  SupportedPolicyType = "DOMAIN"
	PRODUCT SupportedPolicyType = "PRODUCT"
)

Defines values for SupportedPolicyType.

type SupportedProductAssociationV1 added in v0.0.2

type SupportedProductAssociationV1 string

SupportedProductAssociationV1 The product feature type.

const (
	SupportedProductAssociationV1FEATURED              SupportedProductAssociationV1 = "FEATURED"
	SupportedProductAssociationV1FEATUREDWITHVARIATION SupportedProductAssociationV1 = "FEATURED_WITH_VARIATION"
	SupportedProductAssociationV1NOTFEATURED           SupportedProductAssociationV1 = "NOT_FEATURED"
)

Defines values for SupportedProductAssociationV1.

type SupportedProductTrackingDomainV1 added in v0.0.2

type SupportedProductTrackingDomainV1 string

SupportedProductTrackingDomainV1 The ASIN domain type.

const (
	SupportedProductTrackingDomainV1AMAZONCA           SupportedProductTrackingDomainV1 = "AMAZON_CA"
	SupportedProductTrackingDomainV1AMAZONMX           SupportedProductTrackingDomainV1 = "AMAZON_MX"
	SupportedProductTrackingDomainV1AMAZONUS           SupportedProductTrackingDomainV1 = "AMAZON_US"
	SupportedProductTrackingDomainV1FRESHSTORESUS      SupportedProductTrackingDomainV1 = "FRESH_STORES_US"
	SupportedProductTrackingDomainV1PRIMENOWCA         SupportedProductTrackingDomainV1 = "PRIME_NOW_CA"
	SupportedProductTrackingDomainV1PRIMENOWUS         SupportedProductTrackingDomainV1 = "PRIME_NOW_US"
	SupportedProductTrackingDomainV1PRIMEVIDEOROWNA    SupportedProductTrackingDomainV1 = "PRIME_VIDEO_ROW_NA"
	SupportedProductTrackingDomainV1WHOLEFOODSMARKETUS SupportedProductTrackingDomainV1 = "WHOLE_FOODS_MARKET_US"
)

Defines values for SupportedProductTrackingDomainV1.

type TargetingType added in v0.0.2

type TargetingType string

TargetingType The list type of the domain. Either INCLUDE (ALLOW_LIST) or EXCLUDE (BLOCK_LIST).

const (
	TargetingTypeEXCLUDE TargetingType = "EXCLUDE"
	TargetingTypeINCLUDE TargetingType = "INCLUDE"
)

Defines values for TargetingType.

type ThirdPartyFee added in v0.0.2

type ThirdPartyFee struct {
	// FeeAllocation The type of fee allocation.
	FeeAllocation ThirdPartyFeeFeeAllocation `json:"feeAllocation"`

	// FeeAmount The fee amount associated a third-party provider.
	FeeAmount float64 `json:"feeAmount"`

	// ProviderName The provider name.
	ProviderName ThirdPartyFeeProviderName `json:"providerName"`
}

ThirdPartyFee Third-party fees enable the platform to apply an additional fee. For example, a third-party vendor fee for ad verification, an agency markup fee, and the like.

type ThirdPartyFeeFeeAllocation added in v0.0.2

type ThirdPartyFeeFeeAllocation string

ThirdPartyFeeFeeAllocation The type of fee allocation.

const (
	ABSORBWITHAGENCYFEE ThirdPartyFeeFeeAllocation = "ABSORB_WITH_AGENCY_FEE"
	PASSTOADVERTISER    ThirdPartyFeeFeeAllocation = "PASS_TO_ADVERTISER"
)

Defines values for ThirdPartyFeeFeeAllocation.

type ThirdPartyFeeProviderName added in v0.0.2

type ThirdPartyFeeProviderName string

ThirdPartyFeeProviderName The provider name.

const (
	COMSCORE                   ThirdPartyFeeProviderName = "COM_SCORE"
	CPM1                       ThirdPartyFeeProviderName = "CPM_1"
	CPM2                       ThirdPartyFeeProviderName = "CPM_2"
	CPM3                       ThirdPartyFeeProviderName = "CPM_3"
	DOUBLECLICKCAMPAIGNMANAGER ThirdPartyFeeProviderName = "DOUBLE_CLICK_CAMPAIGN_MANAGER"
	DOUBLEVERIFY               ThirdPartyFeeProviderName = "DOUBLE_VERIFY"
	INTEGRALADSCIENCE          ThirdPartyFeeProviderName = "INTEGRAL_AD_SCIENCE"
)

Defines values for ThirdPartyFeeProviderName.

type ThirdPartyPreBidTargeting added in v0.0.2

type ThirdPartyPreBidTargeting struct {
	// DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.
	DoubleVerify *DoubleVerify `json:"doubleVerify,omitempty"`

	// IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.
	IntegralAdScience *IntegralAdScience `json:"integralAdScience,omitempty"`

	// OracleDataCloud Oracle Data Cloud is a third party provider in digital ad verification. Oracle Data Cloud offers technologies to drive high-quality advertising media.
	OracleDataCloud *OracleDataCloud `json:"oracleDataCloud,omitempty"`
}

ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type ThirdPartyPreBidTargetingV21 added in v0.0.2

type ThirdPartyPreBidTargetingV21 = ThirdPartyPreBidTargeting

ThirdPartyPreBidTargetingV21 Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type TooManyRequests added in v0.0.2

type TooManyRequests = Error

TooManyRequests The error response object.

type Unauthorized added in v0.0.2

type Unauthorized = Error

Unauthorized The error response object.

type UnsupportedMediaType added in v0.0.2

type UnsupportedMediaType = Error

UnsupportedMediaType The error response object.

type UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody added in v0.0.2

type UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody = ConversionTrackingV21

UpdateConversionTrackingApplicationVndDspordersV21PlusJSONRequestBody defines body for UpdateConversionTracking for application/vnd.dsporders.v2.1+json ContentType.

type UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody added in v0.0.2

type UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody = ConversionTracking

UpdateConversionTrackingApplicationVndDspordersV2PlusJSONRequestBody defines body for UpdateConversionTracking for application/vnd.dsporders.v2+json ContentType.

type UpdateConversionTrackingParams added in v0.0.2

type UpdateConversionTrackingParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateConversionTrackingParams defines parameters for UpdateConversionTracking.

type UpdateConversionTrackingResp added in v0.0.2

type UpdateConversionTrackingResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
}

func ParseUpdateConversionTrackingResp added in v0.0.2

func ParseUpdateConversionTrackingResp(rsp *http.Response) (*UpdateConversionTrackingResp, error)

ParseUpdateConversionTrackingResp parses an HTTP response from a UpdateConversionTrackingWithResponse call

func (UpdateConversionTrackingResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (UpdateConversionTrackingResp) StatusCode added in v0.0.2

func (r UpdateConversionTrackingResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONBody added in v0.0.2

type UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONBody = []UpdateDomainTargetingRequest

UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONBody defines parameters for UpdateDomainTargeting.

type UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody added in v0.0.2

type UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody = UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONBody

UpdateDomainTargetingApplicationVndDspupdatedomaintargetingV1PlusJSONRequestBody defines body for UpdateDomainTargeting for application/vnd.dspupdatedomaintargeting.v1+json ContentType.

type UpdateDomainTargetingParams added in v0.0.2

type UpdateDomainTargetingParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateDomainTargetingParams defines parameters for UpdateDomainTargeting.

type UpdateDomainTargetingRequest added in v0.0.2

type UpdateDomainTargetingRequest struct {
	// DomainFiles The list of URL addresses of the domain list files.
	DomainFiles *[]DomainFileMetaData `json:"domainFiles,omitempty"`

	// DomainLists The list of domain lists Ids get from discovery API.
	DomainLists *[]string `json:"domainLists,omitempty"`

	// DomainNames The list of raw domain names.
	DomainNames *[]string `json:"domainNames,omitempty"`

	// InheritFromAdvertiser Set to `true` to enable domain inheritance from advertiser.
	InheritFromAdvertiser bool `json:"inheritFromAdvertiser"`

	// LineItemId The line item identifier.
	LineItemId string `json:"lineItemId"`

	// TargetingType The list type of the domain. Either INCLUDE (ALLOW_LIST) or EXCLUDE (BLOCK_LIST).
	TargetingType TargetingType `json:"targetingType"`
}

UpdateDomainTargetingRequest The update operation request.

type UpdateDomainTargetingResp added in v0.0.2

type UpdateDomainTargetingResp struct {
	Body                                              []byte
	HTTPResponse                                      *http.Response
	ApplicationvndDspdomaintargetingresponseV1JSON207 *[]UpdateDomainTargetingResponse
	ApplicationvndDsperrorsV1JSON400                  *BadRequest
	ApplicationvndDsperrorsV1JSON401                  *Unauthorized
	ApplicationvndDsperrorsV1JSON403                  *Forbidden
	ApplicationvndDsperrorsV1JSON404                  *NotFound
	JSON415                                           *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                  *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                  *InternalServerError
	ApplicationvndDsperrorsV1JSON502                  *BadGateway
	ApplicationvndDsperrorsV1JSON503                  *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                  *EndpointRequestTimedOut
}

func ParseUpdateDomainTargetingResp added in v0.0.2

func ParseUpdateDomainTargetingResp(rsp *http.Response) (*UpdateDomainTargetingResp, error)

ParseUpdateDomainTargetingResp parses an HTTP response from a UpdateDomainTargetingWithResponse call

func (UpdateDomainTargetingResp) Status added in v0.0.2

func (r UpdateDomainTargetingResp) Status() string

Status returns HTTPResponse.Status

func (UpdateDomainTargetingResp) StatusCode added in v0.0.2

func (r UpdateDomainTargetingResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDomainTargetingResponse added in v0.0.2

type UpdateDomainTargetingResponse struct {
	// DomainFilesUploaded The list of domain file validation results.
	DomainFilesUploaded *[]DomainFileValidationResponse `json:"domainFilesUploaded,omitempty"`

	// ErrorDetails The error response object.
	ErrorDetails *Error `json:"errorDetails,omitempty"`

	// LineItemId The line item identifier.
	LineItemId *string `json:"lineItemId,omitempty"`
}

UpdateDomainTargetingResponse The update operation response. If operation is successful, it contains lineItemId (and domainFilesUploaded). If it is a failure, it contains only errorDetails. Success and failure will be corresponding to that requested index in that batch (array of items).

type UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody added in v0.0.2

type UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody = DspUpdateImageCreativesRequestV1

UpdateImageCreativeApplicationVndDspupdateimagecreativesV1PlusJSONRequestBody defines body for UpdateImageCreative for application/vnd.dspupdateimagecreatives.v1+json ContentType.

type UpdateImageCreativeParams added in v0.0.2

type UpdateImageCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateImageCreativeParams defines parameters for UpdateImageCreative.

type UpdateImageCreativeResp added in v0.0.2

type UpdateImageCreativeResp struct {
	Body                                             []byte
	HTTPResponse                                     *http.Response
	ApplicationvndDspimagecreativesresponseV1JSON207 *DspImageCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                 *BadRequest
	ApplicationvndDsperrorsV1JSON401                 *Unauthorized
	ApplicationvndDsperrorsV1JSON403                 *Forbidden
	ApplicationvndDsperrorsV1JSON404                 *NotFound
	JSON415                                          *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                 *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                 *InternalServerError
	ApplicationvndDsperrorsV1JSON502                 *BadGateway
	ApplicationvndDsperrorsV1JSON503                 *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                 *EndpointRequestTimedOut
}

func ParseUpdateImageCreativeResp added in v0.0.2

func ParseUpdateImageCreativeResp(rsp *http.Response) (*UpdateImageCreativeResp, error)

ParseUpdateImageCreativeResp parses an HTTP response from a UpdateImageCreativeWithResponse call

func (UpdateImageCreativeResp) Status added in v0.0.2

func (r UpdateImageCreativeResp) Status() string

Status returns HTTPResponse.Status

func (UpdateImageCreativeResp) StatusCode added in v0.0.2

func (r UpdateImageCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody added in v0.0.2

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody = []LineItemCreativeAssociation

UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody defines parameters for UpdateLineItemCreativeAssociations.

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody added in v0.0.2

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody = UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONBody

UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV21PlusJSONRequestBody defines body for UpdateLineItemCreativeAssociations for application/vnd.dsplineitemcreativeassociations.v2.1+json ContentType.

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody added in v0.0.2

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody = []LineItemCreativeAssociation

UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody defines parameters for UpdateLineItemCreativeAssociations.

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody added in v0.0.2

type UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody = UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONBody

UpdateLineItemCreativeAssociationsApplicationVndDsplineitemcreativeassociationsV2PlusJSONRequestBody defines body for UpdateLineItemCreativeAssociations for application/vnd.dsplineitemcreativeassociations.v2+json ContentType.

type UpdateLineItemCreativeAssociationsParams added in v0.0.2

type UpdateLineItemCreativeAssociationsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateLineItemCreativeAssociationsParams defines parameters for UpdateLineItemCreativeAssociations.

type UpdateLineItemCreativeAssociationsResp added in v0.0.2

type UpdateLineItemCreativeAssociationsResp struct {
	Body                                                    []byte
	HTTPResponse                                            *http.Response
	ApplicationvndDsplineitemcreativeassociationsV2JSON207  *[]LineItemCreativeAssociationsResponse
	ApplicationvndDsplineitemcreativeassociationsV21JSON207 *[]LineItemCreativeAssociationsResponse
	ApplicationvndDsplineitemcreativeassociationsV2JSON400  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON400 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON401  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON401 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON403  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON403 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON404  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON404 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON415  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON415 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON429  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON429 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON500  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON500 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON502  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON502 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON503  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON503 *Error
	ApplicationvndDsplineitemcreativeassociationsV2JSON504  *Error
	ApplicationvndDsplineitemcreativeassociationsV21JSON504 *Error
}

func ParseUpdateLineItemCreativeAssociationsResp added in v0.0.2

func ParseUpdateLineItemCreativeAssociationsResp(rsp *http.Response) (*UpdateLineItemCreativeAssociationsResp, error)

ParseUpdateLineItemCreativeAssociationsResp parses an HTTP response from a UpdateLineItemCreativeAssociationsWithResponse call

func (UpdateLineItemCreativeAssociationsResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (UpdateLineItemCreativeAssociationsResp) StatusCode added in v0.0.2

StatusCode returns HTTPResponse.StatusCode

type UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONBody = []LineItemV21

UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV21PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v2.1+json ContentType.

type UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONBody = []LineItemV21

UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV22PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v2.2+json ContentType.

type UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONBody = []LineItem

UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV2PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v2+json ContentType.

type UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONBody = []LineItemV31

UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV31PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v3.1+json ContentType.

type UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONBody = []LineItemV32

UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV32PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v3.2+json ContentType.

type UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONBody = []LineItemV3

UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONBody defines parameters for UpdateLineItems.

type UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody added in v0.0.2

type UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody = UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONBody

UpdateLineItemsApplicationVndDsplineitemsV3PlusJSONRequestBody defines body for UpdateLineItems for application/vnd.dsplineitems.v3+json ContentType.

type UpdateLineItemsParams added in v0.0.2

type UpdateLineItemsParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateLineItemsParams defines parameters for UpdateLineItems.

type UpdateLineItemsResp added in v0.0.2

type UpdateLineItemsResp struct {
	Body                                         []byte
	HTTPResponse                                 *http.Response
	ApplicationvndDsplineitemsV2JSON207          *[]LineItemResponse
	ApplicationvndDsplineitemsV21JSON207         *[]LineItemResponse
	ApplicationvndDsplineitemsV22JSON207         *[]LineItemResponse
	ApplicationvndDsplineitemsresponseV3JSON207  *[]LineItemResponse
	ApplicationvndDsplineitemsresponseV31JSON207 *[]LineItemResponse
	ApplicationvndDsperrorsV3JSON400             *Error
	ApplicationvndDsplineitemsV2JSON400          *Error
	ApplicationvndDsplineitemsV21JSON400         *Error
	ApplicationvndDsplineitemsV22JSON400         *Error
	ApplicationvndDsperrorsV3JSON401             *Error
	ApplicationvndDsplineitemsV2JSON401          *Error
	ApplicationvndDsplineitemsV21JSON401         *Error
	ApplicationvndDsplineitemsV22JSON401         *Error
	ApplicationvndDsperrorsV3JSON403             *Error
	ApplicationvndDsplineitemsV2JSON403          *Error
	ApplicationvndDsplineitemsV21JSON403         *Error
	ApplicationvndDsplineitemsV22JSON403         *Error
	ApplicationvndDsperrorsV3JSON404             *Error
	ApplicationvndDsplineitemsV2JSON404          *Error
	ApplicationvndDsplineitemsV21JSON404         *Error
	ApplicationvndDsplineitemsV22JSON404         *Error
	ApplicationvndDsperrorsV3JSON415             *Error
	ApplicationvndDsplineitemsV2JSON415          *Error
	ApplicationvndDsplineitemsV21JSON415         *Error
	ApplicationvndDsplineitemsV22JSON415         *Error
	ApplicationvndDsperrorsV3JSON429             *Error
	ApplicationvndDsplineitemsV2JSON429          *Error
	ApplicationvndDsplineitemsV21JSON429         *Error
	ApplicationvndDsplineitemsV22JSON429         *Error
	ApplicationvndDsperrorsV3JSON500             *Error
	ApplicationvndDsplineitemsV2JSON500          *Error
	ApplicationvndDsplineitemsV21JSON500         *Error
	ApplicationvndDsplineitemsV22JSON500         *Error
	ApplicationvndDsperrorsV3JSON502             *Error
	ApplicationvndDsplineitemsV2JSON502          *Error
	ApplicationvndDsplineitemsV21JSON502         *Error
	ApplicationvndDsplineitemsV22JSON502         *Error
	ApplicationvndDsperrorsV3JSON503             *Error
	ApplicationvndDsplineitemsV2JSON503          *Error
	ApplicationvndDsplineitemsV21JSON503         *Error
	ApplicationvndDsplineitemsV22JSON503         *Error
	ApplicationvndDsperrorsV3JSON504             *Error
	ApplicationvndDsplineitemsV2JSON504          *Error
	ApplicationvndDsplineitemsV21JSON504         *Error
	ApplicationvndDsplineitemsV22JSON504         *Error
}

func ParseUpdateLineItemsResp added in v0.0.2

func ParseUpdateLineItemsResp(rsp *http.Response) (*UpdateLineItemsResp, error)

ParseUpdateLineItemsResp parses an HTTP response from a UpdateLineItemsWithResponse call

func (UpdateLineItemsResp) Status added in v0.0.2

func (r UpdateLineItemsResp) Status() string

Status returns HTTPResponse.Status

func (UpdateLineItemsResp) StatusCode added in v0.0.2

func (r UpdateLineItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrdersApplicationVndDspordersV21PlusJSONBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV21PlusJSONBody = []Order

UpdateOrdersApplicationVndDspordersV21PlusJSONBody defines parameters for UpdateOrders.

type UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody = UpdateOrdersApplicationVndDspordersV21PlusJSONBody

UpdateOrdersApplicationVndDspordersV21PlusJSONRequestBody defines body for UpdateOrders for application/vnd.dsporders.v2.1+json ContentType.

type UpdateOrdersApplicationVndDspordersV22PlusJSONBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV22PlusJSONBody = []OrderV22

UpdateOrdersApplicationVndDspordersV22PlusJSONBody defines parameters for UpdateOrders.

type UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody = UpdateOrdersApplicationVndDspordersV22PlusJSONBody

UpdateOrdersApplicationVndDspordersV22PlusJSONRequestBody defines body for UpdateOrders for application/vnd.dsporders.v2.2+json ContentType.

type UpdateOrdersApplicationVndDspordersV23PlusJSONBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV23PlusJSONBody = []OrderV23

UpdateOrdersApplicationVndDspordersV23PlusJSONBody defines parameters for UpdateOrders.

type UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody = UpdateOrdersApplicationVndDspordersV23PlusJSONBody

UpdateOrdersApplicationVndDspordersV23PlusJSONRequestBody defines body for UpdateOrders for application/vnd.dsporders.v2.3+json ContentType.

type UpdateOrdersApplicationVndDspordersV2PlusJSONBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV2PlusJSONBody = []Order

UpdateOrdersApplicationVndDspordersV2PlusJSONBody defines parameters for UpdateOrders.

type UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody added in v0.0.2

type UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody = UpdateOrdersApplicationVndDspordersV2PlusJSONBody

UpdateOrdersApplicationVndDspordersV2PlusJSONRequestBody defines body for UpdateOrders for application/vnd.dsporders.v2+json ContentType.

type UpdateOrdersParams added in v0.0.2

type UpdateOrdersParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateOrdersParams defines parameters for UpdateOrders.

type UpdateOrdersResp added in v0.0.2

type UpdateOrdersResp struct {
	Body                              []byte
	HTTPResponse                      *http.Response
	ApplicationvndDspordersV2JSON207  *[]OrderResponse
	ApplicationvndDspordersV21JSON207 *[]OrderResponse
	ApplicationvndDspordersV22JSON207 *[]OrderResponse
	ApplicationvndDspordersV23JSON207 *[]OrderResponse
	ApplicationvndDspordersV2JSON400  *Error
	ApplicationvndDspordersV21JSON400 *Error
	ApplicationvndDspordersV22JSON400 *Error
	ApplicationvndDspordersV2JSON401  *Error
	ApplicationvndDspordersV21JSON401 *Error
	ApplicationvndDspordersV22JSON401 *Error
	ApplicationvndDspordersV2JSON403  *Error
	ApplicationvndDspordersV21JSON403 *Error
	ApplicationvndDspordersV22JSON403 *Error
	ApplicationvndDspordersV2JSON404  *Error
	ApplicationvndDspordersV21JSON404 *Error
	ApplicationvndDspordersV22JSON404 *Error
	ApplicationvndDspordersV2JSON415  *Error
	ApplicationvndDspordersV21JSON415 *Error
	ApplicationvndDspordersV22JSON415 *Error
	ApplicationvndDspordersV2JSON429  *Error
	ApplicationvndDspordersV21JSON429 *Error
	ApplicationvndDspordersV22JSON429 *Error
	ApplicationvndDspordersV2JSON500  *Error
	ApplicationvndDspordersV21JSON500 *Error
	ApplicationvndDspordersV22JSON500 *Error
	ApplicationvndDspordersV2JSON502  *Error
	ApplicationvndDspordersV21JSON502 *Error
	ApplicationvndDspordersV22JSON502 *Error
	ApplicationvndDspordersV2JSON503  *Error
	ApplicationvndDspordersV21JSON503 *Error
	ApplicationvndDspordersV22JSON503 *Error
	ApplicationvndDspordersV2JSON504  *Error
	ApplicationvndDspordersV21JSON504 *Error
	ApplicationvndDspordersV22JSON504 *Error
}

func ParseUpdateOrdersResp added in v0.0.2

func ParseUpdateOrdersResp(rsp *http.Response) (*UpdateOrdersResp, error)

ParseUpdateOrdersResp parses an HTTP response from a UpdateOrdersWithResponse call

func (UpdateOrdersResp) Status added in v0.0.2

func (r UpdateOrdersResp) Status() string

Status returns HTTPResponse.Status

func (UpdateOrdersResp) StatusCode added in v0.0.2

func (r UpdateOrdersResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody added in v0.0.2

type UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody = PixelTracking

UpdatePixelsByOrderIdApplicationVndDsppixeltrackingV1PlusJSONRequestBody defines body for UpdatePixelsByOrderId for application/vnd.dsppixeltracking.v1+json ContentType.

type UpdatePixelsByOrderIdParams added in v0.0.2

type UpdatePixelsByOrderIdParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdatePixelsByOrderIdParams defines parameters for UpdatePixelsByOrderId.

type UpdatePixelsByOrderIdResp added in v0.0.2

type UpdatePixelsByOrderIdResp struct {
	Body                             []byte
	HTTPResponse                     *http.Response
	ApplicationvndDsperrorsV1JSON400 *Error
	ApplicationvndDsperrorsV1JSON401 *Error
	ApplicationvndDsperrorsV1JSON403 *Error
	ApplicationvndDsperrorsV1JSON404 *Error
	ApplicationvndDsperrorsV1JSON415 *Error
	ApplicationvndDsperrorsV1JSON429 *Error
	ApplicationvndDsperrorsV1JSON500 *Error
	ApplicationvndDsperrorsV1JSON502 *Error
	ApplicationvndDsperrorsV1JSON503 *Error
	ApplicationvndDsperrorsV1JSON504 *Error
}

func ParseUpdatePixelsByOrderIdResp added in v0.0.2

func ParseUpdatePixelsByOrderIdResp(rsp *http.Response) (*UpdatePixelsByOrderIdResp, error)

ParseUpdatePixelsByOrderIdResp parses an HTTP response from a UpdatePixelsByOrderIdWithResponse call

func (UpdatePixelsByOrderIdResp) Status added in v0.0.2

func (r UpdatePixelsByOrderIdResp) Status() string

Status returns HTTPResponse.Status

func (UpdatePixelsByOrderIdResp) StatusCode added in v0.0.2

func (r UpdatePixelsByOrderIdResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody added in v0.0.2

type UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody = DspUpdateRecCreativesRequestV1

UpdateRecCreativesApplicationVndDspupdatereccreativesV1PlusJSONRequestBody defines body for UpdateRecCreatives for application/vnd.dspupdatereccreatives.v1+json ContentType.

type UpdateRecCreativesParams added in v0.0.2

type UpdateRecCreativesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateRecCreativesParams defines parameters for UpdateRecCreatives.

type UpdateRecCreativesResp added in v0.0.2

type UpdateRecCreativesResp struct {
	Body                                           []byte
	HTTPResponse                                   *http.Response
	ApplicationvndDspreccreativesresponseV1JSON207 *DspRecCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400               *BadRequest
	ApplicationvndDsperrorsV1JSON401               *Unauthorized
	ApplicationvndDsperrorsV1JSON403               *Forbidden
	ApplicationvndDsperrorsV1JSON404               *NotFound
	JSON415                                        *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429               *TooManyRequests
	ApplicationvndDsperrorsV1JSON500               *InternalServerError
	ApplicationvndDsperrorsV1JSON502               *BadGateway
	ApplicationvndDsperrorsV1JSON503               *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504               *EndpointRequestTimedOut
}

func ParseUpdateRecCreativesResp added in v0.0.2

func ParseUpdateRecCreativesResp(rsp *http.Response) (*UpdateRecCreativesResp, error)

ParseUpdateRecCreativesResp parses an HTTP response from a UpdateRecCreativesWithResponse call

func (UpdateRecCreativesResp) Status added in v0.0.2

func (r UpdateRecCreativesResp) Status() string

Status returns HTTPResponse.Status

func (UpdateRecCreativesResp) StatusCode added in v0.0.2

func (r UpdateRecCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody added in v0.0.2

type UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody = DspUpdateThirdPartyCreativesRequestV1

UpdateThirdPartyCreativeApplicationVndDspupdatethirdpartycreativesV1PlusJSONRequestBody defines body for UpdateThirdPartyCreative for application/vnd.dspupdatethirdpartycreatives.v1+json ContentType.

type UpdateThirdPartyCreativeParams added in v0.0.2

type UpdateThirdPartyCreativeParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateThirdPartyCreativeParams defines parameters for UpdateThirdPartyCreative.

type UpdateThirdPartyCreativeResp added in v0.0.2

type UpdateThirdPartyCreativeResp struct {
	Body                                                  []byte
	HTTPResponse                                          *http.Response
	ApplicationvndDspthirdpartycreativesresponseV1JSON207 *DspThirdPartyCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                      *BadRequest
	ApplicationvndDsperrorsV1JSON401                      *Unauthorized
	ApplicationvndDsperrorsV1JSON403                      *Forbidden
	ApplicationvndDsperrorsV1JSON404                      *NotFound
	JSON415                                               *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                      *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                      *InternalServerError
	ApplicationvndDsperrorsV1JSON502                      *BadGateway
	ApplicationvndDsperrorsV1JSON503                      *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                      *EndpointRequestTimedOut
}

func ParseUpdateThirdPartyCreativeResp added in v0.0.2

func ParseUpdateThirdPartyCreativeResp(rsp *http.Response) (*UpdateThirdPartyCreativeResp, error)

ParseUpdateThirdPartyCreativeResp parses an HTTP response from a UpdateThirdPartyCreativeWithResponse call

func (UpdateThirdPartyCreativeResp) Status added in v0.0.2

Status returns HTTPResponse.Status

func (UpdateThirdPartyCreativeResp) StatusCode added in v0.0.2

func (r UpdateThirdPartyCreativeResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody added in v0.0.2

type UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody = DspUpdateVideoCreativesRequestV1

UpdateVideoCreativesApplicationVndDspupdatevideocreativesV1PlusJSONRequestBody defines body for UpdateVideoCreatives for application/vnd.dspupdatevideocreatives.v1+json ContentType.

type UpdateVideoCreativesParams added in v0.0.2

type UpdateVideoCreativesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId ClientHeader `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. For DSP profiles, the `type` field of the `accountInfo` object must be set to `agency` and the `subType` field must not be `AMAZON_ATTRIBUTION`.
	AmazonAdvertisingAPIScope ProfileHeader `json:"Amazon-Advertising-API-Scope"`
}

UpdateVideoCreativesParams defines parameters for UpdateVideoCreatives.

type UpdateVideoCreativesResp added in v0.0.2

type UpdateVideoCreativesResp struct {
	Body                                             []byte
	HTTPResponse                                     *http.Response
	ApplicationvndDspvideocreativesresponseV1JSON207 *DspVideoCreativesResponseV1
	ApplicationvndDsperrorsV1JSON400                 *BadRequest
	ApplicationvndDsperrorsV1JSON401                 *Unauthorized
	ApplicationvndDsperrorsV1JSON403                 *Forbidden
	ApplicationvndDsperrorsV1JSON404                 *NotFound
	JSON415                                          *UnsupportedMediaType
	ApplicationvndDsperrorsV1JSON429                 *TooManyRequests
	ApplicationvndDsperrorsV1JSON500                 *InternalServerError
	ApplicationvndDsperrorsV1JSON502                 *BadGateway
	ApplicationvndDsperrorsV1JSON503                 *ServiceUnavailable
	ApplicationvndDsperrorsV1JSON504                 *EndpointRequestTimedOut
}

func ParseUpdateVideoCreativesResp added in v0.0.2

func ParseUpdateVideoCreativesResp(rsp *http.Response) (*UpdateVideoCreativesResp, error)

ParseUpdateVideoCreativesResp parses an HTTP response from a UpdateVideoCreativesWithResponse call

func (UpdateVideoCreativesResp) Status added in v0.0.2

func (r UpdateVideoCreativesResp) Status() string

Status returns HTTPResponse.Status

func (UpdateVideoCreativesResp) StatusCode added in v0.0.2

func (r UpdateVideoCreativesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserLocationTargeting added in v0.0.2

type UserLocationTargeting string

UserLocationTargeting The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.

const (
	UserLocationTargetingEVERYWHERE UserLocationTargeting = "EVERYWHERE"
	UserLocationTargetingNONUS      UserLocationTargeting = "NON_US"
	UserLocationTargetingUS         UserLocationTargeting = "US"
)

Defines values for UserLocationTargeting.

type UserLocationTargetingV3 added in v0.0.2

type UserLocationTargetingV3 = UserLocationTargeting

UserLocationTargetingV3 The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.

type VideoDoubleVerify added in v0.0.2

type VideoDoubleVerify struct {
	AuthenticBrandSafety *DoubleVerifyAuthenticBrandSafety `json:"authenticBrandSafety,omitempty"`
	BrandSafety          *VideoDoubleVerifyBrandSafety     `json:"brandSafety,omitempty"`

	// CustomContextualSegmentId The custom segment identifier.
	CustomContextualSegmentId *DvCustomContextualSegmentId     `json:"customContextualSegmentId,omitempty"`
	FraudInvalidTraffic       *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`
	Viewability               *DoubleVerifyViewabilityV21      `json:"viewability,omitempty"`
}

VideoDoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type VideoDoubleVerifyBrandSafety added in v0.0.2

type VideoDoubleVerifyBrandSafety struct {
	// AppAgeRating A list of app age ratings to be used for excluding apps. For example, `TEENS_12_PLUS` will only exclude apps with content rated for everyone ages 12 and over. `UNKNOWN` will exclude apps with content unrated or unknown to Double Verify.
	AppAgeRating *DvBrandSafetyAppAgeRating `json:"appAgeRating,omitempty"`

	// AppStarRating App star rating to be used for excluding apps.
	AppStarRating *DvBrandSafetyAppStarRating `json:"appStarRating,omitempty"`

	// ContentCategories A list of content categories to exclude from targeting.
	ContentCategories *DvBrandSafetyContentCategories `json:"contentCategories,omitempty"`

	// ContentCategoriesWithRisk A map from content categories to risk level to exclude from targeting. Available keys are: [`ADULT_CONTENT`, `ALCOHOL`, `CRIME`, `DISASTER_AVIATION`, `DISASTER_MAN_MADE`, `DISASTER_NATURAL`, `DISASTER_TERRORIST_EVENTS`, `DISASTER_VEHICLE`, `HATE_SPEECH`, `PROFANITY`, `SUBSTANCE_ABUSE`, `TOBACCO_ECIGARETTES`, `VIOLENCE_EXTREME_GRAPHIC`]
	ContentCategoriesWithRisk *DvBrandSafetyContentCategoriesWithRisk `json:"contentCategoriesWithRisk,omitempty"`

	// ExcludeAppsWithInsufficientRating Set to `true` to exclude unofficial apps or apps with insufficient user ratings (<100 lifetime).
	ExcludeAppsWithInsufficientRating *DvBrandSafetyExcludeApps `json:"excludeAppsWithInsufficientRating,omitempty"`

	// UnknownContent Set to `true` to exclude unknown content.
	UnknownContent *DvBrandSafetyUnknownContent `json:"unknownContent,omitempty"`
}

VideoDoubleVerifyBrandSafety defines model for VideoDoubleVerifyBrandSafety.

type VideoDoubleVerifyBrandSafetyV32 added in v0.0.2

type VideoDoubleVerifyBrandSafetyV32 = VideoDoubleVerifyBrandSafety

VideoDoubleVerifyBrandSafetyV32 defines model for VideoDoubleVerifyBrandSafetyV3_2.

type VideoDoubleVerifyV32 added in v0.0.2

type VideoDoubleVerifyV32 = VideoDoubleVerify

VideoDoubleVerifyV32 Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.

type VideoIntegralAdScience added in v0.0.2

type VideoIntegralAdScience struct {
	BrandSafety *IasBrandSafetyV3 `json:"brandSafety,omitempty"`

	// FraudInvalidTraffic The type of fraud invalid traffic.
	FraudInvalidTraffic *IasFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`

	// Viewability The IAS viewability standard.
	Viewability *IasViewability `json:"viewability,omitempty"`
}

VideoIntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.

type VideoTargeting added in v0.0.2

type VideoTargeting struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContentTargeting The IAB content category type. IAB content categories enable advertisers to target websites according to their subject matter by scanning their content. This helps deliver ads to relevant sites while ensuring that the ads are not displayed near undesirable content.
	ContentTargeting *[]Identifier `json:"contentTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceTypeTargeting The targeted device type for video line item type. A list of device types can be provided.
	DeviceTypeTargeting *[]VideoTargetingDeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`
	DomainListTargeting *DomainList                          `json:"domainListTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// LimitToFepTargeting Limit IN STREAM ad slot to full episode players (FEP).
	LimitToFepTargeting *bool `json:"limitToFepTargeting,omitempty"`

	// MobileEnvironmentTargeting The targeted mobile environment for video line item type. It is required only when `MOBILE` device type is selected.
	MobileEnvironmentTargeting *[]VideoTargetingMobileEnvironmentTargeting `json:"mobileEnvironmentTargeting,omitempty"`

	// OttTargeting This targeting only applies to Amazon O&O and Amazon Publisher Services (APS) inventory. It can only be provided when CONNECTED_TV is selected in deviceTypeTargeting. Currently API does not support excluding delivery to audience according to content ratings. This feature will be added in later versions. If a user creates or updates a line item with this field on UI, they will not see the data for this field in API and updates via API will not update this field.
	OttTargeting     *OttTargeting     `json:"ottTargeting,omitempty"`
	SegmentTargeting *SegmentTargeting `json:"segmentTargeting,omitempty"`

	// SiteLanguageTargeting The site language targeting type. For example, `EN`, `ES`.
	SiteLanguageTargeting     *SiteLanguageTargeting        `json:"siteLanguageTargeting,omitempty"`
	SupplyTargeting           *SupplyTargeting              `json:"supplyTargeting,omitempty"`
	ThirdPartyPreBidTargeting *ThirdPartyPreBidTargetingV21 `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, `US`, `EVERYWHERE`, `NON-US`.
	UserLocationTargeting *UserLocationTargeting `json:"userLocationTargeting,omitempty"`

	// VideoAdFormatTargeting Target a specific type of ad slot used to serve the video. A list can be provided.
	VideoAdFormatTargeting *[]VideoTargetingVideoAdFormatTargeting `json:"videoAdFormatTargeting,omitempty"`

	// VideoCompletionTargeting These are predictions based on machine learning and aren’t guaranteed. Selecting a higher percentage limits overall reach.
	VideoCompletionTargeting *VideoTargetingVideoCompletionTargeting `json:"videoCompletionTargeting,omitempty"`

	// VideoInitiationTypeTargeting Target video inventory by how the video will be started. A list can be provided. If ANY is selected, no other type can be provided.
	VideoInitiationTypeTargeting *[]VideoTargetingVideoInitiationTypeTargeting `json:"videoInitiationTypeTargeting,omitempty"`

	// VideoPlayerSizeTargeting Target video inventory by publisher’s player size. A list can be provided.
	VideoPlayerSizeTargeting *[]VideoTargetingVideoPlayerSizeTargeting `json:"videoPlayerSizeTargeting,omitempty"`
}

VideoTargeting This field is available since version `application/vnd.dsplineitems.v2.1+json`.

type VideoTargetingDeviceTypeTargeting added in v0.0.2

type VideoTargetingDeviceTypeTargeting string

VideoTargetingDeviceTypeTargeting defines model for VideoTargeting.DeviceTypeTargeting.

const (
	VideoTargetingDeviceTypeTargetingCONNECTEDTV VideoTargetingDeviceTypeTargeting = "CONNECTED_TV"
	VideoTargetingDeviceTypeTargetingDESKTOP     VideoTargetingDeviceTypeTargeting = "DESKTOP"
	VideoTargetingDeviceTypeTargetingMOBILE      VideoTargetingDeviceTypeTargeting = "MOBILE"
)

Defines values for VideoTargetingDeviceTypeTargeting.

type VideoTargetingMobileEnvironmentTargeting added in v0.0.2

type VideoTargetingMobileEnvironmentTargeting string

VideoTargetingMobileEnvironmentTargeting defines model for VideoTargeting.MobileEnvironmentTargeting.

const (
	VideoTargetingMobileEnvironmentTargetingAPP VideoTargetingMobileEnvironmentTargeting = "APP"
	VideoTargetingMobileEnvironmentTargetingWEB VideoTargetingMobileEnvironmentTargeting = "WEB"
)

Defines values for VideoTargetingMobileEnvironmentTargeting.

type VideoTargetingV3 added in v0.0.2

type VideoTargetingV3 struct {
	// AmazonViewabilityTargeting Selects a viewability tier to target. The predicted view rate percentages are based on historical data and are not guaranteed. Actual view rates may vary by measurement provider and order.
	AmazonViewabilityTargeting *AmazonViewabilityTargeting `json:"amazonViewabilityTargeting,omitempty"`

	// ContentTargeting The IAB content category type. IAB content categories enable advertisers to target websites according to their subject matter by scanning their content. This helps deliver ads to relevant sites while ensuring that the ads are not displayed near undesirable content.
	ContentTargeting *[]Identifier `json:"contentTargeting,omitempty"`

	// DayPartTargeting Specifies time zone and parts of the day to target delivery of the line item.
	DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

	// DeviceTypeTargeting The targeted device type for video line item type. A list of device types can be provided.
	DeviceTypeTargeting *[]VideoTargetingV3DeviceTypeTargeting `json:"deviceTypeTargeting,omitempty"`
	DomainListTargeting *DomainList                            `json:"domainListTargeting,omitempty"`

	// GeoLocationTargeting Targets based on city, state, country, DMA , or postal code.
	GeoLocationTargeting *GeoLocationTargeting `json:"geoLocationTargeting,omitempty"`

	// LimitToFepTargeting Limit IN STREAM ad slot to full episode players (FEP).
	LimitToFepTargeting *bool `json:"limitToFepTargeting,omitempty"`

	// MobileEnvironmentTargeting The targeted mobile environment for video line item type. It is required only when `MOBILE` device type is selected.
	MobileEnvironmentTargeting *[]VideoTargetingV3MobileEnvironmentTargeting `json:"mobileEnvironmentTargeting,omitempty"`

	// OttTargeting This targeting only applies to Amazon O&O and Amazon Publisher Services (APS) inventory. It can only be provided when CONNECTED_TV is selected in deviceTypeTargeting. Currently API does not support excluding delivery to audience according to content ratings. This feature will be added in later versions. If a user creates or updates a line item with this field on UI, they will not see the data for this field in API and updates via API will not update this field.
	OttTargeting     *OttTargeting     `json:"ottTargeting,omitempty"`
	SegmentTargeting *SegmentTargeting `json:"segmentTargeting,omitempty"`

	// SiteLanguageTargeting The site language targeting type. For example, US/Mexico advertisers can choose from `EN`, `ES`; Canada advertisers can choose from `EN`, `FR`; Brazil advertisers can choose from `EN`, `PT`.
	SiteLanguageTargeting *SiteLanguageTargetingV3 `json:"siteLanguageTargeting,omitempty"`
	SupplyTargeting       *SupplyTargeting         `json:"supplyTargeting,omitempty"`

	// ThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.
	ThirdPartyPreBidTargeting *VideoThirdPartyPreBidTargeting `json:"thirdPartyPreBidTargeting,omitempty"`

	// UserLocationTargeting The geographical location type of Amazon customers targeted. For example, US advertisers can choose from `US`, `EVERYWHERE`, `NON-US`; Canada advertisers can choose from `CA`, `EVERYWHERE`; Mexico advertisers can choose from `MX`, `EVERYWHERE`; Brazil advertisers can choose from `BR`, `EVERYWHERE`.
	UserLocationTargeting *UserLocationTargetingV3 `json:"userLocationTargeting,omitempty"`

	// VideoAdFormatTargeting Target a specific type of ad slot used to serve the video. A list can be provided.
	VideoAdFormatTargeting *[]VideoTargetingV3VideoAdFormatTargeting `json:"videoAdFormatTargeting,omitempty"`

	// VideoCompletionTargeting These are predictions based on machine learning and aren’t guaranteed. Selecting a higher percentage limits overall reach.
	VideoCompletionTargeting *VideoTargetingV3VideoCompletionTargeting `json:"videoCompletionTargeting,omitempty"`

	// VideoInitiationTypeTargeting Target video inventory by how the video will be started. A list can be provided. If ANY is selected, no other type can be provided.
	VideoInitiationTypeTargeting *[]VideoTargetingV3VideoInitiationTypeTargeting `json:"videoInitiationTypeTargeting,omitempty"`

	// VideoPlayerSizeTargeting Target video inventory by publisher’s player size. A list can be provided.
	VideoPlayerSizeTargeting *[]VideoTargetingV3VideoPlayerSizeTargeting `json:"videoPlayerSizeTargeting,omitempty"`
}

VideoTargetingV3 This field is available since version `application/vnd.dsplineitems.v2.1+json`.

type VideoTargetingV31 added in v0.0.2

type VideoTargetingV31 = VideoTargetingV3

VideoTargetingV31 This field is available since version `application/vnd.dsplineitems.v2.1+json`.

type VideoTargetingV32 added in v0.0.2

type VideoTargetingV32 = VideoTargetingV31

VideoTargetingV32 defines model for VideoTargetingV3_2.

type VideoTargetingV3DeviceTypeTargeting added in v0.0.2

type VideoTargetingV3DeviceTypeTargeting string

VideoTargetingV3DeviceTypeTargeting defines model for VideoTargetingV3.DeviceTypeTargeting.

const (
	VideoTargetingV3DeviceTypeTargetingCONNECTEDTV VideoTargetingV3DeviceTypeTargeting = "CONNECTED_TV"
	VideoTargetingV3DeviceTypeTargetingDESKTOP     VideoTargetingV3DeviceTypeTargeting = "DESKTOP"
	VideoTargetingV3DeviceTypeTargetingMOBILE      VideoTargetingV3DeviceTypeTargeting = "MOBILE"
)

Defines values for VideoTargetingV3DeviceTypeTargeting.

type VideoTargetingV3MobileEnvironmentTargeting added in v0.0.2

type VideoTargetingV3MobileEnvironmentTargeting string

VideoTargetingV3MobileEnvironmentTargeting defines model for VideoTargetingV3.MobileEnvironmentTargeting.

const (
	VideoTargetingV3MobileEnvironmentTargetingAPP VideoTargetingV3MobileEnvironmentTargeting = "APP"
	VideoTargetingV3MobileEnvironmentTargetingWEB VideoTargetingV3MobileEnvironmentTargeting = "WEB"
)

Defines values for VideoTargetingV3MobileEnvironmentTargeting.

type VideoTargetingV3VideoAdFormatTargeting added in v0.0.2

type VideoTargetingV3VideoAdFormatTargeting string

VideoTargetingV3VideoAdFormatTargeting defines model for VideoTargetingV3.VideoAdFormatTargeting.

const (
	VideoTargetingV3VideoAdFormatTargetingINSTREAM             VideoTargetingV3VideoAdFormatTargeting = "IN_STREAM"
	VideoTargetingV3VideoAdFormatTargetingINSTREAMANDOUTSTREAM VideoTargetingV3VideoAdFormatTargeting = "IN_STREAM_AND_OUT_STREAM"
	VideoTargetingV3VideoAdFormatTargetingOUTSTREAM            VideoTargetingV3VideoAdFormatTargeting = "OUT_STREAM"
)

Defines values for VideoTargetingV3VideoAdFormatTargeting.

type VideoTargetingV3VideoCompletionTargeting added in v0.0.2

type VideoTargetingV3VideoCompletionTargeting string

VideoTargetingV3VideoCompletionTargeting These are predictions based on machine learning and aren’t guaranteed. Selecting a higher percentage limits overall reach.

const (
	VideoTargetingV3VideoCompletionTargetingNOTARGETING          VideoTargetingV3VideoCompletionTargeting = "NO_TARGETING"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE10 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_10"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE20 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_20"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE30 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_30"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE40 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_40"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE50 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_50"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE60 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_60"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE70 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_70"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE80 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_80"
	VideoTargetingV3VideoCompletionTargetingVIDEOCOMPLETIONGTE90 VideoTargetingV3VideoCompletionTargeting = "VIDEO_COMPLETION_GTE_90"
)

Defines values for VideoTargetingV3VideoCompletionTargeting.

type VideoTargetingV3VideoInitiationTypeTargeting added in v0.0.2

type VideoTargetingV3VideoInitiationTypeTargeting string

VideoTargetingV3VideoInitiationTypeTargeting defines model for VideoTargetingV3.VideoInitiationTypeTargeting.

const (
	VideoTargetingV3VideoInitiationTypeTargetingANY               VideoTargetingV3VideoInitiationTypeTargeting = "ANY"
	VideoTargetingV3VideoInitiationTypeTargetingAUTOPLAYONLY      VideoTargetingV3VideoInitiationTypeTargeting = "AUTOPLAY_ONLY"
	VideoTargetingV3VideoInitiationTypeTargetingUNKNOWN           VideoTargetingV3VideoInitiationTypeTargeting = "UNKNOWN"
	VideoTargetingV3VideoInitiationTypeTargetingUSERINITIATEDONLY VideoTargetingV3VideoInitiationTypeTargeting = "USER_INITIATED_ONLY"
)

Defines values for VideoTargetingV3VideoInitiationTypeTargeting.

type VideoTargetingV3VideoPlayerSizeTargeting added in v0.0.2

type VideoTargetingV3VideoPlayerSizeTargeting string

VideoTargetingV3VideoPlayerSizeTargeting defines model for VideoTargetingV3.VideoPlayerSizeTargeting.

const (
	VideoTargetingV3VideoPlayerSizeTargetingANY     VideoTargetingV3VideoPlayerSizeTargeting = "ANY"
	VideoTargetingV3VideoPlayerSizeTargetingLARGE   VideoTargetingV3VideoPlayerSizeTargeting = "LARGE"
	VideoTargetingV3VideoPlayerSizeTargetingMEDIUM  VideoTargetingV3VideoPlayerSizeTargeting = "MEDIUM"
	VideoTargetingV3VideoPlayerSizeTargetingSMALL   VideoTargetingV3VideoPlayerSizeTargeting = "SMALL"
	VideoTargetingV3VideoPlayerSizeTargetingUNKNOWN VideoTargetingV3VideoPlayerSizeTargeting = "UNKNOWN"
)

Defines values for VideoTargetingV3VideoPlayerSizeTargeting.

type VideoTargetingVideoAdFormatTargeting added in v0.0.2

type VideoTargetingVideoAdFormatTargeting string

VideoTargetingVideoAdFormatTargeting defines model for VideoTargeting.VideoAdFormatTargeting.

const (
	VideoTargetingVideoAdFormatTargetingINSTREAM             VideoTargetingVideoAdFormatTargeting = "IN_STREAM"
	VideoTargetingVideoAdFormatTargetingINSTREAMANDOUTSTREAM VideoTargetingVideoAdFormatTargeting = "IN_STREAM_AND_OUT_STREAM"
	VideoTargetingVideoAdFormatTargetingOUTSTREAM            VideoTargetingVideoAdFormatTargeting = "OUT_STREAM"
)

Defines values for VideoTargetingVideoAdFormatTargeting.

type VideoTargetingVideoCompletionTargeting added in v0.0.2

type VideoTargetingVideoCompletionTargeting string

VideoTargetingVideoCompletionTargeting These are predictions based on machine learning and aren’t guaranteed. Selecting a higher percentage limits overall reach.

const (
	VideoTargetingVideoCompletionTargetingNOTARGETING          VideoTargetingVideoCompletionTargeting = "NO_TARGETING"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE10 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_10"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE20 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_20"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE30 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_30"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE40 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_40"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE50 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_50"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE60 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_60"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE70 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_70"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE80 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_80"
	VideoTargetingVideoCompletionTargetingVIDEOCOMPLETIONGTE90 VideoTargetingVideoCompletionTargeting = "VIDEO_COMPLETION_GTE_90"
)

Defines values for VideoTargetingVideoCompletionTargeting.

type VideoTargetingVideoInitiationTypeTargeting added in v0.0.2

type VideoTargetingVideoInitiationTypeTargeting string

VideoTargetingVideoInitiationTypeTargeting defines model for VideoTargeting.VideoInitiationTypeTargeting.

const (
	VideoTargetingVideoInitiationTypeTargetingANY               VideoTargetingVideoInitiationTypeTargeting = "ANY"
	VideoTargetingVideoInitiationTypeTargetingAUTOPLAYONLY      VideoTargetingVideoInitiationTypeTargeting = "AUTOPLAY_ONLY"
	VideoTargetingVideoInitiationTypeTargetingUNKNOWN           VideoTargetingVideoInitiationTypeTargeting = "UNKNOWN"
	VideoTargetingVideoInitiationTypeTargetingUSERINITIATEDONLY VideoTargetingVideoInitiationTypeTargeting = "USER_INITIATED_ONLY"
)

Defines values for VideoTargetingVideoInitiationTypeTargeting.

type VideoTargetingVideoPlayerSizeTargeting added in v0.0.2

type VideoTargetingVideoPlayerSizeTargeting string

VideoTargetingVideoPlayerSizeTargeting defines model for VideoTargeting.VideoPlayerSizeTargeting.

const (
	VideoTargetingVideoPlayerSizeTargetingANY     VideoTargetingVideoPlayerSizeTargeting = "ANY"
	VideoTargetingVideoPlayerSizeTargetingLARGE   VideoTargetingVideoPlayerSizeTargeting = "LARGE"
	VideoTargetingVideoPlayerSizeTargetingMEDIUM  VideoTargetingVideoPlayerSizeTargeting = "MEDIUM"
	VideoTargetingVideoPlayerSizeTargetingSMALL   VideoTargetingVideoPlayerSizeTargeting = "SMALL"
	VideoTargetingVideoPlayerSizeTargetingUNKNOWN VideoTargetingVideoPlayerSizeTargeting = "UNKNOWN"
)

Defines values for VideoTargetingVideoPlayerSizeTargeting.

type VideoThirdPartyPreBidTargeting added in v0.0.2

type VideoThirdPartyPreBidTargeting struct {
	// DoubleVerify Double Verify (DV) is a third party provider for digital ad verification. Double Verify offers technologies that drive high-quality advertising media.
	DoubleVerify *VideoDoubleVerify `json:"doubleVerify,omitempty"`

	// IntegralAdScience Integral Ad Science (IAS) is a third party provider in digital ad verification. IAS offers technologies to drive high-quality advertising media.
	IntegralAdScience *VideoIntegralAdScience `json:"integralAdScience,omitempty"`
	OracleDataCloud   *OracleDataCloudV3      `json:"oracleDataCloud,omitempty"`
}

VideoThirdPartyPreBidTargeting Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type VideoThirdPartyPreBidTargetingV31 added in v0.0.2

type VideoThirdPartyPreBidTargetingV31 = VideoThirdPartyPreBidTargeting

VideoThirdPartyPreBidTargetingV31 Amazon DSP automatically filters fraudulent and invalid traffic as well as unsafe content using a combination of proprietary technology and solutions from comScore and Sizmek. This service is available by default and at no extra charge for Amazon DSP customers. You may choose to augment the default filters with pre-bid targeting products offered by third parties. These services are currently offered at no charge.

type VideoThirdPartyPreBidTargetingV32 added in v0.0.2

type VideoThirdPartyPreBidTargetingV32 = VideoThirdPartyPreBidTargetingV31

VideoThirdPartyPreBidTargetingV32 defines model for VideoThirdPartyPreBidTargetingV3_2.

type ViewabilityTier added in v0.0.2

type ViewabilityTier string

ViewabilityTier The type of viewability tier.

const (
	ViewabilityTierALLOWALL            ViewabilityTier = "ALLOW_ALL"
	ViewabilityTierVIEWABILITYTIERGT40 ViewabilityTier = "VIEWABILITY_TIER_GT_40"
	ViewabilityTierVIEWABILITYTIERGT50 ViewabilityTier = "VIEWABILITY_TIER_GT_50"
	ViewabilityTierVIEWABILITYTIERGT60 ViewabilityTier = "VIEWABILITY_TIER_GT_60"
	ViewabilityTierVIEWABILITYTIERGT70 ViewabilityTier = "VIEWABILITY_TIER_GT_70"
	ViewabilityTierVIEWABILITYTIERLT40 ViewabilityTier = "VIEWABILITY_TIER_LT_40"
)

Defines values for ViewabilityTier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL