google-dfp-api 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +17 -0
- data/README.md +5 -0
- data/dfp_api.yml +2 -2
- data/lib/dfp_api/api_config.rb +15 -39
- data/lib/dfp_api/credential_handler.rb +10 -3
- data/lib/dfp_api/dfp_api_statement.rb +5 -0
- data/lib/dfp_api/v201602/activity_group_service.rb +1 -1
- data/lib/dfp_api/v201602/activity_group_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/activity_service.rb +1 -1
- data/lib/dfp_api/v201602/activity_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/ad_exclusion_rule_service.rb +1 -1
- data/lib/dfp_api/v201602/ad_exclusion_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/ad_rule_service.rb +1 -1
- data/lib/dfp_api/v201602/ad_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/audience_segment_service.rb +1 -1
- data/lib/dfp_api/v201602/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/base_rate_service.rb +1 -1
- data/lib/dfp_api/v201602/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/company_service.rb +1 -1
- data/lib/dfp_api/v201602/company_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/contact_service.rb +1 -1
- data/lib/dfp_api/v201602/contact_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/content_bundle_service.rb +1 -1
- data/lib/dfp_api/v201602/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service.rb +1 -1
- data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/content_service.rb +1 -1
- data/lib/dfp_api/v201602/content_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/creative_service.rb +1 -1
- data/lib/dfp_api/v201602/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/creative_set_service.rb +1 -1
- data/lib/dfp_api/v201602/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/creative_template_service.rb +1 -1
- data/lib/dfp_api/v201602/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/creative_wrapper_service.rb +1 -1
- data/lib/dfp_api/v201602/creative_wrapper_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/custom_field_service.rb +1 -1
- data/lib/dfp_api/v201602/custom_field_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/custom_targeting_service.rb +1 -1
- data/lib/dfp_api/v201602/custom_targeting_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/exchange_rate_service.rb +1 -1
- data/lib/dfp_api/v201602/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/forecast_service.rb +1 -1
- data/lib/dfp_api/v201602/forecast_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/inventory_service.rb +1 -1
- data/lib/dfp_api/v201602/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/label_service.rb +1 -1
- data/lib/dfp_api/v201602/label_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/line_item_creative_association_service.rb +1 -1
- data/lib/dfp_api/v201602/line_item_creative_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/line_item_service.rb +1 -1
- data/lib/dfp_api/v201602/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/line_item_template_service.rb +1 -1
- data/lib/dfp_api/v201602/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/live_stream_event_service.rb +1 -1
- data/lib/dfp_api/v201602/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/network_service.rb +1 -1
- data/lib/dfp_api/v201602/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/order_service.rb +1 -1
- data/lib/dfp_api/v201602/order_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/package_service.rb +1 -1
- data/lib/dfp_api/v201602/package_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/placement_service.rb +1 -1
- data/lib/dfp_api/v201602/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/premium_rate_service.rb +1 -1
- data/lib/dfp_api/v201602/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/product_package_item_service.rb +1 -1
- data/lib/dfp_api/v201602/product_package_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/product_package_service.rb +1 -1
- data/lib/dfp_api/v201602/product_package_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/product_service.rb +1 -1
- data/lib/dfp_api/v201602/product_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/product_template_service.rb +1 -1
- data/lib/dfp_api/v201602/product_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/proposal_line_item_service.rb +1 -1
- data/lib/dfp_api/v201602/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/proposal_service.rb +1 -1
- data/lib/dfp_api/v201602/proposal_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/publisher_query_language_service.rb +1 -1
- data/lib/dfp_api/v201602/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/rate_card_service.rb +1 -1
- data/lib/dfp_api/v201602/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/reconciliation_line_item_report_service.rb +1 -1
- data/lib/dfp_api/v201602/reconciliation_line_item_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/reconciliation_order_report_service.rb +1 -1
- data/lib/dfp_api/v201602/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/reconciliation_report_row_service.rb +1 -1
- data/lib/dfp_api/v201602/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/reconciliation_report_service.rb +1 -1
- data/lib/dfp_api/v201602/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/report_service.rb +1 -1
- data/lib/dfp_api/v201602/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/suggested_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201602/suggested_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/team_service.rb +1 -1
- data/lib/dfp_api/v201602/team_service_registry.rb +1 -1
- data/lib/dfp_api/v201602/user_service.rb +1 -1
- data/lib/dfp_api/v201602/user_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/user_team_association_service.rb +1 -1
- data/lib/dfp_api/v201602/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201602/workflow_request_service.rb +1 -1
- data/lib/dfp_api/v201602/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/activity_group_service.rb +1 -1
- data/lib/dfp_api/v201605/activity_group_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/activity_service.rb +1 -1
- data/lib/dfp_api/v201605/activity_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/ad_exclusion_rule_service.rb +1 -1
- data/lib/dfp_api/v201605/ad_exclusion_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/ad_rule_service.rb +1 -1
- data/lib/dfp_api/v201605/ad_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/audience_segment_service.rb +1 -1
- data/lib/dfp_api/v201605/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/base_rate_service.rb +1 -1
- data/lib/dfp_api/v201605/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/company_service.rb +1 -1
- data/lib/dfp_api/v201605/company_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/contact_service.rb +1 -1
- data/lib/dfp_api/v201605/contact_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/content_bundle_service.rb +1 -1
- data/lib/dfp_api/v201605/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service.rb +1 -1
- data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/content_service.rb +1 -1
- data/lib/dfp_api/v201605/content_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/creative_service.rb +1 -1
- data/lib/dfp_api/v201605/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/creative_set_service.rb +1 -1
- data/lib/dfp_api/v201605/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/creative_template_service.rb +1 -1
- data/lib/dfp_api/v201605/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/creative_wrapper_service.rb +1 -1
- data/lib/dfp_api/v201605/creative_wrapper_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/custom_field_service.rb +1 -1
- data/lib/dfp_api/v201605/custom_field_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/custom_targeting_service.rb +1 -1
- data/lib/dfp_api/v201605/custom_targeting_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/exchange_rate_service.rb +1 -1
- data/lib/dfp_api/v201605/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/forecast_service.rb +1 -1
- data/lib/dfp_api/v201605/forecast_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/inventory_service.rb +1 -1
- data/lib/dfp_api/v201605/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/label_service.rb +1 -1
- data/lib/dfp_api/v201605/label_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/line_item_creative_association_service.rb +1 -1
- data/lib/dfp_api/v201605/line_item_creative_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/line_item_service.rb +1 -1
- data/lib/dfp_api/v201605/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/line_item_template_service.rb +1 -1
- data/lib/dfp_api/v201605/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/live_stream_event_service.rb +1 -1
- data/lib/dfp_api/v201605/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/network_service.rb +1 -1
- data/lib/dfp_api/v201605/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/order_service.rb +1 -1
- data/lib/dfp_api/v201605/order_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/package_service.rb +1 -1
- data/lib/dfp_api/v201605/package_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/placement_service.rb +1 -1
- data/lib/dfp_api/v201605/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/premium_rate_service.rb +1 -1
- data/lib/dfp_api/v201605/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/product_package_item_service.rb +1 -1
- data/lib/dfp_api/v201605/product_package_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/product_package_service.rb +1 -1
- data/lib/dfp_api/v201605/product_package_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/product_service.rb +1 -1
- data/lib/dfp_api/v201605/product_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/product_template_service.rb +1 -1
- data/lib/dfp_api/v201605/product_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/proposal_line_item_service.rb +1 -1
- data/lib/dfp_api/v201605/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/proposal_service.rb +1 -1
- data/lib/dfp_api/v201605/proposal_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/publisher_query_language_service.rb +1 -1
- data/lib/dfp_api/v201605/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/rate_card_service.rb +1 -1
- data/lib/dfp_api/v201605/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/reconciliation_line_item_report_service.rb +1 -1
- data/lib/dfp_api/v201605/reconciliation_line_item_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/reconciliation_order_report_service.rb +1 -1
- data/lib/dfp_api/v201605/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/reconciliation_report_row_service.rb +1 -1
- data/lib/dfp_api/v201605/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/reconciliation_report_service.rb +1 -1
- data/lib/dfp_api/v201605/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/report_service.rb +1 -1
- data/lib/dfp_api/v201605/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/suggested_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201605/suggested_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/team_service.rb +1 -1
- data/lib/dfp_api/v201605/team_service_registry.rb +1 -1
- data/lib/dfp_api/v201605/user_service.rb +1 -1
- data/lib/dfp_api/v201605/user_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/user_team_association_service.rb +1 -1
- data/lib/dfp_api/v201605/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201605/workflow_request_service.rb +1 -1
- data/lib/dfp_api/v201605/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/v201608/activity_group_service.rb +54 -0
- data/lib/dfp_api/v201608/activity_group_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/activity_service.rb +54 -0
- data/lib/dfp_api/v201608/activity_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/ad_exclusion_rule_service.rb +62 -0
- data/lib/dfp_api/v201608/ad_exclusion_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/ad_rule_service.rb +62 -0
- data/lib/dfp_api/v201608/ad_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/audience_segment_service.rb +62 -0
- data/lib/dfp_api/v201608/audience_segment_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/base_rate_service.rb +62 -0
- data/lib/dfp_api/v201608/base_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/company_service.rb +54 -0
- data/lib/dfp_api/v201608/company_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/contact_service.rb +54 -0
- data/lib/dfp_api/v201608/contact_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/content_bundle_service.rb +62 -0
- data/lib/dfp_api/v201608/content_bundle_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service.rb +62 -0
- data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/content_service.rb +46 -0
- data/lib/dfp_api/v201608/content_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/creative_service.rb +54 -0
- data/lib/dfp_api/v201608/creative_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/creative_set_service.rb +54 -0
- data/lib/dfp_api/v201608/creative_set_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/creative_template_service.rb +38 -0
- data/lib/dfp_api/v201608/creative_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/creative_wrapper_service.rb +62 -0
- data/lib/dfp_api/v201608/creative_wrapper_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/custom_field_service.rb +86 -0
- data/lib/dfp_api/v201608/custom_field_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/custom_targeting_service.rb +94 -0
- data/lib/dfp_api/v201608/custom_targeting_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/exchange_rate_service.rb +62 -0
- data/lib/dfp_api/v201608/exchange_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/forecast_service.rb +62 -0
- data/lib/dfp_api/v201608/forecast_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/inventory_service.rb +70 -0
- data/lib/dfp_api/v201608/inventory_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/label_service.rb +62 -0
- data/lib/dfp_api/v201608/label_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/line_item_creative_association_service.rb +70 -0
- data/lib/dfp_api/v201608/line_item_creative_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/line_item_service.rb +62 -0
- data/lib/dfp_api/v201608/line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/line_item_template_service.rb +38 -0
- data/lib/dfp_api/v201608/line_item_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/live_stream_event_service.rb +70 -0
- data/lib/dfp_api/v201608/live_stream_event_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/network_service.rb +62 -0
- data/lib/dfp_api/v201608/network_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/order_service.rb +62 -0
- data/lib/dfp_api/v201608/order_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/package_service.rb +62 -0
- data/lib/dfp_api/v201608/package_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/placement_service.rb +62 -0
- data/lib/dfp_api/v201608/placement_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/premium_rate_service.rb +54 -0
- data/lib/dfp_api/v201608/premium_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/product_package_item_service.rb +62 -0
- data/lib/dfp_api/v201608/product_package_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/product_package_service.rb +62 -0
- data/lib/dfp_api/v201608/product_package_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/product_service.rb +62 -0
- data/lib/dfp_api/v201608/product_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/product_template_service.rb +62 -0
- data/lib/dfp_api/v201608/product_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/proposal_line_item_service.rb +62 -0
- data/lib/dfp_api/v201608/proposal_line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/proposal_service.rb +70 -0
- data/lib/dfp_api/v201608/proposal_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/publisher_query_language_service.rb +38 -0
- data/lib/dfp_api/v201608/publisher_query_language_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/rate_card_service.rb +62 -0
- data/lib/dfp_api/v201608/rate_card_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/reconciliation_line_item_report_service.rb +46 -0
- data/lib/dfp_api/v201608/reconciliation_line_item_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/reconciliation_order_report_service.rb +54 -0
- data/lib/dfp_api/v201608/reconciliation_order_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/reconciliation_report_row_service.rb +46 -0
- data/lib/dfp_api/v201608/reconciliation_report_row_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/reconciliation_report_service.rb +46 -0
- data/lib/dfp_api/v201608/reconciliation_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/report_service.rb +70 -0
- data/lib/dfp_api/v201608/report_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/suggested_ad_unit_service.rb +46 -0
- data/lib/dfp_api/v201608/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/team_service.rb +54 -0
- data/lib/dfp_api/v201608/team_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/user_service.rb +78 -0
- data/lib/dfp_api/v201608/user_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/user_team_association_service.rb +62 -0
- data/lib/dfp_api/v201608/user_team_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201608/workflow_request_service.rb +46 -0
- data/lib/dfp_api/v201608/workflow_request_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/activity_group_service.rb +54 -0
- data/lib/dfp_api/v201611/activity_group_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/activity_service.rb +54 -0
- data/lib/dfp_api/v201611/activity_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/ad_exclusion_rule_service.rb +62 -0
- data/lib/dfp_api/v201611/ad_exclusion_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/ad_rule_service.rb +62 -0
- data/lib/dfp_api/v201611/ad_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/audience_segment_service.rb +62 -0
- data/lib/dfp_api/v201611/audience_segment_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/base_rate_service.rb +62 -0
- data/lib/dfp_api/v201611/base_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/company_service.rb +54 -0
- data/lib/dfp_api/v201611/company_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/contact_service.rb +54 -0
- data/lib/dfp_api/v201611/contact_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/content_bundle_service.rb +62 -0
- data/lib/dfp_api/v201611/content_bundle_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service.rb +62 -0
- data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/content_service.rb +46 -0
- data/lib/dfp_api/v201611/content_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/creative_service.rb +54 -0
- data/lib/dfp_api/v201611/creative_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/creative_set_service.rb +54 -0
- data/lib/dfp_api/v201611/creative_set_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/creative_template_service.rb +38 -0
- data/lib/dfp_api/v201611/creative_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/creative_wrapper_service.rb +62 -0
- data/lib/dfp_api/v201611/creative_wrapper_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/custom_field_service.rb +86 -0
- data/lib/dfp_api/v201611/custom_field_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/custom_targeting_service.rb +94 -0
- data/lib/dfp_api/v201611/custom_targeting_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/exchange_rate_service.rb +62 -0
- data/lib/dfp_api/v201611/exchange_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/forecast_service.rb +62 -0
- data/lib/dfp_api/v201611/forecast_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/inventory_service.rb +70 -0
- data/lib/dfp_api/v201611/inventory_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/label_service.rb +62 -0
- data/lib/dfp_api/v201611/label_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/line_item_creative_association_service.rb +70 -0
- data/lib/dfp_api/v201611/line_item_creative_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/line_item_service.rb +62 -0
- data/lib/dfp_api/v201611/line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/line_item_template_service.rb +38 -0
- data/lib/dfp_api/v201611/line_item_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/live_stream_event_service.rb +70 -0
- data/lib/dfp_api/v201611/live_stream_event_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/mobile_application_service.rb +62 -0
- data/lib/dfp_api/v201611/mobile_application_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/network_service.rb +62 -0
- data/lib/dfp_api/v201611/network_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/order_service.rb +62 -0
- data/lib/dfp_api/v201611/order_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/package_service.rb +62 -0
- data/lib/dfp_api/v201611/package_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/placement_service.rb +62 -0
- data/lib/dfp_api/v201611/placement_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/premium_rate_service.rb +54 -0
- data/lib/dfp_api/v201611/premium_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/product_package_item_service.rb +62 -0
- data/lib/dfp_api/v201611/product_package_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/product_package_service.rb +62 -0
- data/lib/dfp_api/v201611/product_package_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/product_service.rb +62 -0
- data/lib/dfp_api/v201611/product_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/product_template_service.rb +62 -0
- data/lib/dfp_api/v201611/product_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/proposal_line_item_service.rb +62 -0
- data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/proposal_service.rb +70 -0
- data/lib/dfp_api/v201611/proposal_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/publisher_query_language_service.rb +38 -0
- data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/rate_card_service.rb +62 -0
- data/lib/dfp_api/v201611/rate_card_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/reconciliation_line_item_report_service.rb +46 -0
- data/lib/dfp_api/v201611/reconciliation_line_item_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/reconciliation_order_report_service.rb +54 -0
- data/lib/dfp_api/v201611/reconciliation_order_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/reconciliation_report_row_service.rb +46 -0
- data/lib/dfp_api/v201611/reconciliation_report_row_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/reconciliation_report_service.rb +46 -0
- data/lib/dfp_api/v201611/reconciliation_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/report_service.rb +70 -0
- data/lib/dfp_api/v201611/report_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/suggested_ad_unit_service.rb +46 -0
- data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/team_service.rb +54 -0
- data/lib/dfp_api/v201611/team_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/user_service.rb +78 -0
- data/lib/dfp_api/v201611/user_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/user_team_association_service.rb +62 -0
- data/lib/dfp_api/v201611/user_team_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201611/workflow_request_service.rb +46 -0
- data/lib/dfp_api/v201611/workflow_request_service_registry.rb +45 -0
- data/lib/dfp_api/version.rb +1 -1
- data/test/bugs/test_issue_00000007.rb +113 -0
- data/test/bugs/test_issue_00000081.rb +5 -3
- data/test/dfp_api/test_credential_handler.rb +62 -0
- data/test/dfp_api/test_dfp_api.rb +2 -2
- metadata +203 -845
- data/examples/v201508/activity_group_service/create_activity_groups.rb +0 -90
- data/examples/v201508/activity_group_service/get_active_activity_groups.rb +0 -87
- data/examples/v201508/activity_group_service/get_all_activity_groups.rb +0 -81
- data/examples/v201508/activity_group_service/update_activity_groups.rb +0 -94
- data/examples/v201508/activity_service/create_activities.rb +0 -87
- data/examples/v201508/activity_service/get_active_activities.rb +0 -87
- data/examples/v201508/activity_service/get_all_activities.rb +0 -81
- data/examples/v201508/activity_service/update_activities.rb +0 -96
- data/examples/v201508/audience_segment_service/create_audience_segments.rb +0 -114
- data/examples/v201508/audience_segment_service/get_all_audience_segments.rb +0 -81
- data/examples/v201508/audience_segment_service/get_first_party_audience_segments.rb +0 -88
- data/examples/v201508/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
- data/examples/v201508/audience_segment_service/update_audience_segments.rb +0 -94
- data/examples/v201508/common/error_handling.rb +0 -72
- data/examples/v201508/common/oauth2_jwt_handling.rb +0 -99
- data/examples/v201508/common/setup_oauth2.rb +0 -85
- data/examples/v201508/company_service/create_companies.rb +0 -78
- data/examples/v201508/company_service/get_all_companies.rb +0 -80
- data/examples/v201508/company_service/get_companies_by_statement.rb +0 -89
- data/examples/v201508/company_service/update_companies.rb +0 -104
- data/examples/v201508/contact_service/create_contacts.rb +0 -91
- data/examples/v201508/contact_service/get_all_contacts.rb +0 -80
- data/examples/v201508/contact_service/get_uninvited_contacts.rb +0 -94
- data/examples/v201508/contact_service/update_contacts.rb +0 -96
- data/examples/v201508/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
- data/examples/v201508/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
- data/examples/v201508/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
- data/examples/v201508/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
- data/examples/v201508/content_service/get_all_content.rb +0 -81
- data/examples/v201508/content_service/get_content_by_category.rb +0 -127
- data/examples/v201508/creative_service/copy_image_creatives.rb +0 -111
- data/examples/v201508/creative_service/create_creative_from_template.rb +0 -135
- data/examples/v201508/creative_service/create_creatives.rb +0 -108
- data/examples/v201508/creative_service/create_custom_creative.rb +0 -100
- data/examples/v201508/creative_service/create_native_creative.rb +0 -185
- data/examples/v201508/creative_service/get_all_creatives.rb +0 -80
- data/examples/v201508/creative_service/get_creatives_by_statement.rb +0 -88
- data/examples/v201508/creative_service/update_creatives.rb +0 -97
- data/examples/v201508/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
- data/examples/v201508/creative_set_service/create_creative_set.rb +0 -79
- data/examples/v201508/creative_set_service/get_all_creative_sets.rb +0 -82
- data/examples/v201508/creative_set_service/get_creative_sets_by_statement.rb +0 -92
- data/examples/v201508/creative_set_service/update_creative_sets.rb +0 -98
- data/examples/v201508/creative_template_service/get_all_creative_templates.rb +0 -82
- data/examples/v201508/creative_template_service/get_system_defined_creative_templates.rb +0 -87
- data/examples/v201508/creative_wrapper_service/create_creative_wrappers.rb +0 -85
- data/examples/v201508/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
- data/examples/v201508/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
- data/examples/v201508/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
- data/examples/v201508/creative_wrapper_service/update_creative_wrappers.rb +0 -99
- data/examples/v201508/custom_field_service/create_custom_field_options.rb +0 -83
- data/examples/v201508/custom_field_service/create_custom_fields.rb +0 -82
- data/examples/v201508/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
- data/examples/v201508/custom_field_service/get_all_custom_fields.rb +0 -90
- data/examples/v201508/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
- data/examples/v201508/custom_field_service/set_line_item_custom_field_value.rb +0 -178
- data/examples/v201508/custom_field_service/update_custom_fields.rb +0 -98
- data/examples/v201508/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
- data/examples/v201508/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
- data/examples/v201508/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
- data/examples/v201508/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
- data/examples/v201508/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
- data/examples/v201508/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
- data/examples/v201508/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
- data/examples/v201508/custom_targeting_service/update_custom_targeting_values.rb +0 -105
- data/examples/v201508/forecast_service/get_availability_forecast.rb +0 -134
- data/examples/v201508/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
- data/examples/v201508/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
- data/examples/v201508/inventory_service/create_ad_units.rb +0 -97
- data/examples/v201508/inventory_service/create_mobile_ad_unit.rb +0 -97
- data/examples/v201508/inventory_service/create_video_ad_unit.rb +0 -104
- data/examples/v201508/inventory_service/deactivate_ad_units.rb +0 -110
- data/examples/v201508/inventory_service/get_ad_unit_sizes.rb +0 -74
- data/examples/v201508/inventory_service/get_ad_units_by_statement.rb +0 -97
- data/examples/v201508/inventory_service/get_all_ad_units.rb +0 -80
- data/examples/v201508/inventory_service/update_ad_units.rb +0 -105
- data/examples/v201508/label_service/create_labels.rb +0 -79
- data/examples/v201508/label_service/deactivate_labels.rb +0 -107
- data/examples/v201508/label_service/get_all_labels.rb +0 -82
- data/examples/v201508/label_service/get_labels_by_statement.rb +0 -82
- data/examples/v201508/label_service/update_labels.rb +0 -96
- data/examples/v201508/line_item_creative_association_service/create_licas.rb +0 -90
- data/examples/v201508/line_item_creative_association_service/deactivate_licas.rb +0 -113
- data/examples/v201508/line_item_creative_association_service/get_all_licas.rb +0 -85
- data/examples/v201508/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
- data/examples/v201508/line_item_creative_association_service/update_licas.rb +0 -96
- data/examples/v201508/line_item_service/activate_line_items.rb +0 -118
- data/examples/v201508/line_item_service/create_line_items.rb +0 -182
- data/examples/v201508/line_item_service/create_video_line_item.rb +0 -164
- data/examples/v201508/line_item_service/get_all_line_items.rb +0 -82
- data/examples/v201508/line_item_service/get_line_items_by_statement.rb +0 -91
- data/examples/v201508/line_item_service/get_recently_updated_line_items.rb +0 -100
- data/examples/v201508/line_item_service/target_custom_criteria.rb +0 -140
- data/examples/v201508/line_item_service/update_line_items.rb +0 -106
- data/examples/v201508/network_service/get_all_networks.rb +0 -70
- data/examples/v201508/network_service/get_current_network.rb +0 -62
- data/examples/v201508/network_service/make_test_network.rb +0 -75
- data/examples/v201508/order_service/approve_orders.rb +0 -110
- data/examples/v201508/order_service/create_orders.rb +0 -88
- data/examples/v201508/order_service/get_all_orders.rb +0 -80
- data/examples/v201508/order_service/get_orders_by_statement.rb +0 -90
- data/examples/v201508/order_service/update_orders.rb +0 -101
- data/examples/v201508/placement_service/create_placements.rb +0 -128
- data/examples/v201508/placement_service/deactivate_placements.rb +0 -106
- data/examples/v201508/placement_service/get_all_placements.rb +0 -81
- data/examples/v201508/placement_service/get_placements_by_statement.rb +0 -87
- data/examples/v201508/placement_service/update_placements.rb +0 -102
- data/examples/v201508/publisher_query_language_service/fetch_match_tables.rb +0 -107
- data/examples/v201508/publisher_query_language_service/get_all_line_items.rb +0 -95
- data/examples/v201508/publisher_query_language_service/get_geo_targets.rb +0 -98
- data/examples/v201508/publisher_query_language_service/get_line_items_named_like.rb +0 -96
- data/examples/v201508/report_service/display_report.rb +0 -77
- data/examples/v201508/report_service/download_report.rb +0 -77
- data/examples/v201508/report_service/run_delivery_report.rb +0 -111
- data/examples/v201508/report_service/run_inventory_report.rb +0 -109
- data/examples/v201508/report_service/run_reach_report.rb +0 -85
- data/examples/v201508/report_service/run_report_with_custom_fields.rb +0 -89
- data/examples/v201508/report_service/run_sales_report.rb +0 -89
- data/examples/v201508/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
- data/examples/v201508/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
- data/examples/v201508/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
- data/examples/v201508/team_service/create_teams.rb +0 -79
- data/examples/v201508/team_service/get_all_teams.rb +0 -79
- data/examples/v201508/team_service/get_teams_by_statement.rb +0 -78
- data/examples/v201508/team_service/update_teams.rb +0 -94
- data/examples/v201508/user_service/create_users.rb +0 -85
- data/examples/v201508/user_service/deactivate_users.rb +0 -94
- data/examples/v201508/user_service/get_all_roles.rb +0 -69
- data/examples/v201508/user_service/get_all_users.rb +0 -79
- data/examples/v201508/user_service/get_current_user.rb +0 -62
- data/examples/v201508/user_service/get_users_by_statement.rb +0 -80
- data/examples/v201508/user_service/update_users.rb +0 -94
- data/examples/v201508/user_team_association_service/create_user_team_associations.rb +0 -82
- data/examples/v201508/user_team_association_service/delete_user_team_associations.rb +0 -98
- data/examples/v201508/user_team_association_service/get_all_user_team_associations.rb +0 -83
- data/examples/v201508/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
- data/examples/v201508/user_team_association_service/update_user_team_associations.rb +0 -98
- data/examples/v201511/activity_group_service/create_activity_groups.rb +0 -90
- data/examples/v201511/activity_group_service/get_active_activity_groups.rb +0 -87
- data/examples/v201511/activity_group_service/get_all_activity_groups.rb +0 -81
- data/examples/v201511/activity_group_service/update_activity_groups.rb +0 -94
- data/examples/v201511/activity_service/create_activities.rb +0 -87
- data/examples/v201511/activity_service/get_active_activities.rb +0 -87
- data/examples/v201511/activity_service/get_all_activities.rb +0 -81
- data/examples/v201511/activity_service/update_activities.rb +0 -96
- data/examples/v201511/audience_segment_service/create_audience_segments.rb +0 -114
- data/examples/v201511/audience_segment_service/get_all_audience_segments.rb +0 -81
- data/examples/v201511/audience_segment_service/get_first_party_audience_segments.rb +0 -88
- data/examples/v201511/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
- data/examples/v201511/audience_segment_service/update_audience_segments.rb +0 -94
- data/examples/v201511/common/error_handling.rb +0 -72
- data/examples/v201511/common/oauth2_jwt_handling.rb +0 -99
- data/examples/v201511/common/setup_oauth2.rb +0 -85
- data/examples/v201511/company_service/create_companies.rb +0 -78
- data/examples/v201511/company_service/get_all_companies.rb +0 -80
- data/examples/v201511/company_service/get_companies_by_statement.rb +0 -89
- data/examples/v201511/company_service/update_companies.rb +0 -104
- data/examples/v201511/contact_service/create_contacts.rb +0 -91
- data/examples/v201511/contact_service/get_all_contacts.rb +0 -80
- data/examples/v201511/contact_service/get_uninvited_contacts.rb +0 -94
- data/examples/v201511/contact_service/update_contacts.rb +0 -96
- data/examples/v201511/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
- data/examples/v201511/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
- data/examples/v201511/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
- data/examples/v201511/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
- data/examples/v201511/content_service/get_all_content.rb +0 -81
- data/examples/v201511/content_service/get_content_by_category.rb +0 -127
- data/examples/v201511/creative_service/copy_image_creatives.rb +0 -111
- data/examples/v201511/creative_service/create_creative_from_template.rb +0 -135
- data/examples/v201511/creative_service/create_creatives.rb +0 -108
- data/examples/v201511/creative_service/create_custom_creative.rb +0 -103
- data/examples/v201511/creative_service/create_native_creative.rb +0 -189
- data/examples/v201511/creative_service/get_all_creatives.rb +0 -80
- data/examples/v201511/creative_service/get_creatives_by_statement.rb +0 -88
- data/examples/v201511/creative_service/update_creatives.rb +0 -97
- data/examples/v201511/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
- data/examples/v201511/creative_set_service/create_creative_set.rb +0 -79
- data/examples/v201511/creative_set_service/get_all_creative_sets.rb +0 -82
- data/examples/v201511/creative_set_service/get_creative_sets_by_statement.rb +0 -92
- data/examples/v201511/creative_set_service/update_creative_sets.rb +0 -98
- data/examples/v201511/creative_template_service/get_all_creative_templates.rb +0 -82
- data/examples/v201511/creative_template_service/get_system_defined_creative_templates.rb +0 -87
- data/examples/v201511/creative_wrapper_service/create_creative_wrappers.rb +0 -85
- data/examples/v201511/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
- data/examples/v201511/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
- data/examples/v201511/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
- data/examples/v201511/creative_wrapper_service/update_creative_wrappers.rb +0 -99
- data/examples/v201511/custom_field_service/create_custom_field_options.rb +0 -83
- data/examples/v201511/custom_field_service/create_custom_fields.rb +0 -82
- data/examples/v201511/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
- data/examples/v201511/custom_field_service/get_all_custom_fields.rb +0 -90
- data/examples/v201511/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
- data/examples/v201511/custom_field_service/set_line_item_custom_field_value.rb +0 -178
- data/examples/v201511/custom_field_service/update_custom_fields.rb +0 -98
- data/examples/v201511/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
- data/examples/v201511/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
- data/examples/v201511/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
- data/examples/v201511/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
- data/examples/v201511/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
- data/examples/v201511/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
- data/examples/v201511/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
- data/examples/v201511/custom_targeting_service/update_custom_targeting_values.rb +0 -105
- data/examples/v201511/forecast_service/get_availability_forecast.rb +0 -134
- data/examples/v201511/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
- data/examples/v201511/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
- data/examples/v201511/inventory_service/create_ad_units.rb +0 -97
- data/examples/v201511/inventory_service/create_mobile_ad_unit.rb +0 -97
- data/examples/v201511/inventory_service/create_video_ad_unit.rb +0 -104
- data/examples/v201511/inventory_service/deactivate_ad_units.rb +0 -110
- data/examples/v201511/inventory_service/get_ad_unit_sizes.rb +0 -74
- data/examples/v201511/inventory_service/get_ad_units_by_statement.rb +0 -97
- data/examples/v201511/inventory_service/get_all_ad_units.rb +0 -80
- data/examples/v201511/inventory_service/update_ad_units.rb +0 -105
- data/examples/v201511/label_service/create_labels.rb +0 -79
- data/examples/v201511/label_service/deactivate_labels.rb +0 -107
- data/examples/v201511/label_service/get_all_labels.rb +0 -82
- data/examples/v201511/label_service/get_labels_by_statement.rb +0 -82
- data/examples/v201511/label_service/update_labels.rb +0 -96
- data/examples/v201511/line_item_creative_association_service/create_licas.rb +0 -90
- data/examples/v201511/line_item_creative_association_service/deactivate_licas.rb +0 -113
- data/examples/v201511/line_item_creative_association_service/get_all_licas.rb +0 -85
- data/examples/v201511/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
- data/examples/v201511/line_item_creative_association_service/update_licas.rb +0 -96
- data/examples/v201511/line_item_service/activate_line_items.rb +0 -118
- data/examples/v201511/line_item_service/create_line_items.rb +0 -182
- data/examples/v201511/line_item_service/create_video_line_item.rb +0 -164
- data/examples/v201511/line_item_service/get_all_line_items.rb +0 -82
- data/examples/v201511/line_item_service/get_line_items_by_statement.rb +0 -91
- data/examples/v201511/line_item_service/get_recently_updated_line_items.rb +0 -100
- data/examples/v201511/line_item_service/target_custom_criteria.rb +0 -140
- data/examples/v201511/line_item_service/update_line_items.rb +0 -106
- data/examples/v201511/network_service/get_all_networks.rb +0 -70
- data/examples/v201511/network_service/get_current_network.rb +0 -62
- data/examples/v201511/network_service/make_test_network.rb +0 -75
- data/examples/v201511/order_service/approve_orders.rb +0 -110
- data/examples/v201511/order_service/create_orders.rb +0 -88
- data/examples/v201511/order_service/get_all_orders.rb +0 -80
- data/examples/v201511/order_service/get_orders_by_statement.rb +0 -90
- data/examples/v201511/order_service/update_orders.rb +0 -101
- data/examples/v201511/placement_service/create_placements.rb +0 -128
- data/examples/v201511/placement_service/deactivate_placements.rb +0 -106
- data/examples/v201511/placement_service/get_all_placements.rb +0 -81
- data/examples/v201511/placement_service/get_placements_by_statement.rb +0 -87
- data/examples/v201511/placement_service/update_placements.rb +0 -102
- data/examples/v201511/publisher_query_language_service/fetch_match_tables.rb +0 -107
- data/examples/v201511/publisher_query_language_service/get_all_line_items.rb +0 -95
- data/examples/v201511/publisher_query_language_service/get_geo_targets.rb +0 -98
- data/examples/v201511/publisher_query_language_service/get_line_items_named_like.rb +0 -96
- data/examples/v201511/report_service/display_report.rb +0 -77
- data/examples/v201511/report_service/download_report.rb +0 -77
- data/examples/v201511/report_service/run_delivery_report.rb +0 -111
- data/examples/v201511/report_service/run_inventory_report.rb +0 -109
- data/examples/v201511/report_service/run_reach_report.rb +0 -85
- data/examples/v201511/report_service/run_report_with_custom_fields.rb +0 -89
- data/examples/v201511/report_service/run_sales_report.rb +0 -89
- data/examples/v201511/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
- data/examples/v201511/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
- data/examples/v201511/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
- data/examples/v201511/team_service/create_teams.rb +0 -79
- data/examples/v201511/team_service/get_all_teams.rb +0 -79
- data/examples/v201511/team_service/get_teams_by_statement.rb +0 -78
- data/examples/v201511/team_service/update_teams.rb +0 -94
- data/examples/v201511/user_service/create_users.rb +0 -85
- data/examples/v201511/user_service/deactivate_users.rb +0 -94
- data/examples/v201511/user_service/get_all_roles.rb +0 -69
- data/examples/v201511/user_service/get_all_users.rb +0 -79
- data/examples/v201511/user_service/get_current_user.rb +0 -62
- data/examples/v201511/user_service/get_users_by_statement.rb +0 -80
- data/examples/v201511/user_service/update_users.rb +0 -94
- data/examples/v201511/user_team_association_service/create_user_team_associations.rb +0 -82
- data/examples/v201511/user_team_association_service/delete_user_team_associations.rb +0 -98
- data/examples/v201511/user_team_association_service/get_all_user_team_associations.rb +0 -83
- data/examples/v201511/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
- data/examples/v201511/user_team_association_service/update_user_team_associations.rb +0 -98
- data/examples/v201602/activity_group_service/create_activity_groups.rb +0 -90
- data/examples/v201602/activity_group_service/get_active_activity_groups.rb +0 -87
- data/examples/v201602/activity_group_service/get_all_activity_groups.rb +0 -81
- data/examples/v201602/activity_group_service/update_activity_groups.rb +0 -94
- data/examples/v201602/activity_service/create_activities.rb +0 -87
- data/examples/v201602/activity_service/get_active_activities.rb +0 -87
- data/examples/v201602/activity_service/get_all_activities.rb +0 -81
- data/examples/v201602/activity_service/update_activities.rb +0 -96
- data/examples/v201602/audience_segment_service/create_audience_segments.rb +0 -114
- data/examples/v201602/audience_segment_service/get_all_audience_segments.rb +0 -81
- data/examples/v201602/audience_segment_service/get_first_party_audience_segments.rb +0 -88
- data/examples/v201602/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
- data/examples/v201602/audience_segment_service/update_audience_segments.rb +0 -94
- data/examples/v201602/common/error_handling.rb +0 -72
- data/examples/v201602/common/oauth2_jwt_handling.rb +0 -99
- data/examples/v201602/common/setup_oauth2.rb +0 -85
- data/examples/v201602/company_service/create_companies.rb +0 -78
- data/examples/v201602/company_service/get_all_companies.rb +0 -80
- data/examples/v201602/company_service/get_companies_by_statement.rb +0 -89
- data/examples/v201602/company_service/update_companies.rb +0 -104
- data/examples/v201602/contact_service/create_contacts.rb +0 -91
- data/examples/v201602/contact_service/get_all_contacts.rb +0 -80
- data/examples/v201602/contact_service/get_uninvited_contacts.rb +0 -94
- data/examples/v201602/contact_service/update_contacts.rb +0 -96
- data/examples/v201602/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
- data/examples/v201602/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
- data/examples/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
- data/examples/v201602/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
- data/examples/v201602/content_service/get_all_content.rb +0 -81
- data/examples/v201602/content_service/get_content_by_category.rb +0 -127
- data/examples/v201602/creative_service/copy_image_creatives.rb +0 -111
- data/examples/v201602/creative_service/create_creative_from_template.rb +0 -135
- data/examples/v201602/creative_service/create_creatives.rb +0 -108
- data/examples/v201602/creative_service/create_custom_creative.rb +0 -103
- data/examples/v201602/creative_service/create_native_creative.rb +0 -189
- data/examples/v201602/creative_service/get_all_creatives.rb +0 -80
- data/examples/v201602/creative_service/get_creatives_by_statement.rb +0 -88
- data/examples/v201602/creative_service/update_creatives.rb +0 -97
- data/examples/v201602/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
- data/examples/v201602/creative_set_service/create_creative_set.rb +0 -79
- data/examples/v201602/creative_set_service/get_all_creative_sets.rb +0 -82
- data/examples/v201602/creative_set_service/get_creative_sets_by_statement.rb +0 -92
- data/examples/v201602/creative_set_service/update_creative_sets.rb +0 -98
- data/examples/v201602/creative_template_service/get_all_creative_templates.rb +0 -82
- data/examples/v201602/creative_template_service/get_system_defined_creative_templates.rb +0 -87
- data/examples/v201602/creative_wrapper_service/create_creative_wrappers.rb +0 -85
- data/examples/v201602/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
- data/examples/v201602/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
- data/examples/v201602/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
- data/examples/v201602/creative_wrapper_service/update_creative_wrappers.rb +0 -99
- data/examples/v201602/custom_field_service/create_custom_field_options.rb +0 -83
- data/examples/v201602/custom_field_service/create_custom_fields.rb +0 -82
- data/examples/v201602/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
- data/examples/v201602/custom_field_service/get_all_custom_fields.rb +0 -90
- data/examples/v201602/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
- data/examples/v201602/custom_field_service/set_line_item_custom_field_value.rb +0 -178
- data/examples/v201602/custom_field_service/update_custom_fields.rb +0 -98
- data/examples/v201602/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
- data/examples/v201602/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
- data/examples/v201602/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
- data/examples/v201602/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
- data/examples/v201602/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
- data/examples/v201602/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
- data/examples/v201602/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
- data/examples/v201602/custom_targeting_service/update_custom_targeting_values.rb +0 -105
- data/examples/v201602/forecast_service/get_availability_forecast.rb +0 -134
- data/examples/v201602/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
- data/examples/v201602/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
- data/examples/v201602/inventory_service/create_ad_units.rb +0 -97
- data/examples/v201602/inventory_service/create_video_ad_unit.rb +0 -103
- data/examples/v201602/inventory_service/deactivate_ad_units.rb +0 -110
- data/examples/v201602/inventory_service/get_ad_unit_sizes.rb +0 -74
- data/examples/v201602/inventory_service/get_ad_units_by_statement.rb +0 -97
- data/examples/v201602/inventory_service/get_all_ad_units.rb +0 -80
- data/examples/v201602/inventory_service/update_ad_units.rb +0 -105
- data/examples/v201602/label_service/create_labels.rb +0 -79
- data/examples/v201602/label_service/deactivate_labels.rb +0 -107
- data/examples/v201602/label_service/get_all_labels.rb +0 -82
- data/examples/v201602/label_service/get_labels_by_statement.rb +0 -82
- data/examples/v201602/label_service/update_labels.rb +0 -96
- data/examples/v201602/line_item_creative_association_service/create_licas.rb +0 -90
- data/examples/v201602/line_item_creative_association_service/deactivate_licas.rb +0 -113
- data/examples/v201602/line_item_creative_association_service/get_all_licas.rb +0 -85
- data/examples/v201602/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
- data/examples/v201602/line_item_creative_association_service/update_licas.rb +0 -96
- data/examples/v201602/line_item_service/activate_line_items.rb +0 -118
- data/examples/v201602/line_item_service/create_line_items.rb +0 -182
- data/examples/v201602/line_item_service/create_video_line_item.rb +0 -164
- data/examples/v201602/line_item_service/get_all_line_items.rb +0 -82
- data/examples/v201602/line_item_service/get_line_items_by_statement.rb +0 -91
- data/examples/v201602/line_item_service/get_recently_updated_line_items.rb +0 -100
- data/examples/v201602/line_item_service/target_custom_criteria.rb +0 -140
- data/examples/v201602/line_item_service/update_line_items.rb +0 -106
- data/examples/v201602/network_service/get_all_networks.rb +0 -70
- data/examples/v201602/network_service/get_current_network.rb +0 -62
- data/examples/v201602/network_service/make_test_network.rb +0 -75
- data/examples/v201602/order_service/approve_orders.rb +0 -110
- data/examples/v201602/order_service/create_orders.rb +0 -88
- data/examples/v201602/order_service/get_all_orders.rb +0 -80
- data/examples/v201602/order_service/get_orders_by_statement.rb +0 -90
- data/examples/v201602/order_service/update_orders.rb +0 -101
- data/examples/v201602/placement_service/create_placements.rb +0 -128
- data/examples/v201602/placement_service/deactivate_placements.rb +0 -106
- data/examples/v201602/placement_service/get_all_placements.rb +0 -81
- data/examples/v201602/placement_service/get_placements_by_statement.rb +0 -87
- data/examples/v201602/placement_service/update_placements.rb +0 -102
- data/examples/v201602/publisher_query_language_service/fetch_match_tables.rb +0 -107
- data/examples/v201602/publisher_query_language_service/get_all_line_items.rb +0 -95
- data/examples/v201602/publisher_query_language_service/get_geo_targets.rb +0 -98
- data/examples/v201602/publisher_query_language_service/get_line_items_named_like.rb +0 -96
- data/examples/v201602/report_service/display_report.rb +0 -77
- data/examples/v201602/report_service/download_report.rb +0 -77
- data/examples/v201602/report_service/run_delivery_report.rb +0 -111
- data/examples/v201602/report_service/run_inventory_report.rb +0 -109
- data/examples/v201602/report_service/run_reach_report.rb +0 -85
- data/examples/v201602/report_service/run_report_with_custom_fields.rb +0 -89
- data/examples/v201602/report_service/run_sales_report.rb +0 -89
- data/examples/v201602/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
- data/examples/v201602/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
- data/examples/v201602/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
- data/examples/v201602/team_service/create_teams.rb +0 -79
- data/examples/v201602/team_service/get_all_teams.rb +0 -79
- data/examples/v201602/team_service/get_teams_by_statement.rb +0 -78
- data/examples/v201602/team_service/update_teams.rb +0 -94
- data/examples/v201602/user_service/create_users.rb +0 -85
- data/examples/v201602/user_service/deactivate_users.rb +0 -94
- data/examples/v201602/user_service/get_all_roles.rb +0 -69
- data/examples/v201602/user_service/get_all_users.rb +0 -79
- data/examples/v201602/user_service/get_current_user.rb +0 -62
- data/examples/v201602/user_service/get_users_by_statement.rb +0 -80
- data/examples/v201602/user_service/update_users.rb +0 -94
- data/examples/v201602/user_team_association_service/create_user_team_associations.rb +0 -82
- data/examples/v201602/user_team_association_service/delete_user_team_associations.rb +0 -98
- data/examples/v201602/user_team_association_service/get_all_user_team_associations.rb +0 -83
- data/examples/v201602/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
- data/examples/v201602/user_team_association_service/update_user_team_associations.rb +0 -98
- data/examples/v201605/activity_group_service/create_activity_groups.rb +0 -90
- data/examples/v201605/activity_group_service/get_active_activity_groups.rb +0 -87
- data/examples/v201605/activity_group_service/get_all_activity_groups.rb +0 -81
- data/examples/v201605/activity_group_service/update_activity_groups.rb +0 -94
- data/examples/v201605/activity_service/create_activities.rb +0 -87
- data/examples/v201605/activity_service/get_active_activities.rb +0 -87
- data/examples/v201605/activity_service/get_all_activities.rb +0 -81
- data/examples/v201605/activity_service/update_activities.rb +0 -96
- data/examples/v201605/audience_segment_service/create_audience_segments.rb +0 -114
- data/examples/v201605/audience_segment_service/get_all_audience_segments.rb +0 -81
- data/examples/v201605/audience_segment_service/get_first_party_audience_segments.rb +0 -88
- data/examples/v201605/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
- data/examples/v201605/audience_segment_service/update_audience_segments.rb +0 -94
- data/examples/v201605/common/error_handling.rb +0 -72
- data/examples/v201605/common/oauth2_jwt_handling.rb +0 -99
- data/examples/v201605/common/setup_oauth2.rb +0 -85
- data/examples/v201605/company_service/create_companies.rb +0 -78
- data/examples/v201605/company_service/get_all_companies.rb +0 -80
- data/examples/v201605/company_service/get_companies_by_statement.rb +0 -89
- data/examples/v201605/company_service/update_companies.rb +0 -104
- data/examples/v201605/contact_service/create_contacts.rb +0 -91
- data/examples/v201605/contact_service/get_all_contacts.rb +0 -80
- data/examples/v201605/contact_service/get_uninvited_contacts.rb +0 -94
- data/examples/v201605/contact_service/update_contacts.rb +0 -96
- data/examples/v201605/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
- data/examples/v201605/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
- data/examples/v201605/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
- data/examples/v201605/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
- data/examples/v201605/content_service/get_all_content.rb +0 -81
- data/examples/v201605/content_service/get_content_by_category.rb +0 -127
- data/examples/v201605/creative_service/copy_image_creatives.rb +0 -111
- data/examples/v201605/creative_service/create_creative_from_template.rb +0 -135
- data/examples/v201605/creative_service/create_creatives.rb +0 -108
- data/examples/v201605/creative_service/create_custom_creative.rb +0 -103
- data/examples/v201605/creative_service/create_native_creative.rb +0 -189
- data/examples/v201605/creative_service/get_all_creatives.rb +0 -80
- data/examples/v201605/creative_service/get_creatives_by_statement.rb +0 -88
- data/examples/v201605/creative_service/update_creatives.rb +0 -97
- data/examples/v201605/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
- data/examples/v201605/creative_set_service/create_creative_set.rb +0 -79
- data/examples/v201605/creative_set_service/get_all_creative_sets.rb +0 -82
- data/examples/v201605/creative_set_service/get_creative_sets_by_statement.rb +0 -92
- data/examples/v201605/creative_set_service/update_creative_sets.rb +0 -98
- data/examples/v201605/creative_template_service/get_all_creative_templates.rb +0 -82
- data/examples/v201605/creative_template_service/get_system_defined_creative_templates.rb +0 -87
- data/examples/v201605/creative_wrapper_service/create_creative_wrappers.rb +0 -85
- data/examples/v201605/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
- data/examples/v201605/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
- data/examples/v201605/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
- data/examples/v201605/creative_wrapper_service/update_creative_wrappers.rb +0 -99
- data/examples/v201605/custom_field_service/create_custom_field_options.rb +0 -83
- data/examples/v201605/custom_field_service/create_custom_fields.rb +0 -82
- data/examples/v201605/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
- data/examples/v201605/custom_field_service/get_all_custom_fields.rb +0 -90
- data/examples/v201605/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
- data/examples/v201605/custom_field_service/set_line_item_custom_field_value.rb +0 -178
- data/examples/v201605/custom_field_service/update_custom_fields.rb +0 -98
- data/examples/v201605/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
- data/examples/v201605/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
- data/examples/v201605/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
- data/examples/v201605/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
- data/examples/v201605/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
- data/examples/v201605/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
- data/examples/v201605/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
- data/examples/v201605/custom_targeting_service/update_custom_targeting_values.rb +0 -105
- data/examples/v201605/forecast_service/get_availability_forecast.rb +0 -134
- data/examples/v201605/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
- data/examples/v201605/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
- data/examples/v201605/inventory_service/create_ad_units.rb +0 -97
- data/examples/v201605/inventory_service/create_video_ad_unit.rb +0 -103
- data/examples/v201605/inventory_service/deactivate_ad_units.rb +0 -110
- data/examples/v201605/inventory_service/get_ad_unit_sizes.rb +0 -74
- data/examples/v201605/inventory_service/get_ad_units_by_statement.rb +0 -97
- data/examples/v201605/inventory_service/get_all_ad_units.rb +0 -80
- data/examples/v201605/inventory_service/update_ad_units.rb +0 -105
- data/examples/v201605/label_service/create_labels.rb +0 -79
- data/examples/v201605/label_service/deactivate_labels.rb +0 -107
- data/examples/v201605/label_service/get_all_labels.rb +0 -82
- data/examples/v201605/label_service/get_labels_by_statement.rb +0 -82
- data/examples/v201605/label_service/update_labels.rb +0 -96
- data/examples/v201605/line_item_creative_association_service/create_licas.rb +0 -90
- data/examples/v201605/line_item_creative_association_service/deactivate_licas.rb +0 -113
- data/examples/v201605/line_item_creative_association_service/get_all_licas.rb +0 -85
- data/examples/v201605/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
- data/examples/v201605/line_item_creative_association_service/update_licas.rb +0 -96
- data/examples/v201605/line_item_service/activate_line_items.rb +0 -118
- data/examples/v201605/line_item_service/create_line_items.rb +0 -182
- data/examples/v201605/line_item_service/create_video_line_item.rb +0 -164
- data/examples/v201605/line_item_service/get_all_line_items.rb +0 -82
- data/examples/v201605/line_item_service/get_line_items_by_statement.rb +0 -91
- data/examples/v201605/line_item_service/get_recently_updated_line_items.rb +0 -100
- data/examples/v201605/line_item_service/target_custom_criteria.rb +0 -140
- data/examples/v201605/line_item_service/update_line_items.rb +0 -106
- data/examples/v201605/network_service/get_all_networks.rb +0 -70
- data/examples/v201605/network_service/get_current_network.rb +0 -62
- data/examples/v201605/network_service/make_test_network.rb +0 -75
- data/examples/v201605/order_service/approve_orders.rb +0 -110
- data/examples/v201605/order_service/create_orders.rb +0 -88
- data/examples/v201605/order_service/get_all_orders.rb +0 -80
- data/examples/v201605/order_service/get_orders_by_statement.rb +0 -90
- data/examples/v201605/order_service/update_orders.rb +0 -101
- data/examples/v201605/placement_service/create_placements.rb +0 -128
- data/examples/v201605/placement_service/deactivate_placements.rb +0 -106
- data/examples/v201605/placement_service/get_all_placements.rb +0 -81
- data/examples/v201605/placement_service/get_placements_by_statement.rb +0 -87
- data/examples/v201605/placement_service/update_placements.rb +0 -102
- data/examples/v201605/publisher_query_language_service/fetch_match_tables.rb +0 -107
- data/examples/v201605/publisher_query_language_service/get_all_line_items.rb +0 -95
- data/examples/v201605/publisher_query_language_service/get_geo_targets.rb +0 -98
- data/examples/v201605/publisher_query_language_service/get_line_items_named_like.rb +0 -96
- data/examples/v201605/report_service/display_report.rb +0 -77
- data/examples/v201605/report_service/download_report.rb +0 -77
- data/examples/v201605/report_service/run_delivery_report.rb +0 -111
- data/examples/v201605/report_service/run_inventory_report.rb +0 -109
- data/examples/v201605/report_service/run_reach_report.rb +0 -85
- data/examples/v201605/report_service/run_report_with_custom_fields.rb +0 -89
- data/examples/v201605/report_service/run_sales_report.rb +0 -89
- data/examples/v201605/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
- data/examples/v201605/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
- data/examples/v201605/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
- data/examples/v201605/team_service/create_teams.rb +0 -79
- data/examples/v201605/team_service/get_all_teams.rb +0 -79
- data/examples/v201605/team_service/get_teams_by_statement.rb +0 -78
- data/examples/v201605/team_service/update_teams.rb +0 -94
- data/examples/v201605/user_service/create_users.rb +0 -85
- data/examples/v201605/user_service/deactivate_users.rb +0 -94
- data/examples/v201605/user_service/get_all_roles.rb +0 -69
- data/examples/v201605/user_service/get_all_users.rb +0 -79
- data/examples/v201605/user_service/get_current_user.rb +0 -62
- data/examples/v201605/user_service/get_users_by_statement.rb +0 -80
- data/examples/v201605/user_service/update_users.rb +0 -94
- data/examples/v201605/user_team_association_service/create_user_team_associations.rb +0 -82
- data/examples/v201605/user_team_association_service/delete_user_team_associations.rb +0 -98
- data/examples/v201605/user_team_association_service/get_all_user_team_associations.rb +0 -83
- data/examples/v201605/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
- data/examples/v201605/user_team_association_service/update_user_team_associations.rb +0 -98
- data/lib/dfp_api/v201505/activity_group_service.rb +0 -54
- data/lib/dfp_api/v201505/activity_group_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/activity_service.rb +0 -54
- data/lib/dfp_api/v201505/activity_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +0 -62
- data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/ad_rule_service.rb +0 -62
- data/lib/dfp_api/v201505/ad_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/audience_segment_service.rb +0 -62
- data/lib/dfp_api/v201505/audience_segment_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/base_rate_service.rb +0 -62
- data/lib/dfp_api/v201505/base_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/company_service.rb +0 -54
- data/lib/dfp_api/v201505/company_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/contact_service.rb +0 -54
- data/lib/dfp_api/v201505/contact_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/content_bundle_service.rb +0 -62
- data/lib/dfp_api/v201505/content_bundle_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/content_service.rb +0 -46
- data/lib/dfp_api/v201505/content_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/creative_service.rb +0 -54
- data/lib/dfp_api/v201505/creative_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/creative_set_service.rb +0 -54
- data/lib/dfp_api/v201505/creative_set_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/creative_template_service.rb +0 -38
- data/lib/dfp_api/v201505/creative_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/creative_wrapper_service.rb +0 -62
- data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/custom_field_service.rb +0 -86
- data/lib/dfp_api/v201505/custom_field_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/custom_targeting_service.rb +0 -94
- data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/exchange_rate_service.rb +0 -62
- data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/forecast_service.rb +0 -62
- data/lib/dfp_api/v201505/forecast_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/inventory_service.rb +0 -70
- data/lib/dfp_api/v201505/inventory_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/label_service.rb +0 -62
- data/lib/dfp_api/v201505/label_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/line_item_creative_association_service.rb +0 -70
- data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/line_item_service.rb +0 -62
- data/lib/dfp_api/v201505/line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/line_item_template_service.rb +0 -38
- data/lib/dfp_api/v201505/line_item_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/live_stream_event_service.rb +0 -62
- data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/network_service.rb +0 -62
- data/lib/dfp_api/v201505/network_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/order_service.rb +0 -62
- data/lib/dfp_api/v201505/order_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/package_service.rb +0 -62
- data/lib/dfp_api/v201505/package_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/placement_service.rb +0 -62
- data/lib/dfp_api/v201505/placement_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/premium_rate_service.rb +0 -54
- data/lib/dfp_api/v201505/premium_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/product_package_item_service.rb +0 -62
- data/lib/dfp_api/v201505/product_package_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/product_package_service.rb +0 -62
- data/lib/dfp_api/v201505/product_package_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/product_service.rb +0 -54
- data/lib/dfp_api/v201505/product_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/product_template_service.rb +0 -62
- data/lib/dfp_api/v201505/product_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/proposal_line_item_service.rb +0 -62
- data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/proposal_service.rb +0 -62
- data/lib/dfp_api/v201505/proposal_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/publisher_query_language_service.rb +0 -38
- data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/rate_card_service.rb +0 -62
- data/lib/dfp_api/v201505/rate_card_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +0 -46
- data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +0 -46
- data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/reconciliation_report_service.rb +0 -46
- data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/report_service.rb +0 -62
- data/lib/dfp_api/v201505/report_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/shared_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/team_service.rb +0 -54
- data/lib/dfp_api/v201505/team_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/user_service.rb +0 -78
- data/lib/dfp_api/v201505/user_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/user_team_association_service.rb +0 -62
- data/lib/dfp_api/v201505/user_team_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201505/workflow_request_service.rb +0 -46
- data/lib/dfp_api/v201505/workflow_request_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/activity_group_service.rb +0 -54
- data/lib/dfp_api/v201508/activity_group_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/activity_service.rb +0 -54
- data/lib/dfp_api/v201508/activity_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +0 -62
- data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/ad_rule_service.rb +0 -62
- data/lib/dfp_api/v201508/ad_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/audience_segment_service.rb +0 -62
- data/lib/dfp_api/v201508/audience_segment_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/base_rate_service.rb +0 -62
- data/lib/dfp_api/v201508/base_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/company_service.rb +0 -54
- data/lib/dfp_api/v201508/company_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/contact_service.rb +0 -54
- data/lib/dfp_api/v201508/contact_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/content_bundle_service.rb +0 -62
- data/lib/dfp_api/v201508/content_bundle_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/content_service.rb +0 -46
- data/lib/dfp_api/v201508/content_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/creative_service.rb +0 -54
- data/lib/dfp_api/v201508/creative_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/creative_set_service.rb +0 -54
- data/lib/dfp_api/v201508/creative_set_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/creative_template_service.rb +0 -38
- data/lib/dfp_api/v201508/creative_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/creative_wrapper_service.rb +0 -62
- data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/custom_field_service.rb +0 -86
- data/lib/dfp_api/v201508/custom_field_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/custom_targeting_service.rb +0 -94
- data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/exchange_rate_service.rb +0 -62
- data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/forecast_service.rb +0 -62
- data/lib/dfp_api/v201508/forecast_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/inventory_service.rb +0 -70
- data/lib/dfp_api/v201508/inventory_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/label_service.rb +0 -62
- data/lib/dfp_api/v201508/label_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/line_item_creative_association_service.rb +0 -70
- data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/line_item_service.rb +0 -62
- data/lib/dfp_api/v201508/line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/line_item_template_service.rb +0 -38
- data/lib/dfp_api/v201508/line_item_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/live_stream_event_service.rb +0 -62
- data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/network_service.rb +0 -62
- data/lib/dfp_api/v201508/network_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/order_service.rb +0 -62
- data/lib/dfp_api/v201508/order_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/package_service.rb +0 -62
- data/lib/dfp_api/v201508/package_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/placement_service.rb +0 -62
- data/lib/dfp_api/v201508/placement_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/premium_rate_service.rb +0 -54
- data/lib/dfp_api/v201508/premium_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/product_package_item_service.rb +0 -62
- data/lib/dfp_api/v201508/product_package_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/product_package_service.rb +0 -62
- data/lib/dfp_api/v201508/product_package_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/product_service.rb +0 -54
- data/lib/dfp_api/v201508/product_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/product_template_service.rb +0 -62
- data/lib/dfp_api/v201508/product_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/proposal_line_item_service.rb +0 -62
- data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/proposal_service.rb +0 -62
- data/lib/dfp_api/v201508/proposal_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/publisher_query_language_service.rb +0 -38
- data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/rate_card_service.rb +0 -62
- data/lib/dfp_api/v201508/rate_card_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +0 -46
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +0 -54
- data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +0 -46
- data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/reconciliation_report_service.rb +0 -46
- data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/report_service.rb +0 -62
- data/lib/dfp_api/v201508/report_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/shared_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/team_service.rb +0 -54
- data/lib/dfp_api/v201508/team_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/user_service.rb +0 -78
- data/lib/dfp_api/v201508/user_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/user_team_association_service.rb +0 -62
- data/lib/dfp_api/v201508/user_team_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201508/workflow_request_service.rb +0 -46
- data/lib/dfp_api/v201508/workflow_request_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/activity_group_service.rb +0 -54
- data/lib/dfp_api/v201511/activity_group_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/activity_service.rb +0 -54
- data/lib/dfp_api/v201511/activity_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/ad_exclusion_rule_service.rb +0 -62
- data/lib/dfp_api/v201511/ad_exclusion_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/ad_rule_service.rb +0 -62
- data/lib/dfp_api/v201511/ad_rule_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/audience_segment_service.rb +0 -62
- data/lib/dfp_api/v201511/audience_segment_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/base_rate_service.rb +0 -62
- data/lib/dfp_api/v201511/base_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/company_service.rb +0 -54
- data/lib/dfp_api/v201511/company_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/contact_service.rb +0 -54
- data/lib/dfp_api/v201511/contact_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/content_bundle_service.rb +0 -62
- data/lib/dfp_api/v201511/content_bundle_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service.rb +0 -62
- data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/content_service.rb +0 -46
- data/lib/dfp_api/v201511/content_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/creative_service.rb +0 -54
- data/lib/dfp_api/v201511/creative_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/creative_set_service.rb +0 -54
- data/lib/dfp_api/v201511/creative_set_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/creative_template_service.rb +0 -38
- data/lib/dfp_api/v201511/creative_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/creative_wrapper_service.rb +0 -62
- data/lib/dfp_api/v201511/creative_wrapper_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/custom_field_service.rb +0 -86
- data/lib/dfp_api/v201511/custom_field_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/custom_targeting_service.rb +0 -94
- data/lib/dfp_api/v201511/custom_targeting_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/exchange_rate_service.rb +0 -62
- data/lib/dfp_api/v201511/exchange_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/forecast_service.rb +0 -62
- data/lib/dfp_api/v201511/forecast_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/inventory_service.rb +0 -70
- data/lib/dfp_api/v201511/inventory_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/label_service.rb +0 -62
- data/lib/dfp_api/v201511/label_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/line_item_creative_association_service.rb +0 -70
- data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/line_item_service.rb +0 -62
- data/lib/dfp_api/v201511/line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/line_item_template_service.rb +0 -38
- data/lib/dfp_api/v201511/line_item_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/live_stream_event_service.rb +0 -62
- data/lib/dfp_api/v201511/live_stream_event_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/network_service.rb +0 -62
- data/lib/dfp_api/v201511/network_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/order_service.rb +0 -62
- data/lib/dfp_api/v201511/order_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/package_service.rb +0 -62
- data/lib/dfp_api/v201511/package_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/placement_service.rb +0 -62
- data/lib/dfp_api/v201511/placement_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/premium_rate_service.rb +0 -54
- data/lib/dfp_api/v201511/premium_rate_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/product_package_item_service.rb +0 -62
- data/lib/dfp_api/v201511/product_package_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/product_package_service.rb +0 -62
- data/lib/dfp_api/v201511/product_package_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/product_service.rb +0 -54
- data/lib/dfp_api/v201511/product_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/product_template_service.rb +0 -62
- data/lib/dfp_api/v201511/product_template_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/proposal_line_item_service.rb +0 -62
- data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/proposal_service.rb +0 -62
- data/lib/dfp_api/v201511/proposal_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/publisher_query_language_service.rb +0 -38
- data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/rate_card_service.rb +0 -62
- data/lib/dfp_api/v201511/rate_card_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +0 -46
- data/lib/dfp_api/v201511/reconciliation_line_item_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/reconciliation_order_report_service.rb +0 -54
- data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/reconciliation_report_row_service.rb +0 -46
- data/lib/dfp_api/v201511/reconciliation_report_row_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/reconciliation_report_service.rb +0 -46
- data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/report_service.rb +0 -62
- data/lib/dfp_api/v201511/report_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/shared_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +0 -46
- data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/team_service.rb +0 -54
- data/lib/dfp_api/v201511/team_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/user_service.rb +0 -78
- data/lib/dfp_api/v201511/user_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/user_team_association_service.rb +0 -62
- data/lib/dfp_api/v201511/user_team_association_service_registry.rb +0 -45
- data/lib/dfp_api/v201511/workflow_request_service.rb +0 -46
- data/lib/dfp_api/v201511/workflow_request_service_registry.rb +0 -45
- data/test/dfp_api/test_config.yml +0 -9
- data/test/suite_unittests.rb +0 -34
@@ -1,111 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example runs a report similar to the "Orders report" on the DFP website
|
20
|
-
# with additional attributes and can filter to include just one order.
|
21
|
-
# To download the report see download_report.rb.
|
22
|
-
|
23
|
-
require 'date'
|
24
|
-
require 'dfp_api'
|
25
|
-
|
26
|
-
API_VERSION = :v201602
|
27
|
-
MAX_RETRIES = 10
|
28
|
-
RETRY_INTERVAL = 30
|
29
|
-
|
30
|
-
def run_delivery_report()
|
31
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
32
|
-
dfp = DfpApi::Api.new
|
33
|
-
|
34
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
35
|
-
# the configuration file or provide your own logger:
|
36
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
37
|
-
|
38
|
-
# Get the ReportService.
|
39
|
-
report_service = dfp.service(:ReportService, API_VERSION)
|
40
|
-
|
41
|
-
# Specify the order ID to filter by.
|
42
|
-
order_id = 'INSERT_ORDER_ID_HERE'.to_i
|
43
|
-
|
44
|
-
# Specify a report to run for the last 7 days.
|
45
|
-
report_end_date = DateTime.now
|
46
|
-
report_start_date = report_end_date - 7
|
47
|
-
|
48
|
-
# Create report query.
|
49
|
-
report_query = {
|
50
|
-
:date_range_type => 'CUSTOM_DATE',
|
51
|
-
:start_date => {:year => report_start_date.year,
|
52
|
-
:month => report_start_date.month,
|
53
|
-
:day => report_start_date.day},
|
54
|
-
:end_date => {:year => report_end_date.year,
|
55
|
-
:month => report_end_date.month,
|
56
|
-
:day => report_end_date.day},
|
57
|
-
:dimensions => ['ORDER_ID', 'ORDER_NAME'],
|
58
|
-
:dimension_attributes => ['ORDER_TRAFFICKER', 'ORDER_START_DATE_TIME',
|
59
|
-
'ORDER_END_DATE_TIME'],
|
60
|
-
:columns => ['AD_SERVER_IMPRESSIONS', 'AD_SERVER_CLICKS', 'AD_SERVER_CTR',
|
61
|
-
'AD_SERVER_CPM_AND_CPC_REVENUE', 'AD_SERVER_WITHOUT_CPD_AVERAGE_ECPM'],
|
62
|
-
# Create statement object to filter for an order.
|
63
|
-
:statement => {
|
64
|
-
:query => 'WHERE ORDER_ID = :order_id',
|
65
|
-
:values => [
|
66
|
-
{:key => 'order_id',
|
67
|
-
:value => {:value => order_id, :xsi_type => 'NumberValue'}}
|
68
|
-
]
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
# Create report job.
|
73
|
-
report_job = {:report_query => report_query}
|
74
|
-
|
75
|
-
# Run report job.
|
76
|
-
report_job = report_service.run_report_job(report_job);
|
77
|
-
|
78
|
-
MAX_RETRIES.times do |retry_count|
|
79
|
-
# Get the report job status.
|
80
|
-
report_job_status = report_service.get_report_job_status(report_job[:id])
|
81
|
-
|
82
|
-
break unless report_job_status == 'IN_PROGRESS'
|
83
|
-
puts "Report with ID: %d is still running." % report_job[:id]
|
84
|
-
sleep(RETRY_INTERVAL)
|
85
|
-
end
|
86
|
-
|
87
|
-
puts "Report job with ID: %d finished with status %s." %
|
88
|
-
[report_job[:id],
|
89
|
-
report_service.get_report_job_status(report_job[:id])]
|
90
|
-
end
|
91
|
-
|
92
|
-
if __FILE__ == $0
|
93
|
-
begin
|
94
|
-
run_delivery_report()
|
95
|
-
|
96
|
-
# HTTP errors.
|
97
|
-
rescue AdsCommon::Errors::HttpError => e
|
98
|
-
puts "HTTP Error: %s" % e
|
99
|
-
|
100
|
-
# API errors.
|
101
|
-
rescue DfpApi::Errors::ApiException => e
|
102
|
-
puts "Message: %s" % e.message
|
103
|
-
puts 'Errors:'
|
104
|
-
e.errors.each_with_index do |error, index|
|
105
|
-
puts "\tError [%d]:" % (index + 1)
|
106
|
-
error.each do |field, value|
|
107
|
-
puts "\t\t%s: %s" % [field, value]
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
@@ -1,109 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example runs a report equal to the "Whole network report" on the DFP
|
20
|
-
# website. To download the report see download_report.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
API_VERSION = :v201602
|
25
|
-
MAX_RETRIES = 10
|
26
|
-
RETRY_INTERVAL = 30
|
27
|
-
|
28
|
-
def run_inventory_report()
|
29
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
30
|
-
dfp = DfpApi::Api.new
|
31
|
-
|
32
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
33
|
-
# the configuration file or provide your own logger:
|
34
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
35
|
-
|
36
|
-
# Get the ReportService and NetworkService.
|
37
|
-
report_service = dfp.service(:ReportService, API_VERSION)
|
38
|
-
network_service = dfp.service(:NetworkService, API_VERSION)
|
39
|
-
|
40
|
-
# Get the root ad unit ID to filter on.
|
41
|
-
root_ad_unit_id =
|
42
|
-
network_service.get_current_network()[:effective_root_ad_unit_id]
|
43
|
-
|
44
|
-
# Create statement to filter on a parent ad unit with the root ad unit ID
|
45
|
-
# to include all ad units in the network.
|
46
|
-
statement = {
|
47
|
-
:query => 'WHERE PARENT_AD_UNIT_ID = :parent_ad_unit_id',
|
48
|
-
:values => [
|
49
|
-
{:key => 'parent_ad_unit_id',
|
50
|
-
:value => {:value => root_ad_unit_id, :xsi_type => 'NumberValue'}}
|
51
|
-
]
|
52
|
-
}
|
53
|
-
|
54
|
-
# Create report query.
|
55
|
-
report_query = {
|
56
|
-
:date_range_type => 'LAST_WEEK',
|
57
|
-
:dimensions => ['DATE', 'AD_UNIT_NAME'],
|
58
|
-
:ad_unit_view => 'HIERARCHICAL',
|
59
|
-
:columns => [
|
60
|
-
'AD_SERVER_IMPRESSIONS',
|
61
|
-
'AD_SERVER_CLICKS',
|
62
|
-
'DYNAMIC_ALLOCATION_INVENTORY_LEVEL_IMPRESSIONS',
|
63
|
-
'DYNAMIC_ALLOCATION_INVENTORY_LEVEL_CLICKS',
|
64
|
-
'TOTAL_INVENTORY_LEVEL_IMPRESSIONS',
|
65
|
-
'TOTAL_INVENTORY_LEVEL_CPM_AND_CPC_REVENUE'
|
66
|
-
],
|
67
|
-
:statement => statement
|
68
|
-
}
|
69
|
-
|
70
|
-
# Create report job.
|
71
|
-
report_job = {:report_query => report_query}
|
72
|
-
|
73
|
-
# Run report job.
|
74
|
-
report_job = report_service.run_report_job(report_job);
|
75
|
-
|
76
|
-
MAX_RETRIES.times do |retry_count|
|
77
|
-
# Get the report job status.
|
78
|
-
report_job_status = report_service.get_report_job_status(report_job[:id])
|
79
|
-
|
80
|
-
break unless report_job_status == 'IN_PROGRESS'
|
81
|
-
puts "Report with ID: %d is still running." % report_job[:id]
|
82
|
-
sleep(RETRY_INTERVAL)
|
83
|
-
end
|
84
|
-
|
85
|
-
puts "Report job with ID: %d finished with status %s." %
|
86
|
-
[report_job[:id],
|
87
|
-
report_service.get_report_job_status(report_job[:id])]
|
88
|
-
end
|
89
|
-
|
90
|
-
if __FILE__ == $0
|
91
|
-
begin
|
92
|
-
run_inventory_report()
|
93
|
-
|
94
|
-
# HTTP errors.
|
95
|
-
rescue AdsCommon::Errors::HttpError => e
|
96
|
-
puts "HTTP Error: %s" % e
|
97
|
-
|
98
|
-
# API errors.
|
99
|
-
rescue DfpApi::Errors::ApiException => e
|
100
|
-
puts "Message: %s" % e.message
|
101
|
-
puts 'Errors:'
|
102
|
-
e.errors.each_with_index do |error, index|
|
103
|
-
puts "\tError [%d]:" % (index + 1)
|
104
|
-
error.each do |field, value|
|
105
|
-
puts "\t\t%s: %s" % [field, value]
|
106
|
-
end
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example runs a reach report. To download the report see
|
20
|
-
# download_report.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
API_VERSION = :v201602
|
25
|
-
MAX_RETRIES = 10
|
26
|
-
RETRY_INTERVAL = 30
|
27
|
-
|
28
|
-
def run_reach_report()
|
29
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
30
|
-
dfp = DfpApi::Api.new
|
31
|
-
|
32
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
33
|
-
# the configuration file or provide your own logger:
|
34
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
35
|
-
|
36
|
-
# Get the ReportService.
|
37
|
-
report_service = dfp.service(:ReportService, API_VERSION)
|
38
|
-
|
39
|
-
# Create report query.
|
40
|
-
report_query = {
|
41
|
-
:date_range_type => 'REACH_LIFETIME',
|
42
|
-
:dimensions => ['LINE_ITEM_ID', 'LINE_ITEM_NAME'],
|
43
|
-
:columns => ['REACH_FREQUENCY', 'REACH_AVERAGE_REVENUE', 'REACH']
|
44
|
-
}
|
45
|
-
|
46
|
-
# Create report job.
|
47
|
-
report_job = {:report_query => report_query}
|
48
|
-
|
49
|
-
# Run report job.
|
50
|
-
report_job = report_service.run_report_job(report_job);
|
51
|
-
|
52
|
-
MAX_RETRIES.times do |retry_count|
|
53
|
-
# Get the report job status.
|
54
|
-
report_job_status = report_service.get_report_job_status(report_job[:id])
|
55
|
-
|
56
|
-
break unless report_job_status == 'IN_PROGRESS'
|
57
|
-
puts "Report with ID: %d is still running." % report_job[:id]
|
58
|
-
sleep(RETRY_INTERVAL)
|
59
|
-
end
|
60
|
-
|
61
|
-
puts "Report job with ID: %d finished with status %s." %
|
62
|
-
[report_job[:id],
|
63
|
-
report_service.get_report_job_status(report_job[:id])]
|
64
|
-
end
|
65
|
-
|
66
|
-
if __FILE__ == $0
|
67
|
-
begin
|
68
|
-
run_reach_report()
|
69
|
-
|
70
|
-
# HTTP errors.
|
71
|
-
rescue AdsCommon::Errors::HttpError => e
|
72
|
-
puts "HTTP Error: %s" % e
|
73
|
-
|
74
|
-
# API errors.
|
75
|
-
rescue DfpApi::Errors::ApiException => e
|
76
|
-
puts "Message: %s" % e.message
|
77
|
-
puts 'Errors:'
|
78
|
-
e.errors.each_with_index do |error, index|
|
79
|
-
puts "\tError [%d]:" % (index + 1)
|
80
|
-
error.each do |field, value|
|
81
|
-
puts "\t\t%s: %s" % [field, value]
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
@@ -1,89 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example runs a report filtered on a single custom field. To download the
|
20
|
-
# report see download_report.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
API_VERSION = :v201602
|
25
|
-
MAX_RETRIES = 10
|
26
|
-
RETRY_INTERVAL = 30
|
27
|
-
|
28
|
-
def run_report_with_custom_fields()
|
29
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
30
|
-
dfp = DfpApi::Api.new
|
31
|
-
|
32
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
33
|
-
# the configuration file or provide your own logger:
|
34
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
35
|
-
|
36
|
-
# Get the ReportService.
|
37
|
-
report_service = dfp.service(:ReportService, API_VERSION)
|
38
|
-
|
39
|
-
# Set the ID of the custom field to filter on.
|
40
|
-
custom_field_id = 'INSERT_CUSTOM_FIELD_ID_HERE'.to_i
|
41
|
-
|
42
|
-
# Create report query.
|
43
|
-
report_query = {
|
44
|
-
:date_range_type => 'LAST_MONTH',
|
45
|
-
:dimensions => ['LINE_ITEM_ID', 'LINE_ITEM_NAME'],
|
46
|
-
:custom_field_ids => [custom_field_id],
|
47
|
-
:columns => ['AD_SERVER_IMPRESSIONS'],
|
48
|
-
}
|
49
|
-
|
50
|
-
# Create report job.
|
51
|
-
report_job = {:report_query => report_query}
|
52
|
-
|
53
|
-
# Run report job.
|
54
|
-
report_job = report_service.run_report_job(report_job);
|
55
|
-
|
56
|
-
MAX_RETRIES.times do |retry_count|
|
57
|
-
# Get the report job status.
|
58
|
-
report_job_status = report_service.get_report_job_status(report_job[:id])
|
59
|
-
|
60
|
-
break unless report_job_status == 'IN_PROGRESS'
|
61
|
-
puts "Report with ID: %d is still running." % report_job[:id]
|
62
|
-
sleep(RETRY_INTERVAL)
|
63
|
-
end
|
64
|
-
|
65
|
-
puts "Report job with ID: %d finished with status %s." %
|
66
|
-
[report_job[:id],
|
67
|
-
report_service.get_report_job_status(report_job[:id])]
|
68
|
-
end
|
69
|
-
|
70
|
-
if __FILE__ == $0
|
71
|
-
begin
|
72
|
-
run_report_with_custom_fields()
|
73
|
-
|
74
|
-
# HTTP errors.
|
75
|
-
rescue AdsCommon::Errors::HttpError => e
|
76
|
-
puts "HTTP Error: %s" % e
|
77
|
-
|
78
|
-
# API errors.
|
79
|
-
rescue DfpApi::Errors::ApiException => e
|
80
|
-
puts "Message: %s" % e.message
|
81
|
-
puts 'Errors:'
|
82
|
-
e.errors.each_with_index do |error, index|
|
83
|
-
puts "\tError [%d]:" % (index + 1)
|
84
|
-
error.each do |field, value|
|
85
|
-
puts "\t\t%s: %s" % [field, value]
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
@@ -1,89 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example runs a report equal to the "Sales by salespersons report" on the
|
20
|
-
# DFP website. To download the report see download_report.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
API_VERSION = :v201602
|
25
|
-
MAX_RETRIES = 10
|
26
|
-
RETRY_INTERVAL = 30
|
27
|
-
|
28
|
-
def run_sales_report()
|
29
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
30
|
-
dfp = DfpApi::Api.new
|
31
|
-
|
32
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
33
|
-
# the configuration file or provide your own logger:
|
34
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
35
|
-
|
36
|
-
# Get the ReportService.
|
37
|
-
report_service = dfp.service(:ReportService, API_VERSION)
|
38
|
-
|
39
|
-
# Create report query.
|
40
|
-
report_query = {
|
41
|
-
:date_range_type => 'LAST_MONTH',
|
42
|
-
:dimensions => ['SALESPERSON_ID', 'SALESPERSON_NAME'],
|
43
|
-
:columns => [
|
44
|
-
'AD_SERVER_IMPRESSIONS',
|
45
|
-
'AD_SERVER_CPM_AND_CPC_REVENUE',
|
46
|
-
'AD_SERVER_WITHOUT_CPD_AVERAGE_ECPM'
|
47
|
-
]
|
48
|
-
}
|
49
|
-
|
50
|
-
# Create report job.
|
51
|
-
report_job = {:report_query => report_query}
|
52
|
-
|
53
|
-
# Run report job.
|
54
|
-
report_job = report_service.run_report_job(report_job);
|
55
|
-
|
56
|
-
MAX_RETRIES.times do |retry_count|
|
57
|
-
# Get the report job status.
|
58
|
-
report_job_status = report_service.get_report_job_status(report_job[:id])
|
59
|
-
|
60
|
-
break unless report_job_status == 'IN_PROGRESS'
|
61
|
-
puts "Report with ID: %d is still running." % report_job[:id]
|
62
|
-
sleep(RETRY_INTERVAL)
|
63
|
-
end
|
64
|
-
|
65
|
-
puts "Report job with ID: %d finished with status %s." %
|
66
|
-
[report_job[:id],
|
67
|
-
report_service.get_report_job_status(report_job[:id])]
|
68
|
-
end
|
69
|
-
|
70
|
-
if __FILE__ == $0
|
71
|
-
begin
|
72
|
-
run_sales_report()
|
73
|
-
|
74
|
-
# HTTP errors.
|
75
|
-
rescue AdsCommon::Errors::HttpError => e
|
76
|
-
puts "HTTP Error: %s" % e
|
77
|
-
|
78
|
-
# API errors.
|
79
|
-
rescue DfpApi::Errors::ApiException => e
|
80
|
-
puts "Message: %s" % e.message
|
81
|
-
puts 'Errors:'
|
82
|
-
e.errors.each_with_index do |error, index|
|
83
|
-
puts "\tError [%d]:" % (index + 1)
|
84
|
-
error.each do |field, value|
|
85
|
-
puts "\t\t%s: %s" % [field, value]
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
@@ -1,108 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This code example approves all suggested ad units with 50 or more requests.
|
20
|
-
#
|
21
|
-
# This feature is only available to DFP premium solution networks.
|
22
|
-
|
23
|
-
require 'dfp_api'
|
24
|
-
|
25
|
-
|
26
|
-
API_VERSION = :v201602
|
27
|
-
NUMBER_OF_REQUESTS = 50
|
28
|
-
|
29
|
-
def approve_suggested_ad_units()
|
30
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
31
|
-
dfp = DfpApi::Api.new
|
32
|
-
|
33
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
34
|
-
# the configuration file or provide your own logger:
|
35
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
36
|
-
|
37
|
-
# Get the SuggestedAdUnitService.
|
38
|
-
suggested_ad_unit_service = dfp.service(:SuggestedAdUnitService, API_VERSION)
|
39
|
-
|
40
|
-
# Create a statement to only select suggested ad units with 50 or more
|
41
|
-
# requests.
|
42
|
-
statement = DfpApi::FilterStatement.new(
|
43
|
-
'WHERE numRequests >= :num_requests',
|
44
|
-
[
|
45
|
-
{:key => 'num_requests',
|
46
|
-
:value => {:value => NUMBER_OF_REQUESTS,
|
47
|
-
:xsi_type => 'NumberValue'}}
|
48
|
-
]
|
49
|
-
)
|
50
|
-
|
51
|
-
begin
|
52
|
-
# Get suggested ad units by statement.
|
53
|
-
page = suggested_ad_unit_service.get_suggested_ad_units_by_statement(
|
54
|
-
statement.toStatement())
|
55
|
-
|
56
|
-
unit_count_to_approve = 0
|
57
|
-
|
58
|
-
if page[:results]
|
59
|
-
page[:results].each_with_index do |ad_unit, index|
|
60
|
-
if ad_unit[:num_requests] >= NUMBER_OF_REQUESTS
|
61
|
-
puts(("%d) Suggested ad unit with ID '%s' and %d requests will be " +
|
62
|
-
"approved.") % [index + statement.offset, ad_unit[:id],
|
63
|
-
ad_unit[:num_requests]])
|
64
|
-
unit_count_to_approve += 1
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
69
|
-
end
|
70
|
-
|
71
|
-
puts "Number of suggested ad units to be approved: %d" % unit_count_to_approve
|
72
|
-
|
73
|
-
if unit_count_to_approve > 0
|
74
|
-
# Perform action with the same statement.
|
75
|
-
result = suggested_ad_unit_service.perform_suggested_ad_unit_action(
|
76
|
-
{:xsi_type => 'ApproveSuggestedAdUnits'}, statement)
|
77
|
-
|
78
|
-
# Display results.
|
79
|
-
if result and result[:num_changes] > 0
|
80
|
-
puts "Number of ad units approved: %d" % result[:num_changes]
|
81
|
-
else
|
82
|
-
puts 'No ad units were approved.'
|
83
|
-
end
|
84
|
-
else
|
85
|
-
puts 'No ad units found to approve.'
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
if __FILE__ == $0
|
90
|
-
begin
|
91
|
-
approve_suggested_ad_units()
|
92
|
-
|
93
|
-
# HTTP errors.
|
94
|
-
rescue AdsCommon::Errors::HttpError => e
|
95
|
-
puts "HTTP Error: %s" % e
|
96
|
-
|
97
|
-
# API errors.
|
98
|
-
rescue DfpApi::Errors::ApiException => e
|
99
|
-
puts "Message: %s" % e.message
|
100
|
-
puts 'Errors:'
|
101
|
-
e.errors.each_with_index do |error, index|
|
102
|
-
puts "\tError [%d]:" % (index + 1)
|
103
|
-
error.each do |field, value|
|
104
|
-
puts "\t\t%s: %s" % [field, value]
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
108
|
-
end
|
@@ -1,83 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
5
|
-
#
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
15
|
-
# implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
# This example gets all suggested ad units. To approve suggested ad units, run
|
20
|
-
# approve_suggested_ad_units.rb.
|
21
|
-
#
|
22
|
-
# This feature is only available to DFP premium solution networks.
|
23
|
-
|
24
|
-
require 'dfp_api'
|
25
|
-
|
26
|
-
|
27
|
-
API_VERSION = :v201602
|
28
|
-
|
29
|
-
def get_all_suggested_ad_units()
|
30
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
31
|
-
dfp = DfpApi::Api.new
|
32
|
-
|
33
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
34
|
-
# the configuration file or provide your own logger:
|
35
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
36
|
-
|
37
|
-
# Get the SuggestedAdUnitService.
|
38
|
-
suggested_ad_unit_service = dfp.service(:SuggestedAdUnitService, API_VERSION)
|
39
|
-
|
40
|
-
# Create a statement to get all suggested ad units.
|
41
|
-
statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
|
42
|
-
|
43
|
-
begin
|
44
|
-
# Get suggested ad units by statement.
|
45
|
-
page = suggested_ad_unit_service.get_suggested_ad_units_by_statement(
|
46
|
-
statement.toStatement())
|
47
|
-
|
48
|
-
if page[:results]
|
49
|
-
# Print details about each suggested ad unit in results.
|
50
|
-
page[:results].each_with_index do |ad_unit, index|
|
51
|
-
puts "%d) Suggested ad unit ID: '%s' with number of requests: %d" %
|
52
|
-
[index + statement.offset, ad_unit[:id], ad_unit[:num_requests]]
|
53
|
-
end
|
54
|
-
end
|
55
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
56
|
-
end while statement.offset < page[:total_result_set_size]
|
57
|
-
|
58
|
-
# Print a footer.
|
59
|
-
if page.include?(:total_result_set_size)
|
60
|
-
puts "Total number of suggested ad units: %d" % page[:total_result_set_size]
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
if __FILE__ == $0
|
65
|
-
begin
|
66
|
-
get_all_suggested_ad_units()
|
67
|
-
|
68
|
-
# HTTP errors.
|
69
|
-
rescue AdsCommon::Errors::HttpError => e
|
70
|
-
puts "HTTP Error: %s" % e
|
71
|
-
|
72
|
-
# API errors.
|
73
|
-
rescue DfpApi::Errors::ApiException => e
|
74
|
-
puts "Message: %s" % e.message
|
75
|
-
puts 'Errors:'
|
76
|
-
e.errors.each_with_index do |error, index|
|
77
|
-
puts "\tError [%d]:" % (index + 1)
|
78
|
-
error.each do |field, value|
|
79
|
-
puts "\t\t%s: %s" % [field, value]
|
80
|
-
end
|
81
|
-
end
|
82
|
-
end
|
83
|
-
end
|