google-dfp-api 1.13.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING +0 -0
- data/ChangeLog +22 -0
- data/README.md +0 -0
- data/ad_manager_api.yml +0 -0
- data/lib/ad_manager_api/ad_manager_api_datetime.rb +0 -0
- data/lib/ad_manager_api/ad_manager_api_statement.rb +0 -0
- data/lib/ad_manager_api/api_config.rb +20 -18
- data/lib/ad_manager_api/credential_handler.rb +0 -0
- data/lib/ad_manager_api/errors.rb +0 -0
- data/lib/ad_manager_api/pql_statement_utils.rb +0 -0
- data/lib/ad_manager_api/utils.rb +0 -0
- data/lib/ad_manager_api/utils_reporter.rb +0 -0
- data/lib/ad_manager_api/{v202002 → v202102}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/activity_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/activity_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/activity_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202102}/ad_exclusion_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202102}/ad_exclusion_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202102}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/ad_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/adjustment_service.rb +7 -7
- data/lib/ad_manager_api/v202102/adjustment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202102}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/v202102/audience_segment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202102}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/cms_metadata_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/cms_metadata_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/company_service.rb +7 -7
- data/lib/ad_manager_api/v202102/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202102}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/content_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/content_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/creative_review_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/creative_service.rb +7 -7
- data/lib/ad_manager_api/v202102/creative_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202102}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/creative_wrapper_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/custom_targeting_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/dai_encoding_profile_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/dai_encoding_profile_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202102}/forecast_service.rb +7 -7
- data/lib/ad_manager_api/v202102/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202102}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/inventory_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/line_item_creative_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/line_item_creative_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202102/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202102}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v202102/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202102}/live_stream_event_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/live_stream_event_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/mobile_application_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/native_style_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202102}/network_service.rb +7 -7
- data/lib/ad_manager_api/v202102/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202102}/order_service.rb +7 -7
- data/lib/ad_manager_api/v202102/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202102}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/proposal_line_item_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202102}/proposal_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202102}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/report_service.rb +7 -7
- data/lib/ad_manager_api/v202102/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202102}/site_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202102}/site_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202102/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202008 → v202102}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/suggested_ad_unit_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202102}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/targeting_preset_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/team_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/team_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/user_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202102}/user_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202102}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202102}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/activity_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/activity_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/activity_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/ad_exclusion_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/ad_exclusion_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/v202105/ad_rule_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202105}/adjustment_service.rb +7 -7
- data/lib/ad_manager_api/v202105/adjustment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202105}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/v202105/audience_segment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202105}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/cms_metadata_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/cms_metadata_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/company_service.rb +7 -7
- data/lib/ad_manager_api/v202105/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202105}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202105}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/content_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/content_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/creative_review_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/creative_service.rb +7 -7
- data/lib/ad_manager_api/v202105/creative_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202105}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202105}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/creative_wrapper_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/v202105/custom_targeting_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202105}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/dai_encoding_profile_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/dai_encoding_profile_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/forecast_service.rb +7 -7
- data/lib/ad_manager_api/v202105/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202105}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/inventory_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/line_item_creative_association_service.rb +15 -7
- data/lib/ad_manager_api/v202105/line_item_creative_association_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202105}/line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202105/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202105}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/line_item_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/live_stream_event_service.rb +35 -11
- data/lib/ad_manager_api/v202105/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202105}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/mobile_application_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/native_style_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/network_service.rb +15 -7
- data/lib/ad_manager_api/v202105/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202105}/order_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/order_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/proposal_line_item_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202105}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/proposal_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202105}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/report_service.rb +7 -7
- data/lib/ad_manager_api/v202105/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202105}/site_service.rb +15 -7
- data/lib/ad_manager_api/v202105/site_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202008 → v202105}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202105/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202002 → v202105}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/suggested_ad_unit_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/v202105/targeting_preset_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202105}/team_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202105}/team_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202105}/user_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202105}/user_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202105}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202105}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202108}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202108}/activity_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202108}/activity_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202108}/activity_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202108}/ad_exclusion_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202108}/ad_exclusion_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202108}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/v202108/ad_rule_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/adjustment_service.rb +15 -7
- data/lib/ad_manager_api/v202108/adjustment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/v202108/audience_segment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202108}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/cms_metadata_service.rb +15 -7
- data/lib/ad_manager_api/v202108/cms_metadata_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/company_service.rb +7 -7
- data/lib/ad_manager_api/v202108/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202108}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202108}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202108}/content_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202108}/content_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202108}/creative_review_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/creative_service.rb +15 -7
- data/lib/ad_manager_api/v202108/creative_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202108}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202108}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202108}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/creative_wrapper_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202108}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/v202108/custom_targeting_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/v202108/dai_encoding_profile_service.rb +62 -0
- data/lib/ad_manager_api/v202108/dai_encoding_profile_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202108}/forecast_service.rb +15 -7
- data/lib/ad_manager_api/v202108/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/v202108/inventory_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202108}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202108}/line_item_creative_association_service.rb +15 -7
- data/lib/ad_manager_api/v202108/line_item_creative_association_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202108}/line_item_service.rb +7 -15
- data/lib/ad_manager_api/v202108/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v202108/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/live_stream_event_service.rb +39 -7
- data/lib/ad_manager_api/v202108/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202108}/mobile_application_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202108}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/v202108/native_style_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/network_service.rb +15 -7
- data/lib/ad_manager_api/v202108/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/order_service.rb +7 -7
- data/lib/ad_manager_api/v202108/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202108/proposal_line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202108}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/proposal_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202108}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202108}/report_service.rb +7 -7
- data/lib/ad_manager_api/v202108/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/v202108/site_service.rb +62 -0
- data/lib/ad_manager_api/v202108/site_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202005 → v202108}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202108/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202011 → v202108}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/v202108/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/v202108/targeting_preset_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202108}/team_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/team_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202008 → v202108}/user_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202108}/user_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202108}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202108}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202111}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/v202111/activity_group_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/activity_service.rb +7 -7
- data/lib/ad_manager_api/v202111/activity_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/ad_exclusion_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/ad_exclusion_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202111}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/v202111/ad_rule_service_registry.rb +45 -0
- data/lib/ad_manager_api/v202111/adjustment_service.rb +94 -0
- data/lib/ad_manager_api/v202111/adjustment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/v202111/audience_segment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202111}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202111}/cms_metadata_service.rb +23 -7
- data/lib/ad_manager_api/v202111/cms_metadata_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/company_service.rb +15 -7
- data/lib/ad_manager_api/v202111/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202111}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202111}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/content_service.rb +7 -7
- data/lib/ad_manager_api/v202111/content_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/creative_review_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202111}/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202111}/creative_service.rb +15 -7
- data/lib/ad_manager_api/v202111/creative_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202111}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/v202111/creative_wrapper_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202002 → v202111}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/v202111/custom_targeting_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202008 → v202111}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/v202111/dai_encoding_profile_service.rb +62 -0
- data/lib/ad_manager_api/v202111/dai_encoding_profile_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/forecast_service.rb +15 -7
- data/lib/ad_manager_api/v202111/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/v202111/inventory_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/line_item_creative_association_service.rb +15 -7
- data/lib/ad_manager_api/v202111/line_item_creative_association_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/line_item_service.rb +7 -15
- data/lib/ad_manager_api/v202111/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v202111/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/live_stream_event_service.rb +39 -7
- data/lib/ad_manager_api/v202111/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202111}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/v202111/mobile_application_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/v202111/native_style_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202111}/network_service.rb +15 -7
- data/lib/ad_manager_api/v202111/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202005 → v202111}/order_service.rb +7 -7
- data/lib/ad_manager_api/v202111/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202008 → v202111}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202111}/proposal_line_item_service.rb +15 -7
- data/lib/ad_manager_api/v202111/proposal_line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202011 → v202111}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/v202111/proposal_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202002 → v202111}/report_service.rb +7 -7
- data/lib/ad_manager_api/v202111/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/v202111/site_service.rb +62 -0
- data/lib/ad_manager_api/v202111/site_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202011 → v202111}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202111/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202005 → v202111}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/v202111/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202002 → v202111}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/targeting_preset_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202111}/team_service.rb +7 -7
- data/lib/ad_manager_api/{v202011 → v202111}/team_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202011 → v202111}/user_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202111}/user_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202005 → v202111}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202005 → v202111}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/version.rb +1 -1
- data/lib/ad_manager_api.rb +0 -0
- metadata +363 -350
- data/lib/ad_manager_api/v202002/activity_group_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/activity_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/adjustment_service.rb +0 -46
- data/lib/ad_manager_api/v202002/adjustment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/cms_metadata_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/content_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/creative_wrapper_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/inventory_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/native_style_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/stream_activity_monitor_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202002/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202002/targeting_preset_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/adjustment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/cms_metadata_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/inventory_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/native_style_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/stream_activity_monitor_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202005/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202005/targeting_preset_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/adjustment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202008/site_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202008/stream_activity_monitor_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202011/adjustment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202011/stream_activity_monitor_service_registry.rb +0 -43
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:06.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V202108; module ReportService
|
13
|
+
class ReportServiceRegistry
|
14
|
+
REPORTSERVICE_METHODS = {:get_report_download_url=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:export_format, :type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_download_url_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :original_name=>"getReportDownloadURL"}, :get_report_download_url_with_options=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_download_options, :type=>"ReportDownloadOptions", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_download_url_with_options_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}}, :get_report_job_status=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_job_status_response", :fields=>[{:name=>:rval, :type=>"ReportJobStatus", :min_occurs=>0, :max_occurs=>1}]}}, :get_saved_queries_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_saved_queries_by_statement_response", :fields=>[{:name=>:rval, :type=>"SavedQueryPage", :min_occurs=>0, :max_occurs=>1}]}}, :run_report_job=>{:input=>[{:name=>:report_job, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"run_report_job_response", :fields=>[{:name=>:rval, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
+
REPORTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CurrencyCodeError=>{:fields=>[{:name=>:reason, :type=>"CurrencyCodeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReportDownloadOptions=>{:fields=>[{:name=>:export_format, :type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_report_properties, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_totals_row, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:use_gzip_compression, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ReportError=>{:fields=>[{:name=>:reason, :type=>"ReportError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReportJob=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_query, :type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1}]}, :ReportQuery=>{:fields=>[{:name=>:dimensions, :type=>"Dimension", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_unit_view, :type=>"ReportQuery.AdUnitView", :min_occurs=>0, :max_occurs=>1}, {:name=>:columns, :type=>"Column", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimension_attributes, :type=>"DimensionAttribute", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_field_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cms_metadata_key_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_dimension_key_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_range_type, :type=>"DateRangeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}, {:name=>:adx_report_currency, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_type, :type=>"TimeZoneType", :min_occurs=>0, :max_occurs=>1}]}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SavedQuery=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_query, :type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_compatible_with_api_version, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SavedQueryPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"SavedQuery", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Value=>{:fields=>[], :abstract=>true}, :"ReportQuery.AdUnitView"=>{:type=>"string", :enumerations=>["TOP_LEVEL", "FLAT", "HIERARCHICAL"]}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :Column=>{:type=>"string", :enumerations=>["AD_SERVER_IMPRESSIONS", "AD_SERVER_TARGETED_IMPRESSIONS", "AD_SERVER_CLICKS", "AD_SERVER_TARGETED_CLICKS", "AD_SERVER_CTR", "AD_SERVER_CPM_AND_CPC_REVENUE", "AD_SERVER_CPM_AND_CPC_REVENUE_GROSS", "AD_SERVER_CPD_REVENUE", "AD_SERVER_CPA_REVENUE", "AD_SERVER_ALL_REVENUE", "AD_SERVER_ALL_REVENUE_GROSS", "AD_SERVER_WITHOUT_CPD_AVERAGE_ECPM", "AD_SERVER_WITH_CPD_AVERAGE_ECPM", "AD_SERVER_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "AD_SERVER_LINE_ITEM_LEVEL_PERCENT_CLICKS", "AD_SERVER_INVENTORY_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_SERVER_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "AD_SERVER_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_SERVER_UNFILTERED_IMPRESSIONS", "AD_SERVER_UNFILTERED_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_TARGETED_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_CTR", "ADSENSE_LINE_ITEM_LEVEL_REVENUE", "ADSENSE_LINE_ITEM_LEVEL_AVERAGE_ECPM", "ADSENSE_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_PERCENT_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "ADSENSE_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_IMPRESSIONS", "AD_EXCHANGE_IMPRESSIONS", "AD_EXCHANGE_MATCHED_REQUESTS", "AD_EXCHANGE_AD_ECPM", "AD_EXCHANGE_CLICKS", "AD_EXCHANGE_ESTIMATED_REVENUE", "AD_EXCHANGE_COVERAGE", "AD_EXCHANGE_CTR", "AD_EXCHANGE_LIFT", "AD_EXCHANGE_CPC", "AD_EXCHANGE_AD_REQUESTS", "AD_EXCHANGE_AD_REQUEST_ECPM", "AD_EXCHANGE_AD_REQUEST_CTR", "AD_EXCHANGE_AD_CTR", "AD_EXCHANGE_VIDEO_DROPOFF_RATE", "AD_EXCHANGE_VIDEO_ABANDONMENT_RATE", "AD_EXCHANGE_MATCHED_ECPM", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE", "AD_EXCHANGE_AVERAGE_VIEWABLE_TIME", "AD_EXCHANGE_ACTIVE_VIEW_ENABLED_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURED_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_VIEWED_IMPRESSIONS", "AD_EXCHANGE_DEALS_BID_RESPONSES", "AD_EXCHANGE_DEALS_MATCHED_REQUESTS", "AD_EXCHANGE_DEALS_AD_REQUESTS", "AD_EXCHANGE_DEALS_MATCH_RATE", "AD_EXCHANGE_VIDEO_AUTO_PLAY", "AD_EXCHANGE_VIDEO_CLICK_TO_PLAY", "AD_EXCHANGE_VIDEO_START", "AD_EXCHANGE_VIDEO_QUARTILE_1", "AD_EXCHANGE_VIDEO_MIDPOINT", "AD_EXCHANGE_VIDEO_QUARTILE_3", "AD_EXCHANGE_VIDEO_COMPLETE", "AD_EXCHANGE_VIDEO_COMPLETION_RATE", "AD_EXCHANGE_VIDEO_COLLAPSE", "AD_EXCHANGE_VIDEO_EXPAND", "AD_EXCHANGE_VIDEO_FULL_SCREEN", "AD_EXCHANGE_VIDEO_MUTE", "AD_EXCHANGE_VIDEO_PAUSE", "AD_EXCHANGE_VIDEO_RESUME", "AD_EXCHANGE_VIDEO_REWIND", "AD_EXCHANGE_VIDEO_SKIPPED", "AD_EXCHANGE_VIDEO_UNMUTE", "AD_EXCHANGE_VIDEO_VAST2_ERROR_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_100_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_101_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_102_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_200_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_201_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_202_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_203_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_300_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_301_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_302_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_303_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_400_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_401_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_402_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_403_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_405_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_500_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_501_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_502_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_503_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_600_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_601_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_602_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_603_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_604_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_900_COUNT", "AD_EXCHANGE_VIDEO_VAST_ERROR_901_COUNT", "AD_EXCHANGE_VIDEO_TOTAL_VAST_ERROR_COUNT", "AD_EXCHANGE_VIDEO_TOTAL_ERROR_RATE", "AD_EXCHANGE_VIDEO_TRUEVIEW_SKIP_RATE", "AD_EXCHANGE_VIDEO_TRUEVIEW_VIEWS", "AD_EXCHANGE_VIDEO_TRUEVIEW_VTR", "MEDIATION_THIRD_PARTY_ECPM", "AD_EXCHANGE_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "AD_EXCHANGE_LINE_ITEM_LEVEL_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_TARGETED_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_CTR", "AD_EXCHANGE_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "AD_EXCHANGE_LINE_ITEM_LEVEL_PERCENT_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS", "TOTAL_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "TOTAL_LINE_ITEM_LEVEL_CLICKS", "TOTAL_LINE_ITEM_LEVEL_TARGETED_CLICKS", "TOTAL_LINE_ITEM_LEVEL_CTR", "TOTAL_INVENTORY_LEVEL_ALL_REVENUE", "TOTAL_LINE_ITEM_LEVEL_CPM_AND_CPC_REVENUE", "TOTAL_LINE_ITEM_LEVEL_ALL_REVENUE", "TOTAL_INVENTORY_LEVEL_WITH_CPD_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_WITHOUT_CPD_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_WITH_CPD_AVERAGE_ECPM", "TOTAL_CODE_SERVED_COUNT", "TOTAL_AD_REQUESTS", "TOTAL_RESPONSES_SERVED", "TOTAL_UNMATCHED_AD_REQUESTS", "TOTAL_FILL_RATE", "AD_SERVER_RESPONSES_SERVED", "ADSENSE_RESPONSES_SERVED", "AD_EXCHANGE_RESPONSES_SERVED", "TOTAL_VIDEO_OPPORTUNITIES", "TOTAL_VIDEO_CAPPED_OPPORTUNITIES", "TOTAL_INVENTORY_LEVEL_UNFILLED_IMPRESSIONS", "OPTIMIZATION_CONTROL_IMPRESSIONS", "OPTIMIZATION_CONTROL_CLICKS", "OPTIMIZATION_CONTROL_CTR", "OPTIMIZATION_OPTIMIZED_IMPRESSIONS", "OPTIMIZATION_OPTIMIZED_CLICKS", "OPTIMIZATION_NON_OPTIMIZED_IMPRESSIONS", "OPTIMIZATION_NON_OPTIMIZED_CLICKS", "OPTIMIZATION_EXTRA_CLICKS", "OPTIMIZATION_OPTIMIZED_CTR", "OPTIMIZATION_LIFT", "OPTIMIZATION_COVERAGE", "OPTIMIZATION_BEHIND_SCHEDULE_IMPRESSIONS", "OPTIMIZATION_NO_CLICKS_RECORDED_IMPRESSIONS", "OPTIMIZATION_SPONSORSHIP_IMPRESSIONS", "OPTIMIZATION_AS_FAST_AS_POSSIBLE_IMPRESSIONS", "OPTIMIZATION_NO_ABSOLUTE_LIFETIME_GOAL_IMPRESSIONS", "OPTIMIZATION_CONTROL_REVENUE", "OPTIMIZATION_OPTIMIZED_REVENUE", "OPTIMIZATION_CONTROL_ECPM", "OPTIMIZATION_OPTIMIZED_ECPM", "OPTIMIZATION_FREED_UP_IMPRESSIONS", "OPTIMIZATION_ECPM_LIFT", "UNIQUE_REACH_FREQUENCY", "UNIQUE_REACH_IMPRESSIONS", "UNIQUE_REACH", "SDK_MEDIATION_CREATIVE_IMPRESSIONS", "SDK_MEDIATION_CREATIVE_CLICKS", "SELL_THROUGH_FORECASTED_IMPRESSIONS", "SELL_THROUGH_AVAILABLE_IMPRESSIONS", "SELL_THROUGH_RESERVED_IMPRESSIONS", "SELL_THROUGH_SELL_THROUGH_RATE", "RICH_MEDIA_BACKUP_IMAGES", "RICH_MEDIA_DISPLAY_TIME", "RICH_MEDIA_AVERAGE_DISPLAY_TIME", "RICH_MEDIA_EXPANSIONS", "RICH_MEDIA_EXPANDING_TIME", "RICH_MEDIA_INTERACTION_TIME", "RICH_MEDIA_INTERACTION_COUNT", "RICH_MEDIA_INTERACTION_RATE", "RICH_MEDIA_AVERAGE_INTERACTION_TIME", "RICH_MEDIA_INTERACTION_IMPRESSIONS", "RICH_MEDIA_MANUAL_CLOSES", "RICH_MEDIA_FULL_SCREEN_IMPRESSIONS", "RICH_MEDIA_VIDEO_INTERACTIONS", "RICH_MEDIA_VIDEO_INTERACTION_RATE", "RICH_MEDIA_VIDEO_MUTES", "RICH_MEDIA_VIDEO_PAUSES", "RICH_MEDIA_VIDEO_PLAYES", "RICH_MEDIA_VIDEO_MIDPOINTS", "RICH_MEDIA_VIDEO_COMPLETES", "RICH_MEDIA_VIDEO_REPLAYS", "RICH_MEDIA_VIDEO_STOPS", "RICH_MEDIA_VIDEO_UNMUTES", "RICH_MEDIA_VIDEO_VIEW_TIME", "RICH_MEDIA_VIDEO_VIEW_RATE", "RICH_MEDIA_CUSTOM_EVENT_TIME", "RICH_MEDIA_CUSTOM_EVENT_COUNT", "VIDEO_VIEWERSHIP_START", "VIDEO_VIEWERSHIP_FIRST_QUARTILE", "VIDEO_VIEWERSHIP_MIDPOINT", "VIDEO_VIEWERSHIP_THIRD_QUARTILE", "VIDEO_VIEWERSHIP_COMPLETE", "VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE", "VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME", "VIDEO_VIEWERSHIP_COMPLETION_RATE", "VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT", "VIDEO_VIEWERSHIP_VIDEO_LENGTH", "VIDEO_VIEWERSHIP_SKIP_BUTTON_SHOWN", "VIDEO_VIEWERSHIP_ENGAGED_VIEW", "VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE", "VIDEO_VIEWERSHIP_AUTO_PLAYS", "VIDEO_VIEWERSHIP_CLICK_TO_PLAYS", "VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE", "VIDEO_ERRORS_VAST_ERROR_100_COUNT", "VIDEO_ERRORS_VAST_ERROR_101_COUNT", "VIDEO_ERRORS_VAST_ERROR_102_COUNT", "VIDEO_ERRORS_VAST_ERROR_200_COUNT", "VIDEO_ERRORS_VAST_ERROR_201_COUNT", "VIDEO_ERRORS_VAST_ERROR_202_COUNT", "VIDEO_ERRORS_VAST_ERROR_203_COUNT", "VIDEO_ERRORS_VAST_ERROR_300_COUNT", "VIDEO_ERRORS_VAST_ERROR_301_COUNT", "VIDEO_ERRORS_VAST_ERROR_302_COUNT", "VIDEO_ERRORS_VAST_ERROR_303_COUNT", "VIDEO_ERRORS_VAST_ERROR_400_COUNT", "VIDEO_ERRORS_VAST_ERROR_401_COUNT", "VIDEO_ERRORS_VAST_ERROR_402_COUNT", "VIDEO_ERRORS_VAST_ERROR_403_COUNT", "VIDEO_ERRORS_VAST_ERROR_405_COUNT", "VIDEO_ERRORS_VAST_ERROR_500_COUNT", "VIDEO_ERRORS_VAST_ERROR_501_COUNT", "VIDEO_ERRORS_VAST_ERROR_502_COUNT", "VIDEO_ERRORS_VAST_ERROR_503_COUNT", "VIDEO_ERRORS_VAST_ERROR_600_COUNT", "VIDEO_ERRORS_VAST_ERROR_601_COUNT", "VIDEO_ERRORS_VAST_ERROR_602_COUNT", "VIDEO_ERRORS_VAST_ERROR_603_COUNT", "VIDEO_ERRORS_VAST_ERROR_604_COUNT", "VIDEO_ERRORS_VAST_ERROR_900_COUNT", "VIDEO_ERRORS_VAST_ERROR_901_COUNT", "VIDEO_INTERACTION_PAUSE", "VIDEO_INTERACTION_RESUME", "VIDEO_INTERACTION_REWIND", "VIDEO_INTERACTION_MUTE", "VIDEO_INTERACTION_UNMUTE", "VIDEO_INTERACTION_COLLAPSE", "VIDEO_INTERACTION_EXPAND", "VIDEO_INTERACTION_FULL_SCREEN", "VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE", "VIDEO_INTERACTION_VIDEO_SKIPS", "VIDEO_OPTIMIZATION_CONTROL_STARTS", "VIDEO_OPTIMIZATION_OPTIMIZED_STARTS", "VIDEO_OPTIMIZATION_CONTROL_COMPLETES", "VIDEO_OPTIMIZATION_OPTIMIZED_COMPLETES", "VIDEO_OPTIMIZATION_CONTROL_COMPLETION_RATE", "VIDEO_OPTIMIZATION_OPTIMIZED_COMPLETION_RATE", "VIDEO_OPTIMIZATION_COMPLETION_RATE_LIFT", "VIDEO_OPTIMIZATION_CONTROL_SKIP_BUTTON_SHOWN", "VIDEO_OPTIMIZATION_OPTIMIZED_SKIP_BUTTON_SHOWN", "VIDEO_OPTIMIZATION_CONTROL_ENGAGED_VIEW", "VIDEO_OPTIMIZATION_OPTIMIZED_ENGAGED_VIEW", "VIDEO_OPTIMIZATION_CONTROL_VIEW_THROUGH_RATE", "VIDEO_OPTIMIZATION_OPTIMIZED_VIEW_THROUGH_RATE", "VIDEO_OPTIMIZATION_VIEW_THROUGH_RATE_LIFT", "TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "TOTAL_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "TOTAL_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "AD_SERVER_ACTIVE_VIEW_REVENUE", "AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "ADSENSE_ACTIVE_VIEW_REVENUE", "ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "AD_EXCHANGE_ACTIVE_VIEW_REVENUE", "AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "TOTAL_ACTIVE_VIEW_REVENUE", "VIEW_THROUGH_CONVERSIONS", "CONVERSIONS_PER_THOUSAND_IMPRESSIONS", "CLICK_THROUGH_CONVERSIONS", "CONVERSIONS_PER_CLICK", "VIEW_THROUGH_REVENUE", "CLICK_THROUGH_REVENUE", "TOTAL_CONVERSIONS", "TOTAL_CONVERSION_REVENUE", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_COMPETING_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_UNFILLED_IMPRESSIONS_COMPETING", "DYNAMIC_ALLOCATION_OPPORTUNITY_ELIGIBLE_IMPRESSIONS_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_NOT_COMPETING_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_NOT_COMPETING_PERCENT_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_SATURATION_RATE_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_MATCH_RATE_TOTAL", "INVOICED_IMPRESSIONS", "INVOICED_UNFILLED_IMPRESSIONS", "NIELSEN_IMPRESSIONS", "NIELSEN_IN_TARGET_IMPRESSIONS", "NIELSEN_POPULATION_BASE", "NIELSEN_IN_TARGET_POPULATION_BASE", "NIELSEN_UNIQUE_AUDIENCE", "NIELSEN_IN_TARGET_UNIQUE_AUDIENCE", "NIELSEN_PERCENT_AUDIENCE_REACH", "NIELSEN_IN_TARGET_PERCENT_AUDIENCE_REACH", "NIELSEN_AVERAGE_FREQUENCY", "NIELSEN_IN_TARGET_AVERAGE_FREQUENCY", "NIELSEN_GROSS_RATING_POINTS", "NIELSEN_IN_TARGET_GROSS_RATING_POINTS", "NIELSEN_PERCENT_IMPRESSIONS_SHARE", "NIELSEN_IN_TARGET_PERCENT_IMPRESSIONS_SHARE", "NIELSEN_PERCENT_POPULATION_SHARE", "NIELSEN_IN_TARGET_PERCENT_POPULATION_SHARE", "NIELSEN_PERCENT_AUDIENCE_SHARE", "NIELSEN_IN_TARGET_PERCENT_AUDIENCE_SHARE", "NIELSEN_AUDIENCE_INDEX", "NIELSEN_IN_TARGET_AUDIENCE_INDEX", "NIELSEN_IMPRESSIONS_INDEX", "NIELSEN_IN_TARGET_IMPRESSIONS_INDEX", "DP_IMPRESSIONS", "DP_CLICKS", "DP_QUERIES", "DP_MATCHED_QUERIES", "DP_COST", "DP_ECPM", "DP_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "DP_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "DP_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "DP_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "DP_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "PARTNER_MANAGEMENT_HOST_IMPRESSIONS", "PARTNER_MANAGEMENT_HOST_CLICKS", "PARTNER_MANAGEMENT_HOST_CTR", "PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS", "PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS", "PARTNER_MANAGEMENT_PARTNER_CLICKS", "PARTNER_MANAGEMENT_PARTNER_CTR", "PARTNER_MANAGEMENT_GROSS_REVENUE", "PARTNER_FINANCE_HOST_IMPRESSIONS", "PARTNER_FINANCE_HOST_REVENUE", "PARTNER_FINANCE_HOST_ECPM", "PARTNER_FINANCE_PARTNER_REVENUE", "PARTNER_FINANCE_PARTNER_ECPM", "PARTNER_FINANCE_GROSS_REVENUE", "CREATIVE_LOAD_TIME_0_500_MS_PERCENT", "CREATIVE_LOAD_TIME_500_1000_MS_PERCENT", "CREATIVE_LOAD_TIME_1_2_S_PERCENT", "CREATIVE_LOAD_TIME_2_4_S_PERCENT", "CREATIVE_LOAD_TIME_4_8_S_PERCENT", "CREATIVE_LOAD_TIME_GREATER_THAN_8_S_PERCENT", "UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT", "UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT", "UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT", "UNVIEWED_REASON_USER_SCROLLED_BEFORE_1_S_PERCENT", "UNVIEWED_REASON_OTHER_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_0_500_MS_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_500_1000_MS_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_1_2_S_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_2_4_S_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_4_8_S_PERCENT", "PAGE_NAVIGATION_TO_TAG_LOADED_TIME_GREATER_THAN_8_S_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_0_500_MS_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_500_1000_MS_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_1_2_S_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_2_4_S_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_4_8_S_PERCENT", "PAGE_NAVIGATION_TO_FIRST_AD_REQUEST_TIME_GREATER_THAN_8_S_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_0_500_MS_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_500_1000_MS_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_1_2_S_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_2_4_S_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_4_8_S_PERCENT", "TAG_LOAD_TO_FIRST_AD_REQUEST_TIME_GREATER_THAN_8_S_PERCENT"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"CurrencyCodeError.Reason"=>{:type=>"string", :enumerations=>["INVALID", "UNSUPPORTED"]}, :DateRangeType=>{:type=>"string", :enumerations=>["TODAY", "YESTERDAY", "LAST_WEEK", "LAST_MONTH", "LAST_3_MONTHS", "REACH_LIFETIME", "CUSTOM_DATE", "NEXT_DAY", "NEXT_90_DAYS", "NEXT_WEEK", "NEXT_MONTH", "CURRENT_AND_NEXT_MONTH", "NEXT_QUARTER", "NEXT_3_MONTHS", "NEXT_12_MONTHS"]}, :Dimension=>{:type=>"string", :enumerations=>["MONTH_AND_YEAR", "WEEK", "DATE", "DAY", "HOUR", "LINE_ITEM_ID", "LINE_ITEM_NAME", "LINE_ITEM_TYPE", "ORDER_ID", "ORDER_NAME", "ORDER_DELIVERY_STATUS", "ADVERTISER_ID", "ADVERTISER_NAME", "AD_NETWORK_ID", "AD_NETWORK_NAME", "SALESPERSON_ID", "SALESPERSON_NAME", "CREATIVE_ID", "CREATIVE_NAME", "CREATIVE_TYPE", "CREATIVE_BILLING_TYPE", "CUSTOM_EVENT_ID", "CUSTOM_EVENT_NAME", "CUSTOM_EVENT_TYPE", "CREATIVE_SIZE", "AD_UNIT_ID", "AD_UNIT_NAME", "PARENT_AD_UNIT_ID", "PARENT_AD_UNIT_NAME", "PLACEMENT_ID", "PLACEMENT_NAME", "PLACEMENT_STATUS", "TARGETING", "BROWSER_NAME", "DEVICE_CATEGORY_ID", "DEVICE_CATEGORY_NAME", "COUNTRY_CRITERIA_ID", "COUNTRY_NAME", "REGION_CRITERIA_ID", "REGION_NAME", "CITY_CRITERIA_ID", "CITY_NAME", "METRO_CRITERIA_ID", "METRO_NAME", "POSTAL_CODE_CRITERIA_ID", "POSTAL_CODE", "CUSTOM_TARGETING_VALUE_ID", "CUSTOM_CRITERIA", "ACTIVITY_ID", "ACTIVITY_NAME", "ACTIVITY_GROUP_ID", "ACTIVITY_GROUP_NAME", "CONTENT_ID", "CONTENT_NAME", "CONTENT_BUNDLE_ID", "CONTENT_BUNDLE_NAME", "VIDEO_METADATA_KEY_ID", "VIDEO_METADATA_KEY_NAME", "CMS_METADATA", "VIDEO_FALLBACK_POSITION", "POSITION_OF_POD", "POSITION_IN_POD", "CUSTOM_SPOT_ID", "CUSTOM_SPOT_NAME", "VIDEO_REDIRECT_THIRD_PARTY", "VIDEO_BREAK_TYPE", "VIDEO_BREAK_TYPE_NAME", "VIDEO_VAST_VERSION", "VIDEO_AD_REQUEST_DURATION_ID", "VIDEO_AD_REQUEST_DURATION", "VIDEO_PLACEMENT_NAME", "PARTNER_MANAGEMENT_PARTNER_ID", "PARTNER_MANAGEMENT_PARTNER_NAME", "PARTNER_MANAGEMENT_PARTNER_LABEL_ID", "PARTNER_MANAGEMENT_PARTNER_LABEL_NAME", "PARTNER_MANAGEMENT_ASSIGNMENT_ID", "PARTNER_MANAGEMENT_ASSIGNMENT_NAME", "INVENTORY_SHARE_ASSIGNMENT_ID", "INVENTORY_SHARE_ASSIGNMENT_NAME", "INVENTORY_SHARE_OUTCOME", "GRP_DEMOGRAPHICS", "AD_REQUEST_AD_UNIT_SIZES", "AD_REQUEST_CUSTOM_CRITERIA", "IS_FIRST_LOOK_DEAL", "YIELD_GROUP_ID", "YIELD_GROUP_NAME", "YIELD_PARTNER", "YIELD_PARTNER_TAG", "CLASSIFIED_ADVERTISER_ID", "CLASSIFIED_ADVERTISER_NAME", "CLASSIFIED_BRAND_ID", "CLASSIFIED_BRAND_NAME", "MEDIATION_TYPE", "NATIVE_TEMPLATE_ID", "NATIVE_TEMPLATE_NAME", "NATIVE_STYLE_ID", "NATIVE_STYLE_NAME", "CHILD_NETWORK_CODE", "MOBILE_APP_RESOLVED_ID", "MOBILE_APP_NAME", "MOBILE_DEVICE_NAME", "MOBILE_INVENTORY_TYPE", "REQUEST_TYPE", "AD_UNIT_STATUS", "MASTER_COMPANION_CREATIVE_ID", "MASTER_COMPANION_CREATIVE_NAME", "AUDIENCE_SEGMENT_ID", "AUDIENCE_SEGMENT_NAME", "AUDIENCE_SEGMENT_DATA_PROVIDER_NAME", "AD_EXCHANGE_INVENTORY_SIZE", "AD_EXCHANGE_INVENTORY_SIZE_CODE", "AD_EXCHANGE_DEVICE_CATEGORY", "AD_EXCHANGE_PRICING_RULE_ID", "AD_EXCHANGE_PRICING_RULE_NAME", "AD_EXCHANGE_TAG_NAME", "AD_EXCHANGE_URL", "AD_EXCHANGE_WEB_PROPERTY_CODE", "AD_EXCHANGE_CREATIVE_SIZES", "AD_EXCHANGE_AD_TYPE", "AD_EXCHANGE_CHANNEL_NAME", "AD_EXCHANGE_PRODUCT_NAME", "AD_EXCHANGE_PRODUCT_CODE", "AD_EXCHANGE_SITE_NAME", "AD_EXCHANGE_REQUEST_SOURCES", "AD_EXCHANGE_ADVERTISER_NAME", "AD_EXCHANGE_BRAND_NAME", "AD_EXCHANGE_AGENCY", "AD_EXCHANGE_BID_TYPE_CODE", "AD_EXCHANGE_BRANDING_TYPE_CODE", "AD_EXCHANGE_BRANDING_TYPE", "AD_EXCHANGE_BUYER_NETWORK_NAME", "AD_EXCHANGE_BUYER_NETWORK_ID", "AD_EXCHANGE_CUSTOM_CHANNEL_CODE", "AD_EXCHANGE_CUSTOM_CHANNEL_ID", "AD_EXCHANGE_DATE", "AD_EXCHANGE_DEAL_ID", "AD_EXCHANGE_DEAL_NAME", "AD_EXCHANGE_TRANSACTION_TYPE", "AD_EXCHANGE_DSP_BUYER_NETWORK_NAME", "AD_EXCHANGE_EXPANSION_TYPE", "AD_EXCHANGE_COUNTRY_CODE", "AD_EXCHANGE_COUNTRY_NAME", "AD_EXCHANGE_DFP_AD_UNIT_ID", "AD_EXCHANGE_DFP_AD_UNIT", "AD_EXCHANGE_INVENTORY_OWNERSHIP", "AD_EXCHANGE_ADVERTISER_DOMAIN", "AD_EXCHANGE_DFP_MOBILE_APP_NAME", "AD_EXCHANGE_MOBILE_APP_RESOLVED_ID", "AD_EXCHANGE_MOBILE_CARRIER_NAME", "AD_EXCHANGE_MOBILE_DEVICE_NAME", "AD_EXCHANGE_MOBILE_INVENTORY_TYPE", "AD_EXCHANGE_MONTH", "AD_EXCHANGE_NETWORK_PARTNER_NAME", "AD_EXCHANGE_OPERATING_SYSTEM", "AD_EXCHANGE_OPTIMIZATION_TYPE", "AD_EXCHANGE_TAG_CODE", "AD_EXCHANGE_TARGETING_TYPE_CODE", "AD_EXCHANGE_TARGETING_TYPE", "AD_EXCHANGE_TRANSACTION_TYPE_CODE", "AD_EXCHANGE_URL_ID", "AD_EXCHANGE_USER_BANDWIDTH_NAME", "AD_EXCHANGE_VIDEO_AD_DURATION", "AD_EXCHANGE_VIDEO_AD_DURATION_RAW", "AD_EXCHANGE_VIDEO_AD_TYPE", "AD_EXCHANGE_WEEK", "AD_EXCHANGE_AD_LOCATION", "AD_EXCHANGE_ADVERTISER_VERTICAL", "NIELSEN_SEGMENT", "NIELSEN_DEMOGRAPHICS", "NIELSEN_RESTATEMENT_DATE", "NIELSEN_DEVICE_ID", "NIELSEN_DEVICE_NAME", "PROGRAMMATIC_BUYER_ID", "PROGRAMMATIC_BUYER_NAME", "REQUESTED_AD_SIZES", "CREATIVE_SIZE_DELIVERED", "PROGRAMMATIC_CHANNEL_ID", "PROGRAMMATIC_CHANNEL_NAME", "CLASSIFIED_YIELD_PARTNER_NAME", "DP_DATE", "DP_WEEK", "DP_MONTH_YEAR", "DP_COUNTRY_CRITERIA_ID", "DP_COUNTRY_NAME", "DP_INVENTORY_TYPE", "DP_CREATIVE_SIZE", "DP_BRAND_NAME", "DP_ADVERTISER_NAME", "DP_ADX_BUYER_NETWORK_NAME", "DP_MOBILE_DEVICE_NAME", "DP_DEVICE_CATEGORY_NAME", "DP_TAG_ID", "DP_DEAL_ID", "DP_APP_ID", "CUSTOM_DIMENSION", "DEMAND_CHANNEL_ID", "DEMAND_CHANNEL_NAME", "DOMAIN", "UNIFIED_PRICING_RULE_ID", "UNIFIED_PRICING_RULE_NAME"]}, :DimensionAttribute=>{:type=>"string", :enumerations=>["LINE_ITEM_LABELS", "LINE_ITEM_LABEL_IDS", "LINE_ITEM_OPTIMIZABLE", "LINE_ITEM_DELIVERY_INDICATOR", "LINE_ITEM_DELIVERY_PACING", "LINE_ITEM_FREQUENCY_CAP", "LINE_ITEM_RECONCILIATION_STATUS", "LINE_ITEM_LAST_RECONCILIATION_DATE_TIME", "ADVERTISER_EXTERNAL_ID", "ADVERTISER_TYPE", "ADVERTISER_CREDIT_STATUS", "ADVERTISER_PRIMARY_CONTACT", "ORDER_START_DATE_TIME", "ORDER_END_DATE_TIME", "ORDER_EXTERNAL_ID", "ORDER_PO_NUMBER", "ORDER_IS_PROGRAMMATIC", "ORDER_AGENCY", "ORDER_AGENCY_ID", "ORDER_LABELS", "ORDER_LABEL_IDS", "ORDER_TRAFFICKER", "ORDER_TRAFFICKER_ID", "ORDER_SECONDARY_TRAFFICKERS", "ORDER_SALESPERSON", "ORDER_SECONDARY_SALESPEOPLE", "ORDER_LIFETIME_IMPRESSIONS", "ORDER_LIFETIME_CLICKS", "ORDER_BOOKED_CPM", "ORDER_BOOKED_CPC", "LINE_ITEM_START_DATE_TIME", "LINE_ITEM_END_DATE_TIME", "LINE_ITEM_EXTERNAL_ID", "LINE_ITEM_COST_TYPE", "LINE_ITEM_COST_PER_UNIT", "LINE_ITEM_CURRENCY_CODE", "LINE_ITEM_GOAL_QUANTITY", "LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS", "LINE_ITEM_SPONSORSHIP_GOAL_PERCENTAGE", "LINE_ITEM_LIFETIME_IMPRESSIONS", "LINE_ITEM_LIFETIME_CLICKS", "LINE_ITEM_PRIORITY", "CREATIVE_OR_CREATIVE_SET", "MASTER_COMPANION_TYPE", "LINE_ITEM_CONTRACTED_QUANTITY", "LINE_ITEM_DISCOUNT", "LINE_ITEM_NON_CPD_BOOKED_REVENUE", "ADVERTISER_LABELS", "ADVERTISER_LABEL_IDS", "CREATIVE_CLICK_THROUGH_URL", "CREATIVE_SSL_SCAN_RESULT", "CREATIVE_SSL_COMPLIANCE_OVERRIDE", "LINE_ITEM_CREATIVE_START_DATE", "LINE_ITEM_CREATIVE_END_DATE", "CONTENT_CMS_NAME", "CONTENT_CMS_VIDEO_ID", "AD_UNIT_CODE"]}, :ExportFormat=>{:type=>"string", :enumerations=>["TSV", "TSV_EXCEL", "CSV_DUMP", "XML", "XLSX"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"ReportError.Reason"=>{:type=>"string", :enumerations=>["DEFAULT", "REPORT_ACCESS_NOT_ALLOWED", "DIMENSION_VIEW_NOT_ALLOWED", "ATTRIBUTE_VIEW_NOT_ALLOWED", "COLUMN_VIEW_NOT_ALLOWED", "TOO_MANY_CONCURRENT_REPORTS", "REPORT_QUERY_TOO_LONG", "INVALID_OPERATION_FOR_REPORT_STATE", "INVALID_DIMENSIONS", "INVALID_ATTRIBUTES", "INVALID_CMS_METADATA_DIMENSIONS", "INVALID_COLUMNS", "INVALID_DIMENSION_FILTERS", "INVALID_DATE", "END_DATE_TIME_NOT_AFTER_START_TIME", "START_DATE_MORE_THAN_THREE_YEARS_AGO", "NOT_NULL", "ATTRIBUTES_NOT_SUPPORTED_FOR_REQUEST", "COLUMNS_NOT_SUPPORTED_FOR_REQUESTED_DIMENSIONS", "DATE_RANGE_NOT_SUPPORTED_FOR_REQUESTED_REPORT", "TIME_ZONE_TYPE_NOT_SUPPORTED_FOR_REQUESTED_REPORT", "CURRENCY_CODE_NOT_SUPPORTED_FOR_REQUESTED_REPORT", "FAILED_TO_STORE_REPORT", "REPORT_NOT_FOUND", "SR_CANNOT_RUN_REPORT_IN_ANOTHER_NETWORK", "AD_UNIT_VIEW_NOT_SUPPORTED_FOR_REQUESTED_REPORT", "UNKNOWN"]}, :ReportJobStatus=>{:type=>"string", :enumerations=>["COMPLETED", "IN_PROGRESS", "FAILED"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :TimeZoneType=>{:type=>"string", :enumerations=>["UNKNOWN", "PUBLISHER", "AD_EXCHANGE"]}}
|
16
|
+
REPORTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return REPORTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return REPORTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return REPORTSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Base class for exceptions.
|
32
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
+
attr_reader :message # string
|
34
|
+
end
|
35
|
+
|
36
|
+
# Exception class for holding a list of service errors.
|
37
|
+
class ApiException < ApplicationException
|
38
|
+
attr_reader :errors # ApiError
|
39
|
+
def initialize(exception_fault)
|
40
|
+
@array_fields ||= []
|
41
|
+
@array_fields << 'errors'
|
42
|
+
super(exception_fault, ReportServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:07.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'ad_manager_api/v202108/site_service_registry'
|
12
|
+
|
13
|
+
module AdManagerApi; module V202108; module SiteService
|
14
|
+
class SiteService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202108'
|
17
|
+
super(config, endpoint, namespace, :v202108)
|
18
|
+
end
|
19
|
+
|
20
|
+
def create_sites(*args, &block)
|
21
|
+
return execute_action('create_sites', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def create_sites_to_xml(*args)
|
25
|
+
return get_soap_xml('create_sites', args)
|
26
|
+
end
|
27
|
+
|
28
|
+
def get_sites_by_statement(*args, &block)
|
29
|
+
return execute_action('get_sites_by_statement', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
def get_sites_by_statement_to_xml(*args)
|
33
|
+
return get_soap_xml('get_sites_by_statement', args)
|
34
|
+
end
|
35
|
+
|
36
|
+
def perform_site_action(*args, &block)
|
37
|
+
return execute_action('perform_site_action', args, &block)
|
38
|
+
end
|
39
|
+
|
40
|
+
def perform_site_action_to_xml(*args)
|
41
|
+
return get_soap_xml('perform_site_action', args)
|
42
|
+
end
|
43
|
+
|
44
|
+
def update_sites(*args, &block)
|
45
|
+
return execute_action('update_sites', args, &block)
|
46
|
+
end
|
47
|
+
|
48
|
+
def update_sites_to_xml(*args)
|
49
|
+
return get_soap_xml('update_sites', args)
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def get_service_registry()
|
55
|
+
return SiteServiceRegistry
|
56
|
+
end
|
57
|
+
|
58
|
+
def get_module()
|
59
|
+
return AdManagerApi::V202108::SiteService
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end; end; end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:07.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V202108; module SiteService
|
13
|
+
class SiteServiceRegistry
|
14
|
+
SITESERVICE_METHODS = {:create_sites=>{:input=>[{:name=>:sites, :type=>"Site", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_sites_response", :fields=>[{:name=>:rval, :type=>"Site", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_sites_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_sites_by_statement_response", :fields=>[{:name=>:rval, :type=>"SitePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_site_action=>{:input=>[{:name=>:site_action, :type=>"SiteAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_site_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_sites=>{:input=>[{:name=>:sites, :type=>"Site", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_sites_response", :fields=>[{:name=>:rval, :type=>"Site", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
+
SITESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivateSite=>{:fields=>[], :base=>"SiteAction"}, :DisapprovalReason=>{:fields=>[{:name=>:type, :type=>"DisapprovalReason.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:details, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SiteAction=>{:fields=>[], :abstract=>true}, :Site=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:child_network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:disapproval_reasons, :type=>"DisapprovalReason", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SiteError=>{:fields=>[{:name=>:reason, :type=>"SiteError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SitePage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Site", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SubmitSiteForApproval=>{:fields=>[], :base=>"SiteAction"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UrlError=>{:fields=>[{:name=>:reason, :type=>"UrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :ApprovalStatus=>{:type=>"string", :enumerations=>["DRAFT", "UNCHECKED", "APPROVED", "DISAPPROVED", "REQUIRES_REVIEW", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"DisapprovalReason.Type"=>{:type=>"string", :enumerations=>["CONTENT", "OWNERSHIP", "OTHER", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"SiteError.Reason"=>{:type=>"string", :enumerations=>["INVALID_CHILD_NETWORK_CODE", "INVALID_URL_FOR_SITE", "MULTIPLE_UPDATES_FOR_SAME_SITE", "TOO_MANY_SITES_PER_REVIEW_REQUEST", "TOO_MANY_REVIEW_REQUESTS_FOR_SITE", "INVALID_APPROVAL_STATUS_FOR_REVIEW", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :"UrlError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_USE_RESERVED_URL", "CANNOT_USE_GOOGLE_URL", "INVALID_URL", "UNKNOWN"]}}
|
16
|
+
SITESERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return SITESERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return SITESERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return SITESERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
32
|
+
attr_reader :message # string
|
33
|
+
end
|
34
|
+
|
35
|
+
class ApiException < ApplicationException
|
36
|
+
attr_reader :errors # ApiError
|
37
|
+
def initialize(exception_fault)
|
38
|
+
@array_fields ||= []
|
39
|
+
@array_fields << 'errors'
|
40
|
+
super(exception_fault, SiteServiceRegistry)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:08.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202108/stream_activity_monitor_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202108; module StreamActivityMonitorService
|
14
14
|
class StreamActivityMonitorService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202108'
|
17
|
+
super(config, endpoint, namespace, :v202108)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_sam_sessions_by_statement(*args, &block)
|
@@ -40,7 +40,7 @@ module AdManagerApi; module V202005; module StreamActivityMonitorService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def get_module()
|
43
|
-
return AdManagerApi::
|
43
|
+
return AdManagerApi::V202108::StreamActivityMonitorService
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end; end; end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:08.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V202108; module StreamActivityMonitorService
|
13
|
+
class StreamActivityMonitorServiceRegistry
|
14
|
+
STREAMACTIVITYMONITORSERVICE_METHODS = {:get_sam_sessions_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_sam_sessions_by_statement_response", :fields=>[{:name=>:rval, :type=>"SamSession", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :register_sessions_for_monitoring=>{:input=>[{:name=>:session_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"register_sessions_for_monitoring_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
+
STREAMACTIVITYMONITORSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdBreak=>{:fields=>[{:name=>:root_ad_responses, :type=>"AdResponse", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_decision_creatives, :type=>"AdDecisionCreative", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:pod_num, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:linear_absolute_pod_num, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_break_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:filled_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:served_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time_offset_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:decisioned_ads, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_events, :type=>"TrackingEvent", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdDecisionCreative=>{:fields=>[{:name=>:sequence, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:slate_duration_mills, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_duration_mills, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_transcode, :type=>"CreativeTranscode", :min_occurs=>0, :max_occurs=>1}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_transcoded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :AdResponse=>{:fields=>[{:name=>:request_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_vmap_request, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_body, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:redirect_responses, :type=>"AdResponse", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_errors, :type=>"SamError", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTranscode=>{:fields=>[{:name=>:ad_server, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_id_type, :type=>"CreativeTranscode.IdType", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LinearStreamCreateRequest=>{:fields=>[{:name=>:live_stream_event_asset_key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:live_stream_event_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:prefetch_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"StreamCreateRequest"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SamError=>{:fields=>[{:name=>:sam_error_type, :type=>"SamErrorType", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_details, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SamSession=>{:fields=>[{:name=>:session_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_vod_session, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:stream_create_request, :type=>"StreamCreateRequest", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_breaks, :type=>"AdBreak", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:session_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :SamSessionError=>{:fields=>[{:name=>:reason, :type=>"SamSessionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StreamCreateRequest=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:reporting_type, :type=>"ReportingType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TrackingEvent=>{:fields=>[{:name=>:pings, :type=>"TrackingEvent.Ping", :min_occurs=>0, :max_occurs=>:unbounded}]}, :"TrackingEvent.Ping"=>{:fields=>[{:name=>:uri, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_error, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :VodStreamCreateRequest=>{:fields=>[{:name=>:content_source_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cue_points, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"StreamCreateRequest"}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"CreativeTranscode.IdType"=>{:type=>"string", :enumerations=>["AD_ID", "CREATIVE_ID", "CREATIVE_ADID", "UNIVERSAL_AD_ID", "MEDIA_URI", "MEDIA_URI_PATH", "CREATIVE_ADID_WITH_FALLBACK", "CANONICALIZED_MEDIA_URI", "GV_REGISTRY_ID", "UNKNOWN_ID_TYPE", "MEDIA_URI_HASH", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :ReportingType=>{:type=>"string", :enumerations=>["DISABLED", "CLIENT", "SERVER", "AD_MEDIA", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :SamErrorType=>{:type=>"string", :enumerations=>["INTERNAL_ERROR", "AD_REQUEST_ERROR", "VAST_PARSE_ERROR", "UNSUPPORTED_AD_SYSTEM", "CANNOT_FIND_UNIQUE_TRANSCODE_ID", "CANNOT_FIND_MEDIA_FILE_PATH", "MISSING_INLINE_ELEMENTS", "MAX_WRAPPER_DEPTH_REACHED", "INVALID_AD_SEQUENCE_NUMBER", "FAILED_PING", "AD_TAG_PARSE_ERROR", "VMAP_PARSE_ERROR", "INVALID_VMAP_RESPONSE", "NO_AD_BREAKS_IN_VMAP", "CUSTOM_AD_SOURCE_IN_VMAP", "AD_BREAK_TYPE_NOT_SUPPORTED", "NEITHER_AD_SOURCE_NOR_TRACKING", "UNKNOWN_ERROR", "AD_POD_DROPPED_TO_MANY_AD_PODS", "AD_POD_DROPPED_EMPTY_ADS", "AD_BREAK_WITHOUT_AD_POD", "TRANSCODING_IN_PROGRESS", "UNSUPPORTED_VAST_VERSION", "AD_POD_DROPPED_BUMPER_ERROR", "NO_VALID_MEDIAFILES_FOUND", "EXCEEDS_MAX_FILLER", "SKIPPABLE_AD_NOT_SUPPORTED", "AD_REQUEST_TIMEOUT", "AD_POD_DROPPED_UNSUPPORTED_TYPE", "DUPLICATE_AD_TAG", "FOLLOW_REDIRECTS_IS_FALSE", "UNKNOWN"]}, :"SamSessionError.Reason"=>{:type=>"string", :enumerations=>["COULD_NOT_REGISTER_SESSION", "MALFORMED_SESSION_ID", "INVALID_SESSION_ID", "INVALID_DEBUG_KEY", "REQUEST_EXCEEDS_SESSION_LIMIT", "UNKNOWN"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
|
16
|
+
STREAMACTIVITYMONITORSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return STREAMACTIVITYMONITORSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return STREAMACTIVITYMONITORSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return STREAMACTIVITYMONITORSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
32
|
+
attr_reader :message # string
|
33
|
+
end
|
34
|
+
|
35
|
+
class ApiException < ApplicationException
|
36
|
+
attr_reader :errors # ApiError
|
37
|
+
def initialize(exception_fault)
|
38
|
+
@array_fields ||= []
|
39
|
+
@array_fields << 'errors'
|
40
|
+
super(exception_fault, StreamActivityMonitorServiceRegistry)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:08.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202108/suggested_ad_unit_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202108; module SuggestedAdUnitService
|
14
14
|
class SuggestedAdUnitService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202108'
|
17
|
+
super(config, endpoint, namespace, :v202108)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_suggested_ad_units_by_statement(*args, &block)
|
@@ -40,7 +40,7 @@ module AdManagerApi; module V202011; module SuggestedAdUnitService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def get_module()
|
43
|
-
return AdManagerApi::
|
43
|
+
return AdManagerApi::V202108::SuggestedAdUnitService
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:08.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V202108; module SuggestedAdUnitService
|
13
|
+
class SuggestedAdUnitServiceRegistry
|
14
|
+
SUGGESTEDADUNITSERVICE_METHODS = {:get_suggested_ad_units_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_suggested_ad_units_by_statement_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_suggested_ad_unit_action=>{:input=>[{:name=>:suggested_ad_unit_action, :type=>"SuggestedAdUnitAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_suggested_ad_unit_action_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitUpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
+
SUGGESTEDADUNITSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdUnitParent=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_unit_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveSuggestedAdUnits=>{:fields=>[], :base=>"SuggestedAdUnitAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:full_display_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_audio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :InventoryUnitSizesError=>{:fields=>[{:name=>:reason, :type=>"InventoryUnitSizesError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SuggestedAdUnitAction=>{:fields=>[], :abstract=>true}, :SuggestedAdUnit=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_requests, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:parent_path, :type=>"AdUnitParent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:target_window, :type=>"AdUnit.TargetWindow", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_platform, :type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:suggested_ad_unit_sizes, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitUpdateResult=>{:fields=>[{:name=>:new_ad_unit_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"AdUnit.TargetWindow"=>{:type=>"string", :enumerations=>["TOP", "BLANK"]}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :EnvironmentType=>{:type=>"string", :enumerations=>["BROWSER", "VIDEO_PLAYER"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"InventoryUnitSizesError.Reason"=>{:type=>"string", :enumerations=>["INVALID_SIZES", "INVALID_SIZE_FOR_PLATFORM", "VIDEO_FEATURE_MISSING", "VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING", "INVALID_SIZE_FOR_MASTER", "INVALID_SIZE_FOR_COMPANION", "DUPLICATE_MASTER_SIZES", "ASPECT_RATIO_NOT_SUPPORTED", "VIDEO_COMPANIONS_NOT_SUPPORTED", "UNKNOWN"]}, :"LabelEntityAssociationError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ASSOCIATION", "INVALID_ASSOCIATION", "NEGATION_NOT_ALLOWED", "DUPLICATE_ASSOCIATION_WITH_NEGATION", "UNKNOWN"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :TargetPlatform=>{:type=>"string", :enumerations=>["WEB", "MOBILE", "ANY"]}}
|
16
|
+
SUGGESTEDADUNITSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return SUGGESTEDADUNITSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return SUGGESTEDADUNITSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return SUGGESTEDADUNITSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Base class for exceptions.
|
32
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
+
attr_reader :message # string
|
34
|
+
end
|
35
|
+
|
36
|
+
# Exception class for holding a list of service errors.
|
37
|
+
class ApiException < ApplicationException
|
38
|
+
attr_reader :errors # ApiError
|
39
|
+
def initialize(exception_fault)
|
40
|
+
@array_fields ||= []
|
41
|
+
@array_fields << 'errors'
|
42
|
+
super(exception_fault, SuggestedAdUnitServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2021-08-11 23:15:08.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202108/targeting_preset_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202108; module TargetingPresetService
|
14
14
|
class TargetingPresetService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202108'
|
17
|
+
super(config, endpoint, namespace, :v202108)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_targeting_presets_by_statement(*args, &block)
|
@@ -32,7 +32,7 @@ module AdManagerApi; module V202011; module TargetingPresetService
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def get_module()
|
35
|
-
return AdManagerApi::
|
35
|
+
return AdManagerApi::V202108::TargetingPresetService
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end; end; end
|