Skip to content

Instantly share code, notes, and snippets.

@flsafe
Created November 14, 2013 22:05
Show Gist options
  • Save flsafe/7475126 to your computer and use it in GitHub Desktop.
Save flsafe/7475126 to your computer and use it in GitHub Desktop.
Adforge API v2 spec
Ads API V2
Returns 422 if a valid publisher_id is not specified
Returns 422 if business_ids and phone_numbers are not specified
When it's a business ads query
Only returns ads with start_date <= the current date
Returns ads by business phone numbers
Returns ads by business ids
returns an array of json objects with the following keys: id, job_id, batch_id, text, business, pdf, large, slider
thumb, hover, url, start_date, end_date
when both business_id and phone are provided
Queries with business_id and it queries with phone
does not return duplicate ads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment