1. ActionCodes
Target Circle API
  • Publisher API
    • Authentication
    • Performance
      • Get Performance Report
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • Schemas
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointBaseOutput
        • TouchpointOutput
        • TouchpointPricingBaseOutput
        • TouchpointStatusEnum
        • TouchpointStatusOutput
        • TouchpointAttributionStatus
        • TouchpointAttributionStatusOutput
        • TouchpointOutputOld
      • Transactions
        • TransactionTypeEnum
        • TransactionTypeOutput
        • TransactionTrackingMethodEnum
        • TransactionTrackingMethodOutput
        • TransactionSourceCurrencyOutput
      • Offers
        • OldOfferSchemaForPublishers
        • OfferAttributionModelOutput
        • OfferOverviewOutput
        • OfferAttributionModelEnum
        • OfferStatus
        • OfferProductGroupOverviewOutput
        • OfferPriceSegmentOverviewOutput
      • Default Folder
        • TargetCurrencyCodeQueryParams
        • CountryOutput
        • MoneyOutput
        • DateRangeQueryParams
        • PaginationQueryParams
        • ListMeta
      • AdInventories
        • AdInventoryTrafficTypeEnum
      • Ads
        • Product Feeds
          • ProductFeedListItemOutput
          • ProductFeedStatusEnum
          • ProductFeedStatusOutput
          • ProductFeedUpdateFrequencyEnum
          • ProductFeedUpdateFrequencyOutput
          • ProductFeedFiltersQueryParams
          • ProductFeedOutput
        • AdTypeEnum
      • Accounts
        • ProviderOverviewOutput
  • Advertiser API
    • Authentication
    • Performance
      • Get Performance Report
    • Transactions
      • List transactions
      • Retrieve a transaction
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • Promoters
      • Create promoter
      • Retrieve promoter by email
    • Email Themes
      • List email themes
      • Create an email theme
      • Retrieve an email theme
      • Replace an email theme
      • Delete an email theme
      • Set or clear the active email theme
      • Preview a transactional email
      • Upload an email theme logo
    • Schemas
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Transactions
        • TransactionOutput
        • TransactionOutputTest
        • TransactionFilterQueryParams
        • TransactionSortQueryParams
        • TransactionTypeOutput
        • TransactionSourceCurrencyOutput
        • TransactionTrackingMethodOutput
        • TransactionTypeEnum
        • TransactionTrackingMethodEnum
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointBaseOutput
        • TouchpointSummary
        • TouchpointOutput
        • TouchpointPricingOutput
        • TouchpointStatusOutput
        • TouchpointAttributionStatusOutput
        • TouchpointStatusEnum
        • TouchpointAttributionStatus
      • Offers
        • OfferDeviceGroupOverviewOutput
        • OfferCategoryOutput
        • OfferStatus
        • OfferAttributionModelEnum
        • OfferAttributionModelOutput
        • OfferOverviewInput
        • OfferOverviewOutput
        • OfferProductGroupOverviewOutput
        • OfferPriceSegmentOverviewOutput
        • OfferCategory
      • Trades
        • Types
          • TradeTypeEnum
          • TradeManualOutput
          • TradeAutomaticOutput
          • TradeScheduledOutput
        • PriceCombinations
          • TradePriceCombination
          • TradePriceCombinationPricingFixed
          • TradePriceCombinationPricingPercentage
          • TradePriceCombinationPricingHybrid
        • TradeBaseOutput
        • TradeLinksEmbedsOutput
        • TradeAttributionModelExceptionOutput
        • TradeOverviewOutput
        • TradeOutputList
      • Ads
        • AdTypeEnum
      • AdInventories
        • AdInventoryTrafficTypeOutput
        • AdInventoryOverviewOutput
        • AdInventoryTrafficTypeEnum
      • Default Folder
        • TargetCurrencyCodeQueryParams
        • CurrencyOutput
        • LanguageInput
        • LanguageOutput
        • MoneyOutput
        • CountryOutput
        • DateRangeQueryParams
        • ListMeta
        • PaginationQueryParams
      • Promoters
        • PromoterOutput
        • PromoterBaseOutput
        • PromoterTypeOfferOutput
        • PromoterTypeAdvertiserOutput
        • PromoterInputCreate
        • PromoterBaseInputCreate
        • PromoterTypeAdvertiserInputCreate
        • PromoterTypeOfferInputCreate
        • PromoterTypeEnum
        • PromoterTypeOutput
        • PromoterTypeOfferInputLookup
        • PromoterTypeAdvertiserInputLookup
      • Accounts
        • AdvertiserOverviewOutput
        • AdvertiserOverviewInput
        • ProviderOverviewOutput
  • Provider API
    • How to use our API
      • Authentication
      • Query Parameters
    • Performance
      • Get Performance Report
    • Transactions
      • List transactions
      • Retrieve a transaction
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • AdInventories
      • ActionCodes
        • List action codes
          GET
        • Create action code
          POST
        • Delete action code
          DELETE
    • Email Themes
      • List email themes
      • Create an email theme
      • Retrieve an email theme
      • Replace an email theme
      • Delete an email theme
      • Set or clear the active email theme
      • Preview a transactional email
      • Upload an email theme logo
    • Schemas
      • Utils
        • TargetCurrencyCodeQueryParams
        • CurrencyOutput
        • ImageOutput
        • LanguageOutput
        • MoneyOutput
        • MoneyInput
        • UserOverviewOutput
        • CountryOutput
        • DateRangeQueryParams
        • PaginationQueryParams
        • ListMeta
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Transactions
        • TransactionOutput
        • TransactionTypeEnum
        • TransactionTypeOutput
        • TransactionFiltersQueryParams
        • TransactionTypeInput
        • TransactionTrackingMethodEnum
        • TransactionTrackingMethodOutput
        • TransactionSortQueryParams
        • TransactionSourceCurrencyOutput
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointStatusEnum
        • TouchpointAttributionStatus
        • TouchpointOutput
        • TouchpointPricingOutput
        • TouchpointBaseOutput
        • TouchpointStatusOutput
        • TouchpointAttributionStatusOutput
      • Offers
        • ProductGroups
          • OfferProductGroupOutput
          • OfferProductGroupInputCreate
          • OfferProductGroupInputPatch
          • OfferProductGroupOverviewOutput
          • OfferProductGroupOverviewInput
        • Programs
          • OfferProgramOutput
          • OfferProgramTermsOutput
        • Tags
          • OfferTagOutput
        • OfferOutput
        • OfferOverviewOutput
        • OfferOverviewInput
        • OfferStatusEnum
        • OfferStatusOutput
        • OfferCategoryEnum
        • OfferCategoryOutput
        • OfferAttributionModelEnum
        • OfferAttributionModelOutput
        • OfferLinksOutput
        • OfferEmbeddedOutput
        • OfferTrackingOutput
        • OfferFiltersQueryParams
        • OfferVerticalEnum
        • OfferVerticaOutput
        • OfferVerticaInput
        • OfferTagErrorResponse
        • OfferPriceSegmentOverviewOutput
      • Ads
        • Types
          • AdTypeEnum
          • AdTypeOutput
          • AdTypeTextLinkOutput
          • AdTypeBannerOutput
        • AdBaseOutput
        • AdOutput
      • AdInventories
        • AdInventoryTrafficTypeEnum
        • AdInventoryTrafficTypeOutput
        • AdInventoryInputOverview
      • Trades
        • Types
          • TradeTypeEnum
          • TradeTypeManualOutput
          • TradeTypeAutomaticOutput
          • TradeTypeScheduledOutput
        • PriceCombinations
          • TradePriceCombinationOutput
          • TradePriceCombinationPricingFixed
          • TradePriceCombinationPricingPercentage
          • TradePriceCombinationPricingHybrid
        • TradeBaseOutput
        • TradeOutput
        • TradeOverviewOutput
        • TradeListItemOutput
        • TradeAttributionModelExceptionOutput
        • TradeLinksEmbedsOutput
      • Finance
        • SelfBillings
          • LineItems
            • SelfBillingLineItemOutput
            • SelfBillingLineItemFeeOutput
            • SelfBillingLineItemExchangeOutput
            • SelfBillingLineItemConvertOutput
            • SelfBillingLineItemBaseInputCreate
            • SelfBillingLineItemExchangeInputCreate
            • SelfBillingLineItemConvertInputCreate
            • SelfBillingLineItemFeeInputCreate
            • SelfBillingLineItemInputCreate
          • SelfBillingBaseOutput
          • SelfBillingStatusOutput
          • SelfBillingListItemOutput
          • SelfBillingStandardOutput
          • SelfBillingCorrectionOutput
          • SelfBillingOutput
          • SelfBillingBaseInputCreate
          • SelfBillingStandardInputCreate
          • SelfBillingCorrectionInputCreate
          • SelfBillingInputCreate
        • Invoices
          • LineItems
            • SelfBillingLineItemBaseOutput
            • InvoiceLineItem
            • InvoiceLineItemBase
            • InvoiceLineItemFee
            • InvoiceLineItemExchange
            • InvoiceLineItemConvert
          • InvoiceInputCreate
          • InvoiceInputPatch
          • InvoiceLineItemInputCreate
          • InvoiceLineItemInputPatch
          • InvoicePayment
          • InvoiceBuyer
          • InvoiceSeller
          • Invoice
          • InvoiceStatus
          • InvoiceListItem
        • Address
        • DocumentPdf
      • Accounts
        • AdvertiserOverviewOutput
        • ProviderOverviewOutput
      • ActionCodes
        • ActionCodeOutput
        • ActionCodeInputCreate
        • ActionCodeInputUpdate
  1. ActionCodes

Create action code

Developing
POST
/v3/provider/ad-inventories/{adInventorySid}/action-codes
Adds an Action Code to the specified Ad Inventory. As a Provider you can only add Action Codes related with your Offers. Only one Action Code per Offer is possible.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
Bodyapplication/json

🟠409Already exists
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/v3/provider/ad-inventories//action-codes' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "data": {
        "offer": {
            "sid": "abc123"
        },
        "actionCode": "TCEP30DTRIAL1451212220001"
    }
}'
Response Response Example
201 - Example 1
{
    "data": {
        "sid": "07f6f342-38f7-4271-ab8f-fab49fd96378",
        "offer": {
            "sid": "abc123",
            "name": "Little Big Cloud"
        },
        "actionCode": "TCEP30DTRIAL1451212220001",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "updatedAt": "2019-08-24T14:15:22.123Z"
    }
}
Modified at 2026-11-10 12:14:36
Previous
List action codes
Next
Delete action code
Built with