Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7506017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:07:11+00:00 2026-05-29T22:07:11+00:00

Using the Foursquare Merchant API, I’m trying to add a campaign. I am able

  • 0

Using the Foursquare Merchant API, I’m trying to add a campaign. I am able to add a special successfully. However, when using the special’s id and adding a campaign, I receive the following error, “Foursquare2::APIError: other: No venues or groups specified. (400)”.

Even after specifying both the specialId and venueId, I receive the same error. Although the foursquare docs state that only the specialId is required.

I am using the Foursquare2 ruby wrapper gem with my code additions to add a campaign

def add_campaign(options={})
  response = connection.post do |req|
    req.url "campaigns/add", options
  end
    return_error_or_body(response, response.body.response.campaign)
end

Having receiving a client object from the foursquare gem. I use the below code

client.add_campaign(:specialId => specialId, :venueId => venueId)

Any thoughts on why this is causing an error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:07:12+00:00Added an answer on May 29, 2026 at 10:07 pm

    venueIds and groupIds are not individually required, but one of them must be provided. I’ll update the documentation to make this clearer. Thanks for pointing this out!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get some locations in New York using FourSquare API using
I'm trying to create a Foursquare application using its Java API v2 but I
Is there any way using foursquare api or some other location based api to
I am using the quimby gem to interface with foursquare's venue api. I have
I am trying to retrieve a user's foursquare checkin data that is published using
I'm developing a fun little project using Foursquare API. In this project, I have
Using Foursquare API "Venue" service.. I am parsing nearByVenue details like shop, restaurant etc.
I am trying foursquare integration in iphone. I am using the foursquare that is
I'm using the api @ api.foursquare.com/v2/users/USER_ID/checkins referenced here developer.foursquare.com/docs/users/checkins I am creating the request
using v2 api url https://api.foursquare.com/v2/venues/4d5db152e0ffa1cdb12a1e54/herenow?oauth_token=FSQ_USER_TOKEN&v=20111205&limit=100 Consistent replies since yesterday {meta:{code:200},notifications:[{type:notificationTray,item:{unreadCount:0}}],response:{hereNow:{count:0,items:[]}}} But I know that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.