Skip to content

Commit

Permalink
Support for Ad Manager API v202205.
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanfm committed May 17, 2022
1 parent 5a77124 commit 3301f83
Show file tree
Hide file tree
Showing 289 changed files with 1,630 additions and 1,716 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ programmatically access your accounts.
**New to the library?** Take a look at the [wiki for this project](https://github.com/googleads/google-api-ads-ruby/wiki).

**Want to stay up-to-date with our latest releases?** Subscribe to the
[master RSS feed on GitHub](https://github.com/googleads/google-api-ads-ruby/commits/master.atom).
[master RSS feed on GitHub](https://github.com/googleads/google-api-ads-ruby/commits/HEAD.atom).

## Products currently supported

Expand Down Expand Up @@ -53,8 +53,8 @@ programmatically access your accounts.
1. Copy the sample config file (**adwords_api.yml** or **ad_manager_api.yml**)
for your product to your home directory and fill out the required properties.

* [adwords_api.yml](https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/adwords_api.yml)
* [ad_manager_api.yml](https://github.com/googleads/google-api-ads-ruby/blob/master/ad_manager_api/ad_manager_api.yml)
* [adwords_api.yml](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/adwords_api/adwords_api.yml)
* [ad_manager_api.yml](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/ad_manager_api/ad_manager_api.yml)

1. Setup your OAuth2 credentials.

Expand All @@ -73,8 +73,8 @@ case.

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

* [AdWords](https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/README.md)
* [Ad Manager](https://github.com/googleads/google-api-ads-ruby/blob/master/ad_manager_api/README.md)
* [AdWords](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/adwords_api/README.md)
* [Ad Manager](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/ad_manager_api/README.md)

## Submitting bug reports and/or feature requests

Expand All @@ -89,18 +89,18 @@ Make sure to subscribe to [our blog](https://googleadsdeveloper.blogspot.com) fo

## Logging

To enable logging, see the library-specific README files for [AdWords](https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/README.md#23---logging)
or [Ad Manager](https://github.com/googleads/google-api-ads-ruby/blob/master/ad_manager_api/README.md#how-do-i-enable-logging).
To enable logging, see the library-specific README files for [AdWords](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/adwords_api/README.md#23---logging)
or [Ad Manager](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/ad_manager_api/README.md#how-do-i-enable-logging).

## Updates

- [AdsCommon ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/master/ads_common/ChangeLog)
- [AdWords library ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/ChangeLog)
- [Ad Manager library ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/master/ad_manager_api/ChangeLog)
- [AdsCommon ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/ads_common/ChangeLog)
- [AdWords library ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/adwords_api/ChangeLog)
- [Ad Manager library ChangeLog](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/ad_manager_api/ChangeLog)

## Contributing

See [CONTRIBUTING.md](https://github.com/googleads/google-api-ads-ruby/blob/master/CONTRIBUTING.md)
See [CONTRIBUTING.md](https://github.com/googleads/google-api-ads-ruby/blob/HEAD/CONTRIBUTING.md)
for details on how to contribute.

This library has adopted the [community-driven style guide](https://github.com/bbatsov/ruby-style-guide)
Expand Down
7 changes: 6 additions & 1 deletion ad_manager_api/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.19.0:
- Added support for v202205.
- Removed support for v202105.
- Removed examples for v202108.

1.18.0:
- Added support for v202202.
- Removed support for v202102.
Expand Down Expand Up @@ -141,7 +146,7 @@
- Removed examples for v201602.
- Require google-ads-common 0.12.6 or later from now on.
- Removed examples and tests from bundled gem. For code examples, see:
https://github.com/googleads/google-api-ads-ruby/tree/master/dfp_api/examples
https://github.com/googleads/google-api-ads-ruby/tree/HEAD/dfp_api/examples

0.18.1:
- Added retrieval examples for sales management services.
Expand Down
84 changes: 0 additions & 84 deletions ad_manager_api/examples/v202108/common/setup_oauth2.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_activity_groups(ad_manager, advertiser_company_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_active_activity_groups(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_all_activity_groups(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def update_activity_groups(ad_manager, advertiser_company_id, activity_group_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def create_activities(ad_manager, activity_group_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_active_activities(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_all_activities(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_activities(ad_manager, activity_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def create_forecast_adjustments(ad_manager, traffic_forecast_segment_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def create_traffic_forecast_segments(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_all_forecast_adjustments(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_all_traffic_forecast_segments(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_forecast_adjustments_for_traffic_forecast_segment(ad_manager,
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def update_forecast_adjustments(ad_manager, adjustment_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def create_audience_segments(ad_manager, custom_targeting_key_id,
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_all_audience_segments(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_first_party_audience_segments(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def populate_first_party_audience_segments(ad_manager, audience_segment_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def update_audience_segments(ad_manager, audience_segment_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def create_cdn_configurations(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_all_cdn_configurations(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def activate_cms_metadata_values(ad_manager, cms_metadata_key_id)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_all_cms_metadata_keys(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_all_cms_metadata_values(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_cms_metadata_values_for_key(ad_manager, cms_metadata_key_name)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def produce_api_error(ad_manager)
end

if __FILE__ == $0
API_VERSION = :v202108
API_VERSION = :v202205

# Get AdManagerApi instance and load configuration from ~/ad_manager_api.yml.
ad_manager = AdManagerApi::Api.new
Expand Down
Loading

0 comments on commit 3301f83

Please sign in to comment.