google-ads-ad_manager 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/google/ads/ad_manager/version.rb +1 -1
- data/lib/google/ads/ad_manager.rb +1311 -114
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 344598a164a5a71954fd4259982f857776c1058db303b75a2d41c54a4f535552
|
|
4
|
+
data.tar.gz: 7c33a172b805afaeed52c491856d95314ea8fb99f5412daf607396f30324012f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d45256bdaef6eb74827b02584804451bf290de7419aea8bea58a508550dd8871a90e6337c56c14795db7f53d0a13ec49699a8f3177d52c45d0ddf07f609381e
|
|
7
|
+
data.tar.gz: f7811fb68a3727a2b43b63a492f61056c2db3da7cc5dce9738fb9e05b440621203732cef7b3328a6e696f8a6f35b6b427734302d3d6731df64afb4ba3d701ce4
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Manage your Ad Manager inventory, run reports and more.
|
|
4
4
|
|
|
5
|
-
The Ad Manager API enables an app to integrate with Google Ad Manager. You can read Ad Manager data and run reports using the API.
|
|
5
|
+
The Ad Manager API enables an app to integrate with Google Ad Manager. You can read and write Ad Manager data and run reports using the API.
|
|
6
6
|
|
|
7
7
|
Actual client classes for the various versions of this API are defined in
|
|
8
8
|
_versioned_ client gems, with names of the form `google-ads-ad_manager-v*`.
|
|
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
|
|
|
34
34
|
1. [Enable the API.](https://console.cloud.google.com/apis/library/admanager.googleapis.com)
|
|
35
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
36
36
|
|
|
37
|
+
```ruby
|
|
38
|
+
require "google/ads/ad_manager"
|
|
39
|
+
|
|
40
|
+
client = Google::Ads::AdManager.ad_break_service
|
|
41
|
+
request = ::Google::Ads::AdManager::V1::GetAdBreakRequest.new # (request fields as keyword arguments...)
|
|
42
|
+
response = client.get_ad_break request
|
|
43
|
+
```
|
|
44
|
+
|
|
37
45
|
## Debug Logging
|
|
38
46
|
|
|
39
47
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|