google-dfp-api 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +8 -0
- data/lib/ad_manager_api/api_config.rb +30 -29
- data/lib/ad_manager_api/{v201711 → v201905}/activity_group_service.rb +7 -7
- data/lib/ad_manager_api/v201905/activity_group_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/activity_service.rb +7 -7
- data/lib/ad_manager_api/v201905/activity_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/ad_exclusion_rule_service.rb +7 -7
- data/lib/ad_manager_api/v201905/ad_exclusion_rule_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/ad_rule_service.rb +15 -7
- data/lib/ad_manager_api/v201905/ad_rule_service_registry.rb +45 -0
- data/lib/ad_manager_api/v201905/adjustment_service.rb +46 -0
- data/lib/ad_manager_api/v201905/adjustment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/audience_segment_service.rb +7 -7
- data/lib/ad_manager_api/v201905/audience_segment_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/base_rate_service.rb +7 -7
- data/lib/ad_manager_api/v201905/base_rate_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/cdn_configuration_service.rb +7 -7
- data/lib/ad_manager_api/v201905/cdn_configuration_service_registry.rb +45 -0
- data/lib/ad_manager_api/v201905/cms_metadata_service.rb +46 -0
- data/lib/ad_manager_api/v201905/cms_metadata_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/company_service.rb +7 -7
- data/lib/ad_manager_api/v201905/company_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/contact_service.rb +7 -7
- data/lib/ad_manager_api/v201905/contact_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/content_bundle_service.rb +7 -7
- data/lib/ad_manager_api/v201905/content_bundle_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/content_service.rb +7 -7
- data/lib/ad_manager_api/v201905/content_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/creative_service.rb +7 -7
- data/lib/ad_manager_api/v201905/creative_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/creative_set_service.rb +7 -7
- data/lib/ad_manager_api/v201905/creative_set_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/creative_template_service.rb +7 -7
- data/lib/ad_manager_api/v201905/creative_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/creative_wrapper_service.rb +7 -7
- data/lib/ad_manager_api/v201905/creative_wrapper_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/custom_field_service.rb +7 -7
- data/lib/ad_manager_api/v201905/custom_field_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/custom_targeting_service.rb +7 -7
- data/lib/ad_manager_api/v201905/custom_targeting_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/dai_authentication_key_service.rb +7 -7
- data/lib/ad_manager_api/v201905/dai_authentication_key_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/exchange_rate_service.rb +7 -7
- data/lib/ad_manager_api/v201905/exchange_rate_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/forecast_service.rb +7 -7
- data/lib/ad_manager_api/v201905/forecast_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/inventory_service.rb +7 -7
- data/lib/ad_manager_api/v201905/inventory_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/label_service.rb +7 -7
- data/lib/ad_manager_api/v201905/label_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/line_item_creative_association_service.rb +7 -7
- data/lib/ad_manager_api/v201905/line_item_creative_association_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/line_item_service.rb +15 -7
- data/lib/ad_manager_api/v201905/line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/line_item_template_service.rb +7 -7
- data/lib/ad_manager_api/v201905/line_item_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/live_stream_event_service.rb +7 -7
- data/lib/ad_manager_api/v201905/live_stream_event_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/mobile_application_service.rb +7 -7
- data/lib/ad_manager_api/v201905/mobile_application_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/native_style_service.rb +7 -7
- data/lib/ad_manager_api/v201905/native_style_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/network_service.rb +7 -7
- data/lib/ad_manager_api/{v201805 → v201905}/network_service_registry.rb +4 -4
- data/lib/ad_manager_api/{v201805 → v201905}/order_service.rb +7 -7
- data/lib/ad_manager_api/v201905/order_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/package_service.rb +7 -7
- data/lib/ad_manager_api/v201905/package_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/placement_service.rb +7 -7
- data/lib/ad_manager_api/v201905/placement_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/premium_rate_service.rb +7 -7
- data/lib/ad_manager_api/v201905/premium_rate_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/product_package_item_service.rb +7 -7
- data/lib/ad_manager_api/v201905/product_package_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/product_package_service.rb +7 -7
- data/lib/ad_manager_api/v201905/product_package_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/product_service.rb +7 -7
- data/lib/ad_manager_api/v201905/product_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/product_template_service.rb +7 -7
- data/lib/ad_manager_api/v201905/product_template_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/proposal_line_item_service.rb +7 -7
- data/lib/ad_manager_api/v201905/proposal_line_item_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/proposal_service.rb +7 -7
- data/lib/ad_manager_api/v201905/proposal_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/publisher_query_language_service.rb +7 -7
- data/lib/ad_manager_api/v201905/publisher_query_language_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/rate_card_service.rb +7 -7
- data/lib/ad_manager_api/v201905/rate_card_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/reconciliation_line_item_report_service.rb +7 -7
- data/lib/ad_manager_api/v201905/reconciliation_line_item_report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/reconciliation_order_report_service.rb +7 -7
- data/lib/ad_manager_api/v201905/reconciliation_order_report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/reconciliation_report_row_service.rb +7 -7
- data/lib/ad_manager_api/v201905/reconciliation_report_row_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/reconciliation_report_service.rb +7 -7
- data/lib/ad_manager_api/v201905/reconciliation_report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201802 → v201905}/report_service.rb +7 -7
- data/lib/ad_manager_api/v201905/report_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/suggested_ad_unit_service.rb +7 -7
- data/lib/ad_manager_api/v201905/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/ad_manager_api/v201905/targeting_preset_service.rb +38 -0
- data/lib/ad_manager_api/v201905/targeting_preset_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/team_service.rb +7 -7
- data/lib/ad_manager_api/v201905/team_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201711 → v201905}/user_service.rb +7 -7
- data/lib/ad_manager_api/v201905/user_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/user_team_association_service.rb +7 -7
- data/lib/ad_manager_api/v201905/user_team_association_service_registry.rb +45 -0
- data/lib/ad_manager_api/{v201805 → v201905}/workflow_request_service.rb +7 -7
- data/lib/ad_manager_api/v201905/workflow_request_service_registry.rb +45 -0
- data/lib/ad_manager_api/version.rb +1 -1
- metadata +111 -311
- data/lib/ad_manager_api/v201711/activity_group_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/activity_service.rb +0 -54
- data/lib/ad_manager_api/v201711/activity_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/ad_exclusion_rule_service.rb +0 -62
- data/lib/ad_manager_api/v201711/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/ad_rule_service.rb +0 -62
- data/lib/ad_manager_api/v201711/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/audience_segment_service.rb +0 -62
- data/lib/ad_manager_api/v201711/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/base_rate_service.rb +0 -62
- data/lib/ad_manager_api/v201711/base_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/cdn_configuration_service.rb +0 -54
- data/lib/ad_manager_api/v201711/cdn_configuration_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/company_service.rb +0 -54
- data/lib/ad_manager_api/v201711/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/contact_service.rb +0 -54
- data/lib/ad_manager_api/v201711/contact_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/content_bundle_service.rb +0 -62
- data/lib/ad_manager_api/v201711/content_bundle_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/ad_manager_api/v201711/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/content_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/creative_set_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/creative_template_service.rb +0 -38
- data/lib/ad_manager_api/v201711/creative_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/creative_wrapper_service.rb +0 -62
- data/lib/ad_manager_api/v201711/creative_wrapper_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/custom_field_service.rb +0 -86
- data/lib/ad_manager_api/v201711/custom_field_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/custom_targeting_service.rb +0 -94
- data/lib/ad_manager_api/v201711/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/exchange_rate_service.rb +0 -62
- data/lib/ad_manager_api/v201711/exchange_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/forecast_service.rb +0 -62
- data/lib/ad_manager_api/v201711/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/inventory_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/label_service.rb +0 -62
- data/lib/ad_manager_api/v201711/label_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/line_item_creative_association_service.rb +0 -78
- data/lib/ad_manager_api/v201711/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/line_item_template_service.rb +0 -38
- data/lib/ad_manager_api/v201711/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/live_stream_event_service.rb +0 -70
- data/lib/ad_manager_api/v201711/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/native_style_service.rb +0 -62
- data/lib/ad_manager_api/v201711/native_style_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/order_service.rb +0 -62
- data/lib/ad_manager_api/v201711/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/placement_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/premium_rate_service.rb +0 -54
- data/lib/ad_manager_api/v201711/premium_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/product_package_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/product_package_service.rb +0 -62
- data/lib/ad_manager_api/v201711/product_package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/product_service.rb +0 -62
- data/lib/ad_manager_api/v201711/product_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/product_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/proposal_line_item_service.rb +0 -62
- data/lib/ad_manager_api/v201711/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/proposal_service.rb +0 -70
- data/lib/ad_manager_api/v201711/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/publisher_query_language_service.rb +0 -38
- data/lib/ad_manager_api/v201711/publisher_query_language_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/rate_card_service.rb +0 -62
- data/lib/ad_manager_api/v201711/rate_card_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/reconciliation_line_item_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/reconciliation_report_service.rb +0 -46
- data/lib/ad_manager_api/v201711/reconciliation_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/report_service.rb +0 -70
- data/lib/ad_manager_api/v201711/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/suggested_ad_unit_service.rb +0 -46
- data/lib/ad_manager_api/v201711/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/team_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/user_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/user_team_association_service.rb +0 -62
- data/lib/ad_manager_api/v201711/user_team_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201711/workflow_request_service.rb +0 -46
- data/lib/ad_manager_api/v201711/workflow_request_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/activity_group_service.rb +0 -54
- data/lib/ad_manager_api/v201802/activity_group_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/activity_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/ad_exclusion_rule_service.rb +0 -62
- data/lib/ad_manager_api/v201802/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/ad_rule_service.rb +0 -62
- data/lib/ad_manager_api/v201802/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/base_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/cdn_configuration_service.rb +0 -54
- data/lib/ad_manager_api/v201802/cdn_configuration_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/company_service.rb +0 -54
- data/lib/ad_manager_api/v201802/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/contact_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/content_bundle_service.rb +0 -62
- data/lib/ad_manager_api/v201802/content_bundle_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/ad_manager_api/v201802/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/content_service.rb +0 -46
- data/lib/ad_manager_api/v201802/content_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/creative_service.rb +0 -54
- data/lib/ad_manager_api/v201802/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/creative_set_service.rb +0 -54
- data/lib/ad_manager_api/v201802/creative_set_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/creative_template_service.rb +0 -38
- data/lib/ad_manager_api/v201802/creative_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/creative_wrapper_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/custom_field_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/exchange_rate_service.rb +0 -62
- data/lib/ad_manager_api/v201802/exchange_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/forecast_service.rb +0 -62
- data/lib/ad_manager_api/v201802/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/inventory_service.rb +0 -70
- data/lib/ad_manager_api/v201802/inventory_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/label_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/line_item_creative_association_service.rb +0 -78
- data/lib/ad_manager_api/v201802/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/line_item_service.rb +0 -62
- data/lib/ad_manager_api/v201802/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/line_item_template_service.rb +0 -38
- data/lib/ad_manager_api/v201802/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/live_stream_event_service.rb +0 -70
- data/lib/ad_manager_api/v201802/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/mobile_application_service.rb +0 -62
- data/lib/ad_manager_api/v201802/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/native_style_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/network_service.rb +0 -62
- data/lib/ad_manager_api/v201802/network_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/order_service.rb +0 -62
- data/lib/ad_manager_api/v201802/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/package_service.rb +0 -62
- data/lib/ad_manager_api/v201802/package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/placement_service.rb +0 -62
- data/lib/ad_manager_api/v201802/placement_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/premium_rate_service.rb +0 -54
- data/lib/ad_manager_api/v201802/premium_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/product_package_item_service.rb +0 -62
- data/lib/ad_manager_api/v201802/product_package_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/product_package_service.rb +0 -62
- data/lib/ad_manager_api/v201802/product_package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/product_service.rb +0 -62
- data/lib/ad_manager_api/v201802/product_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/product_template_service.rb +0 -62
- data/lib/ad_manager_api/v201802/product_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/proposal_line_item_service.rb +0 -62
- data/lib/ad_manager_api/v201802/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/proposal_service.rb +0 -70
- data/lib/ad_manager_api/v201802/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/publisher_query_language_service.rb +0 -38
- data/lib/ad_manager_api/v201802/publisher_query_language_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/rate_card_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/reconciliation_line_item_report_service.rb +0 -46
- data/lib/ad_manager_api/v201802/reconciliation_line_item_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/reconciliation_order_report_service.rb +0 -54
- data/lib/ad_manager_api/v201802/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/reconciliation_report_row_service.rb +0 -46
- data/lib/ad_manager_api/v201802/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/reconciliation_report_service.rb +0 -46
- data/lib/ad_manager_api/v201802/reconciliation_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/suggested_ad_unit_service.rb +0 -46
- data/lib/ad_manager_api/v201802/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/team_service.rb +0 -62
- data/lib/ad_manager_api/v201802/team_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/user_service.rb +0 -78
- data/lib/ad_manager_api/v201802/user_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/user_team_association_service.rb +0 -62
- data/lib/ad_manager_api/v201802/user_team_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201802/workflow_request_service.rb +0 -46
- data/lib/ad_manager_api/v201802/workflow_request_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/activity_group_service.rb +0 -54
- data/lib/ad_manager_api/v201805/activity_group_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/activity_service.rb +0 -54
- data/lib/ad_manager_api/v201805/activity_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/ad_rule_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/audience_segment_service.rb +0 -62
- data/lib/ad_manager_api/v201805/audience_segment_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/base_rate_service.rb +0 -62
- data/lib/ad_manager_api/v201805/base_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/cdn_configuration_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/company_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/contact_service.rb +0 -54
- data/lib/ad_manager_api/v201805/contact_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/content_bundle_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/ad_manager_api/v201805/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/content_service.rb +0 -46
- data/lib/ad_manager_api/v201805/content_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/creative_service.rb +0 -54
- data/lib/ad_manager_api/v201805/creative_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/creative_set_service.rb +0 -54
- data/lib/ad_manager_api/v201805/creative_set_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/creative_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/creative_wrapper_service.rb +0 -62
- data/lib/ad_manager_api/v201805/creative_wrapper_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/custom_field_service.rb +0 -86
- data/lib/ad_manager_api/v201805/custom_field_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/custom_targeting_service.rb +0 -94
- data/lib/ad_manager_api/v201805/custom_targeting_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/dai_authentication_key_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/exchange_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/forecast_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/inventory_service.rb +0 -70
- data/lib/ad_manager_api/v201805/inventory_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/label_service.rb +0 -62
- data/lib/ad_manager_api/v201805/label_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/line_item_creative_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/line_item_service.rb +0 -62
- data/lib/ad_manager_api/v201805/line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/line_item_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/live_stream_event_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/mobile_application_service.rb +0 -62
- data/lib/ad_manager_api/v201805/mobile_application_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/native_style_service.rb +0 -62
- data/lib/ad_manager_api/v201805/native_style_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/network_service.rb +0 -62
- data/lib/ad_manager_api/v201805/order_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/package_service.rb +0 -62
- data/lib/ad_manager_api/v201805/package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/placement_service.rb +0 -62
- data/lib/ad_manager_api/v201805/placement_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/premium_rate_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/product_package_item_service.rb +0 -62
- data/lib/ad_manager_api/v201805/product_package_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/product_package_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/product_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/product_template_service.rb +0 -62
- data/lib/ad_manager_api/v201805/product_template_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/proposal_line_item_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/proposal_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/publisher_query_language_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/rate_card_service.rb +0 -62
- data/lib/ad_manager_api/v201805/rate_card_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/reconciliation_line_item_report_service.rb +0 -46
- data/lib/ad_manager_api/v201805/reconciliation_line_item_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/reconciliation_order_report_service.rb +0 -54
- data/lib/ad_manager_api/v201805/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/reconciliation_report_row_service.rb +0 -46
- data/lib/ad_manager_api/v201805/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/reconciliation_report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/report_service.rb +0 -70
- data/lib/ad_manager_api/v201805/report_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/team_service.rb +0 -62
- data/lib/ad_manager_api/v201805/team_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/user_service.rb +0 -78
- data/lib/ad_manager_api/v201805/user_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/user_team_association_service_registry.rb +0 -45
- data/lib/ad_manager_api/v201805/workflow_request_service_registry.rb +0 -45
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-22 10:37:40.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V201805; module ContentBundleService
|
13
|
-
class ContentBundleServiceRegistry
|
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}]}, :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, :original_name=>"timeZoneID", :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"}, :ExcludeContentFromContentBundle=>{:fields=>[{:name=>:content_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :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"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :ContentBundleStatus=>{:fields=>[]}, :"ContentFilterError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PlacementError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
|
16
|
-
CONTENTBUNDLESERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CONTENTBUNDLESERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CONTENTBUNDLESERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CONTENTBUNDLESERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
end
|
35
|
-
|
36
|
-
# Exception class for holding a list of service errors.
|
37
|
-
class ApiException < ApplicationException
|
38
|
-
attr_reader :errors # ApiError
|
39
|
-
def initialize(exception_fault)
|
40
|
-
@array_fields ||= []
|
41
|
-
@array_fields << 'errors'
|
42
|
-
super(exception_fault, ContentBundleServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:44.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/v201805/content_metadata_key_hierarchy_service_registry'
|
12
|
-
|
13
|
-
module AdManagerApi; module V201805; module ContentMetadataKeyHierarchyService
|
14
|
-
class ContentMetadataKeyHierarchyService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/v201805'
|
17
|
-
super(config, endpoint, namespace, :v201805)
|
18
|
-
end
|
19
|
-
|
20
|
-
def create_content_metadata_key_hierarchies(*args, &block)
|
21
|
-
return execute_action('create_content_metadata_key_hierarchies', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def create_content_metadata_key_hierarchies_to_xml(*args)
|
25
|
-
return get_soap_xml('create_content_metadata_key_hierarchies', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def get_content_metadata_key_hierarchies_by_statement(*args, &block)
|
29
|
-
return execute_action('get_content_metadata_key_hierarchies_by_statement', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def get_content_metadata_key_hierarchies_by_statement_to_xml(*args)
|
33
|
-
return get_soap_xml('get_content_metadata_key_hierarchies_by_statement', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
def perform_content_metadata_key_hierarchy_action(*args, &block)
|
37
|
-
return execute_action('perform_content_metadata_key_hierarchy_action', args, &block)
|
38
|
-
end
|
39
|
-
|
40
|
-
def perform_content_metadata_key_hierarchy_action_to_xml(*args)
|
41
|
-
return get_soap_xml('perform_content_metadata_key_hierarchy_action', args)
|
42
|
-
end
|
43
|
-
|
44
|
-
def update_content_metadata_key_hierarchies(*args, &block)
|
45
|
-
return execute_action('update_content_metadata_key_hierarchies', args, &block)
|
46
|
-
end
|
47
|
-
|
48
|
-
def update_content_metadata_key_hierarchies_to_xml(*args)
|
49
|
-
return get_soap_xml('update_content_metadata_key_hierarchies', args)
|
50
|
-
end
|
51
|
-
|
52
|
-
private
|
53
|
-
|
54
|
-
def get_service_registry()
|
55
|
-
return ContentMetadataKeyHierarchyServiceRegistry
|
56
|
-
end
|
57
|
-
|
58
|
-
def get_module()
|
59
|
-
return AdManagerApi::V201805::ContentMetadataKeyHierarchyService
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:44.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V201805; module ContentMetadataKeyHierarchyService
|
13
|
-
class ContentMetadataKeyHierarchyServiceRegistry
|
14
|
-
CONTENTMETADATAKEYHIERARCHYSERVICE_METHODS = {:create_content_metadata_key_hierarchies=>{:input=>[{:name=>:content_metadata_key_hierarchies, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_content_metadata_key_hierarchies_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_content_metadata_key_hierarchies_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_metadata_key_hierarchies_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchyPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_content_metadata_key_hierarchy_action=>{:input=>[{:name=>:content_metadata_key_hierarchy_action, :type=>"ContentMetadataKeyHierarchyAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_content_metadata_key_hierarchy_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_content_metadata_key_hierarchies=>{:input=>[{:name=>:content_metadata_key_hierarchies, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_content_metadata_key_hierarchies_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
CONTENTMETADATAKEYHIERARCHYSERVICE_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"}, :ContentMetadataKeyHierarchyAction=>{:fields=>[], :abstract=>true}, :ContentMetadataKeyHierarchy=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:hierarchy_levels, :type=>"ContentMetadataKeyHierarchyLevel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:status, :type=>"ContentMetadataKeyHierarchyStatus", :min_occurs=>0, :max_occurs=>1}]}, :ContentMetadataKeyHierarchyError=>{:fields=>[{:name=>:reason, :type=>"ContentMetadataKeyHierarchyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentMetadataKeyHierarchyLevel=>{:fields=>[{:name=>:custom_targeting_key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:hierarchy_level, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ContentMetadataKeyHierarchyPage=>{: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=>"ContentMetadataKeyHierarchy", :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, :original_name=>"timeZoneID", :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"}, :DeleteContentMetadataKeyHierarchies=>{:fields=>[], :base=>"ContentMetadataKeyHierarchyAction"}, :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"}, :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"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"ContentMetadataKeyHierarchyError.Reason"=>{:fields=>[]}, :ContentMetadataKeyHierarchyStatus=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
|
16
|
-
CONTENTMETADATAKEYHIERARCHYSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CONTENTMETADATAKEYHIERARCHYSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CONTENTMETADATAKEYHIERARCHYSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CONTENTMETADATAKEYHIERARCHYSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
end
|
35
|
-
|
36
|
-
# Exception class for holding a list of service errors.
|
37
|
-
class ApiException < ApplicationException
|
38
|
-
attr_reader :errors # ApiError
|
39
|
-
def initialize(exception_fault)
|
40
|
-
@array_fields ||= []
|
41
|
-
@array_fields << 'errors'
|
42
|
-
super(exception_fault, ContentMetadataKeyHierarchyServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:45.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/v201805/content_service_registry'
|
12
|
-
|
13
|
-
module AdManagerApi; module V201805; module ContentService
|
14
|
-
class ContentService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/v201805'
|
17
|
-
super(config, endpoint, namespace, :v201805)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get_content_by_statement(*args, &block)
|
21
|
-
return execute_action('get_content_by_statement', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_content_by_statement_to_xml(*args)
|
25
|
-
return get_soap_xml('get_content_by_statement', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def get_content_by_statement_and_custom_targeting_value(*args, &block)
|
29
|
-
return execute_action('get_content_by_statement_and_custom_targeting_value', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def get_content_by_statement_and_custom_targeting_value_to_xml(*args)
|
33
|
-
return get_soap_xml('get_content_by_statement_and_custom_targeting_value', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
private
|
37
|
-
|
38
|
-
def get_service_registry()
|
39
|
-
return ContentServiceRegistry
|
40
|
-
end
|
41
|
-
|
42
|
-
def get_module()
|
43
|
-
return AdManagerApi::V201805::ContentService
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:45.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V201805; module ContentService
|
13
|
-
class ContentServiceRegistry
|
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}]}}, :get_content_by_statement_and_custom_targeting_value=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting_value_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_by_statement_and_custom_targeting_value_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=>:user_defined_custom_targeting_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mapping_rule_defined_custom_targeting_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cms_sources, :type=>"CmsContent", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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, :original_name=>"timeZoneID", :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"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :ContentStatus=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidUrlError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :ContentStatusDefinedBy=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :DaiIngestErrorReason=>{:fields=>[]}, :DaiIngestStatus=>{:fields=>[]}}
|
16
|
-
CONTENTSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CONTENTSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CONTENTSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CONTENTSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
end
|
35
|
-
|
36
|
-
# Exception class for holding a list of service errors.
|
37
|
-
class ApiException < ApplicationException
|
38
|
-
attr_reader :errors # ApiError
|
39
|
-
def initialize(exception_fault)
|
40
|
-
@array_fields ||= []
|
41
|
-
@array_fields << 'errors'
|
42
|
-
super(exception_fault, ContentServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:46.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/v201805/creative_service_registry'
|
12
|
-
|
13
|
-
module AdManagerApi; module V201805; module CreativeService
|
14
|
-
class CreativeService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/v201805'
|
17
|
-
super(config, endpoint, namespace, :v201805)
|
18
|
-
end
|
19
|
-
|
20
|
-
def create_creatives(*args, &block)
|
21
|
-
return execute_action('create_creatives', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def create_creatives_to_xml(*args)
|
25
|
-
return get_soap_xml('create_creatives', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def get_creatives_by_statement(*args, &block)
|
29
|
-
return execute_action('get_creatives_by_statement', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def get_creatives_by_statement_to_xml(*args)
|
33
|
-
return get_soap_xml('get_creatives_by_statement', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
def update_creatives(*args, &block)
|
37
|
-
return execute_action('update_creatives', args, &block)
|
38
|
-
end
|
39
|
-
|
40
|
-
def update_creatives_to_xml(*args)
|
41
|
-
return get_soap_xml('update_creatives', args)
|
42
|
-
end
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def get_service_registry()
|
47
|
-
return CreativeServiceRegistry
|
48
|
-
end
|
49
|
-
|
50
|
-
def get_module()
|
51
|
-
return AdManagerApi::V201805::CreativeService
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:46.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V201805; module CreativeService
|
13
|
-
class CreativeServiceRegistry
|
14
|
-
CREATIVESERVICE_METHODS = {:create_creatives=>{:input=>[{:name=>:creatives, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_creatives_response", :fields=>[{:name=>:rval, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_creatives_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_creatives_by_statement_response", :fields=>[{:name=>:rval, :type=>"CreativePage", :min_occurs=>0, :max_occurs=>1}]}}, :update_creatives=>{:input=>[{:name=>:creatives, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_creatives_response", :fields=>[{:name=>:rval, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
CREATIVESERVICE_TYPES = {:BaseDynamicAllocationCreative=>{:fields=>[], :abstract=>true, :base=>"Creative"}, :BaseCreativeTemplateVariableValue=>{:fields=>[{:name=>:unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdExchangeCreative=>{:fields=>[{:name=>:is_native_eligible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"HasHtmlSnippetDynamicAllocationCreative"}, :AdMobBackfillCreative=>{:fields=>[{:name=>:additional_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:publisher_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseDynamicAllocationCreative"}, :AdSenseCreative=>{:fields=>[], :base=>"HasHtmlSnippetDynamicAllocationCreative"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :AspectRatioImageCreative=>{:fields=>[{:name=>:image_assets, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"HasDestinationUrlCreative"}, :AssetCreativeTemplateVariableValue=>{:fields=>[{:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :Asset=>{:fields=>[], :abstract=>true}, :AssetError=>{:fields=>[{:name=>:reason, :type=>"AssetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BaseCustomFieldValue=>{:fields=>[{:name=>:custom_field_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BaseFlashCreative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tag_required, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_image_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseFlashRedirectCreative=>{:fields=>[{:name=>:flash_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseImageCreative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:primary_image_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseImageRedirectCreative=>{:fields=>[{:name=>:image_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseRichMediaStudioCreative=>{:fields=>[{:name=>:studio_creative_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_format, :type=>"RichMediaStudioCreativeFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:artwork_type, :type=>"RichMediaStudioCreativeArtworkType", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_tag_keys, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_key_values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:survey_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:all_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rich_media_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:backup_image_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_css, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:required_flash_plugin_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:billing_attribute, :type=>"RichMediaStudioCreativeBillingAttribute", :min_occurs=>0, :max_occurs=>1}, {:name=>:rich_media_studio_child_asset_properties, :type=>"RichMediaStudioChildAssetProperty", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Creative"}, :BaseVideoCreative=>{:fields=>[{:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_duration_override, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:skippable_ad_type, :type=>"SkippableAdType", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClickTag=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ClickTrackingCreative=>{:fields=>[{:name=>:click_tracking_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :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"}, :ConversionEvent_TrackingUrlsMapEntry=>{:fields=>[{:name=>:key, :type=>"ConversionEvent", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"TrackingUrls", :min_occurs=>0, :max_occurs=>1}]}, :CreativeAsset=>{:fields=>[{:name=>:asset_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_byte_array, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tags, :type=>"ClickTag", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:image_density, :type=>"ImageDensity", :min_occurs=>0, :max_occurs=>1}]}, :CustomCreativeAsset=>{:fields=>[{:name=>:macro_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}]}, :CreativeAssetMacroError=>{:fields=>[{:name=>:reason, :type=>"CreativeAssetMacroError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Creative=>{:fields=>[{:name=>:advertiser_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:policy_violations, :type=>"CreativePolicyViolation", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_field_values, :type=>"BaseCustomFieldValue", :min_occurs=>0, :max_occurs=>:unbounded}], :abstract=>true}, :CreativeError=>{:fields=>[{:name=>:reason, :type=>"CreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativePage=>{: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=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CreativeSetError=>{:fields=>[{:name=>:reason, :type=>"CreativeSetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTemplateError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTemplateOperationError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateOperationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCreative=>{:fields=>[{:name=>:html_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_creative_assets, :type=>"CustomCreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_tracking_urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"HasDestinationUrlCreative"}, :CustomCreativeError=>{:fields=>[{:name=>:reason, :type=>"CustomCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldValue=>{:fields=>[{:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCustomFieldValue"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :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"}, :DropDownCustomFieldValue=>{:fields=>[{:name=>:custom_field_option_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCustomFieldValue"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :FileError=>{:fields=>[{:name=>:reason, :type=>"FileError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FlashCreative=>{:fields=>[{:name=>:swiffy_asset, :type=>"SwiffyFallbackAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:create_swiffy_asset, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tag_overlay_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashCreative"}, :FlashOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_framework, :type=>"ApiFramework", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashCreative"}, :FlashRedirectCreative=>{:fields=>[], :base=>"BaseFlashRedirectCreative"}, :FlashRedirectOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_framework, :type=>"ApiFramework", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashRedirectCreative"}, :HasDestinationUrlCreative=>{:fields=>[{:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url_type, :type=>"DestinationUrlType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Creative"}, :HasHtmlSnippetDynamicAllocationCreative=>{:fields=>[{:name=>:code_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"BaseDynamicAllocationCreative"}, :Html5Creative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_tracking_urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:third_party_click_tracking_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:html5_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :HtmlBundleProcessorError=>{:fields=>[{:name=>:reason, :type=>"HtmlBundleProcessorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ImageCreative=>{:fields=>[{:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:secondary_image_assets, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageCreative"}, :ImageError=>{:fields=>[{:name=>:reason, :type=>"ImageError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ImageOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageCreative"}, :ImageRedirectCreative=>{:fields=>[{:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageRedirectCreative"}, :ImageRedirectOverlayCreative=>{:fields=>[{:name=>:asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageRedirectCreative"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalRedirectCreative=>{:fields=>[{:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:internal_redirect_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_tracking_urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Creative"}, :InvalidPhoneNumberError=>{:fields=>[{:name=>:reason, :type=>"InvalidPhoneNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LegacyDfpCreative=>{:fields=>[], :base=>"Creative"}, :LineItemCreativeAssociationError=>{:fields=>[{:name=>:reason, :type=>"LineItemCreativeAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LongCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProgrammaticCreative=>{:fields=>[{:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :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"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RedirectAsset=>{:fields=>[{:name=>:redirect_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Asset"}, :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"}, :RequiredSizeError=>{:fields=>[{:name=>:reason, :type=>"RequiredSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RichMediaStudioChildAssetProperty=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"RichMediaStudioChildAssetProperty.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :RichMediaStudioCreative=>{:fields=>[{:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseRichMediaStudioCreative"}, :RichMediaStudioCreativeError=>{:fields=>[{:name=>:reason, :type=>"RichMediaStudioCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetTopBoxCreative=>{:fields=>[{:name=>:external_asset_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:provider_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:availability_region_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:license_window_start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:license_window_end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseVideoCreative"}, :SetTopBoxCreativeError=>{:fields=>[{:name=>:reason, :type=>"SetTopBoxCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :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}]}, :SwiffyConversionError=>{:fields=>[{:name=>:reason, :type=>"SwiffyConversionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SwiffyFallbackAsset=>{:fields=>[{:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:html5_features, :type=>"Html5Feature", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:localized_info_messages, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TemplateCreative=>{:fields=>[{:name=>:creative_template_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_native_eligible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_template_variable_values, :type=>"BaseCreativeTemplateVariableValue", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :TemplateInstantiatedCreativeError=>{:fields=>[{:name=>:reason, :type=>"TemplateInstantiatedCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ThirdPartyCreative=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expanded_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_tracking_urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Creative"}, :TrackingUrls=>{:fields=>[{:name=>:urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UnsupportedCreative=>{:fields=>[{:name=>:unsupported_creative_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :UrlCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :Value=>{:fields=>[], :abstract=>true}, :VastRedirectCreative=>{:fields=>[{:name=>:vast_xml_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_redirect_type, :type=>"VastRedirectType", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :VideoCreative=>{:fields=>[], :base=>"BaseVideoCreative"}, :VideoMetadata=>{:fields=>[{:name=>:scalable_type, :type=>"ScalableType", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minimum_bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:maximum_bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:mime_type, :type=>"MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_type, :type=>"VideoDeliveryType", :min_occurs=>0, :max_occurs=>1}, {:name=>:codecs, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :VideoRedirectAsset=>{:fields=>[{:name=>:metadata, :type=>"VideoMetadata", :min_occurs=>0, :max_occurs=>1}], :base=>"RedirectAsset"}, :VideoRedirectCreative=>{:fields=>[{:name=>:video_assets, :type=>"VideoRedirectAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mezzanine_file, :type=>"VideoRedirectAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseVideoCreative"}, :ApiFramework=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AssetError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :ConversionEvent=>{:fields=>[]}, :"CreativeAssetMacroError.Reason"=>{:fields=>[]}, :"CreativeError.Reason"=>{:fields=>[]}, :CreativePolicyViolation=>{:fields=>[]}, :"CreativeSetError.Reason"=>{:fields=>[]}, :"CreativeTemplateError.Reason"=>{:fields=>[]}, :"CreativeTemplateOperationError.Reason"=>{:fields=>[]}, :"CustomCreativeError.Reason"=>{:fields=>[]}, :"CustomFieldValueError.Reason"=>{:fields=>[]}, :DestinationUrlType=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"FileError.Reason"=>{:fields=>[]}, :Html5Feature=>{:fields=>[]}, :"HtmlBundleProcessorError.Reason"=>{:fields=>[]}, :ImageDensity=>{:fields=>[]}, :"ImageError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidPhoneNumberError.Reason"=>{:fields=>[]}, :"InvalidUrlError.Reason"=>{:fields=>[]}, :"LabelEntityAssociationError.Reason"=>{:fields=>[]}, :"LineItemCreativeAssociationError.Reason"=>{:fields=>[]}, :LockedOrientation=>{:fields=>[]}, :MimeType=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"RequiredSizeError.Reason"=>{:fields=>[]}, :"RichMediaStudioChildAssetProperty.Type"=>{:fields=>[]}, :RichMediaStudioCreativeArtworkType=>{:fields=>[]}, :RichMediaStudioCreativeBillingAttribute=>{:fields=>[]}, :"RichMediaStudioCreativeError.Reason"=>{:fields=>[]}, :RichMediaStudioCreativeFormat=>{:fields=>[]}, :ScalableType=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"SetTopBoxCreativeError.Reason"=>{:fields=>[]}, :SkippableAdType=>{:fields=>[]}, :SslManualOverride=>{:fields=>[]}, :SslScanResult=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"SwiffyConversionError.Reason"=>{:fields=>[]}, :"TemplateInstantiatedCreativeError.Reason"=>{:fields=>[]}, :VastRedirectType=>{:fields=>[]}, :VideoDeliveryType=>{:fields=>[]}}
|
16
|
-
CREATIVESERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CREATIVESERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CREATIVESERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CREATIVESERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
end
|
35
|
-
|
36
|
-
# Exception class for holding a list of service errors.
|
37
|
-
class ApiException < ApplicationException
|
38
|
-
attr_reader :errors # ApiError
|
39
|
-
def initialize(exception_fault)
|
40
|
-
@array_fields ||= []
|
41
|
-
@array_fields << 'errors'
|
42
|
-
super(exception_fault, CreativeServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:47.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/v201805/creative_set_service_registry'
|
12
|
-
|
13
|
-
module AdManagerApi; module V201805; module CreativeSetService
|
14
|
-
class CreativeSetService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/v201805'
|
17
|
-
super(config, endpoint, namespace, :v201805)
|
18
|
-
end
|
19
|
-
|
20
|
-
def create_creative_set(*args, &block)
|
21
|
-
return execute_action('create_creative_set', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def create_creative_set_to_xml(*args)
|
25
|
-
return get_soap_xml('create_creative_set', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def get_creative_sets_by_statement(*args, &block)
|
29
|
-
return execute_action('get_creative_sets_by_statement', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def get_creative_sets_by_statement_to_xml(*args)
|
33
|
-
return get_soap_xml('get_creative_sets_by_statement', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
def update_creative_set(*args, &block)
|
37
|
-
return execute_action('update_creative_set', args, &block)
|
38
|
-
end
|
39
|
-
|
40
|
-
def update_creative_set_to_xml(*args)
|
41
|
-
return get_soap_xml('update_creative_set', args)
|
42
|
-
end
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def get_service_registry()
|
47
|
-
return CreativeSetServiceRegistry
|
48
|
-
end
|
49
|
-
|
50
|
-
def get_module()
|
51
|
-
return AdManagerApi::V201805::CreativeSetService
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end; end; end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 1.0.1 on 2018-05-07 18:02:47.
|
9
|
-
|
10
|
-
require 'ad_manager_api/errors'
|
11
|
-
|
12
|
-
module AdManagerApi; module V201805; module CreativeSetService
|
13
|
-
class CreativeSetServiceRegistry
|
14
|
-
CREATIVESETSERVICE_METHODS = {:create_creative_set=>{:input=>[{:name=>:creative_set, :type=>"CreativeSet", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_creative_set_response", :fields=>[{:name=>:rval, :type=>"CreativeSet", :min_occurs=>0, :max_occurs=>1}]}}, :get_creative_sets_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_creative_sets_by_statement_response", :fields=>[{:name=>:rval, :type=>"CreativeSetPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_creative_set=>{:input=>[{:name=>:creative_set, :type=>"CreativeSet", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_creative_set_response", :fields=>[{:name=>:rval, :type=>"CreativeSet", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CREATIVESETSERVICE_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}]}, :AssetError=>{:fields=>[{:name=>:reason, :type=>"AssetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :CreativeAssetMacroError=>{:fields=>[{:name=>:reason, :type=>"CreativeAssetMacroError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeError=>{:fields=>[{:name=>:reason, :type=>"CreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeSet=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:master_creative_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :CreativeSetError=>{:fields=>[{:name=>:reason, :type=>"CreativeSetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeSetPage=>{: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=>"CreativeSet", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CreativeTemplateError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTemplateOperationError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateOperationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCreativeError=>{:fields=>[{:name=>:reason, :type=>"CustomCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :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"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :FileError=>{:fields=>[{:name=>:reason, :type=>"FileError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :HtmlBundleProcessorError=>{:fields=>[{:name=>:reason, :type=>"HtmlBundleProcessorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ImageError=>{:fields=>[{:name=>:reason, :type=>"ImageError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidPhoneNumberError=>{:fields=>[{:name=>:reason, :type=>"InvalidPhoneNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.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"}, :RequiredSizeError=>{:fields=>[{:name=>:reason, :type=>"RequiredSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RichMediaStudioCreativeError=>{:fields=>[{:name=>:reason, :type=>"RichMediaStudioCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetTopBoxCreativeError=>{:fields=>[{:name=>:reason, :type=>"SetTopBoxCreativeError.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}]}, :SwiffyConversionError=>{:fields=>[{:name=>:reason, :type=>"SwiffyConversionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TemplateInstantiatedCreativeError=>{:fields=>[{:name=>:reason, :type=>"TemplateInstantiatedCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AssetError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"CreativeAssetMacroError.Reason"=>{:fields=>[]}, :"CreativeError.Reason"=>{:fields=>[]}, :"CreativeSetError.Reason"=>{:fields=>[]}, :"CreativeTemplateError.Reason"=>{:fields=>[]}, :"CreativeTemplateOperationError.Reason"=>{:fields=>[]}, :"CustomCreativeError.Reason"=>{:fields=>[]}, :"CustomFieldValueError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"FileError.Reason"=>{:fields=>[]}, :"HtmlBundleProcessorError.Reason"=>{:fields=>[]}, :"ImageError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidPhoneNumberError.Reason"=>{:fields=>[]}, :"InvalidUrlError.Reason"=>{:fields=>[]}, :"LabelEntityAssociationError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"RequiredSizeError.Reason"=>{:fields=>[]}, :"RichMediaStudioCreativeError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"SetTopBoxCreativeError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"SwiffyConversionError.Reason"=>{:fields=>[]}, :"TemplateInstantiatedCreativeError.Reason"=>{:fields=>[]}}
|
16
|
-
CREATIVESETSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CREATIVESETSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CREATIVESETSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CREATIVESETSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
end
|
35
|
-
|
36
|
-
# Exception class for holding a list of service errors.
|
37
|
-
class ApiException < ApplicationException
|
38
|
-
attr_reader :errors # ApiError
|
39
|
-
def initialize(exception_fault)
|
40
|
-
@array_fields ||= []
|
41
|
-
@array_fields << 'errors'
|
42
|
-
super(exception_fault, CreativeSetServiceRegistry)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end; end; end
|