• Stars
    star
    297
  • Rank 134,907 (Top 3 %)
  • Language
    Ruby
  • Created over 12 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ad Manager SOAP API Client Libraries for Ruby

Ad Manager SOAP API Client Libraries for Ruby

This project hosts the Ruby client library for Google Ad Manager, as well as the Ads SOAP API common framework for Ruby.

The Ruby client libraries make it easier to write Ruby clients to programmatically access your accounts.

New to the library? Take a look at the wiki for this project.

Want to stay up-to-date with our latest releases? Subscribe to the master RSS feed on GitHub.

Products currently supported

  • Google Ad Manager API DFP Gem Version

Client library features

  • Support for logging incoming and outgoing SOAP messages
  • Support for logging request information
  • Based on Savon library
  • Ruby >=2.7 compatible
  • OAuth2 and OAuth2 JWT built-in authentication
  • Local validation for parameter number and type on API calls
  • Thread-safe
  • Ruby-like syntax, by converting all method names and properties to snake_case instead of lowerCamelCase
  • Simplified development model by using arrays and hashes instead of solid objects

Getting started

  1. Install the library using RubyGems.

     $ gem install google-dfp-api
    
  2. Copy the sample config file to your home directory and fill out the required properties.

  1. Setup your OAuth2 credentials.

The Ad Manager APIs use OAuth2 as the authentication mechanism. Follow the appropriate guide below based on your use case.

If you're accessing an API using your own credentials...

If you're accessing an API on behalf of clients...

  1. See each product's individual README for more specific instructions:

Submitting bug reports and/or feature requests

If you have issues directly related to the client library, use the issue tracker.

If you have issues pertaining to a specific product, use the product support forums:

Make sure to subscribe to our blog for API change announcements and other news.

Logging

To enable logging, see the library-specific README: Ad Manager.

Updates

Contributing

See CONTRIBUTING.md for details on how to contribute.

This library has adopted the community-driven style guide hosted by bbatsov. Updates to the existing code base will be made incrementally to conform to the style defined there, and all new code will be subject to that style guide. Keep this in mind while crafting contributions.

Note: if you have an ad blocker active, you might experience issues while submitting an issue or pull request. You can still contribute by disabling the ad blocker for this project URL.

More Repositories

1

googleads-mobile-android-examples

googleads-mobile-android
Java
1,634
star
2

googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
C#
1,295
star
3

googleads-mobile-ios-examples

googleads-mobile-ios
Objective-C
926
star
4

googleads-python-lib

The Python client library for Google's Ads APIs
Python
672
star
5

googleads-php-lib

Google Ads API Client Library for PHP (AdWords and Ad Manager)
PHP
650
star
6

google-ads-python

Google Ads API Client Library for Python
Python
446
star
7

videojs-ima

IMA SDK Plugin for Video.js
JavaScript
441
star
8

googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Java
318
star
9

google-ads-php

Google Ads API Client Library for PHP
PHP
267
star
10

googleads-ima-html5

Samples for the HTML5 IMA SDK.
JavaScript
251
star
11

googleads-mobile-android-mediation

Sample Android project showcasing how to build a mediation adapter or custom event for the Google Mobile Ads SDK.
Java
235
star
12

googleads-java-lib

Google Ad Manager SOAP API Client Library for Java
Java
225
star
13

googleads-shopping-samples

Samples for the Content API for Shopping and the Manufacturer Center API
Java
188
star
14

google-ads-java

Google Ads API Client Library for Java
Java
162
star
15

google-media-framework-android

[DEPRECATED] The Google Media Framework (GMF) is a lightweight media player designed to make video playback and integration with the Google IMA SDK on Android easier.
Java
157
star
16

googleads-adsense-examples

Samples for the AdSense Management API
Java
135
star
17

googleads-mobile-ios-mediation

Objective-C
120
star
18

googleads-mobile-android-native-templates

Java
112
star
19

swift-package-manager-google-mobile-ads

Swift
111
star
20

googleads-dotnet-lib

Google Ad Manager SOAP API .NET client library
C#
109
star
21

googleads-ima-android

Samples for the IMA Android SDK.
Java
109
star
22

googleads-dfa-reporting-samples

Samples for the DoubleClick for Advertisers Reporting and Trafficking API
C#
108
star
23

googleads-consent-sdk-android

Consent SDK
Java
104
star
24

publisher-ads-lighthouse-plugin

Publisher Ads Audits for Lighthouse is a tool to improve ad speed and overall quality through a series of automated audits. This tool will aid in resolving discovered problems, providing a tool to be used to evaluate effectiveness of iterative changes while suggesting actionable feedback.
JavaScript
94
star
25

