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
@@ -2,17 +2,17 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:44.
|
9
9
|
|
10
10
|
require 'ad_manager_api/errors'
|
11
11
|
|
12
|
-
module AdManagerApi; module
|
12
|
+
module AdManagerApi; module V202311; module ContactService
|
13
13
|
class ContactServiceRegistry
|
14
14
|
CONTACTSERVICE_METHODS = {:create_contacts=>{:input=>[{:name=>:contacts, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_contacts_response", :fields=>[{:name=>:rval, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_contacts_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_contacts_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContactPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_contacts=>{:input=>[{:name=>:contacts, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_contacts_response", :fields=>[{:name=>:rval, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
CONTACTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Contact=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Contact.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cell_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :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=>:title, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:work_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseContact"}, :ContactError=>{:fields=>[{:name=>:reason, :type=>"ContactError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContactPage=>{: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=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BaseContact=>{:fields=>[]}, :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"}, :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"}, :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"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :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"]}, :"Contact.Status"=>{:type=>"string", :enumerations=>["UNINVITED", "INVITE_PENDNG", "INVITE_EXPIRED", "INVITE_CANCELED", "USER_ACTIVE", "USER_DISABLED", "UNKNOWN"]}, :"ContactError.Reason"=>{:type=>"string", :enumerations=>["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"]}, :"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"]}}
|
15
|
+
CONTACTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Contact=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Contact.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cell_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :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=>:title, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:work_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseContact"}, :ContactError=>{:fields=>[{:name=>:reason, :type=>"ContactError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContactPage=>{: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=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BaseContact=>{:fields=>[]}, :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"}, :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"}, :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"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :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"]}, :"Contact.Status"=>{:type=>"string", :enumerations=>["UNINVITED", "INVITE_PENDNG", "INVITE_EXPIRED", "INVITE_CANCELED", "USER_ACTIVE", "USER_DISABLED", "UNKNOWN"]}, :"ContactError.Reason"=>{:type=>"string", :enumerations=>["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", "SEGMENT_POPULATION_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
16
|
CONTACTSERVICE_NAMESPACES = []
|
17
17
|
|
18
18
|
def self.get_method_signature(method_name)
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:45.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202311/content_bundle_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202311; module ContentBundleService
|
14
14
|
class ContentBundleService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202311'
|
17
|
+
super(config, endpoint, namespace, :v202311)
|
18
18
|
end
|
19
19
|
|
20
20
|
def create_content_bundles(*args, &block)
|
@@ -56,7 +56,7 @@ module AdManagerApi; module V202302; module ContentBundleService
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def get_module()
|
59
|
-
return AdManagerApi::
|
59
|
+
return AdManagerApi::V202311::ContentBundleService
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end; end; end
|
@@ -2,17 +2,17 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:45.
|
9
9
|
|
10
10
|
require 'ad_manager_api/errors'
|
11
11
|
|
12
|
-
module AdManagerApi; module
|
12
|
+
module AdManagerApi; module V202311; module ContentBundleService
|
13
13
|
class ContentBundleServiceRegistry
|
14
14
|
CONTENTBUNDLESERVICE_METHODS = {:create_content_bundles=>{:input=>[{:name=>:content_bundles, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_content_bundles_response", :fields=>[{:name=>:rval, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_content_bundles_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_bundles_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentBundlePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_content_bundle_action=>{:input=>[{:name=>:content_bundle_action, :type=>"ContentBundleAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_content_bundle_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_content_bundles=>{:input=>[{:name=>:content_bundles, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_content_bundles_response", :fields=>[{:name=>:rval, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
CONTENTBUNDLESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :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"}, :ContentBundleAction=>{:fields=>[], :abstract=>true}, :ContentBundle=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentBundleStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :ContentBundlePage=>{: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=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ContentFilterError=>{:fields=>[{:name=>:reason, :type=>"ContentFilterError.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"}, :DeactivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :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"}, :PlacementError=>{:fields=>[{:name=>:reason, :type=>"PlacementError.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"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.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"}, :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"]}, :ContentBundleStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "ARCHIVED", "UNKNOWN"]}, :"ContentFilterError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "WRONG_NUMBER_OF_ARGUMENTS", "ANY_FILTER_NOT_SUPPORTED"]}, :"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"]}, :"PlacementError.Reason"=>{:type=>"string", :enumerations=>["INVALID_ENTITY_TYPE", "SHARED_INVENTORY_ASSIGNED", "PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS", "PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY", "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"]}, :"RequestError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "INVALID_INPUT", "UNSUPPORTED_VERSION"]}, :"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"]}}
|
15
|
+
CONTENTBUNDLESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :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"}, :ContentBundleAction=>{:fields=>[], :abstract=>true}, :ContentBundle=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentBundleStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :ContentBundlePage=>{: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=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ContentFilterError=>{:fields=>[{:name=>:reason, :type=>"ContentFilterError.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"}, :DeactivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :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"}, :PlacementError=>{:fields=>[{:name=>:reason, :type=>"PlacementError.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"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.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"}, :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"]}, :ContentBundleStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "ARCHIVED", "UNKNOWN"]}, :"ContentFilterError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "WRONG_NUMBER_OF_ARGUMENTS", "ANY_FILTER_NOT_SUPPORTED"]}, :"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"]}, :"PlacementError.Reason"=>{:type=>"string", :enumerations=>["INVALID_ENTITY_TYPE", "SHARED_INVENTORY_ASSIGNED", "PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS", "PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY", "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", "SEGMENT_POPULATION_LIMIT"]}, :"RequestError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "INVALID_INPUT", "UNSUPPORTED_VERSION"]}, :"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
16
|
CONTENTBUNDLESERVICE_NAMESPACES = []
|
17
17
|
|
18
18
|
def self.get_method_signature(method_name)
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:46.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202311/content_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202311; module ContentService
|
14
14
|
class ContentService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202311'
|
17
|
+
super(config, endpoint, namespace, :v202311)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_content_by_statement(*args, &block)
|
@@ -32,7 +32,7 @@ module AdManagerApi; module V202302; module ContentService
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def get_module()
|
35
|
-
return AdManagerApi::
|
35
|
+
return AdManagerApi::V202311::ContentService
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end; end; end
|
@@ -2,17 +2,17 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:46.
|
9
9
|
|
10
10
|
require 'ad_manager_api/errors'
|
11
11
|
|
12
|
-
module AdManagerApi; module
|
12
|
+
module AdManagerApi; module V202311; module ContentService
|
13
13
|
class ContentServiceRegistry
|
14
14
|
CONTENTSERVICE_METHODS = {:get_content_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentPage", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CONTENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CmsContent=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cms_content_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :Content=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:status_defined_by, :type=>"ContentStatusDefinedBy", :min_occurs=>0, :max_occurs=>1}, {:name=>:hls_ingest_status, :type=>"DaiIngestStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:hls_ingest_errors, :type=>"DaiIngestError", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_hls_ingest_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:dash_ingest_status, :type=>"DaiIngestStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:dash_ingest_errors, :type=>"DaiIngestError", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_dash_ingest_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:import_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:cms_sources, :type=>"CmsContent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cms_metadata_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :ContentPage=>{: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=>"Content", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DaiIngestError=>{:fields=>[{:name=>:reason, :type=>"DaiIngestErrorReason", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :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"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.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"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.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"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :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"]}, :ContentStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "ARCHIVED", "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"]}, :"InvalidUrlError.Reason"=>{:type=>"string", :enumerations=>["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "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"]}, :"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"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :ContentStatusDefinedBy=>{:type=>"string", :enumerations=>["CMS", "USER"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :DaiIngestErrorReason=>{:type=>"string", :enumerations=>["INVALID_INGEST_URL", "INVALID_CLOSED_CAPTION_URL", "MISSING_CLOSED_CAPTION_URL", "COULD_NOT_FETCH_HLS", "COULD_NOT_FETCH_SUBTITLES", "MISSING_SUBTITLE_LANGUAGE", "COULD_NOT_FETCH_MEDIA", "MALFORMED_MEDIA_BYTES", "CHAPTER_TIME_OUT_OF_BOUNDS", "INTERNAL_ERROR", "CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS", "MALFORMED_MEDIA_PLAYLIST", "MIXED_AD_BREAK_TAGS", "AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS", "MALFORMED_SUBTITLES", "PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH", "COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED", "COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED", "COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED", "PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES", "PLAYIST_HAS_NO_STARTING_PTS_VALUE", "PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH", "SEGMENT_HAS_NO_PTS", "SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED", "CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE", "NO_CDN_CONFIGURATION_FOUND", "CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG", "CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED", "ADTS_PARSE_ERROR", "AAC_SPLIT_ERROR", "AAC_PARSE_ERROR", "TS_PARSE_ERROR", "TS_SPLIT_ERROR", "UNSUPPORTED_CONTAINER_FORMAT", "MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS", "UNSUPPORTED_TS_MEDIA_FORMAT", "NO_IFRAMES_NEAR_CUE_POINT", "AC3_SPLIT_ERROR", "AC3_PARSE_ERROR", "EAC3_SPLIT_ERROR", "INVALID_ENCRYPTION_KEY", "EAC3_PARSE_ERROR", "CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT", "CLOSED_CAPTION_LANGUAGE_VALUE_INVALID", "CLOSED_CAPTION_NAME_VALUE_INVALID", "CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED", "CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS", "SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST", "UNKNOWN"]}, :DaiIngestStatus=>{:type=>"string", :enumerations=>["SUCCESS", "WARNING", "FAILURE", "UNKNOWN"]}}
|
15
|
+
CONTENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CmsContent=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cms_content_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :Content=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:status_defined_by, :type=>"ContentStatusDefinedBy", :min_occurs=>0, :max_occurs=>1}, {:name=>:hls_ingest_status, :type=>"DaiIngestStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:hls_ingest_errors, :type=>"DaiIngestError", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_hls_ingest_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:dash_ingest_status, :type=>"DaiIngestStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:dash_ingest_errors, :type=>"DaiIngestError", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_dash_ingest_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:import_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:cms_sources, :type=>"CmsContent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cms_metadata_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :ContentPage=>{: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=>"Content", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DaiIngestError=>{:fields=>[{:name=>:reason, :type=>"DaiIngestErrorReason", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :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"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.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"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.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"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :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"]}, :ContentStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "ARCHIVED", "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"]}, :"InvalidUrlError.Reason"=>{:type=>"string", :enumerations=>["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "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", "SEGMENT_POPULATION_LIMIT"]}, :"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"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :ContentStatusDefinedBy=>{:type=>"string", :enumerations=>["CMS", "USER"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :DaiIngestErrorReason=>{:type=>"string", :enumerations=>["INVALID_INGEST_URL", "INVALID_CLOSED_CAPTION_URL", "MISSING_CLOSED_CAPTION_URL", "COULD_NOT_FETCH_HLS", "COULD_NOT_FETCH_SUBTITLES", "MISSING_SUBTITLE_LANGUAGE", "COULD_NOT_FETCH_MEDIA", "MALFORMED_MEDIA_BYTES", "CHAPTER_TIME_OUT_OF_BOUNDS", "INTERNAL_ERROR", "CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS", "MALFORMED_MEDIA_PLAYLIST", "MIXED_AD_BREAK_TAGS", "AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS", "MALFORMED_SUBTITLES", "PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH", "COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED", "COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED", "COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED", "PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES", "PLAYIST_HAS_NO_STARTING_PTS_VALUE", "PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH", "SEGMENT_HAS_NO_PTS", "SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED", "CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE", "NO_CDN_CONFIGURATION_FOUND", "CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG", "CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED", "ADTS_PARSE_ERROR", "AAC_SPLIT_ERROR", "AAC_PARSE_ERROR", "TS_PARSE_ERROR", "TS_SPLIT_ERROR", "UNSUPPORTED_CONTAINER_FORMAT", "MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS", "UNSUPPORTED_TS_MEDIA_FORMAT", "NO_IFRAMES_NEAR_CUE_POINT", "AC3_SPLIT_ERROR", "AC3_PARSE_ERROR", "EAC3_SPLIT_ERROR", "INVALID_ENCRYPTION_KEY", "EAC3_PARSE_ERROR", "CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT", "DASH_CUE_POINT_EVENT_MISMATCH", "DASH_MANIFEST_CONDITIONING_FAILED", "DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR", "CLOSED_CAPTION_LANGUAGE_VALUE_INVALID", "CLOSED_CAPTION_NAME_VALUE_INVALID", "CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED", "CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS", "SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST", "INVALID_MEDIA_PROFILE", "UNKNOWN"]}, :DaiIngestStatus=>{:type=>"string", :enumerations=>["SUCCESS", "WARNING", "INGESTED", "INGESTED_WITH_WARNINGS", "CONDITIONED", "CONDITIONED_WITH_WARNINGS", "FAILURE", "UNKNOWN"]}}
|
16
16
|
CONTENTSERVICE_NAMESPACES = []
|
17
17
|
|
18
18
|
def self.get_method_signature(method_name)
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:47.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202311/creative_review_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202311; module CreativeReviewService
|
14
14
|
class CreativeReviewService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202311'
|
17
|
+
super(config, endpoint, namespace, :v202311)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_creative_reviews_by_statement(*args, &block)
|
@@ -25,14 +25,6 @@ module AdManagerApi; module V202211; module CreativeReviewService
|
|
25
25
|
return get_soap_xml('get_creative_reviews_by_statement', args)
|
26
26
|
end
|
27
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
28
|
private
|
37
29
|
|
38
30
|
def get_service_registry()
|
@@ -40,7 +32,7 @@ module AdManagerApi; module V202211; module CreativeReviewService
|
|
40
32
|
end
|
41
33
|
|
42
34
|
def get_module()
|
43
|
-
return AdManagerApi::
|
35
|
+
return AdManagerApi::V202311::CreativeReviewService
|
44
36
|
end
|
45
37
|
end
|
46
38
|
end; end; end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2024, 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 2024-02-06 17:11:47.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V202311; 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}]}}}
|
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}]}, :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"}, :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"}, :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"}, :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", "SEGMENT_POPULATION_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
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.3 on
|
8
|
+
# Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:11:47.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v202311/creative_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V202311; module CreativeService
|
14
14
|
class CreativeService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v202311'
|
17
|
+
super(config, endpoint, namespace, :v202311)
|
18
18
|
end
|
19
19
|
|
20
20
|
def create_creatives(*args, &block)
|
@@ -56,7 +56,7 @@ module AdManagerApi; module V202211; module CreativeService
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def get_module()
|
59
|
-
return AdManagerApi::
|
59
|
+
return AdManagerApi::V202311::CreativeService
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end; end; end
|