Home >
Technical & Creative Skills >
Programming, Servers & Scripts
Getting all offers out of CAKE through Cake API (1)
06-30-2017 03:11 PM
#1
wiifmdude ()
Getting all offers out of CAKE through Cake API
Hello guys,
I'm slowly getting crazy trying to get a list of all offers out of CAKE using their API... somehow it's always saying invalid API key on multiple networks I've tried...
Code:
<offer_export_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/6/">
<success>false</success>
<message>Invalid API Key</message>
<row_count>0</row_count>
</offer_export_response>
However, I'm always using the affiliate ID and API Key listed on Cake's dashboard:
Any idea of what I might be doing wrong here ?
I'm passing all these parameters (obviously all in one line, I've kept them on multiple lines to make it easier to read):
http://partners.gotzha.com/api/6/exp...api_key=XXXXXX
&affiliate_id=XXXX
&offer_id=0
&offer_name=
&advertiser_id=0
&vertical_id=0
&offer_type_id=0
&media_type_id=0
&offer_status_id=0
&tag_id=0
&start_at_row=0
&row_limit=100
&sort_field=offer_id
&sort_descending=TRUE
Or could it be that I would need the network to enable something on their end ? (not sure why Cake would provide a login and key if that's not working out of the box but with Cake I'm used to things not working as expected)
Thanks a lot !!
Cheers,
Home >
Technical & Creative Skills >
Programming, Servers & Scripts