google-media-framework-ios

The Google Media Framework (GMF) is a lightweight media player designed to make video playback and integration with the Google IMA SDK on iOS easier.
Objective-C
75
star
26

admob-ads-in-flutter

Dart
70
star
27

google-ads-dotnet

This project hosts the .NET client library for the Google Ads API.
C#
68
star
28

google-ads-ruby

Google Ads API Ruby Client Library
Ruby
66
star
29

googleads-ima-ios

Samples for the iOS IMA SDK.
Objective-C
57
star
30

googleads-bidmanager-examples

PHP
42
star
31

admob-inline-ads-in-flutter

Dart
41
star
32

googleads-admob-api-samples

googleads-admob-api-samples
Java
39
star
33

googleads-consent-sdk-ios

Consent SDK
Objective-C
34
star
34

googleads-adxbuyer-examples

Samples for the DoubleClick Ad Exchange Buyer REST API
C#
34
star
35

google-publisher-tag-samples

Google Publisher Tag (GPT) code samples.
TypeScript
33
star
36

googleads-ima-html5-dai

JavaScript
32
star
37

google-ads-doctor

Go
31
star
38

googleads-adxseller-examples

Samples for the DoubleClick Ad Exchange Seller REST API
Java
20
star
39

googleads-mobile-ios-native-templates

Objective-C
15
star
40

googleads-ima-roku-dai

Brightscript
14
star
41

google-ads-perl

Google Ads API Client Library for Perl
Perl
14
star
42

dfp-playground

JavaScript
14
star
43

adwords-scripts-linkchecker

App Engine-based link checker for AdWords Scripts and Apps Script
Java
12
star
44

googleads-ima-cast

Samples for the Chromecast IMA SDK
JavaScript
11
star
45

googleads-ima-tvos-dai

Objective-C
11
star
46

authorized-buyers-rtb-api-samples

C#
10
star
47

angular-dfp

Semantic DoubleClick integration with AngularJS
JavaScript
10
star
48

googleads-dynamic-ad-insertion

JavaScript
10
star
49

googleads-dfp-java-dfp-playground

DFP API Playground
Java
9
star
50

google-publisher-tag-types

Automatically generated TypeScript type definitions for the Google Publisher Tag JavaScript API
TypeScript
9
star
51

googleads-viewability-insights-extension

A DevTools extension for inspecting the viewability of Ad Manager Ads.
JavaScript
9
star
52

googleads-displayvideo-examples

Display & Video 360 (DV360) API code samples.
Java
8
star
53

mobilevsi-android

Java
8
star
54

googleads-ima-android-dai

Java
8
star
55

app-conversion-solutions

App Conversion Solutions with Google Ads API
Java
8
star
56

googleads-ima-cast-dai

JavaScript
7
star
57

googleads-ima-tvos-client-side

Objective-C
7
star
58

googleads-dfa-samples

Samples for the DoubleClick for Advertisers API
PHP
7
star
59

googleads-perl-lib

AdWords API Perl Client Library
Perl
6
star
60

swift-package-manager-google-user-messaging-platform

Swift
6
star
61

googleads-ima-ios-dai

Objective-C
5
star
62

admob-firebase-codelabs-android

Kotlin
5
star
63

html5-to-dfp

Python
5
star
64

googleads-ima-tizen-dai

JavaScript
4
star
65

googleads-pal-webapp

An app demonstrating PAL SDK
TypeScript
4
star
66

admob-firebase-codelabs-unity

C#
4
star
67

gpt-ad

A Polymer element for defining GPT Ads in Polymer apps.
HTML
4
star
68

admob-appopen-unity

C#
3
star
69

authorized-buyers-marketplace-api-samples

C#
3
star
70

hbbtv-lshape-demo

JavaScript
3
star
71

gpt-light-ad

HTML
3
star
72

swift-package-manager-google-programmatic-access-library-ios

Swift
3
star
73

swift-package-manager-google-programmatic-access-library-tvos

Swift
2
star
74

.allstar

2
star
75

swift-package-manager-google-interactive-media-ads-ios

Swift
2
star
76

.github

1
star
77

swift-package-manager-google-interactive-media-ads-tvos

Swift
1
star
78

comparison-shopping-service-api-samples

Code samples for the Comparison Shopping Service API (CSS API)
Java
1
star
79

google-publisher-tag-playground

An interactive code playground for Google Publisher Tag (GPT) samples.
TypeScript
1
star