Skip to content

Commit 6bd84e9

Browse files
Release v4.1.0
1 parent 4b3cdd6 commit 6bd84e9

530 files changed

Lines changed: 1538 additions & 1541 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.

ad_manager_api/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
4.1.0:
2+
- Added support for v202505.
3+
- Removed examples for v202408.
4+
- Removed support for v202405.
5+
16
4.0.0:
27
- Dropped support for Ruby 3.0 and below.
38
- Fixed Issue #198.

ad_manager_api/examples/v202408/line_item_creative_association_service/push_creative_to_devices.rb

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

ad_manager_api/examples/v202411/report_service/download_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def download_report(ad_manager, report_job_id, file_name)
3838

3939
puts 'Downloading "%s" to "%s"...' % [download_url, file_name]
4040
open(file_name, 'wb') do |local_file|
41-
local_file << open(download_url).read()
41+
local_file << URI.open(download_url).read()
4242
end
4343
end
4444

ad_manager_api/examples/v202502/report_service/download_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def download_report(ad_manager, report_job_id, file_name)
3838

3939
puts 'Downloading "%s" to "%s"...' % [download_url, file_name]
4040
open(file_name, 'wb') do |local_file|
41-
local_file << open(download_url).read()
41+
local_file << URI.open(download_url).read()
4242
end
4343
end
4444

ad_manager_api/examples/v202408/adjustment_service/create_forecast_adjustments.rb renamed to ad_manager_api/examples/v202505/adjustment_service/create_forecast_adjustments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create_forecast_adjustments(ad_manager, traffic_forecast_segment_id)
6666
end
6767

6868
if __FILE__ == $0
69-
API_VERSION = :v202408
69+
API_VERSION = :v202505
7070

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

ad_manager_api/examples/v202408/adjustment_service/create_traffic_forecast_segments.rb renamed to ad_manager_api/examples/v202505/adjustment_service/create_traffic_forecast_segments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def create_traffic_forecast_segments(ad_manager)
7171
end
7272

7373
if __FILE__ == $0
74-
API_VERSION = :v202408
74+
API_VERSION = :v202505
7575

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

ad_manager_api/examples/v202408/adjustment_service/get_all_forecast_adjustments.rb renamed to ad_manager_api/examples/v202505/adjustment_service/get_all_forecast_adjustments.rb

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

5656
if __FILE__ == $0
57-
API_VERSION = :v202408
57+
API_VERSION = :v202505
5858

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

ad_manager_api/examples/v202408/adjustment_service/get_all_traffic_forecast_segments.rb renamed to ad_manager_api/examples/v202505/adjustment_service/get_all_traffic_forecast_segments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_all_traffic_forecast_segments(ad_manager)
5353
end
5454

5555
if __FILE__ == $0
56-
API_VERSION = :v202408
56+
API_VERSION = :v202505
5757

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

ad_manager_api/examples/v202408/adjustment_service/get_forecast_adjustments_for_traffic_forecast_segment.rb renamed to ad_manager_api/examples/v202505/adjustment_service/get_forecast_adjustments_for_traffic_forecast_segment.rb

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

6161
if __FILE__ == $0
62-
API_VERSION = :v202408
62+
API_VERSION = :v202505
6363

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

ad_manager_api/examples/v202408/adjustment_service/update_forecast_adjustments.rb renamed to ad_manager_api/examples/v202505/adjustment_service/update_forecast_adjustments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def update_forecast_adjustments(ad_manager, adjustment_id)
5656
end
5757

5858
if __FILE__ == $0
59-
API_VERSION = :v202408
59+
API_VERSION = :v202505
6060

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

0 commit comments

Comments
 (0)