11th of November 2020 - CPAElites is for sale! As a result of the 4th CEO absence in 2020 (for months): Please click [here] to read more!

OGAds offer API output help please
2017-01-20, 02:45 AM,
I want to output offers as shown in the first example in the api page what should I write in php?

output example:

[{"name":"Castle Clash - (Android, Free, INCENT, US, 113M)","link":"http:\/\/jump.ogtrk.net\/aff_c?aff_id=15447&offer_id=2993","epc":"0.12287"}]

I wrote this but it doesn't output the same data structure as the above example

PHP Code:
$Myoffers = array("title"=> array($offer['name']), "link"=> array($offer['link']));

I actually need it like this:

Any help please.
2017-02-11, 10:06 PM,
Like that :

echo json_encode(array($Myoffers));
2017-02-11, 11:21 PM,
Problem solved long time ago, thanks for your reply :)
2020-04-24, 01:52 AM,
can you still help me on this, i need to display offers in my custom locker

Related Threads
Thread Author Replies Views Last Post
  OfferToro Postback Help Socialhits 5 2,602 2020-04-06, 04:55 PM
Last Post: thysdw
  [Help] Angular Niki 0 404 2019-05-18, 10:46 PM
Last Post: Niki
  Need Few Instructions That Can Help me Create Video Whiteboard Animation EvaHarrison 1 789 2018-08-17, 02:23 PM
Last Post: CharlieHarper
  OGads - How to change some words into bold in the file download locker? Lone Wolf 3 1,474 2018-08-03, 09:17 PM
Last Post: CreateAutomate
  OFFER EXPIRED- PLEASE REMOVE THREAD SwiffJustus 1 1,057 2018-05-04, 03:12 PM
Last Post: gmax29

About Us | Contact Us | CPAElites | Advertise | Stats

Copyright © 2013 - 2020 by (company to be announced later)
Temporarily (!) powered by MyBB, fixed (repaired) and enhanced by Charlie Harper (GitHub) aka Charles Francis Harper (Wikipedia)
Return to top
This forum uses Lukasz Tkacz MyBB addons.