Promotional API Mutations

Available to: Publishers only. Advertisers have read-only access to this API and cannot create or update promotional properties. See the Queries page for read operations available to both user types.


Mutation: createPromotionalProperty

Returns: PromotionalProperty!

Adds a new promotional property to your publisher program.

ArgumentTypeDescription
inputCreatePromotionalPropertyInputThe details of the promotional property to create. See CreatePromotionalPropertyInput below.

Mutation: updatePromotionalProperty

Returns: PromotionalProperty!

Updates an existing promotional property within your publisher program.

ArgumentTypeDescription
inputUpdatePromotionalPropertyInputThe updated details for the promotional property. See UpdatePromotionalPropertyInput below.

Input Objects

CreatePromotionalPropertyInput

Used to add a new promotional property to your publisher program.

FieldTypeDescription
nameString!The name for the promotional property.
descriptionStringAn advertiser-facing description of the promotional property. Optional.
publisherIdID!The publisher CID.
propertyTypeDetailsPromotionalPropertyTypeDetailsInput!Details specific to the property's type (e.g. website URL, social handle). See PromotionalPropertyTypeDetailsInput below.
promotionalModels[PromotionalModelInput!]!The promotional models for this property. At least one must be marked as primary.
tags[PromotionalPropertyTagInput!]!Publisher-supplied tags describing the property. Used as keywords or categories; searchable and visible to advertisers.
statusPromotionalPropertyStatus!The status of the promotional property.
isPrimaryBoolean!Indicates if this is the primary property for the publisher account. Used primarily for reporting.

UpdatePromotionalPropertyInput

Used to update an existing promotional property within your publisher program.

FieldTypeDescription
idID!The promotional property ID to update.
nameString!The updated name for the promotional property.
descriptionStringAn updated advertiser-facing description. Optional.
publisherIdID!The publisher CID.
propertyTypeDetailsPromotionalPropertyTypeDetailsInput!Updated type-specific details. See PromotionalPropertyTypeDetailsInput below.
promotionalModels[PromotionalModelInput!]!Updated promotional models. At least one must be marked as primary.
tags[PromotionalPropertyTagInput!]!Updated tags for the property.
statusPromotionalPropertyStatus!Updated status of the promotional property.
isPrimaryBoolean!Indicates if this is the primary property for the publisher account.

PromotionalPropertyTypeDetailsInput

Defines the type-specific details of a promotional property. The type field is always required; all other fields are conditional on the type selected.

FieldTypeApplicable Type(s)Description
typePromotionalPropertyType!AllRequired. The property type.
websiteUrlStringWEBSITEThe URL for the website.
browserExtensionNameStringBROWSER_EXTENSIONThe name of the browser extension as it appears in the download store.
browserExtensionDescriptionStringBROWSER_EXTENSIONDescription of how the extension functions and how customers engage with it.
browserExtensionDownloadInformation[BrowserExtensionDownloadInformationInput!]BROWSER_EXTENSIONDownload links and supported browsers.
browserExtensionTrackingConsentTypeTrackingConsentTypeBROWSER_EXTENSIONWhether the extension operates on affirmative click only or automatic redirect.
browserExtensionTrackingDescriptionStringBROWSER_EXTENSIONAdditional description of the extension's tracking behavior.
mobileAppNameStringMOBILE_APPThe app name as it appears in the app store.
mobileAppDownloadInformation[MobileAppDownloadInformationInput!]MOBILE_APPDownload links and supported platforms.
servicesAndToolsMarketingSiteUrlStringSERVICES_AND_TOOLSMarketing site URL for services and tools properties.
emailAddressStringEMAILThe send-from email address for the newsletter campaign.
emailMailingListSizeIntEMAILThe size of the mailing list.
emailOpenRateFloatEMAILThe approximate open rate for email newsletters.
socialMediaPlatformSocialPlatformSOCIAL_MEDIAThe social media platform. See SocialPlatform enum.
socialMediaHandleStringSOCIAL_MEDIAThe account link or handle.
paidDisplayAdsDescriptionStringPAID_DISPLAY_ADSPlatforms where display ads are purchased and the click-through rates achieved.
paidSearchEngineDescriptionStringPAID_SEARCH_ENGINEPlatforms where search ads are purchased and the click-through rates achieved.
otherDescriptionStringOTHERA text description of the property type.

PromotionalModelInput

FieldTypeDescription
typePromotionalModelType!The promotional model type. See PromotionalModelType enum.
isPrimaryBoolean!Indicates if this is the primary promotional model for the property.
descriptionStringText description of the model. Only supported for OTHER type promotional models.

PromotionalPropertyTagInput

FieldTypeDescription
nameString!The tag value. Tags can be keywords, categories, or any descriptors for the property — they are searchable and visible to advertisers.

BrowserExtensionDownloadInformationInput

FieldTypeDescription
browserExtensionBrowserBrowserTypeThe browser type for this download entry. See BrowserType enum.
browserExtensionDownloadLinkStringThe URL where end users can download the extension for this browser.

MobileAppDownloadInformationInput

FieldTypeDescription
mobileAppDownloadLinkStringThe URL where end users can download the app for this platform.
mobileAppPlatformMobileAppPlatformThe mobile app platform. See MobileAppPlatform enum.