# Models

## The Program object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"Program":{"type":"object","properties":{"Id":{"type":"integer","description":"The unique identifier for the program."},"Name":{"type":"string","description":"The display name of the program."},"State":{"$ref":"#/components/schemas/ProgramState","description":"The current state of the program."},"Categories":{"$ref":"#/components/schemas/ProgramCategories","description":"The program's category classifications."},"ShortDescription":{"type":"string","description":"A short description of the program."},"LongDescription":{"type":"string","description":"A long description of the program."},"ListInMarketplace":{"type":"boolean","description":"Whether the program is listed in the impact.com partner marketplace."},"DisplayServicingAgency":{"type":"boolean","description":"Whether the servicing agency is displayed publicly."},"Rating":{"type":"integer","description":"The program's rating."},"SearchKeywords":{"type":"string","description":"Keywords used to surface the program in marketplace search."},"ShippingRegions":{"type":"array","description":"Regions where the brand ships.","items":{"type":"string"}},"Resources":{"$ref":"#/components/schemas/ProgramResources","description":"Links to brand-provided resources."},"CompanyContacts":{"type":"array","description":"Company contacts for the program.","items":{"$ref":"#/components/schemas/CompanyContact"}},"GiftCardPayouts":{"type":"boolean","description":"Whether gift card payouts are enabled."},"TrademarkBidding":{"type":"boolean","description":"Whether partners are allowed to bid on the brand's trademark terms."},"ThirdPartyImpressionPixel":{"type":"string","description":"A third-party impression tracking pixel."},"MobileReadyAds":{"type":"boolean","description":"Whether the program supports mobile-ready ads."},"DisplayFutureAds":{"type":"boolean","description":"Whether to display ads that aren't yet active."},"PromoCodeTracking":{"type":"boolean","description":"Whether promo code tracking is enabled."},"TrackingDomain":{"type":"string","description":"The tracking domain used for this program."},"SiteDefinition":{"type":"string","description":"The site definition for the program."},"ImpressionTracking":{"type":"boolean","description":"Whether impression tracking is enabled."},"ViewThroughCrediting":{"type":"boolean","description":"Whether view-through crediting is enabled."},"IdentityMatching":{"type":"string","description":"The identity matching strategy.","enum":["NONE","ACCOUNT","IR_CONSORTIUM"]},"GatewayTrackingSettings":{"$ref":"#/components/schemas/GatewayTrackingSettings","description":"Settings for gateway tracking."},"DirectTrackingSettings":{"$ref":"#/components/schemas/DirectTrackingSettings","description":"Settings for direct tracking."},"Uri":{"type":"string","format":"uri-reference","description":"The unique reference to this program in the impact.com API."}}},"ProgramState":{"type":"string","enum":["ACTIVE","AWAITING_REVIEW","CANCELLED","CLOSED","DEACTIVATED","DELINQUENT","REJECTED","SETUP","SETUP_COMPLETE"]},"ProgramCategories":{"type":"object","properties":{"PrimaryCategory":{"type":"string","description":"The program's primary category."},"PrimarySubCategories":{"type":"array","description":"Subcategories under the primary category.","items":{"type":"string"}},"AdditionalCategory":{"type":"string","nullable":true,"description":"An additional category for the program, if any."},"AdditionalSubCategories":{"type":"array","description":"Subcategories under the additional category.","items":{"type":"string"}}}},"ProgramResources":{"type":"object","properties":{"CompanyHomepage":{"type":"string","format":"uri","description":"The company homepage URL."},"ExampleLandingPage":{"type":"string","format":"uri","description":"An example landing page URL."},"InformationPage":{"type":"string","format":"uri","description":"An information page URL."},"AdditionalRelatedLinks":{"type":"array","description":"Additional links related to the program.","items":{"type":"object","properties":{"LinkType":{"type":"string","description":"The type of link.","enum":["URL","PDF"]},"LinkDisplayName":{"type":"string","description":"Display name for the link."},"LinkUrl":{"type":"string","format":"uri","description":"The URL of the link."}}}}}},"CompanyContact":{"type":"object","properties":{"FirstName":{"type":"string","description":"The contact's first name."},"LastName":{"type":"string","description":"The contact's last name."},"EmailAddress":{"type":"string","format":"email","description":"The contact's email address."},"PhoneNumber":{"type":"string","description":"The contact's phone number."}}},"GatewayTrackingSettings":{"type":"object","properties":{"DefaultLandingPage":{"type":"string","format":"uri","description":"The default landing page URL."},"MediaPartnerTrackingTemplate":{"type":"string","description":"Tracking template applied to media partner links."},"CampaignTrackingTemplate":{"type":"string","description":"Tracking template applied to campaign links."},"SSLSupport":{"type":"boolean","description":"Whether SSL is supported for tracking links."},"DeepLinking":{"type":"boolean","description":"Whether deep linking is enabled."},"DeepLinkDomains":{"type":"string","description":"Comma-separated list of domains for deep linking."},"ThirdPartyGatewayUrl":{"type":"string","format":"uri","description":"A third-party gateway URL for tracking."},"ThirdPartyGatewayQueryStringParameters":{"type":"string","description":"Query string parameters for the third-party gateway."},"UniqueClickWindowLength":{"type":"string","description":"The length of the unique click window.","enum":["1m","5m","15m","30m","1h","6h","12h","24h"]},"UniqueClickWindowType":{"type":"string","description":"Whether the unique click window is fixed or rolling.","enum":["FIXED","ROLLING"]}}},"DirectTrackingSettings":{"type":"object","properties":{"UnidentifiedName":{"type":"string","description":"Name used for unidentified traffic."},"SessionWindowLength":{"type":"integer","description":"The session window length."}}}}}}
```

## The ProgramState object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"ProgramState":{"type":"string","enum":["ACTIVE","AWAITING_REVIEW","CANCELLED","CLOSED","DEACTIVATED","DELINQUENT","REJECTED","SETUP","SETUP_COMPLETE"]}}}}
```

