google-dfp-api 2.4.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +14 -0
- data/lib/ad_manager_api/api_config.rb +18 -18
- data/lib/ad_manager_api/v202305/activity_group_service.rb +2 -2
- data/lib/ad_manager_api/v202305/activity_group_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/activity_service.rb +2 -2
- data/lib/ad_manager_api/v202305/activity_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/ad_rule_service.rb +2 -2
- data/lib/ad_manager_api/v202305/ad_rule_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/adjustment_service.rb +2 -2
- data/lib/ad_manager_api/v202305/adjustment_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/audience_segment_service.rb +2 -2
- data/lib/ad_manager_api/v202305/audience_segment_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/cdn_configuration_service.rb +2 -2
- data/lib/ad_manager_api/v202305/cdn_configuration_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/cms_metadata_service.rb +2 -2
- data/lib/ad_manager_api/v202305/cms_metadata_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/company_service.rb +2 -2
- data/lib/ad_manager_api/v202305/company_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/contact_service.rb +2 -2
- data/lib/ad_manager_api/v202305/contact_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/content_bundle_service.rb +2 -2
- data/lib/ad_manager_api/v202305/content_bundle_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/content_service.rb +2 -2
- data/lib/ad_manager_api/v202305/content_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_review_service.rb +2 -10
- data/lib/ad_manager_api/v202305/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/v202305/creative_service.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_set_service.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_set_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_template_service.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_template_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_wrapper_service.rb +2 -2
- data/lib/ad_manager_api/v202305/creative_wrapper_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/custom_field_service.rb +2 -2
- data/lib/ad_manager_api/v202305/custom_field_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202305/custom_targeting_service.rb +2 -2
- data/lib/ad_manager_api/v202305/custom_targeting_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/dai_authentication_key_service.rb +2 -2
- data/lib/ad_manager_api/v202305/dai_authentication_key_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/dai_encoding_profile_service.rb +2 -2
- data/lib/ad_manager_api/v202305/dai_encoding_profile_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/forecast_service.rb +2 -2
- data/lib/ad_manager_api/v202305/forecast_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/inventory_service.rb +2 -2
- data/lib/ad_manager_api/v202305/inventory_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/label_service.rb +2 -2
- data/lib/ad_manager_api/v202305/label_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_creative_association_service.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_creative_association_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_service.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_template_service.rb +2 -2
- data/lib/ad_manager_api/v202305/line_item_template_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/live_stream_event_service.rb +2 -2
- data/lib/ad_manager_api/v202305/live_stream_event_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/mobile_application_service.rb +2 -2
- data/lib/ad_manager_api/v202305/mobile_application_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/native_style_service.rb +2 -2
- data/lib/ad_manager_api/v202305/native_style_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/network_service.rb +2 -2
- data/lib/ad_manager_api/v202305/network_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/order_service.rb +2 -2
- data/lib/ad_manager_api/v202305/order_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/placement_service.rb +2 -2
- data/lib/ad_manager_api/v202305/placement_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/proposal_line_item_service.rb +2 -2
- data/lib/ad_manager_api/v202305/proposal_line_item_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/proposal_service.rb +2 -2
- data/lib/ad_manager_api/v202305/proposal_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/publisher_query_language_service.rb +2 -2
- data/lib/ad_manager_api/v202305/publisher_query_language_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/report_service.rb +2 -2
- data/lib/ad_manager_api/v202305/report_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/segment_population_service.rb +2 -2
- data/lib/ad_manager_api/v202305/segment_population_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/site_service.rb +2 -2
- data/lib/ad_manager_api/v202305/site_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/stream_activity_monitor_service.rb +2 -2
- data/lib/ad_manager_api/v202305/stream_activity_monitor_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/suggested_ad_unit_service.rb +2 -2
- data/lib/ad_manager_api/v202305/suggested_ad_unit_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/targeting_preset_service.rb +2 -2
- data/lib/ad_manager_api/v202305/targeting_preset_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/team_service.rb +2 -2
- data/lib/ad_manager_api/v202305/team_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202305/user_service.rb +2 -2
- data/lib/ad_manager_api/v202305/user_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202305/user_team_association_service.rb +2 -2
- data/lib/ad_manager_api/v202305/user_team_association_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202305/yield_group_service.rb +2 -2
- data/lib/ad_manager_api/v202305/yield_group_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/activity_group_service.rb +2 -2
- data/lib/ad_manager_api/v202308/activity_group_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/activity_service.rb +2 -2
- data/lib/ad_manager_api/v202308/activity_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/ad_rule_service.rb +2 -2
- data/lib/ad_manager_api/v202308/ad_rule_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/adjustment_service.rb +2 -2
- data/lib/ad_manager_api/v202308/adjustment_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/audience_segment_service.rb +2 -2
- data/lib/ad_manager_api/v202308/audience_segment_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/cdn_configuration_service.rb +2 -2
- data/lib/ad_manager_api/v202308/cdn_configuration_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/cms_metadata_service.rb +2 -2
- data/lib/ad_manager_api/v202308/cms_metadata_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/company_service.rb +2 -2
- data/lib/ad_manager_api/v202308/company_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/contact_service.rb +2 -2
- data/lib/ad_manager_api/v202308/contact_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/content_bundle_service.rb +2 -2
- data/lib/ad_manager_api/v202308/content_bundle_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/content_service.rb +2 -2
- data/lib/ad_manager_api/v202308/content_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_review_service.rb +2 -10
- data/lib/ad_manager_api/v202308/creative_review_service_registry.rb +4 -4
- data/lib/ad_manager_api/v202308/creative_service.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_set_service.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_set_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_template_service.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_template_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_wrapper_service.rb +2 -2
- data/lib/ad_manager_api/v202308/creative_wrapper_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/custom_field_service.rb +2 -2
- data/lib/ad_manager_api/v202308/custom_field_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202308/custom_targeting_service.rb +2 -2
- data/lib/ad_manager_api/v202308/custom_targeting_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/dai_authentication_key_service.rb +2 -2
- data/lib/ad_manager_api/v202308/dai_authentication_key_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/dai_encoding_profile_service.rb +2 -2
- data/lib/ad_manager_api/v202308/dai_encoding_profile_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/forecast_service.rb +2 -2
- data/lib/ad_manager_api/v202308/forecast_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/inventory_service.rb +2 -2
- data/lib/ad_manager_api/v202308/inventory_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/label_service.rb +2 -2
- data/lib/ad_manager_api/v202308/label_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_creative_association_service.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_creative_association_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_service.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_template_service.rb +2 -2
- data/lib/ad_manager_api/v202308/line_item_template_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/live_stream_event_service.rb +2 -2
- data/lib/ad_manager_api/v202308/live_stream_event_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/mobile_application_service.rb +2 -2
- data/lib/ad_manager_api/v202308/mobile_application_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/native_style_service.rb +2 -2
- data/lib/ad_manager_api/v202308/native_style_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/network_service.rb +2 -2
- data/lib/ad_manager_api/v202308/network_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/order_service.rb +2 -2
- data/lib/ad_manager_api/v202308/order_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/placement_service.rb +2 -2
- data/lib/ad_manager_api/v202308/placement_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/proposal_line_item_service.rb +2 -2
- data/lib/ad_manager_api/v202308/proposal_line_item_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/proposal_service.rb +2 -2
- data/lib/ad_manager_api/v202308/proposal_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/publisher_query_language_service.rb +2 -2
- data/lib/ad_manager_api/v202308/publisher_query_language_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/report_service.rb +2 -2
- data/lib/ad_manager_api/v202308/report_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/segment_population_service.rb +2 -2
- data/lib/ad_manager_api/v202308/segment_population_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/site_service.rb +2 -2
- data/lib/ad_manager_api/v202308/site_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/stream_activity_monitor_service.rb +2 -2
- data/lib/ad_manager_api/v202308/stream_activity_monitor_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/suggested_ad_unit_service.rb +2 -2
- data/lib/ad_manager_api/v202308/suggested_ad_unit_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/targeting_preset_service.rb +2 -2
- data/lib/ad_manager_api/v202308/targeting_preset_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/team_service.rb +2 -2
- data/lib/ad_manager_api/v202308/team_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202308/user_service.rb +2 -2
- data/lib/ad_manager_api/v202308/user_service_registry.rb +3 -3
- data/lib/ad_manager_api/v202308/user_team_association_service.rb +2 -2
- data/lib/ad_manager_api/v202308/user_team_association_service_registry.rb +2 -2
- data/lib/ad_manager_api/v202308/yield_group_service.rb +2 -2
- data/lib/ad_manager_api/v202308/yield_group_service_registry.rb +2 -2
- data/lib/ad_manager_api/{v202211 → v202311}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/activity_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/activity_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/activity_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/ad_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/adjustment_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/adjustment_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/audience_segment_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/cms_metadata_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/cms_metadata_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/company_service.rb +7 -7
- data/lib/ad_manager_api/v202311/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/content_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/content_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/creative_review_service.rb +7 -15
- data/lib/ad_manager_api/v202311/creative_review_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202211 → v202311}/creative_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/creative_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/creative_wrapper_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/custom_targeting_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/dai_encoding_profile_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/dai_encoding_profile_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/forecast_service.rb +7 -7
- data/lib/ad_manager_api/v202311/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/inventory_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/line_item_creative_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/line_item_creative_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202311/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v202311/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/live_stream_event_service.rb +7 -7
- data/lib/ad_manager_api/v202311/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/v202311/mobile_application_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/native_style_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/network_service.rb +7 -7
- data/lib/ad_manager_api/v202311/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/order_service.rb +7 -7
- data/lib/ad_manager_api/v202311/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202311/proposal_line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/v202311/proposal_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/report_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/report_service_registry.rb +4 -4
- data/lib/ad_manager_api/v202311/segment_population_service.rb +54 -0
- data/lib/ad_manager_api/v202311/segment_population_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202211 → v202311}/site_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/site_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202311/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202302 → v202311}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202311}/suggested_ad_unit_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/targeting_preset_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202311}/team_service.rb +7 -7
- data/lib/ad_manager_api/v202311/team_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202311}/user_service.rb +7 -7
- data/lib/ad_manager_api/v202311/user_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202311}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202311}/yield_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202311}/yield_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/activity_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/activity_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/adjustment_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/adjustment_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/cdn_configuration_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/cms_metadata_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/cms_metadata_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/company_service.rb +7 -7
- data/lib/ad_manager_api/v202402/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/contact_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/contact_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/content_bundle_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/content_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/content_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/creative_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/creative_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/creative_set_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/creative_template_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/creative_wrapper_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/custom_field_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/custom_targeting_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/dai_authentication_key_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/dai_encoding_profile_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/dai_encoding_profile_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/forecast_service.rb +7 -7
- data/lib/ad_manager_api/v202402/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/inventory_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/label_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/label_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/line_item_creative_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/line_item_creative_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202402/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v202402/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/live_stream_event_service.rb +7 -7
- data/lib/ad_manager_api/v202402/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/v202402/mobile_application_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/native_style_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/network_service.rb +7 -7
- data/lib/ad_manager_api/v202402/network_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/order_service.rb +7 -7
- data/lib/ad_manager_api/v202402/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/placement_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/placement_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/v202402/proposal_line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/v202402/proposal_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/report_service.rb +7 -7
- data/lib/ad_manager_api/v202402/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/v202402/segment_population_service.rb +54 -0
- data/lib/ad_manager_api/v202402/segment_population_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202302 → v202402}/site_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/site_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/stream_activity_monitor_service.rb +7 -7
- data/lib/ad_manager_api/v202402/stream_activity_monitor_service_registry.rb +43 -0
- data/lib/ad_manager_api/{v202211 → v202402}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/{v202302 → v202402}/suggested_ad_unit_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/targeting_preset_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/targeting_preset_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202302 → v202402}/team_service.rb +7 -7
- data/lib/ad_manager_api/v202402/team_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202302 → v202402}/user_service.rb +7 -7
- data/lib/ad_manager_api/v202402/user_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v202211 → v202402}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/user_team_association_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v202211 → v202402}/yield_group_service.rb +7 -7
- data/lib/ad_manager_api/{v202211 → v202402}/yield_group_service_registry.rb +4 -4
- data/lib/ad_manager_api/version.rb +1 -1
- metadata +183 -181
- data/lib/ad_manager_api/v202211/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/creative_review_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202211/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/stream_activity_monitor_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202211/team_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202211/user_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/creative_review_service.rb +0 -46
- data/lib/ad_manager_api/v202302/creative_review_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202302/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/stream_activity_monitor_service_registry.rb +0 -43
- data/lib/ad_manager_api/v202302/team_service_registry.rb +0 -45
- data/lib/ad_manager_api/v202302/user_service_registry.rb +0 -45
@@ -1,43 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:19.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V202211; 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=>:google_video_id, :type=>"string", :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", "AD_POD_DROPPED_INCOMPATIBLE_TIMEOFFSET", "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
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:20.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V202211; module TeamService
|
13
|
-
class TeamServiceRegistry
|
14
|
-
TEAMSERVICE_METHODS = {:create_teams=>{:input=>[{:name=>:teams, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_teams_response", :fields=>[{:name=>:rval, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_teams_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_teams_by_statement_response", :fields=>[{:name=>:rval, :type=>"TeamPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_team_action=>{:input=>[{:name=>:team_action, :type=>"TeamAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_team_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_teams=>{:input=>[{:name=>:teams, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_teams_response", :fields=>[{:name=>:rval, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
TEAMSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateTeams=>{:fields=>[], :base=>"TeamAction"}, :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"}, :DeactivateTeams=>{:fields=>[], :base=>"TeamAction"}, :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"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OrderError=>{:fields=>[{:name=>:reason, :type=>"OrderError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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}]}, :TeamAction=>{:fields=>[], :abstract=>true}, :Team=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"TeamStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_all_companies, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_all_inventory, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TeamPage=>{: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=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"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"]}, :"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"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NULL_CONTENT"]}, :"OrderError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_CANCELED_ORDER_NOT_ALLOWED", "UPDATE_PENDING_APPROVAL_ORDER_NOT_ALLOWED", "UPDATE_ARCHIVED_ORDER_NOT_ALLOWED", "CANNOT_MODIFY_PROPOSAL_ID", "PRIMARY_USER_REQUIRED", "PRIMARY_USER_CANNOT_BE_SECONDARY", "ORDER_TEAM_NOT_ASSOCIATED_WITH_ADVERTISER", "USER_NOT_ON_ORDERS_TEAMS", "AGENCY_NOT_ON_ORDERS_TEAMS", "INVALID_FIELDS_SET_FOR_NON_PROGRAMMATIC_ORDER", "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"]}, :TeamAccessType=>{:type=>"string", :enumerations=>["NONE", "READ_ONLY", "READ_WRITE"]}, :"TeamError.Reason"=>{:type=>"string", :enumerations=>["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}, :TeamStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "UNKNOWN"]}}
|
16
|
-
TEAMSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return TEAMSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return TEAMSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return TEAMSERVICE_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, TeamServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:21.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V202211; module UserService
|
13
|
-
class UserServiceRegistry
|
14
|
-
USERSERVICE_METHODS = {:create_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_all_roles=>{:input=>[], :output=>{:name=>"get_all_roles_response", :fields=>[{:name=>:rval, :type=>"Role", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_current_user=>{:input=>[], :output=>{:name=>"get_current_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :get_users_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_users_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_action=>{:input=>[{:name=>:user_action, :type=>"UserAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
USERSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateUsers=>{:fields=>[], :base=>"UserAction"}, :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"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.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"}, :DeactivateUsers=>{:fields=>[], :base=>"UserAction"}, :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"}, :InvalidEmailError=>{:fields=>[{:name=>:reason, :type=>"InvalidEmailError.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"}, :Role=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"RoleStatus", :min_occurs=>0, :max_occurs=>1}]}, :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}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TimeZoneError=>{:fields=>[{:name=>:reason, :type=>"TimeZoneError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TokenError=>{:fields=>[{:name=>:reason, :type=>"TokenError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserAction=>{:fields=>[], :abstract=>true}, :User=>{:fields=>[{:name=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_email_notification_allowed, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_service_account, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:orders_ui_local_time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecord"}, :UserPage=>{: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=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}, :UserRecord=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"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"]}, :"CustomFieldValueError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_FIELD_NOT_FOUND", "CUSTOM_FIELD_INACTIVE", "CUSTOM_FIELD_OPTION_NOT_FOUND", "INVALID_ENTITY_TYPE", "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"]}, :"InvalidEmailError.Reason"=>{:type=>"string", :enumerations=>["INVALID_FORMAT", "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"]}, :RoleStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "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"]}, :"TeamError.Reason"=>{:type=>"string", :enumerations=>["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}, :"TimeZoneError.Reason"=>{:type=>"string", :enumerations=>["INVALID_TIMEZONE_ID", "TIMEZONE_ID_IN_WRONG_FORMAT", "UNKNOWN"]}, :"TokenError.Reason"=>{:type=>"string", :enumerations=>["INVALID", "EXPIRED", "UNKNOWN"]}}
|
16
|
-
USERSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return USERSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return USERSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return USERSERVICE_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, UserServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:30.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V202302; module CompanyService
|
13
|
-
class CompanyServiceRegistry
|
14
|
-
COMPANYSERVICE_METHODS = {:create_companies=>{:input=>[{:name=>:companies, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_companies_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_companies_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_companies_by_statement_response", :fields=>[{:name=>:rval, :type=>"CompanyPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_company_action=>{:input=>[{:name=>:company_action, :type=>"CompanyAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_company_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_companies=>{:input=>[{:name=>:companies, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_companies_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
COMPANYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ChildPublisher=>{:fields=>[{:name=>:approved_delegation_type, :type=>"DelegationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposed_delegation_type, :type=>"DelegationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"DelegationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_status, :type=>"AccountStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:child_network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:seller_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposed_revenue_share_millipercent, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:onboarding_tasks, :type=>"OnboardingTask", :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}]}, :AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :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"}, :CompanyAction=>{:fields=>[], :abstract=>true}, :CompanyCreditStatusError=>{:fields=>[{:name=>:reason, :type=>"CompanyCreditStatusError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Company=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Company.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fax_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:primary_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:credit_status, :type=>"Company.CreditStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:settings, :type=>"CompanySettings", :min_occurs=>0, :max_occurs=>1}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:primary_contact_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:applied_team_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:third_party_company_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:child_publisher, :type=>"ChildPublisher", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewability_provider, :type=>"ViewabilityProvider", :min_occurs=>0, :max_occurs=>1}]}, :CompanyError=>{:fields=>[{:name=>:reason, :type=>"CompanyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CompanyPage=>{: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=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CompanySettings=>{:fields=>[]}, :CrossSellError=>{:fields=>[{:name=>:reason, :type=>"CrossSellError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.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"}, :ReInviteAction=>{:fields=>[{:name=>:proposed_delegation_type, :type=>"DelegationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposed_revenue_share_millipercent, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposed_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"CompanyAction"}, :EndAgreementAction=>{:fields=>[], :base=>"CompanyAction"}, :ExchangeSignupApiError=>{:fields=>[{:name=>:reason, :type=>"ExchangeSignupApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :InvalidEmailError=>{:fields=>[{:name=>:reason, :type=>"InvalidEmailError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryClientApiError=>{:fields=>[{:name=>:reason, :type=>"InventoryClientApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NetworkError=>{:fields=>[{:name=>:reason, :type=>"NetworkError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.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"}, :RegExError=>{:fields=>[{:name=>:reason, :type=>"RegExError.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"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ResendInvitationAction=>{:fields=>[], :base=>"CompanyAction"}, :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"}, :SiteError=>{:fields=>[{:name=>:reason, :type=>"SiteError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :ViewabilityProvider=>{:fields=>[{:name=>:vendor_key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:verification_script_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:verification_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:verification_rejection_tracker_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DelegationStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "APPROVED", "PENDING", "REJECTED", "WITHDRAWN"]}, :DelegationType=>{:type=>"string", :enumerations=>["UNKNOWN", "MANAGE_ACCOUNT", "MANAGE_INVENTORY"]}, :AccountStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "INVITED", "DECLINED", "PENDING_GOOGLE_APPROVAL", "APPROVED", "CLOSED_POLICY_VIOLATION", "CLOSED_INVALID_ACTIVITY", "CLOSED_BY_PUBLISHER", "DISAPPROVED_INELIGIBLE", "DISAPPROVED_DUPLICATE_ACCOUNT", "EXPIRED", "INACTIVE", "DEACTIVATED_BY_AD_MANAGER"]}, :"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"]}, :"CompanyCreditStatusError.Reason"=>{:type=>"string", :enumerations=>["COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED", "CANNOT_USE_CREDIT_STATUS_SETTING", "CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING", "UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER", "UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM", "CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS", "UNKNOWN"]}, :"Company.CreditStatus"=>{:type=>"string", :enumerations=>["ACTIVE", "ON_HOLD", "CREDIT_STOP", "INACTIVE", "BLOCKED"]}, :"Company.Type"=>{:type=>"string", :enumerations=>["HOUSE_ADVERTISER", "HOUSE_AGENCY", "ADVERTISER", "AGENCY", "AD_NETWORK", "PARTNER", "CHILD_PUBLISHER", "VIEWABILITY_PROVIDER", "UNKNOWN"]}, :"CompanyError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_SET_THIRD_PARTY_COMPANY_DUE_TO_TYPE", "CANNOT_UPDATE_COMPANY_TYPE", "INVALID_COMPANY_TYPE", "PRIMARY_CONTACT_DOES_NOT_BELONG_TO_THIS_COMPANY", "THIRD_PARTY_STATS_PROVIDER_IS_WRONG_ROLE_TYPE", "INVALID_LABEL_ASSOCIATION", "INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING", "INVALID_DEFAULT_BILLING_SETTING", "COMPANY_HAS_ACTIVE_SHARE_ASSIGNMENTS", "UNKNOWN"]}, :"CrossSellError.Reason"=>{:type=>"string", :enumerations=>["COMPANY_IS_NOT_DISTRIBUTION_PARTNER", "CHANGING_PARTNER_NETWORK_IS_NOT_SUPPORTED", "MISSING_DISTRIBUTOR_PARTNER_NAME", "DISTRIBUTOR_NETWORK_MISSING_PUBLISHER_FEATURE", "CONTENT_PROVIDER_NETWORK_MISSING_PUBLISHER_FEATURE", "INVALID_DISTRIBUTOR_PARTNER_NAME", "INVALID_CONTENT_PROVIDER_NETWORK", "CONTENT_PROVIDER_NETWORK_CANNOT_BE_ACTIVE_NETWORK", "CONTENT_PROVIDER_NETWORK_ALREADY_ENABLED_FOR_CROSS_SELLING", "DISTRIBUTOR_RULE_VIOLATION_ERROR", "DISTRIBUTOR_RULE_VIOLATION_WARNING", "UNKNOWN"]}, :"CustomFieldValueError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_FIELD_NOT_FOUND", "CUSTOM_FIELD_INACTIVE", "CUSTOM_FIELD_OPTION_NOT_FOUND", "INVALID_ENTITY_TYPE", "UNKNOWN"]}, :"ExchangeSignupApiError.Reason"=>{:type=>"string", :enumerations=>["ADSENSE_ACCOUNT_CREATION_ERROR", "ADSENSE_ACCOUNT_ALREADY_HAS_EXCHANGE", "FAILED_TO_ADD_WEBSITE_TO_PROPERTY", "FAILED_TO_CREATE_LINK_FOR_NEW_ACCOUNT", "CANNOT_CREATE_NEW_ACCOUNT_FOR_MAPPED_CUSTOMER", "FAILED_TO_CREATE_EXCHANGE_SETTINGS", "DUPLICATE_PRODUCT_TYPE", "INVALID_SIGNUP_PRODUCT", "UNKNOWN_PRODUCT", "BAD_SITE_VERIFICATION_UPDATE_REQUEST", "NO_EXCHANGE_ACCOUNT", "SINGLE_SYNDICATION_PRODUCT", "ACCOUNT_NOT_YET_READY", "MULTIPLE_ADSENSE_ACCOUNTS_NOT_ALLOWED", "MISSING_LEGAL_ENTITY_NAME", "MISSING_ACTIVE_BILLING_PROFILE", "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"]}, :"InvalidEmailError.Reason"=>{:type=>"string", :enumerations=>["INVALID_FORMAT", "UNKNOWN"]}, :"InvalidUrlError.Reason"=>{:type=>"string", :enumerations=>["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "UNKNOWN"]}, :"InventoryClientApiError.Reason"=>{:type=>"string", :enumerations=>["ACCESS_DENIED", "ADSENSE_AUTH_ERROR", "ADSENSE_RPC_ERROR", "DOMAIN_NO_SCHEME", "DOMAIN_INVALID_HOST", "DOMAIN_INVALID_TLD", "DOMAIN_ONE_STRING_AND_PUBLIC_SUFFIX", "DOMAIN_INVALID_INPUT", "DOMAIN_NO_PUBLIC_SUFFIX", "UNKNOWN_ERROR"]}, :"LabelEntityAssociationError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ASSOCIATION", "INVALID_ASSOCIATION", "NEGATION_NOT_ALLOWED", "DUPLICATE_ASSOCIATION_WITH_NEGATION", "UNKNOWN"]}, :"NetworkError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "MULTI_CURRENCY_NOT_SUPPORTED", "UNSUPPORTED_CURRENCY", "NETWORK_CURRENCY_CANNOT_BE_SAME_AS_SECONDARY", "CANNOT_DELETE_CURRENCY_WITH_ACTIVE_RATE_CARDS", "DELEGATION_CHILD_NETWORK_CANNOT_BECOME_A_PARENT", "DELEGATION_PARENT_NETWORK_CANNOT_BECOME_A_CHILD", "CANNOT_ADD_SAME_NETWORK_AS_DELEGATION_CHILD", "MAX_APPROVED_DELEGATION_CHILD_NETWORKS_EXCEEDED", "MAX_PENDING_DELEGATION_CHILD_NETWORKS_EXCEEDED", "CHILD_NETWORK_ALREADY_EXISTS", "CHILD_NETWORK_CANNOT_BE_DISAPPROVED", "IN_PARENT_DELEGATION_UNSUPPORTED_FOR_NETWORK"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NOT_NULL", "UNKNOWN"]}, :OnboardingTask=>{:type=>"string", :enumerations=>["UNKNOWN", "BILLING_PROFILE_CREATION", "PHONE_PIN_VERIFICATION", "AD_MANAGER_ACCOUNT_SETUP"]}, :"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"]}, :"RegExError.Reason"=>{:type=>"string", :enumerations=>["INVALID", "NULL", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"RequiredNumberError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "TOO_LARGE_WITH_DETAILS", "TOO_SMALL_WITH_DETAILS", "UNKNOWN"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"SiteError.Reason"=>{:type=>"string", :enumerations=>["INVALID_CHILD_NETWORK_CODE", "CANNOT_ARCHIVE_SITE_WITH_SUBSITES", "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"]}, :"TeamError.Reason"=>{:type=>"string", :enumerations=>["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}}
|
16
|
-
COMPANYSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return COMPANYSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return COMPANYSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return COMPANYSERVICE_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, CompanyServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:34.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/v202302/creative_review_service_registry'
|
12
|
-
|
13
|
-
module AdManagerApi; module V202302; module CreativeReviewService
|
14
|
-
class CreativeReviewService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/v202302'
|
17
|
-
super(config, endpoint, namespace, :v202302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get_creative_reviews_by_statement(*args, &block)
|
21
|
-
return execute_action('get_creative_reviews_by_statement', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_creative_reviews_by_statement_to_xml(*args)
|
25
|
-
return get_soap_xml('get_creative_reviews_by_statement', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def perform_creative_review_action(*args, &block)
|
29
|
-
return execute_action('perform_creative_review_action', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def perform_creative_review_action_to_xml(*args)
|
33
|
-
return get_soap_xml('perform_creative_review_action', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
private
|
37
|
-
|
38
|
-
def get_service_registry()
|
39
|
-
return CreativeReviewServiceRegistry
|
40
|
-
end
|
41
|
-
|
42
|
-
def get_module()
|
43
|
-
return AdManagerApi::V202302::CreativeReviewService
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,43 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2023, 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 2023-08-15 13:41:34.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V202302; module CreativeReviewService
|
13
|
-
class CreativeReviewServiceRegistry
|
14
|
-
CREATIVEREVIEWSERVICE_METHODS = {:get_creative_reviews_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_creative_reviews_by_statement_response", :fields=>[{:name=>:rval, :type=>"CreativeReviewPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_creative_review_action=>{:input=>[{:name=>:creative_review_action, :type=>"CreativeReviewAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_creative_review_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CREATIVEREVIEWSERVICE_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}]}, :ApproveCreativeReviews=>{:fields=>[], :base=>"CreativeReviewAction"}, :ArchiveCreativeReviews=>{:fields=>[], :base=>"CreativeReviewAction"}, :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"}, :CreativeReviewAction=>{:fields=>[], :abstract=>true}, :CreativeReview=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:reviewable_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :CreativeReviewPage=>{: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=>"CreativeReview", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DisapproveCreativeReviews=>{:fields=>[], :base=>"CreativeReviewAction"}, :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"}, :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"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"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"]}, :"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"]}, :"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
|
-
CREATIVEREVIEWSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CREATIVEREVIEWSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CREATIVEREVIEWSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CREATIVEREVIEWSERVICE_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, CreativeReviewServiceRegistry)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end; end; end
|