All Projects → twitterdev → twitter-ruby-ads-sdk

twitterdev / twitter-ruby-ads-sdk

Licence: MIT license
A Twitter supported and maintained Ads API SDK for Ruby.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to twitter-ruby-ads-sdk

trumptweets
Download data on all of Donald Trump's (@RealDonaldTrump) tweets
Stars: ✭ 39 (-38.1%)
Mutual labels:  twitter-api
ml-flashcards
Extracting data from Twitter for #machinelearningflashcards 🤖
Stars: ✭ 35 (-44.44%)
Mutual labels:  twitter-api
go-t
A blazing-fast, simple and easy to use command-line client for Twitter written in Go. 🚀📨
Stars: ✭ 70 (+11.11%)
Mutual labels:  twitter-api
discord-twitter-webhooks
🤖 Stream tweets to Discord
Stars: ✭ 47 (-25.4%)
Mutual labels:  twitter-api
eleventy-plugin-embed-tweet
A plugin for embedding tweets on the server side during build time
Stars: ✭ 24 (-61.9%)
Mutual labels:  twitter-api
TwitterClone
TwitterClient app represents a real world twitter client app: it provides a fairly complex set of functionalities, it's a suitable showcase for all the advantages that architecture components bring, has all features that would make it a modular, scalable, testable and maintainable app.
Stars: ✭ 26 (-58.73%)
Mutual labels:  twitter-api
Broadcast
🗣 A write-only Twitter client
Stars: ✭ 36 (-42.86%)
Mutual labels:  twitter-api
Tweet-2-RSS
Convert your Twitter API requests to RSS Feeds
Stars: ✭ 14 (-77.78%)
Mutual labels:  twitter-api
github-readme-twitter
Add Twitter to your github readme
Stars: ✭ 73 (+15.87%)
Mutual labels:  twitter-api
SparkTwitterAnalysis
An Apache Spark standalone application using the Spark API in Scala. The application uses Simple Build Tool(SBT) for building the project.
Stars: ✭ 29 (-53.97%)
Mutual labels:  twitter-api
Penicillin
Modern powerful Twitter API wrapper for Kotlin Multiplatform. #PureKotlin
Stars: ✭ 91 (+44.44%)
Mutual labels:  twitter-api
twitter-d
TypeScript types for Twitter API objects
Stars: ✭ 54 (-14.29%)
Mutual labels:  twitter-api
spotatweet
A Spotify & Twitter API mashup showing what people are listening to now. Written in Node.js.
Stars: ✭ 26 (-58.73%)
Mutual labels:  twitter-api
Stranger Things Wall
A wall of addressable LEDs inspired by the Netflix series Stranger Things that displays messages from Twitter.
Stars: ✭ 22 (-65.08%)
Mutual labels:  twitter-api
Twitter-Stream-API-Dataset
Twitter Dynamic Dataset Api. Create any dataset YOU want.
Stars: ✭ 20 (-68.25%)
Mutual labels:  twitter-api
twitter-stream
A Go wrapper for Twitter's V2 Filtered Stream API
Stars: ✭ 26 (-58.73%)
Mutual labels:  twitter-api
twspace-crawler
Script to monitor & download Twitter Spaces 24/7
Stars: ✭ 78 (+23.81%)
Mutual labels:  twitter-api
twitivity
🐍 Twitter Accounts Activity API Client Library for Python
Stars: ✭ 49 (-22.22%)
Mutual labels:  twitter-api
SocialAuth
No description or website provided.
Stars: ✭ 35 (-44.44%)
Mutual labels:  twitter-api
twitter-crypto-bot
This is a Twitter bot that tweets about cryptocurrencies prices every certain amount of minutes
Stars: ✭ 21 (-66.67%)
Mutual labels:  twitter-api

Getting Started Build StatusGem Version

Installation
# installing the latest signed release
gem install twitter-ads
Quick Start
require 'twitter-ads'

# initialize the client
client = TwitterAds::Client.new(
  CONSUMER_KEY,
  CONSUMER_SECRET,
  ACCESS_TOKEN,
  ACCESS_TOKEN_SECRET
)

# load the advertiser account instance
account = client.accounts('c3won9gy')

# load and update a specific campaign
campaign = account.campaigns('4m0gjms')
campaign.entity_status = EntityStatus::PAUSED
campaign.save

# iterate through campaigns
account.campaigns.each do |camp|
  # do stuff
end
Command Line Helper
# The twitter-ads command launches an interactive session for testing purposes
# with a client instance automatically loaded from your .twurlrc file.

~ ❯ twitter-ads
twitter-ads vX.X.X >> CLIENT
=> #<TwitterAds::Client:0x70101526238580 consumer_key="Fy90KQy57152sn5Mv7axji9409">
twitter-ads vX.X.X >> CLIENT.accounts.first
=> #<TwitterAds::Account:0x70101527905720 id="4lvtcum">

For more help please see our Examples and Guides or check the online Reference Documentation.

Compatibility & Versioning

This project is designed to work with Ruby 2.4.0 or greater. While it may work on other version of Ruby, below are the platform and runtime versions we officially support and regularly test against.

Platform Versions
MRI 2.4.x, 2.5.x, 2.6.x, 2.7, 3.0
Rubinius 2.4.x, 2.5.x

All releases adhere to strict semantic versioning. For Example, major.minor.patch-pre (aka. stick.carrot.oops-peek).

Development

If you'd like to contribute to the project or try an unreleased development version of this project locally, you can do so quite easily by following the examples below.

# clone the repository
git clone [email protected]:twitterdev/twitter-ruby-ads-sdk.git
cd twitter-ruby-ads-sdk

# install dependencies
bundle install

rake docs # building documentation
rake spec # run all tests

# installing a local unsigned release
gem build twitter-ads.gemspec & gem install twitter-ads-X.X.X.gem

We love community contributions! If you're planning to send us a pull request, please make sure read our Contributing Guidelines first.

Feedback and Bug Reports

Found an issue? Please open up a GitHub issue or even better yet send us a pull request.
Have a question? Want to discuss a new feature? Come chat with us in the Twitter Community Forums.

Error Handling

Like the Response and Request classes, the Ads API SDK fully models all error objects for easy error handling.

Error Hierarchy

License

The MIT License (MIT)

Copyright (C) 2021 Twitter, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].