## The ProgramCategories object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"ProgramCategories":{"type":"object","properties":{"PrimaryCategory":{"type":"string","description":"The program's primary category."},"PrimarySubCategories":{"type":"array","description":"Subcategories under the primary category.","items":{"type":"string"}},"AdditionalCategory":{"type":"string","nullable":true,"description":"An additional category for the program, if any."},"AdditionalSubCategories":{"type":"array","description":"Subcategories under the additional category.","items":{"type":"string"}}}}}}}
```

## The ProgramResources object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"ProgramResources":{"type":"object","properties":{"CompanyHomepage":{"type":"string","format":"uri","description":"The company homepage URL."},"ExampleLandingPage":{"type":"string","format":"uri","description":"An example landing page URL."},"InformationPage":{"type":"string","format":"uri","description":"An information page URL."},"AdditionalRelatedLinks":{"type":"array","description":"Additional links related to the program.","items":{"type":"object","properties":{"LinkType":{"type":"string","description":"The type of link.","enum":["URL","PDF"]},"LinkDisplayName":{"type":"string","description":"Display name for the link."},"LinkUrl":{"type":"string","format":"uri","description":"The URL of the link."}}}}}}}}}
```

## The CompanyContact object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"CompanyContact":{"type":"object","properties":{"FirstName":{"type":"string","description":"The contact's first name."},"LastName":{"type":"string","description":"The contact's last name."},"EmailAddress":{"type":"string","format":"email","description":"The contact's email address."},"PhoneNumber":{"type":"string","description":"The contact's phone number."}}}}}}
```

## The GatewayTrackingSettings object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"GatewayTrackingSettings":{"type":"object","properties":{"DefaultLandingPage":{"type":"string","format":"uri","description":"The default landing page URL."},"MediaPartnerTrackingTemplate":{"type":"string","description":"Tracking template applied to media partner links."},"CampaignTrackingTemplate":{"type":"string","description":"Tracking template applied to campaign links."},"SSLSupport":{"type":"boolean","description":"Whether SSL is supported for tracking links."},"DeepLinking":{"type":"boolean","description":"Whether deep linking is enabled."},"DeepLinkDomains":{"type":"string","description":"Comma-separated list of domains for deep linking."},"ThirdPartyGatewayUrl":{"type":"string","format":"uri","description":"A third-party gateway URL for tracking."},"ThirdPartyGatewayQueryStringParameters":{"type":"string","description":"Query string parameters for the third-party gateway."},"UniqueClickWindowLength":{"type":"string","description":"The length of the unique click window.","enum":["1m","5m","15m","30m","1h","6h","12h","24h"]},"UniqueClickWindowType":{"type":"string","description":"Whether the unique click window is fixed or rolling.","enum":["FIXED","ROLLING"]}}}}}}
```

## The DirectTrackingSettings object

```json
{"openapi":"3.1.0","info":{"title":"Brand API - Programs","version":"v12"},"components":{"schemas":{"DirectTrackingSettings":{"type":"object","properties":{"UnidentifiedName":{"type":"string","description":"Name used for unidentified traffic."},"SessionWindowLength":{"type":"integer","description":"The session window length."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.impact.com/brand-api-reference/brand-api-reference-v12/reference/programs/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
