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
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:51.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v201905/reconciliation_order_report_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V201905; module ReconciliationOrderReportService
|
14
14
|
class ReconciliationOrderReportService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_reconciliation_order_reports_by_statement(*args, &block)
|
@@ -48,7 +48,7 @@ module AdManagerApi; module V201711; module ReconciliationOrderReportService
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def get_module()
|
51
|
-
return AdManagerApi::
|
51
|
+
return AdManagerApi::V201905::ReconciliationOrderReportService
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:51.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V201905; module ReconciliationOrderReportService
|
13
|
+
class ReconciliationOrderReportServiceRegistry
|
14
|
+
RECONCILIATIONORDERREPORTSERVICE_METHODS = {:get_reconciliation_order_reports_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_reconciliation_order_reports_by_statement_response", :fields=>[{:name=>:rval, :type=>"ReconciliationOrderReportPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_reconciliation_order_report_action=>{:input=>[{:name=>:reconciliation_order_report_action, :type=>"ReconciliationOrderReportAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_reconciliation_order_report_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_reconciliation_order_reports=>{:input=>[{:name=>:reconciliation_order_reports, :type=>"ReconciliationOrderReport", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_reconciliation_order_reports_response", :fields=>[{:name=>:rval, :type=>"ReconciliationOrderReport", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
+
RECONCILIATIONORDERREPORTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :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"}, :Money=>{:fields=>[{:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :ReconciliationOrderReportAction=>{:fields=>[], :abstract=>true}, :ReconciliationOrderReport=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:reconciliation_report_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:order_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ReconciliationOrderReportStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:submission_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:submitter_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_net_billable_revenue_manual_adjustment, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_gross_billable_revenue_manual_adjustment, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :ReconciliationOrderReportPage=>{: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=>"ReconciliationOrderReport", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :SubmitReconciliationOrderReports=>{:fields=>[], :base=>"ReconciliationOrderReportAction"}, :ReconciliationError=>{:fields=>[{:name=>:reason, :type=>"ReconciliationError.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"}, :RevertReconciliationOrderReports=>{:fields=>[], :base=>"ReconciliationOrderReportAction"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NOT_WHITELISTED_FOR_API_ACCESS", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NULL_CONTENT"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RangeError.Reason"=>{:type=>"string", :enumerations=>["TOO_HIGH", "TOO_LOW", "UNKNOWN"]}, :"ReconciliationError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_CREATE_RECONCILIATION_REPORT_VERSION", "INVALID_RECONCILIATION_REPORT_STATE_TRANSITION", "INVALID_RECONCILIATION_PROPOSAL_SUBMISSION_SEQUENCE", "USER_CANNOT_RECONCILE_RECONCILIATION_REPORT", "CONTRACTED_VOLUME_CANNOT_BE_NULL", "DFP_VOLUME_CANNOT_BE_NULL", "MANUAL_VOLUME_CANNOT_BE_NULL", "THIRD_PARTY_VOLUME_CANNOT_BE_NULL", "DUPLICATE_LINE_ITEM_AND_CREATIVE", "CANNOT_RECONCILE_LINE_ITEM_CREATIVE", "LINE_ITEM_DAYS_MISMATCH", "LINE_ITEM_BILL_OFF_OF_MISMATCH", "CANNOT_MODIFY_RECONCILED_ORDER", "CANNOT_MODIFY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_QUERY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_UPDATE_VOLUME_WHEN_BILLABLE_REVENUE_OVERRIDDEN", "UNKNOWN"]}, :ReconciliationOrderReportStatus=>{:type=>"string", :enumerations=>["DRAFT", "RECONCILED", "REVERTED", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
|
16
|
+
RECONCILIATIONORDERREPORTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return RECONCILIATIONORDERREPORTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return RECONCILIATIONORDERREPORTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return RECONCILIATIONORDERREPORTSERVICE_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, ReconciliationOrderReportServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:52.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v201905/reconciliation_report_row_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V201905; module ReconciliationReportRowService
|
14
14
|
class ReconciliationReportRowService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_reconciliation_report_rows_by_statement(*args, &block)
|
@@ -40,7 +40,7 @@ module AdManagerApi; module V201711; module ReconciliationReportRowService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def get_module()
|
43
|
-
return AdManagerApi::
|
43
|
+
return AdManagerApi::V201905::ReconciliationReportRowService
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:52.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V201905; module ReconciliationReportRowService
|
13
|
+
class ReconciliationReportRowServiceRegistry
|
14
|
+
RECONCILIATIONREPORTROWSERVICE_METHODS = {:get_reconciliation_report_rows_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_reconciliation_report_rows_by_statement_response", :fields=>[{:name=>:rval, :type=>"ReconciliationReportRowPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_reconciliation_report_rows=>{:input=>[{:name=>:reconciliation_report_rows, :type=>"ReconciliationReportRow", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_reconciliation_report_rows_response", :fields=>[{:name=>:rval, :type=>"ReconciliationReportRow", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
+
RECONCILIATIONREPORTROWSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :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"}, :Money=>{:fields=>[{:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :ReconciliationError=>{:fields=>[{:name=>:reason, :type=>"ReconciliationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReconciliationImportError=>{:fields=>[{:name=>:reason, :type=>"ReconciliationImportError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReconciliationReportRow=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:reconciliation_report_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:line_item_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:order_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertiser_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_line_item_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:reconciliation_source, :type=>"BillFrom", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_type, :type=>"RateType", :min_occurs=>0, :max_occurs=>1}, {:name=>:line_item_cost_per_unit, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:line_item_contracted_units_bought, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:dfp_volume, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_volume, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:manual_volume, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:reconciled_volume, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:contracted_revenue, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:dfp_revenue, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_revenue, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:manual_revenue, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:reconciled_revenue, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:comments, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ReconciliationReportRowPage=>{: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=>"ReconciliationReportRow", :min_occurs=>0, :max_occurs=>:unbounded}]}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NOT_WHITELISTED_FOR_API_ACCESS", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :BillFrom=>{:type=>"string", :enumerations=>["DEFAULT", "DFP", "THIRD_PARTY", "MANUAL", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NULL_CONTENT"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RangeError.Reason"=>{:type=>"string", :enumerations=>["TOO_HIGH", "TOO_LOW", "UNKNOWN"]}, :RateType=>{:type=>"string", :enumerations=>["CPM", "CPC", "CPD", "CPU", "FLAT_FEE", "VCPM", "UNKNOWN"]}, :"ReconciliationError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_CREATE_RECONCILIATION_REPORT_VERSION", "INVALID_RECONCILIATION_REPORT_STATE_TRANSITION", "INVALID_RECONCILIATION_PROPOSAL_SUBMISSION_SEQUENCE", "USER_CANNOT_RECONCILE_RECONCILIATION_REPORT", "CONTRACTED_VOLUME_CANNOT_BE_NULL", "DFP_VOLUME_CANNOT_BE_NULL", "MANUAL_VOLUME_CANNOT_BE_NULL", "THIRD_PARTY_VOLUME_CANNOT_BE_NULL", "DUPLICATE_LINE_ITEM_AND_CREATIVE", "CANNOT_RECONCILE_LINE_ITEM_CREATIVE", "LINE_ITEM_DAYS_MISMATCH", "LINE_ITEM_BILL_OFF_OF_MISMATCH", "CANNOT_MODIFY_RECONCILED_ORDER", "CANNOT_MODIFY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_QUERY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_UPDATE_VOLUME_WHEN_BILLABLE_REVENUE_OVERRIDDEN", "UNKNOWN"]}, :"ReconciliationImportError.Reason"=>{:type=>"string", :enumerations=>["MISSING_EDITABLE_COLUMN", "INCONSISTENT_IMPORT_COLUMNS", "COLUMN_CONVERSION_TYPE_ERROR", "INCONSISTENT_COLUMNS_COUNT", "IMPORT_INTERNAL_ERROR", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
|
16
|
+
RECONCILIATIONREPORTROWSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return RECONCILIATIONREPORTROWSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return RECONCILIATIONREPORTROWSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return RECONCILIATIONREPORTROWSERVICE_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, ReconciliationReportRowServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:52.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v201905/reconciliation_report_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V201905; module ReconciliationReportService
|
14
14
|
class ReconciliationReportService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_reconciliation_reports_by_statement(*args, &block)
|
@@ -40,7 +40,7 @@ module AdManagerApi; module V201805; module ReconciliationReportService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def get_module()
|
43
|
-
return AdManagerApi::
|
43
|
+
return AdManagerApi::V201905::ReconciliationReportService
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:52.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V201905; module ReconciliationReportService
|
13
|
+
class ReconciliationReportServiceRegistry
|
14
|
+
RECONCILIATIONREPORTSERVICE_METHODS = {:get_reconciliation_reports_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_reconciliation_reports_by_statement_response", :fields=>[{:name=>:rval, :type=>"ReconciliationReportPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_reconciliation_reports=>{:input=>[{:name=>:reconciliation_reports, :type=>"ReconciliationReport", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_reconciliation_reports_response", :fields=>[{:name=>:rval, :type=>"ReconciliationReport", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
+
RECONCILIATIONREPORTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :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"}, :ReconciliationError=>{:fields=>[{:name=>:reason, :type=>"ReconciliationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReconciliationImportError=>{:fields=>[{:name=>:reason, :type=>"ReconciliationImportError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReconciliationReport=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ReconciliationReportStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:notes, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ReconciliationReportPage=>{: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=>"ReconciliationReport", :min_occurs=>0, :max_occurs=>:unbounded}]}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NOT_WHITELISTED_FOR_API_ACCESS", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NULL_CONTENT"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RangeError.Reason"=>{:type=>"string", :enumerations=>["TOO_HIGH", "TOO_LOW", "UNKNOWN"]}, :"ReconciliationError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_CREATE_RECONCILIATION_REPORT_VERSION", "INVALID_RECONCILIATION_REPORT_STATE_TRANSITION", "INVALID_RECONCILIATION_PROPOSAL_SUBMISSION_SEQUENCE", "USER_CANNOT_RECONCILE_RECONCILIATION_REPORT", "CONTRACTED_VOLUME_CANNOT_BE_NULL", "DFP_VOLUME_CANNOT_BE_NULL", "MANUAL_VOLUME_CANNOT_BE_NULL", "THIRD_PARTY_VOLUME_CANNOT_BE_NULL", "DUPLICATE_LINE_ITEM_AND_CREATIVE", "CANNOT_RECONCILE_LINE_ITEM_CREATIVE", "LINE_ITEM_DAYS_MISMATCH", "LINE_ITEM_BILL_OFF_OF_MISMATCH", "CANNOT_MODIFY_RECONCILED_ORDER", "CANNOT_MODIFY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_QUERY_ACROSS_MULTIPLE_RECONCILIATION_REPORTS", "CANNOT_UPDATE_VOLUME_WHEN_BILLABLE_REVENUE_OVERRIDDEN", "UNKNOWN"]}, :"ReconciliationImportError.Reason"=>{:type=>"string", :enumerations=>["MISSING_EDITABLE_COLUMN", "INCONSISTENT_IMPORT_COLUMNS", "COLUMN_CONVERSION_TYPE_ERROR", "INCONSISTENT_COLUMNS_COUNT", "IMPORT_INTERNAL_ERROR", "UNKNOWN"]}, :ReconciliationReportStatus=>{:type=>"string", :enumerations=>["DRAFT", "RECONCILED", "REVERTED", "PENDING", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
|
16
|
+
RECONCILIATIONREPORTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return RECONCILIATIONREPORTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return RECONCILIATIONREPORTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return RECONCILIATIONREPORTSERVICE_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, ReconciliationReportServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:53.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v201905/report_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V201905; module ReportService
|
14
14
|
class ReportService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_report_download_url(*args, &block)
|
@@ -64,7 +64,7 @@ module AdManagerApi; module V201802; module ReportService
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def get_module()
|
67
|
-
return AdManagerApi::
|
67
|
+
return AdManagerApi::V201905::ReportService
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:53.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V201905; module ReportService
|
13
|
+
class ReportServiceRegistry
|
14
|
+
REPORTSERVICE_METHODS = {:get_report_download_url=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:export_format, :type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_download_url_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :original_name=>"getReportDownloadURL"}, :get_report_download_url_with_options=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_download_options, :type=>"ReportDownloadOptions", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_download_url_with_options_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}}, :get_report_job_status=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_job_status_response", :fields=>[{:name=>:rval, :type=>"ReportJobStatus", :min_occurs=>0, :max_occurs=>1}]}}, :get_saved_queries_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_saved_queries_by_statement_response", :fields=>[{:name=>:rval, :type=>"SavedQueryPage", :min_occurs=>0, :max_occurs=>1}]}}, :run_report_job=>{:input=>[{:name=>:report_job, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"run_report_job_response", :fields=>[{:name=>:rval, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
+
REPORTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CurrencyCodeError=>{:fields=>[{:name=>:reason, :type=>"CurrencyCodeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReportDownloadOptions=>{:fields=>[{:name=>:export_format, :type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_report_properties, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_totals_row, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:use_gzip_compression, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ReportError=>{:fields=>[{:name=>:reason, :type=>"ReportError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReportJob=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_query, :type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1}]}, :ReportQuery=>{:fields=>[{:name=>:dimensions, :type=>"Dimension", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_unit_view, :type=>"ReportQuery.AdUnitView", :min_occurs=>0, :max_occurs=>1}, {:name=>:columns, :type=>"Column", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimension_attributes, :type=>"DimensionAttribute", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_field_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:content_metadata_key_hierarchy_custom_targeting_key_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_dimension_key_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_range_type, :type=>"DateRangeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_zero_sales_rows, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:adx_report_currency, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_type, :type=>"TimeZoneType", :min_occurs=>0, :max_occurs=>1}]}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SavedQuery=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_query, :type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_compatible_with_api_version, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SavedQueryPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"SavedQuery", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Value=>{:fields=>[], :abstract=>true}, :"ReportQuery.AdUnitView"=>{:type=>"string", :enumerations=>["TOP_LEVEL", "FLAT", "HIERARCHICAL"]}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NOT_WHITELISTED_FOR_API_ACCESS", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :Column=>{:type=>"string", :enumerations=>["AD_SERVER_IMPRESSIONS", "AD_SERVER_TARGETED_IMPRESSIONS", "AD_SERVER_CLICKS", "AD_SERVER_TARGETED_CLICKS", "AD_SERVER_CTR", "AD_SERVER_CPM_AND_CPC_REVENUE", "AD_SERVER_CPD_REVENUE", "AD_SERVER_CPA_REVENUE", "AD_SERVER_ALL_REVENUE", "AD_SERVER_WITHOUT_CPD_AVERAGE_ECPM", "AD_SERVER_WITH_CPD_AVERAGE_ECPM", "AD_SERVER_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "AD_SERVER_LINE_ITEM_LEVEL_PERCENT_CLICKS", "AD_SERVER_INVENTORY_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_SERVER_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "AD_SERVER_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_SERVER_UNFILTERED_IMPRESSIONS", "AD_SERVER_UNFILTERED_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_TARGETED_CLICKS", "ADSENSE_LINE_ITEM_LEVEL_CTR", "ADSENSE_LINE_ITEM_LEVEL_REVENUE", "ADSENSE_LINE_ITEM_LEVEL_AVERAGE_ECPM", "ADSENSE_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "ADSENSE_LINE_ITEM_LEVEL_PERCENT_CLICKS", "DYNAMIC_ALLOCATION_INVENTORY_LEVEL_WITH_CPD_PERCENT_REVENUE", "ADSENSE_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "ADSENSE_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_IMPRESSIONS", "AD_EXCHANGE_IMPRESSIONS", "AD_EXCHANGE_MATCHED_REQUESTS", "AD_EXCHANGE_AD_ECPM", "AD_EXCHANGE_CLICKS", "AD_EXCHANGE_ESTIMATED_REVENUE", "AD_EXCHANGE_COVERAGE", "AD_EXCHANGE_CTR", "AD_EXCHANGE_LIFT", "AD_EXCHANGE_CPC", "AD_EXCHANGE_AD_REQUESTS", "AD_EXCHANGE_AD_REQUEST_ECPM", "AD_EXCHANGE_AD_REQUEST_CTR", "AD_EXCHANGE_AD_CTR", "AD_EXCHANGE_VIDEO_DROPOFF_RATE", "AD_EXCHANGE_VIDEO_ABANDONMENT_RATE", "AD_EXCHANGE_MATCHED_ECPM", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE", "AD_EXCHANGE_AVERAGE_VIEWABLE_TIME", "AD_EXCHANGE_ACTIVE_VIEW_ENABLED_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURED_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_VIEWED_IMPRESSIONS", "AD_EXCHANGE_DEALS_BID_RESPONSES", "AD_EXCHANGE_DEALS_MATCHED_REQUESTS", "AD_EXCHANGE_DEALS_AD_REQUESTS", "AD_EXCHANGE_DEALS_MATCH_RATE", "AD_EXCHANGE_VIDEO_QUARTILE_1", "AD_EXCHANGE_VIDEO_QUARTILE_3", "AD_EXCHANGE_VIDEO_TRUEVIEW_SKIP_RATE", "AD_EXCHANGE_VIDEO_TRUEVIEW_VIEWS", "AD_EXCHANGE_VIDEO_TRUEVIEW_VTR", "MEDIATION_THIRD_PARTY_ECPM", "AD_EXCHANGE_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "AD_EXCHANGE_LINE_ITEM_LEVEL_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_TARGETED_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_CTR", "AD_EXCHANGE_LINE_ITEM_LEVEL_PERCENT_IMPRESSIONS", "AD_EXCHANGE_LINE_ITEM_LEVEL_PERCENT_CLICKS", "AD_EXCHANGE_LINE_ITEM_LEVEL_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_WITHOUT_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_WITH_CPD_PERCENT_REVENUE", "AD_EXCHANGE_LINE_ITEM_LEVEL_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS", "TOTAL_LINE_ITEM_LEVEL_TARGETED_IMPRESSIONS", "TOTAL_LINE_ITEM_LEVEL_CLICKS", "TOTAL_LINE_ITEM_LEVEL_TARGETED_CLICKS", "TOTAL_LINE_ITEM_LEVEL_CTR", "TOTAL_INVENTORY_LEVEL_ALL_REVENUE", "TOTAL_LINE_ITEM_LEVEL_CPM_AND_CPC_REVENUE", "TOTAL_LINE_ITEM_LEVEL_ALL_REVENUE", "TOTAL_INVENTORY_LEVEL_WITH_CPD_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_WITHOUT_CPD_AVERAGE_ECPM", "TOTAL_LINE_ITEM_LEVEL_WITH_CPD_AVERAGE_ECPM", "TOTAL_CODE_SERVED_COUNT", "TOTAL_INVENTORY_LEVEL_UNFILLED_IMPRESSIONS", "OPTIMIZATION_CONTROL_IMPRESSIONS", "OPTIMIZATION_CONTROL_CLICKS", "OPTIMIZATION_CONTROL_CTR", "OPTIMIZATION_OPTIMIZED_IMPRESSIONS", "OPTIMIZATION_OPTIMIZED_CLICKS", "OPTIMIZATION_NON_OPTIMIZED_IMPRESSIONS", "OPTIMIZATION_NON_OPTIMIZED_CLICKS", "OPTIMIZATION_EXTRA_CLICKS", "OPTIMIZATION_OPTIMIZED_CTR", "OPTIMIZATION_LIFT", "OPTIMIZATION_COVERAGE", "OPTIMIZATION_BEHIND_SCHEDULE_IMPRESSIONS", "OPTIMIZATION_NO_CLICKS_RECORDED_IMPRESSIONS", "OPTIMIZATION_SPONSORSHIP_IMPRESSIONS", "OPTIMIZATION_AS_FAST_AS_POSSIBLE_IMPRESSIONS", "OPTIMIZATION_NO_ABSOLUTE_LIFETIME_GOAL_IMPRESSIONS", "OPTIMIZATION_CONTROL_REVENUE", "OPTIMIZATION_OPTIMIZED_REVENUE", "OPTIMIZATION_CONTROL_ECPM", "OPTIMIZATION_OPTIMIZED_ECPM", "OPTIMIZATION_FREED_UP_IMPRESSIONS", "OPTIMIZATION_ECPM_LIFT", "REACH_FREQUENCY", "REACH_AVERAGE_REVENUE", "REACH", "GRP_POPULATION", "GRP_UNIQUE_AUDIENCE", "GRP_UNIQUE_AUDIENCE_SHARE", "GRP_AUDIENCE_IMPRESSIONS", "GRP_AUDIENCE_IMPRESSIONS_SHARE", "GRP_AUDIENCE_REACH", "GRP_AUDIENCE_AVERAGE_FREQUENCY", "GRP_GROSS_RATING_POINTS", "SDK_MEDIATION_CREATIVE_IMPRESSIONS", "SDK_MEDIATION_CREATIVE_CLICKS", "SELL_THROUGH_FORECASTED_IMPRESSIONS", "SELL_THROUGH_AVAILABLE_IMPRESSIONS", "SELL_THROUGH_RESERVED_IMPRESSIONS", "SELL_THROUGH_SELL_THROUGH_RATE", "RICH_MEDIA_BACKUP_IMAGES", "RICH_MEDIA_DISPLAY_TIME", "RICH_MEDIA_AVERAGE_DISPLAY_TIME", "RICH_MEDIA_EXPANSIONS", "RICH_MEDIA_EXPANDING_TIME", "RICH_MEDIA_INTERACTION_TIME", "RICH_MEDIA_INTERACTION_COUNT", "RICH_MEDIA_INTERACTION_RATE", "RICH_MEDIA_AVERAGE_INTERACTION_TIME", "RICH_MEDIA_INTERACTION_IMPRESSIONS", "RICH_MEDIA_MANUAL_CLOSES", "RICH_MEDIA_FULL_SCREEN_IMPRESSIONS", "RICH_MEDIA_VIDEO_INTERACTIONS", "RICH_MEDIA_VIDEO_INTERACTION_RATE", "RICH_MEDIA_VIDEO_MUTES", "RICH_MEDIA_VIDEO_PAUSES", "RICH_MEDIA_VIDEO_PLAYES", "RICH_MEDIA_VIDEO_MIDPOINTS", "RICH_MEDIA_VIDEO_COMPLETES", "RICH_MEDIA_VIDEO_REPLAYS", "RICH_MEDIA_VIDEO_STOPS", "RICH_MEDIA_VIDEO_UNMUTES", "RICH_MEDIA_VIDEO_VIEW_TIME", "RICH_MEDIA_VIDEO_VIEW_RATE", "RICH_MEDIA_CUSTOM_EVENT_TIME", "RICH_MEDIA_CUSTOM_EVENT_COUNT", "VIDEO_VIEWERSHIP_START", "VIDEO_VIEWERSHIP_FIRST_QUARTILE", "VIDEO_VIEWERSHIP_MIDPOINT", "VIDEO_VIEWERSHIP_THIRD_QUARTILE", "VIDEO_VIEWERSHIP_COMPLETE", "VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE", "VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME", "VIDEO_VIEWERSHIP_COMPLETION_RATE", "VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT", "VIDEO_VIEWERSHIP_VIDEO_LENGTH", "VIDEO_VIEWERSHIP_SKIP_BUTTON_SHOWN", "VIDEO_VIEWERSHIP_ENGAGED_VIEW", "VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE", "VIDEO_VIEWERSHIP_AUTO_PLAYS", "VIDEO_VIEWERSHIP_CLICK_TO_PLAYS", "VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE", "VIDEO_ERRORS_VAST_ERROR_100_COUNT", "VIDEO_ERRORS_VAST_ERROR_101_COUNT", "VIDEO_ERRORS_VAST_ERROR_102_COUNT", "VIDEO_ERRORS_VAST_ERROR_200_COUNT", "VIDEO_ERRORS_VAST_ERROR_201_COUNT", "VIDEO_ERRORS_VAST_ERROR_202_COUNT", "VIDEO_ERRORS_VAST_ERROR_203_COUNT", "VIDEO_ERRORS_VAST_ERROR_300_COUNT", "VIDEO_ERRORS_VAST_ERROR_301_COUNT", "VIDEO_ERRORS_VAST_ERROR_302_COUNT", "VIDEO_ERRORS_VAST_ERROR_303_COUNT", "VIDEO_ERRORS_VAST_ERROR_400_COUNT", "VIDEO_ERRORS_VAST_ERROR_401_COUNT", "VIDEO_ERRORS_VAST_ERROR_402_COUNT", "VIDEO_ERRORS_VAST_ERROR_403_COUNT", "VIDEO_ERRORS_VAST_ERROR_405_COUNT", "VIDEO_ERRORS_VAST_ERROR_500_COUNT", "VIDEO_ERRORS_VAST_ERROR_501_COUNT", "VIDEO_ERRORS_VAST_ERROR_502_COUNT", "VIDEO_ERRORS_VAST_ERROR_503_COUNT", "VIDEO_ERRORS_VAST_ERROR_600_COUNT", "VIDEO_ERRORS_VAST_ERROR_601_COUNT", "VIDEO_ERRORS_VAST_ERROR_602_COUNT", "VIDEO_ERRORS_VAST_ERROR_603_COUNT", "VIDEO_ERRORS_VAST_ERROR_604_COUNT", "VIDEO_ERRORS_VAST_ERROR_900_COUNT", "VIDEO_ERRORS_VAST_ERROR_901_COUNT", "VIDEO_INTERACTION_PAUSE", "VIDEO_INTERACTION_RESUME", "VIDEO_INTERACTION_REWIND", "VIDEO_INTERACTION_MUTE", "VIDEO_INTERACTION_UNMUTE", "VIDEO_INTERACTION_COLLAPSE", "VIDEO_INTERACTION_EXPAND", "VIDEO_INTERACTION_FULL_SCREEN", "VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE", "VIDEO_INTERACTION_VIDEO_SKIPS", "VIDEO_OPTIMIZATION_CONTROL_STARTS", "VIDEO_OPTIMIZATION_OPTIMIZED_STARTS", "VIDEO_OPTIMIZATION_CONTROL_COMPLETES", "VIDEO_OPTIMIZATION_OPTIMIZED_COMPLETES", "VIDEO_OPTIMIZATION_CONTROL_COMPLETION_RATE", "VIDEO_OPTIMIZATION_OPTIMIZED_COMPLETION_RATE", "VIDEO_OPTIMIZATION_COMPLETION_RATE_LIFT", "VIDEO_OPTIMIZATION_CONTROL_SKIP_BUTTON_SHOWN", "VIDEO_OPTIMIZATION_OPTIMIZED_SKIP_BUTTON_SHOWN", "VIDEO_OPTIMIZATION_CONTROL_ENGAGED_VIEW", "VIDEO_OPTIMIZATION_OPTIMIZED_ENGAGED_VIEW", "VIDEO_OPTIMIZATION_CONTROL_VIEW_THROUGH_RATE", "VIDEO_OPTIMIZATION_OPTIMIZED_VIEW_THROUGH_RATE", "VIDEO_OPTIMIZATION_VIEW_THROUGH_RATE_LIFT", "TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "TOTAL_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "TOTAL_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "AD_SERVER_ACTIVE_VIEW_REVENUE", "AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "ADSENSE_ACTIVE_VIEW_REVENUE", "ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE", "AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", "AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE", "AD_EXCHANGE_ACTIVE_VIEW_REVENUE", "AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", "TOTAL_ACTIVE_VIEW_REVENUE", "VIEW_THROUGH_CONVERSIONS", "CONVERSIONS_PER_THOUSAND_IMPRESSIONS", "CLICK_THROUGH_CONVERSIONS", "CONVERSIONS_PER_CLICK", "VIEW_THROUGH_REVENUE", "CLICK_THROUGH_REVENUE", "TOTAL_CONVERSIONS", "TOTAL_CONVERSION_REVENUE", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_COMPETING_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_UNFILLED_IMPRESSIONS_COMPETING", "DYNAMIC_ALLOCATION_OPPORTUNITY_ELIGIBLE_IMPRESSIONS_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_NOT_COMPETING_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_IMPRESSIONS_NOT_COMPETING_PERCENT_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_SATURATION_RATE_TOTAL", "DYNAMIC_ALLOCATION_OPPORTUNITY_MATCH_RATE_TOTAL", "CONTRACTED_REVENUE_CONTRACTED_NET_REVENUE", "CONTRACTED_REVENUE_LOCAL_CONTRACTED_NET_REVENUE", "CONTRACTED_REVENUE_CONTRACTED_GROSS_REVENUE", "CONTRACTED_REVENUE_LOCAL_CONTRACTED_GROSS_REVENUE", "CONTRACTED_REVENUE_CONTRACTED_VAT", "CONTRACTED_REVENUE_LOCAL_CONTRACTED_VAT", "CONTRACTED_REVENUE_CONTRACTED_AGENCY_COMMISSION", "CONTRACTED_REVENUE_LOCAL_CONTRACTED_AGENCY_COMMISSION", "SALES_CONTRACT_CONTRACTED_IMPRESSIONS", "SALES_CONTRACT_CONTRACTED_CLICKS", "SALES_CONTRACT_CONTRACTED_VOLUME", "SALES_CONTRACT_BUDGET", "SALES_CONTRACT_REMAINING_BUDGET", "SALES_CONTRACT_BUFFERED_IMPRESSIONS", "SALES_CONTRACT_BUFFERED_CLICKS", "SCHEDULED_SCHEDULED_IMPRESSIONS", "SCHEDULED_SCHEDULED_CLICKS", "SCHEDULED_SCHEDULED_VOLUME", "SCHEDULED_SCHEDULED_NET_REVENUE", "SCHEDULED_LOCAL_SCHEDULED_NET_REVENUE", "SCHEDULED_SCHEDULED_GROSS_REVENUE", "SCHEDULED_LOCAL_SCHEDULED_GROSS_REVENUE", "SALES_TOTAL_TOTAL_BUDGET", "SALES_TOTAL_TOTAL_REMAINING_BUDGET", "SALES_TOTAL_TOTAL_CONTRACTED_VOLUME", "SALES_TOTAL_TOTAL_CONTRACTED_NET_REVENUE", "SALES_TOTAL_LOCAL_TOTAL_CONTRACTED_NET_REVENUE", "SALES_TOTAL_TOTAL_CONTRACTED_GROSS_REVENUE", "SALES_TOTAL_LOCAL_TOTAL_CONTRACTED_GROSS_REVENUE", "SALES_TOTAL_TOTAL_CONTRACTED_AGENCY_COMMISSION", "SALES_TOTAL_LOCAL_TOTAL_CONTRACTED_AGENCY_COMMISSION", "SALES_TOTAL_TOTAL_CONTRACTED_NET_REVENUE_WITH_VAT", "SALES_TOTAL_LOCAL_TOTAL_CONTRACTED_NET_REVENUE_WITH_VAT", "SALES_TOTAL_TOTAL_SCHEDULED_VOLUME", "SALES_TOTAL_TOTAL_SCHEDULED_NET_REVENUE", "SALES_TOTAL_LOCAL_TOTAL_SCHEDULED_NET_REVENUE", "SALES_TOTAL_TOTAL_SCHEDULED_GROSS_REVENUE", "SALES_TOTAL_LOCAL_TOTAL_SCHEDULED_GROSS_REVENUE", "UNIFIED_REVENUE_UNRECONCILED_NET_REVENUE", "UNIFIED_REVENUE_LOCAL_UNRECONCILED_NET_REVENUE", "UNIFIED_REVENUE_UNRECONCILED_GROSS_REVENUE", "UNIFIED_REVENUE_LOCAL_UNRECONCILED_GROSS_REVENUE", "UNIFIED_REVENUE_FORECASTED_NET_REVENUE", "UNIFIED_REVENUE_LOCAL_FORECASTED_NET_REVENUE", "UNIFIED_REVENUE_FORECASTED_GROSS_REVENUE", "UNIFIED_REVENUE_LOCAL_FORECASTED_GROSS_REVENUE", "UNIFIED_REVENUE_UNIFIED_NET_REVENUE", "UNIFIED_REVENUE_LOCAL_UNIFIED_NET_REVENUE", "UNIFIED_REVENUE_UNIFIED_GROSS_REVENUE", "UNIFIED_REVENUE_LOCAL_UNIFIED_GROSS_REVENUE", "UNIFIED_REVENUE_UNIFIED_AGENCY_COMMISSION", "UNIFIED_REVENUE_LOCAL_UNIFIED_AGENCY_COMMISSION", "UNIFIED_REVENUE_UNRECONCILED_VOLUME", "UNIFIED_REVENUE_FORECASTED_VOLUME", "UNIFIED_REVENUE_UNIFIED_VOLUME", "EXPECTED_REVENUE_EXPECTED_NET_REVENUE", "EXPECTED_REVENUE_LOCAL_EXPECTED_NET_REVENUE", "EXPECTED_REVENUE_EXPECTED_GROSS_REVENUE", "EXPECTED_REVENUE_LOCAL_EXPECTED_GROSS_REVENUE", "SALES_PIPELINE_PIPELINE_NET_REVENUE", "SALES_PIPELINE_LOCAL_PIPELINE_NET_REVENUE", "SALES_PIPELINE_PIPELINE_GROSS_REVENUE", "SALES_PIPELINE_LOCAL_PIPELINE_GROSS_REVENUE", "SALES_PIPELINE_PIPELINE_AGENCY_COMMISSION", "SALES_PIPELINE_LOCAL_PIPELINE_AGENCY_COMMISSION", "RECONCILIATION_DFP_VOLUME", "RECONCILIATION_THIRD_PARTY_VOLUME", "RECONCILIATION_RECONCILED_VOLUME", "RECONCILIATION_DISCREPANCY_PERCENTAGE", "RECONCILIATION_RECONCILED_REVENUE", "RECONCILIATION_IMPRESSION_DISCREPANCY", "RECONCILIATION_CLICK_DISCREPANCY", "RECONCILIATION_REVENUE_DISCREPANCY", "BILLING_BILLABLE_NET_REVENUE", "BILLING_LOCAL_BILLABLE_NET_REVENUE", "BILLING_BILLABLE_GROSS_REVENUE", "BILLING_LOCAL_BILLABLE_GROSS_REVENUE", "BILLING_BILLABLE_NET_REVENUE_BEFORE_MANUAL_ADJUSTMENT", "BILLING_LOCAL_BILLABLE_NET_REVENUE_BEFORE_MANUAL_ADJUSTMENT", "BILLING_BILLABLE_GROSS_REVENUE_BEFORE_MANUAL_ADJUSTMENT", "BILLING_LOCAL_BILLABLE_GROSS_REVENUE_BEFORE_MANUAL_ADJUSTMENT", "BILLING_BILLABLE_VAT", "BILLING_LOCAL_BILLABLE_VAT", "BILLING_BILLABLE_AGENCY_COMMISSION", "BILLING_LOCAL_BILLABLE_AGENCY_COMMISSION", "BILLING_CAP_QUANTITY", "BILLING_BILLABLE_VOLUME", "BILLING_DELIVERY_ROLLOVER", "BILLING_REALIZED_CPM", "BILLING_REALIZED_RATE", "DISCOUNTS_BREAKDOWN_CONTRACTED_NET_OVERALL_DISCOUNT", "DISCOUNTS_BREAKDOWN_BILLABLE_NET_OVERALL_DISCOUNT", "DISCOUNTS_BREAKDOWN_CONTRACTED_NET_NON_BILLABLE", "INVOICED_IMPRESSIONS", "INVOICED_UNFILLED_IMPRESSIONS", "NIELSEN_IMPRESSIONS", "NIELSEN_IN_TARGET_IMPRESSIONS", "NIELSEN_POPULATION_BASE", "NIELSEN_IN_TARGET_POPULATION_BASE", "NIELSEN_UNIQUE_AUDIENCE", "NIELSEN_IN_TARGET_UNIQUE_AUDIENCE", "NIELSEN_PERCENT_AUDIENCE_REACH", "NIELSEN_IN_TARGET_PERCENT_AUDIENCE_REACH", "NIELSEN_AVERAGE_FREQUENCY", "NIELSEN_IN_TARGET_AVERAGE_FREQUENCY", "NIELSEN_GROSS_RATING_POINTS", "NIELSEN_IN_TARGET_GROSS_RATING_POINTS", "NIELSEN_PERCENT_IMPRESSIONS_SHARE", "NIELSEN_IN_TARGET_PERCENT_IMPRESSIONS_SHARE", "NIELSEN_PERCENT_POPULATION_SHARE", "NIELSEN_IN_TARGET_PERCENT_POPULATION_SHARE", "NIELSEN_PERCENT_AUDIENCE_SHARE", "NIELSEN_IN_TARGET_PERCENT_AUDIENCE_SHARE", "NIELSEN_AUDIENCE_INDEX", "NIELSEN_IN_TARGET_AUDIENCE_INDEX", "NIELSEN_IMPRESSIONS_INDEX", "NIELSEN_IN_TARGET_IMPRESSIONS_INDEX", "DP_IMPRESSIONS", "DP_CLICKS", "DP_QUERIES", "DP_MATCHED_QUERIES", "DP_COST", "PARTNER_MANAGEMENT_HOST_IMPRESSIONS", "PARTNER_MANAGEMENT_HOST_CLICKS", "PARTNER_MANAGEMENT_HOST_CTR", "PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS", "PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS", "PARTNER_MANAGEMENT_PARTNER_CLICKS", "PARTNER_MANAGEMENT_PARTNER_CTR", "PARTNER_MANAGEMENT_GROSS_REVENUE", "PARTNER_FINANCE_HOST_IMPRESSIONS", "PARTNER_FINANCE_HOST_REVENUE", "PARTNER_FINANCE_HOST_ECPM", "PARTNER_FINANCE_PARTNER_REVENUE", "PARTNER_FINANCE_PARTNER_ECPM", "PARTNER_FINANCE_GROSS_REVENUE"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"CurrencyCodeError.Reason"=>{:type=>"string", :enumerations=>["INVALID", "UNSUPPORTED"]}, :DateRangeType=>{:type=>"string", :enumerations=>["TODAY", "YESTERDAY", "LAST_WEEK", "LAST_MONTH", "LAST_3_MONTHS", "REACH_LIFETIME", "CUSTOM_DATE", "NEXT_DAY", "NEXT_90_DAYS", "NEXT_WEEK", "NEXT_MONTH", "CURRENT_AND_NEXT_MONTH", "NEXT_QUARTER", "NEXT_3_MONTHS", "NEXT_12_MONTHS"]}, :Dimension=>{:type=>"string", :enumerations=>["MONTH_AND_YEAR", "WEEK", "DATE", "DAY", "HOUR", "LINE_ITEM_ID", "LINE_ITEM_NAME", "LINE_ITEM_TYPE", "ORDER_ID", "ORDER_NAME", "ORDER_DELIVERY_STATUS", "ADVERTISER_ID", "ADVERTISER_NAME", "AD_NETWORK_ID", "AD_NETWORK_NAME", "SALESPERSON_ID", "SALESPERSON_NAME", "CREATIVE_ID", "CREATIVE_NAME", "CREATIVE_TYPE", "CREATIVE_BILLING_TYPE", "CUSTOM_EVENT_ID", "CUSTOM_EVENT_NAME", "CUSTOM_EVENT_TYPE", "CREATIVE_SIZE", "AD_UNIT_ID", "AD_UNIT_NAME", "PARENT_AD_UNIT_ID", "PARENT_AD_UNIT_NAME", "PLACEMENT_ID", "PLACEMENT_NAME", "PLACEMENT_STATUS", "TARGETING", "DEVICE_CATEGORY_ID", "DEVICE_CATEGORY_NAME", "COUNTRY_CRITERIA_ID", "COUNTRY_NAME", "REGION_CRITERIA_ID", "REGION_NAME", "CITY_CRITERIA_ID", "CITY_NAME", "METRO_CRITERIA_ID", "METRO_NAME", "POSTAL_CODE_CRITERIA_ID", "POSTAL_CODE", "CUSTOM_TARGETING_VALUE_ID", "CUSTOM_CRITERIA", "ACTIVITY_ID", "ACTIVITY_NAME", "ACTIVITY_GROUP_ID", "ACTIVITY_GROUP_NAME", "CONTENT_ID", "CONTENT_NAME", "CONTENT_BUNDLE_ID", "CONTENT_BUNDLE_NAME", "VIDEO_METADATA_KEY_ID", "VIDEO_METADATA_KEY_NAME", "CONTENT_HIERARCHY", "VIDEO_FALLBACK_POSITION", "POSITION_OF_POD", "POSITION_IN_POD", "VIDEO_REDIRECT_THIRD_PARTY", "VIDEO_VAST_VERSION", "PARTNER_MANAGEMENT_PARTNER_ID", "PARTNER_MANAGEMENT_PARTNER_NAME", "PARTNER_MANAGEMENT_PARTNER_LABEL_ID", "PARTNER_MANAGEMENT_PARTNER_LABEL_NAME", "PARTNER_MANAGEMENT_ASSIGNMENT_ID", "PARTNER_MANAGEMENT_ASSIGNMENT_NAME", "GRP_DEMOGRAPHICS", "AD_REQUEST_AD_UNIT_SIZES", "AD_REQUEST_CUSTOM_CRITERIA", "IS_FIRST_LOOK_DEAL", "YIELD_GROUP_ID", "YIELD_GROUP_NAME", "YIELD_PARTNER", "YIELD_PARTNER_TAG", "MEDIATION_TYPE", "NATIVE_TEMPLATE_ID", "NATIVE_TEMPLATE_NAME", "NATIVE_STYLE_ID", "NATIVE_STYLE_NAME", "MOBILE_APP_NAME", "MOBILE_DEVICE_NAME", "MOBILE_INVENTORY_TYPE", "REQUEST_TYPE", "AD_UNIT_STATUS", "MASTER_COMPANION_CREATIVE_ID", "MASTER_COMPANION_CREATIVE_NAME", "PROPOSAL_LINE_ITEM_ID", "PROPOSAL_LINE_ITEM_NAME", "PROPOSAL_ID", "PROPOSAL_NAME", "ALL_SALESPEOPLE_ID", "ALL_SALESPEOPLE_NAME", "SALES_TEAM_ID", "SALES_TEAM_NAME", "PROPOSAL_AGENCY_ID", "PROPOSAL_AGENCY_NAME", "PRODUCT_ID", "PRODUCT_NAME", "PRODUCT_TEMPLATE_ID", "PRODUCT_TEMPLATE_NAME", "RATE_CARD_ID", "RATE_CARD_NAME", "WORKFLOW_ID", "WORKFLOW_NAME", "PACKAGE_ID", "PACKAGE_NAME", "PRODUCT_PACKAGE_ID", "PRODUCT_PACKAGE_NAME", "AUDIENCE_SEGMENT_ID", "AUDIENCE_SEGMENT_NAME", "AUDIENCE_SEGMENT_DATA_PROVIDER_NAME", "AD_EXCHANGE_INVENTORY_SIZE", "AD_EXCHANGE_INVENTORY_SIZE_CODE", "AD_EXCHANGE_DEVICE_CATEGORY", "AD_EXCHANGE_PRICING_RULE_ID", "AD_EXCHANGE_PRICING_RULE_NAME", "AD_EXCHANGE_TAG_NAME", "AD_EXCHANGE_URL", "AD_EXCHANGE_WEB_PROPERTY_CODE", "AD_EXCHANGE_CREATIVE_SIZES", "AD_EXCHANGE_AD_TYPE", "AD_EXCHANGE_CHANNEL_NAME", "AD_EXCHANGE_PRODUCT_NAME", "AD_EXCHANGE_PRODUCT_CODE", "AD_EXCHANGE_SITE_NAME", "AD_EXCHANGE_REQUEST_SOURCES", "AD_EXCHANGE_ADVERTISER_NAME", "AD_EXCHANGE_BRAND_NAME", "AD_EXCHANGE_AGENCY", "AD_EXCHANGE_BID_TYPE_CODE", "AD_EXCHANGE_BRANDING_TYPE_CODE", "AD_EXCHANGE_BRANDING_TYPE", "AD_EXCHANGE_BUYER_NETWORK_NAME", "AD_EXCHANGE_BUYER_NETWORK_ID", "AD_EXCHANGE_CUSTOM_CHANNEL_CODE", "AD_EXCHANGE_CUSTOM_CHANNEL_ID", "AD_EXCHANGE_DATE", "AD_EXCHANGE_DEAL_ID", "AD_EXCHANGE_DEAL_NAME", "AD_EXCHANGE_TRANSACTION_TYPE", "AD_EXCHANGE_DSP_BUYER_NETWORK_NAME", "AD_EXCHANGE_EXPANSION_TYPE", "AD_EXCHANGE_COUNTRY_CODE", "AD_EXCHANGE_COUNTRY_NAME", "AD_EXCHANGE_DFP_AD_UNIT_ID", "AD_EXCHANGE_DFP_AD_UNIT", "AD_EXCHANGE_INVENTORY_OWNERSHIP", "AD_EXCHANGE_ADVERTISER_DOMAIN", "AD_EXCHANGE_MOBILE_APP_NAME", "AD_EXCHANGE_MOBILE_CARRIER_NAME", "AD_EXCHANGE_MOBILE_DEVICE_NAME", "AD_EXCHANGE_MOBILE_INVENTORY_TYPE", "AD_EXCHANGE_MONTH", "AD_EXCHANGE_NETWORK_PARTNER_NAME", "AD_EXCHANGE_OPERATING_SYSTEM", "AD_EXCHANGE_TAG_CODE", "AD_EXCHANGE_TARGETING_TYPE_CODE", "AD_EXCHANGE_TARGETING_TYPE", "AD_EXCHANGE_TRANSACTION_TYPE_CODE", "AD_EXCHANGE_URL_ID", "AD_EXCHANGE_USER_BANDWIDTH_NAME", "AD_EXCHANGE_VIDEO_AD_DURATION", "AD_EXCHANGE_VIDEO_AD_DURATION_RAW", "AD_EXCHANGE_VIDEO_AD_TYPE", "AD_EXCHANGE_WEEK", "AD_EXCHANGE_AD_LOCATION", "AD_EXCHANGE_ADVERTISER_VERTICAL", "NIELSEN_SEGMENT", "NIELSEN_DEMOGRAPHICS", "NIELSEN_RESTATEMENT_DATE", "PROGRAMMATIC_BUYER_ID", "PROGRAMMATIC_BUYER_NAME", "REQUESTED_AD_SIZES", "CREATIVE_SIZE_DELIVERED", "PROGRAMMATIC_CHANNEL_ID", "PROGRAMMATIC_CHANNEL_NAME", "DP_DATE", "DP_WEEK", "DP_MONTH_YEAR", "DP_COUNTRY_CRITERIA_ID", "DP_COUNTRY_NAME", "DP_INVENTORY_TYPE", "DP_CREATIVE_SIZE", "DP_BRAND_NAME", "DP_ADVERTISER_NAME", "DP_ADX_BUYER_NETWORK_NAME", "DP_MOBILE_DEVICE_NAME", "DP_DEVICE_CATEGORY_NAME", "DP_TAG_ID", "DP_DEAL_ID", "DP_APP_ID", "CUSTOM_DIMENSION", "DEMAND_CHANNEL_ID", "DEMAND_CHANNEL_NAME"]}, :DimensionAttribute=>{:type=>"string", :enumerations=>["LINE_ITEM_LABELS", "LINE_ITEM_LABEL_IDS", "LINE_ITEM_OPTIMIZABLE", "LINE_ITEM_DELIVERY_INDICATOR", "LINE_ITEM_DELIVERY_PACING", "LINE_ITEM_FREQUENCY_CAP", "LINE_ITEM_RECONCILIATION_STATUS", "LINE_ITEM_LAST_RECONCILIATION_DATE_TIME", "ADVERTISER_EXTERNAL_ID", "ADVERTISER_TYPE", "ADVERTISER_CREDIT_STATUS", "ADVERTISER_PRIMARY_CONTACT", "ORDER_START_DATE_TIME", "ORDER_END_DATE_TIME", "ORDER_EXTERNAL_ID", "ORDER_PO_NUMBER", "ORDER_IS_PROGRAMMATIC", "ORDER_AGENCY", "ORDER_AGENCY_ID", "ORDER_LABELS", "ORDER_LABEL_IDS", "ORDER_TRAFFICKER", "ORDER_TRAFFICKER_ID", "ORDER_SECONDARY_TRAFFICKERS", "ORDER_SALESPERSON", "ORDER_SECONDARY_SALESPEOPLE", "ORDER_LIFETIME_IMPRESSIONS", "ORDER_LIFETIME_CLICKS", "ORDER_BOOKED_CPM", "ORDER_BOOKED_CPC", "LINE_ITEM_START_DATE_TIME", "LINE_ITEM_END_DATE_TIME", "LINE_ITEM_EXTERNAL_ID", "LINE_ITEM_COST_TYPE", "LINE_ITEM_COST_PER_UNIT", "LINE_ITEM_CURRENCY_CODE", "LINE_ITEM_GOAL_QUANTITY", "LINE_ITEM_SPONSORSHIP_GOAL_PERCENTAGE", "LINE_ITEM_LIFETIME_IMPRESSIONS", "LINE_ITEM_LIFETIME_CLICKS", "LINE_ITEM_PRIORITY", "CREATIVE_OR_CREATIVE_SET", "MASTER_COMPANION_TYPE", "LINE_ITEM_CONTRACTED_QUANTITY", "LINE_ITEM_DISCOUNT", "LINE_ITEM_NON_CPD_BOOKED_REVENUE", "ADVERTISER_LABELS", "ADVERTISER_LABEL_IDS", "CREATIVE_CLICK_THROUGH_URL", "CREATIVE_SSL_SCAN_RESULT", "CREATIVE_SSL_COMPLIANCE_OVERRIDE", "LINE_ITEM_CREATIVE_START_DATE", "LINE_ITEM_CREATIVE_END_DATE", "PROPOSAL_START_DATE_TIME", "PROPOSAL_END_DATE_TIME", "PROPOSAL_CREATION_DATE_TIME", "PROPOSAL_SOLD_DATE_TIME", "PROPOSAL_IS_SOLD", "PROPOSAL_PROBABILITY_OF_CLOSE", "PROPOSAL_STATUS", "PROPOSAL_ARCHIVAL_STATUS", "PROPOSAL_CURRENCY", "PROPOSAL_EXCHANGE_RATE", "PROPOSAL_AGENCY_COMMISSION_RATE", "PROPOSAL_VAT_RATE", "PROPOSAL_DISCOUNT", "PROPOSAL_ADVERTISER_DISCOUNT", "PROPOSAL_ADVERTISER", "PROPOSAL_ADVERTISER_ID", "PROPOSAL_AGENCIES", "PROPOSAL_AGENCY_IDS", "PROPOSAL_PO_NUMBER", "PROPOSAL_PRIMARY_SALESPERSON", "PROPOSAL_SECONDARY_SALESPEOPLE", "PROPOSAL_CREATOR", "PROPOSAL_SALES_PLANNERS", "PROPOSAL_PRICING_MODEL", "PROPOSAL_BILLING_SOURCE", "PROPOSAL_BILLING_CAP", "PROPOSAL_BILLING_SCHEDULE", "PROPOSAL_APPLIED_TEAM_NAMES", "PROPOSAL_APPROVAL_STAGE", "PROPOSAL_INVENTORY_RELEASE_DATE_TIME", "PROPOSAL_LOCAL_BUDGET", "PROPOSAL_LOCAL_REMAINING_BUDGET", "PROPOSAL_FLAT_FEE", "PROPOSAL_IS_PROGRAMMATIC", "PROPOSAL_LINE_ITEM_START_DATE_TIME", "PROPOSAL_LINE_ITEM_END_DATE_TIME", "PROPOSAL_LINE_ITEM_RATE_TYPE", "PROPOSAL_LINE_ITEM_RESERVATION_STATUS", "PROPOSAL_LINE_ITEM_COST_PER_UNIT", "PROPOSAL_LINE_ITEM_LOCAL_COST_PER_UNIT", "PROPOSAL_LINE_ITEM_COST_PER_UNIT_GROSS", "PROPOSAL_LINE_ITEM_LOCAL_COST_PER_UNIT_GROSS", "PROPOSAL_LINE_ITEM_TYPE_AND_PRIORITY", "PROPOSAL_LINE_ITEM_SIZE", "PROPOSAL_LINE_ITEM_ARCHIVAL_STATUS", "PROPOSAL_LINE_ITEM_PRODUCT_ADJUSTMENT", "PROPOSAL_LINE_ITEM_BUFFER", "PROPOSAL_LINE_ITEM_LISTING_RATE_NET", "PROPOSAL_LINE_ITEM_BILLING_SOURCE", "PROPOSAL_LINE_ITEM_BILLING_CAP", "PROPOSAL_LINE_ITEM_BILLING_SCHEDULE", "PROPOSAL_LINE_ITEM_GOAL_PERCENTAGE", "PROPOSAL_LINE_ITEM_COST_ADJUSTMENT", "PROPOSAL_LINE_ITEM_COMMENTS", "PROPOSAL_LINE_ITEM_RECONCILIATION_STATUS", "PROPOSAL_LINE_ITEM_LAST_RECONCILIATION_DATE_TIME", "PROPOSAL_LINE_ITEM_FLAT_FEE", "PRODUCT_PACKAGE_ITEM_ARCHIVAL_STATUS", "PROPOSAL_LINE_ITEM_TYPE", "PRODUCT_TEMPLATE_RATE_TYPE", "PRODUCT_TEMPLATE_STATUS", "PRODUCT_TEMPLATE_TYPE_AND_PRIORITY", "PRODUCT_TEMPLATE_PRODUCT_TYPE", "PRODUCT_TEMPLATE_DESCRIPTION", "PRODUCT_PRODUCT_TEMPLATE_NAME", "PRODUCT_RATE_TYPE", "PRODUCT_STATUS", "PRODUCT_TYPE_AND_PRIORITY", "PRODUCT_PRODUCT_TYPE", "PRODUCT_NOTES", "PRODUCT_INVENTORY_SIZES", "PRODUCT_RATE", "PACKAGED_PRODUCT_RATE", "PROPOSAL_AGENCY_TYPE", "PROPOSAL_AGENCY_CREDIT_STATUS", "PROPOSAL_AGENCY_EXTERNAL_ID", "PROPOSAL_AGENCY_COMMENT", "SALESPEOPLE_PROPOSAL_CONTRIBUTION", "SALESPERSON_PROPOSAL_CONTRIBUTION", "PRODUCT_PACKAGE_NOTES", "PRODUCT_PACKAGE_ITEMS", "PRODUCT_PACKAGE_STATUS", "PACKAGE_COMMENTS", "PACKAGE_START_DATE_TIME", "PACKAGE_END_DATE_TIME", "CONTENT_CMS_NAME", "CONTENT_CMS_VIDEO_ID", "AD_UNIT_CODE"]}, :ExportFormat=>{:type=>"string", :enumerations=>["TSV", "TSV_EXCEL", "CSV_DUMP", "XML", "XLSX"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"ReportError.Reason"=>{:type=>"string", :enumerations=>["DEFAULT", "REPORT_ACCESS_NOT_ALLOWED", "DIMENSION_VIEW_NOT_ALLOWED", "ATTRIBUTE_VIEW_NOT_ALLOWED", "COLUMN_VIEW_NOT_ALLOWED", "TOO_MANY_CONCURRENT_REPORTS", "REPORT_QUERY_TOO_LONG", "INVALID_OPERATION_FOR_REPORT_STATE", "INVALID_DIMENSIONS", "INVALID_ATTRIBUTES", "INVALID_CONTENT_HIERARCHY_DIMENSIONS", "INVALID_COLUMNS", "INVALID_DIMENSION_FILTERS", "INVALID_DATE", "END_DATE_TIME_NOT_AFTER_START_TIME", "START_DATE_MORE_THAN_THREE_YEARS_AGO", "NOT_NULL", "ATTRIBUTES_NOT_SUPPORTED_FOR_REQUEST", "REPORT_CONSTRAINT_VIOLATION", "FAILED_TO_STORE_REPORT", "REPORT_NOT_FOUND", "SR_CANNOT_RUN_REPORT_IN_ANOTHER_NETWORK", "UNKNOWN"]}, :ReportJobStatus=>{:type=>"string", :enumerations=>["COMPLETED", "IN_PROGRESS", "FAILED"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :TimeZoneType=>{:type=>"string", :enumerations=>["UNKNOWN", "PROPOSAL_LOCAL", "PUBLISHER", "AD_EXCHANGE"]}}
|
16
|
+
REPORTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return REPORTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return REPORTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return REPORTSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Base class for exceptions.
|
32
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
+
attr_reader :message # string
|
34
|
+
end
|
35
|
+
|
36
|
+
# Exception class for holding a list of service errors.
|
37
|
+
class ApiException < ApplicationException
|
38
|
+
attr_reader :errors # ApiError
|
39
|
+
def initialize(exception_fault)
|
40
|
+
@array_fields ||= []
|
41
|
+
@array_fields << 'errors'
|
42
|
+
super(exception_fault, ReportServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -2,19 +2,19 @@
|
|
2
2
|
#
|
3
3
|
# This is auto-generated code, changes will be overwritten.
|
4
4
|
#
|
5
|
-
# Copyright:: Copyright
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
6
|
# License:: Licensed under the Apache License, Version 2.0.
|
7
7
|
#
|
8
|
-
# Code generated by AdsCommon library 1.0.
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:54.
|
9
9
|
|
10
10
|
require 'ads_common/savon_service'
|
11
|
-
require 'ad_manager_api/
|
11
|
+
require 'ad_manager_api/v201905/suggested_ad_unit_service_registry'
|
12
12
|
|
13
|
-
module AdManagerApi; module
|
13
|
+
module AdManagerApi; module V201905; module SuggestedAdUnitService
|
14
14
|
class SuggestedAdUnitService < AdsCommon::SavonService
|
15
15
|
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://www.google.com/apis/ads/publisher/
|
17
|
-
super(config, endpoint, namespace, :
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_suggested_ad_units_by_statement(*args, &block)
|
@@ -40,7 +40,7 @@ module AdManagerApi; module V201805; module SuggestedAdUnitService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def get_module()
|
43
|
-
return AdManagerApi::
|
43
|
+
return AdManagerApi::V201905::SuggestedAdUnitService
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end; end; end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:54.
|
9
|
+
|
10
|
+
require 'ad_manager_api/errors'
|
11
|
+
|
12
|
+
module AdManagerApi; module V201905; module SuggestedAdUnitService
|
13
|
+
class SuggestedAdUnitServiceRegistry
|
14
|
+
SUGGESTEDADUNITSERVICE_METHODS = {:get_suggested_ad_units_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_suggested_ad_units_by_statement_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_suggested_ad_unit_action=>{:input=>[{:name=>:suggested_ad_unit_action, :type=>"SuggestedAdUnitAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_suggested_ad_unit_action_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitUpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
+
SUGGESTEDADUNITSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdUnitParent=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_unit_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveSuggestedAdUnits=>{:fields=>[], :base=>"SuggestedAdUnitAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:full_display_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :InventoryUnitSizesError=>{:fields=>[{:name=>:reason, :type=>"InventoryUnitSizesError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SuggestedAdUnitAction=>{:fields=>[], :abstract=>true}, :SuggestedAdUnit=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_requests, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:parent_path, :type=>"AdUnitParent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:target_window, :type=>"AdUnit.TargetWindow", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_platform, :type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:suggested_ad_unit_sizes, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitUpdateResult=>{:fields=>[{:name=>:new_ad_unit_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"AdUnit.TargetWindow"=>{:type=>"string", :enumerations=>["TOP", "BLANK"]}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NOT_WHITELISTED_FOR_API_ACCESS", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :EnvironmentType=>{:type=>"string", :enumerations=>["BROWSER", "VIDEO_PLAYER"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"InventoryUnitSizesError.Reason"=>{:type=>"string", :enumerations=>["INVALID_SIZES", "INVALID_SIZE_FOR_PLATFORM", "VIDEO_FEATURE_MISSING", "VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING", "INVALID_SIZE_FOR_MASTER", "INVALID_SIZE_FOR_COMPANION", "DUPLICATE_MASTER_SIZES", "ASPECT_RATIO_NOT_SUPPORTED", "VIDEO_COMPANIONS_NOT_SUPPORTED", "UNKNOWN"]}, :"LabelEntityAssociationError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ASSOCIATION", "INVALID_ASSOCIATION", "DUPLICATE_ASSOCIATION_WITH_NEGATION", "UNKNOWN"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :TargetPlatform=>{:type=>"string", :enumerations=>["WEB", "MOBILE", "ANY"]}}
|
16
|
+
SUGGESTEDADUNITSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return SUGGESTEDADUNITSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return SUGGESTEDADUNITSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return SUGGESTEDADUNITSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Base class for exceptions.
|
32
|
+
class ApplicationException < AdManagerApi::Errors::ApiException
|
33
|
+
attr_reader :message # string
|
34
|
+
end
|
35
|
+
|
36
|
+
# Exception class for holding a list of service errors.
|
37
|
+
class ApiException < ApplicationException
|
38
|
+
attr_reader :errors # ApiError
|
39
|
+
def initialize(exception_fault)
|
40
|
+
@array_fields ||= []
|
41
|
+
@array_fields << 'errors'
|
42
|
+
super(exception_fault, SuggestedAdUnitServiceRegistry)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end; end; end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.2 on 2019-05-06 15:08:54.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'ad_manager_api/v201905/targeting_preset_service_registry'
|
12
|
+
|
13
|
+
module AdManagerApi; module V201905; module TargetingPresetService
|
14
|
+
class TargetingPresetService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://www.google.com/apis/ads/publisher/v201905'
|
17
|
+
super(config, endpoint, namespace, :v201905)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_targeting_presets_by_statement(*args, &block)
|
21
|
+
return execute_action('get_targeting_presets_by_statement', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_targeting_presets_by_statement_to_xml(*args)
|
25
|
+
return get_soap_xml('get_targeting_presets_by_statement', args)
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def get_service_registry()
|
31
|
+
return TargetingPresetServiceRegistry
|
32
|
+
end
|
33
|
+
|
34
|
+
def get_module()
|
35
|
+
return AdManagerApi::V201905::TargetingPresetService
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end; end; end
|