Skip to content

Commit 1edd96b

Browse files
Support for Ad Manager API v202208.
1 parent de79e10 commit 1edd96b

291 files changed

Lines changed: 1661 additions & 1752 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ programmatically access your accounts.
2424
- Support for logging incoming and outgoing SOAP messages
2525
- Support for logging request information
2626
- Based on Savon library
27-
- Ruby 2.1, 2.2, 2.3, and 2.4 compatible
27+
- Ruby >=2.6 compatible
2828
- OAuth2 and OAuth2 JWT built-in authentication
2929
- Local validation for parameter number and type on API calls
3030
- Thread-safe
@@ -44,12 +44,6 @@ programmatically access your accounts.
4444

4545
$ gem install google-dfp-api
4646

47-
Note: If you're using a version of Ruby lower than 2.2.2, you will need to
48-
manually install a previous version of Rack, a dependency of our HTTP
49-
library. You can do this with:
50-
51-
$ gem install rack -v 1.6.4
52-
5347
1. Copy the sample config file (**adwords_api.yml** or **ad_manager_api.yml**)
5448
for your product to your home directory and fill out the required properties.
5549

ad_manager_api/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2.0.0:
2+
- Updated minimum Ruby version to 2.6.
3+
- Added support for v202208.
4+
- Removed examples for v202111.
5+
- Removed support for v202108.
6+
17
1.19.0:
28
- Added support for v202205.
39
- Removed support for v202105.

ad_manager_api/examples/v202111/common/setup_oauth2.rb

Lines changed: 0 additions & 84 deletions
This file was deleted.

ad_manager_api/examples/v202111/activity_group_service/create_activity_groups.rb renamed to ad_manager_api/examples/v202208/activity_group_service/create_activity_groups.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def create_activity_groups(ad_manager, advertiser_company_id)
5959
end
6060

6161
if __FILE__ == $0
62-
API_VERSION = :v202111
62+
API_VERSION = :v202208
6363

6464
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6565
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_group_service/get_active_activity_groups.rb renamed to ad_manager_api/examples/v202208/activity_group_service/get_active_activity_groups.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_active_activity_groups(ad_manager)
5959
end
6060

6161
if __FILE__ == $0
62-
API_VERSION = :v202111
62+
API_VERSION = :v202208
6363

6464
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6565
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_group_service/get_all_activity_groups.rb renamed to ad_manager_api/examples/v202208/activity_group_service/get_all_activity_groups.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_all_activity_groups(ad_manager)
5454
end
5555

5656
if __FILE__ == $0
57-
API_VERSION = :v202111
57+
API_VERSION = :v202208
5858

5959
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6060
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_group_service/update_activity_groups.rb renamed to ad_manager_api/examples/v202208/activity_group_service/update_activity_groups.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def update_activity_groups(ad_manager, advertiser_company_id, activity_group_id)
5858
end
5959

6060
if __FILE__ == $0
61-
API_VERSION = :v202111
61+
API_VERSION = :v202208
6262

6363
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6464
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_service/create_activities.rb renamed to ad_manager_api/examples/v202208/activity_service/create_activities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create_activities(ad_manager, activity_group_id)
5555
end
5656

5757
if __FILE__ == $0
58-
API_VERSION = :v202111
58+
API_VERSION = :v202208
5959

6060
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6161
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_service/get_active_activities.rb renamed to ad_manager_api/examples/v202208/activity_service/get_active_activities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_active_activities(ad_manager)
5454
end
5555

5656
if __FILE__ == $0
57-
API_VERSION = :v202111
57+
API_VERSION = :v202208
5858

5959
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
6060
ad_manager = AdManagerApi::Api.new

ad_manager_api/examples/v202111/activity_service/get_all_activities.rb renamed to ad_manager_api/examples/v202208/activity_service/get_all_activities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_all_activities(ad_manager)
5050
end
5151

5252
if __FILE__ == $0
53-
API_VERSION = :v202111
53+
API_VERSION = :v202208
5454

5555
# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
5656
ad_manager = AdManagerApi::Api.new

0 commit comments

Comments
 (0)