To search for an offer by merchant URL, you need to provide the following parameters to the Shopping API :
-
country: the country to which the offer belongs -
merchantUrl: the URL of the merchant offer you are trying to monetize
Note 1: Shopping API will remove extra parameters and tracker information in the merchant URL to find a match, so you don't need to worry about "cleaning" the URL yourself.
Note 2: merchantUrl parameter must be encoded using URL encoding.
Note 3: Shopping API endpoints must be called with JWT authentication.
The following parameters are optional:
-
fallback(boolean): if no offer is matched, but the merchant agreed to receive clicks on non-offer pages,truewill generate a "GO URL" to monetize this link, otherwise the link won't be monetized. Defaults tofalse. -
custom1,custom2,custom3: parameters that will be added in the GO URL. They will then be logged and available in the Custom parameters reports from the Publisher Center. -
other publisher specific fields that will be added to the GO URL as well.