You can try that method by clicking here
Parameters
Name | Type | Description |
---|---|---|
publisherToken* | string | You can find your publisher token at api-keys page. |
multiCurrencyOfferId* | string | E.g. if you create multicurrency offer and you get couple of ids: A767351455_FR, A767351455_US, A767351455_GB. multiCurrencyOfferId is just A767351455 |
offerData* | object | No description |
-price | float | Offer price (in publisher's currency) |
-period | string | Pass period: day / week / 2weeks / month / 3months / 6months / year |
-title | string | Title of the offer, up to 70 chars. |
-url | string | Url to content |
-description | string | Additional offer description, up to 110 chars |
-accessToTags | array | To which tags customer has access. Multiple tags are defined as "OR" (not "AND"). Set "(all)" if you want to give access to all of your offers. |
localizedData | array | - |
-country* | string | 2-letter country code |
-currency | string | Choose one: USD, EUR, GBP, CAD, AUD, NZD, SEK, DKK, NOK, TRL, ZAR, XOF |
-price | float | value between 0.14 and 99.99 |
-title | string | Title of the offer, up to 70 chars. |
-url | string | Url to content |
-description | string | Additional offer description, up to 110 chars |
-geoRestrictionEnabled | bool | Set "true" to enable geo-restriction on this offer |
-geoRestrictionType | string | Choose type of geo-restriction: whitelist / blacklist |
-geoRestrictionCountries | array | Based on geoRestrictionType, set the array of whitelisted/blacklisted countries. |