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,122 +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 custom targeting keys and the values. To create custom
|
20
|
-
# targeting keys and values, run create_custom_targeting_keys_and_values.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
|
25
|
-
API_VERSION = :v201508
|
26
|
-
|
27
|
-
def get_all_custom_targeting_keys_and_values()
|
28
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
29
|
-
dfp = DfpApi::Api.new
|
30
|
-
|
31
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
32
|
-
# the configuration file or provide your own logger:
|
33
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
34
|
-
|
35
|
-
# Get the CustomTargetingService.
|
36
|
-
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
37
|
-
|
38
|
-
begin
|
39
|
-
# Create a statement to get one page with current offset.
|
40
|
-
statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
|
41
|
-
|
42
|
-
# Get custom targeting keys by statement.
|
43
|
-
page = custom_targeting_service.get_custom_targeting_keys_by_statement(
|
44
|
-
statement.toStatement())
|
45
|
-
|
46
|
-
if page[:results]
|
47
|
-
# Print details about each key in results.
|
48
|
-
page[:results].each_with_index do |custom_targeting_key, index|
|
49
|
-
puts ("%d) Custom targeting key ID: %d, name: %s, displayName: %s, " +
|
50
|
-
"type: %s") % [index + statement.offset,
|
51
|
-
custom_targeting_key[:id],
|
52
|
-
custom_targeting_key[:name],
|
53
|
-
custom_targeting_key[:display_name],
|
54
|
-
custom_targeting_key[:type]]
|
55
|
-
print_all_values_for_key(custom_targeting_service, custom_targeting_key)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
59
|
-
end while statement.offset < page[:total_result_set_size]
|
60
|
-
|
61
|
-
# Print a footer.
|
62
|
-
if page.include?(:total_result_set_size)
|
63
|
-
puts "Total number of targeting keys: %d" %
|
64
|
-
page[:total_result_set_size]
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
def print_all_values_for_key(custom_targeting_service, custom_targeting_key)
|
69
|
-
# Create a statement to get values for given key.
|
70
|
-
statement = DfpApi::FilterStatement.new(
|
71
|
-
'WHERE customTargetingKeyId = :key_id',
|
72
|
-
[
|
73
|
-
{:key => 'key_id',
|
74
|
-
:value => {:value => custom_targeting_key[:id],
|
75
|
-
:xsi_type => 'NumberValue'}}
|
76
|
-
]
|
77
|
-
)
|
78
|
-
|
79
|
-
begin
|
80
|
-
# Get custom targeting values by statement.
|
81
|
-
page = custom_targeting_service.get_custom_targeting_values_by_statement(
|
82
|
-
statement.toStatement())
|
83
|
-
|
84
|
-
if page[:results]
|
85
|
-
# Print details about each value in results.
|
86
|
-
page[:results].each_with_index do |custom_targeting_value, index|
|
87
|
-
puts ("\t%d) Custom targeting value ID: %d, name: %s, displayName: %s") %
|
88
|
-
[index + statement.offset,
|
89
|
-
custom_targeting_value[:id],
|
90
|
-
custom_targeting_value[:name],
|
91
|
-
custom_targeting_value[:display_name]]
|
92
|
-
end
|
93
|
-
end
|
94
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
95
|
-
end while statement.offset < page[:total_result_set_size]
|
96
|
-
|
97
|
-
# Print a footer.
|
98
|
-
if page.include?(:total_result_set_size)
|
99
|
-
puts "\tTotal number of targeting values: %d" % page[:total_result_set_size]
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
if __FILE__ == $0
|
104
|
-
begin
|
105
|
-
get_all_custom_targeting_keys_and_values()
|
106
|
-
|
107
|
-
# HTTP errors.
|
108
|
-
rescue AdsCommon::Errors::HttpError => e
|
109
|
-
puts "HTTP Error: %s" % e
|
110
|
-
|
111
|
-
# API errors.
|
112
|
-
rescue DfpApi::Errors::ApiException => e
|
113
|
-
puts "Message: %s" % e.message
|
114
|
-
puts 'Errors:'
|
115
|
-
e.errors.each_with_index do |error, index|
|
116
|
-
puts "\tError [%d]:" % (index + 1)
|
117
|
-
error.each do |field, value|
|
118
|
-
puts "\t\t%s: %s" % [field, value]
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
@@ -1,92 +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 predefined custom targeting keys. The statement
|
20
|
-
# retrieves up to the maximum page size limit of 500. To create custom
|
21
|
-
# targeting keys, run create_custom_targeting_keys_and_values.rb.
|
22
|
-
|
23
|
-
require 'dfp_api'
|
24
|
-
|
25
|
-
|
26
|
-
API_VERSION = :v201508
|
27
|
-
|
28
|
-
def get_custom_targeting_keys_by_statement()
|
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 CustomTargetingService.
|
37
|
-
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
38
|
-
|
39
|
-
# Create a statement to only select predefined custom targeting keys.
|
40
|
-
statement = DfpApi::FilterStatement.new(
|
41
|
-
'WHERE type = :type ORDER BY id ASC',
|
42
|
-
[
|
43
|
-
{:key => 'type',
|
44
|
-
:value => {:value => 'PREDEFINED', :xsi_type => 'TextValue'}}
|
45
|
-
]
|
46
|
-
)
|
47
|
-
|
48
|
-
# Get custom targeting keys by statement.
|
49
|
-
page = custom_targeting_service.get_custom_targeting_keys_by_statement(
|
50
|
-
statement.toStatement())
|
51
|
-
|
52
|
-
begin
|
53
|
-
if page[:results]
|
54
|
-
# Print details about each key in results.
|
55
|
-
page[:results].each_with_index do |custom_targeting_key, index|
|
56
|
-
puts ("%d) Custom targeting key with ID [%d], name: %s," +
|
57
|
-
" displayName: %s type: %s") % [index + statement.offset,
|
58
|
-
custom_targeting_key[:id],
|
59
|
-
custom_targeting_key[:name],
|
60
|
-
custom_targeting_key[:display_name],
|
61
|
-
custom_targeting_key[:type]]
|
62
|
-
end
|
63
|
-
end
|
64
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
65
|
-
end while statement.offset < page[:total_result_set_size]
|
66
|
-
|
67
|
-
# Print a footer.
|
68
|
-
if page.include?(:total_result_set_size)
|
69
|
-
puts "Number of results found: %d" % page[:total_result_set_size]
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
if __FILE__ == $0
|
74
|
-
begin
|
75
|
-
get_custom_targeting_keys_by_statement()
|
76
|
-
|
77
|
-
# HTTP errors.
|
78
|
-
rescue AdsCommon::Errors::HttpError => e
|
79
|
-
puts "HTTP Error: %s" % e
|
80
|
-
|
81
|
-
# API errors.
|
82
|
-
rescue DfpApi::Errors::ApiException => e
|
83
|
-
puts "Message: %s" % e.message
|
84
|
-
puts 'Errors:'
|
85
|
-
e.errors.each_with_index do |error, index|
|
86
|
-
puts "\tError [%d]:" % (index + 1)
|
87
|
-
error.each do |field, value|
|
88
|
-
puts "\t\t%s: %s" % [field, value]
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,98 +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 custom targeting values for the given predefined custom
|
20
|
-
# targeting key. The statement retrieves up to the maximum page size limit of
|
21
|
-
# 500. To create custom targeting values, run
|
22
|
-
# create_custom_targeting_keys_and_values.rb. To determine which custom
|
23
|
-
# targeting keys exist, run get_all_custom_targeting_keys_and_values.rb.
|
24
|
-
|
25
|
-
require 'dfp_api'
|
26
|
-
|
27
|
-
|
28
|
-
API_VERSION = :v201508
|
29
|
-
|
30
|
-
def get_custom_targeting_values_by_statement()
|
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 CustomTargetingService.
|
39
|
-
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
40
|
-
|
41
|
-
# Set the ID of the custom targeting key to get custom targeting values for.
|
42
|
-
custom_targeting_key_id = 'INSERT_CUSTOM_TARGETING_KEY_ID_HERE'.to_i
|
43
|
-
|
44
|
-
# Create a statement to only select custom targeting values for a given key.
|
45
|
-
statement = DfpApi::FilterStatement.new(
|
46
|
-
'WHERE customTargetingKeyId = :key_id ORDER BY id',
|
47
|
-
[
|
48
|
-
{:key => 'key_id',
|
49
|
-
:value => {:value => custom_targeting_key_id,
|
50
|
-
:xsi_type => 'NumberValue'}
|
51
|
-
}
|
52
|
-
]
|
53
|
-
)
|
54
|
-
|
55
|
-
# Get custom targeting values by statement.
|
56
|
-
page = custom_targeting_service.get_custom_targeting_values_by_statement(
|
57
|
-
statement.toStatement())
|
58
|
-
|
59
|
-
begin
|
60
|
-
if page[:results]
|
61
|
-
# Print details about each value in results.
|
62
|
-
page[:results].each_with_index do |custom_targeting_value, index|
|
63
|
-
puts ("%d) Custom targeting value with ID [%d], name: %s," +
|
64
|
-
" displayName: %s") % [index + statement.offset,
|
65
|
-
custom_targeting_value[:id],
|
66
|
-
custom_targeting_value[:name],
|
67
|
-
custom_targeting_value[:display_name]]
|
68
|
-
end
|
69
|
-
end
|
70
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
71
|
-
end while statement.offset < page[:total_result_set_size]
|
72
|
-
|
73
|
-
# Print a footer.
|
74
|
-
if page.include?(:total_result_set_size)
|
75
|
-
puts "Number of results found: %d" % page[:total_result_set_size]
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
if __FILE__ == $0
|
80
|
-
begin
|
81
|
-
get_custom_targeting_values_by_statement()
|
82
|
-
|
83
|
-
# HTTP errors.
|
84
|
-
rescue AdsCommon::Errors::HttpError => e
|
85
|
-
puts "HTTP Error: %s" % e
|
86
|
-
|
87
|
-
# API errors.
|
88
|
-
rescue DfpApi::Errors::ApiException => e
|
89
|
-
puts "Message: %s" % e.message
|
90
|
-
puts 'Errors:'
|
91
|
-
e.errors.each_with_index do |error, index|
|
92
|
-
puts "\tError [%d]:" % (index + 1)
|
93
|
-
error.each do |field, value|
|
94
|
-
puts "\t\t%s: %s" % [field, value]
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
@@ -1,90 +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 updates the display name of each custom targeting key up to the
|
20
|
-
# first 500. To determine which custom targeting keys exist, run
|
21
|
-
# get_all_custom_targeting_keys_and_values.rb.
|
22
|
-
|
23
|
-
require 'dfp_api'
|
24
|
-
|
25
|
-
|
26
|
-
API_VERSION = :v201508
|
27
|
-
|
28
|
-
def update_custom_targeting_keys()
|
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 CustomTargetingService.
|
37
|
-
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
38
|
-
|
39
|
-
# Create a statement to get all custom targeting keys.
|
40
|
-
statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
|
41
|
-
|
42
|
-
# Get custom targeting keys by statement.
|
43
|
-
page = custom_targeting_service.get_custom_targeting_keys_by_statement(
|
44
|
-
statement)
|
45
|
-
keys = page[:results]
|
46
|
-
|
47
|
-
raise 'No targeting keys found to update' if !keys || keys.empty?
|
48
|
-
|
49
|
-
# Update each local custom targeting key object by changing its display name.
|
50
|
-
keys.each do |key|
|
51
|
-
display_name = (key[:display_name].nil?) ? key[:name] : key[:display_name]
|
52
|
-
key[:display_name] = display_name + ' (Deprecated)'
|
53
|
-
end
|
54
|
-
|
55
|
-
# Update the custom targeting keys on the server.
|
56
|
-
result_keys = custom_targeting_service.update_custom_targeting_keys(keys)
|
57
|
-
|
58
|
-
if result_keys
|
59
|
-
# Print details about each key in results.
|
60
|
-
result_keys.each_with_index do |custom_targeting_key, index|
|
61
|
-
puts ("%d) Custom targeting key with ID [%d], name: %s," +
|
62
|
-
" displayName: %s type: %s was updated") % [index,
|
63
|
-
custom_targeting_key[:id], custom_targeting_key[:name],
|
64
|
-
custom_targeting_key[:display_name], custom_targeting_key[:type]]
|
65
|
-
end
|
66
|
-
else
|
67
|
-
puts 'No targeting keys were updated'
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
if __FILE__ == $0
|
72
|
-
begin
|
73
|
-
update_custom_targeting_keys()
|
74
|
-
|
75
|
-
# HTTP errors.
|
76
|
-
rescue AdsCommon::Errors::HttpError => e
|
77
|
-
puts "HTTP Error: %s" % e
|
78
|
-
|
79
|
-
# API errors.
|
80
|
-
rescue DfpApi::Errors::ApiException => e
|
81
|
-
puts "Message: %s" % e.message
|
82
|
-
puts 'Errors:'
|
83
|
-
e.errors.each_with_index do |error, index|
|
84
|
-
puts "\tError [%d]:" % (index + 1)
|
85
|
-
error.each do |field, value|
|
86
|
-
puts "\t\t%s: %s" % [field, value]
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
@@ -1,105 +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 updates the display name of each custom targeting value belonging
|
20
|
-
# to a single key. To determine which custom targeting keys exist, run
|
21
|
-
# get_all_custom_targeting_keys_and_values.rb.
|
22
|
-
|
23
|
-
require 'dfp_api'
|
24
|
-
|
25
|
-
|
26
|
-
API_VERSION = :v201508
|
27
|
-
|
28
|
-
def update_custom_targeting_values()
|
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 CustomTargetingService.
|
37
|
-
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
38
|
-
|
39
|
-
# Set the ID of the custom targeting key to get custom targeting values for.
|
40
|
-
custom_targeting_key_id = 'INSERT_CUSTOM_TARGETING_KEY_ID_HERE'.to_i
|
41
|
-
|
42
|
-
# Create a statement to get first 500 custom targeting keys.
|
43
|
-
statement = DfpApi::FilterStatement.new(
|
44
|
-
:query => 'WHERE customTargetingKeyId = :key_id',
|
45
|
-
:values => [
|
46
|
-
{:key => 'key_id',
|
47
|
-
:value => {:value => custom_targeting_key_id,
|
48
|
-
:xsi_type => 'NumberValue'}
|
49
|
-
}
|
50
|
-
]
|
51
|
-
)
|
52
|
-
|
53
|
-
begin
|
54
|
-
# Get custom targeting keys by statement.
|
55
|
-
page = custom_targeting_service.get_custom_targeting_values_by_statement(
|
56
|
-
statement.toStatement())
|
57
|
-
|
58
|
-
if page[:results]
|
59
|
-
# Update each local custom targeting values object by changing its display
|
60
|
-
# name.
|
61
|
-
page[:results].each do |value|
|
62
|
-
display_name = (value[:display_name].nil?) ?
|
63
|
-
value[:name] : value[:display_name]
|
64
|
-
value[:display_name] = display_name + ' (Deprecated)'
|
65
|
-
end
|
66
|
-
|
67
|
-
# Update the custom targeting keys on the server.
|
68
|
-
result_values = custom_targeting_service.update_custom_targeting_values(
|
69
|
-
values)
|
70
|
-
|
71
|
-
if result_values
|
72
|
-
# Print details about each value in results.
|
73
|
-
result_values.each_with_index do |custom_targeting_value, index|
|
74
|
-
puts ("%d) Custom targeting key with ID [%d], name: %s," +
|
75
|
-
" displayName: %s was updated") % [
|
76
|
-
index + statement.offset, custom_targeting_value[:id],
|
77
|
-
custom_targeting_value[:name],
|
78
|
-
custom_targeting_value[:display_name]]
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
82
|
-
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
83
|
-
end while statement.offset < page[:total_result_set_size]
|
84
|
-
end
|
85
|
-
|
86
|
-
if __FILE__ == $0
|
87
|
-
begin
|
88
|
-
update_custom_targeting_values()
|
89
|
-
|
90
|
-
# HTTP errors.
|
91
|
-
rescue AdsCommon::Errors::HttpError => e
|
92
|
-
puts "HTTP Error: %s" % e
|
93
|
-
|
94
|
-
# API errors.
|
95
|
-
rescue DfpApi::Errors::ApiException => e
|
96
|
-
puts "Message: %s" % e.message
|
97
|
-
puts 'Errors:'
|
98
|
-
e.errors.each_with_index do |error, index|
|
99
|
-
puts "\tError [%d]:" % (index + 1)
|
100
|
-
error.each do |field, value|
|
101
|
-
puts "\t\t%s: %s" % [field, value]
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
@@ -1,134 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Encoding: utf-8
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright 2015, 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 a forecast for a prospective line item. To determine which
|
20
|
-
# placements exist, run get_all_placements.rb.
|
21
|
-
|
22
|
-
require 'dfp_api'
|
23
|
-
|
24
|
-
API_VERSION = :v201508
|
25
|
-
|
26
|
-
def get_availability_forecast()
|
27
|
-
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
28
|
-
dfp = DfpApi::Api.new
|
29
|
-
|
30
|
-
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
31
|
-
# the configuration file or provide your own logger:
|
32
|
-
# dfp.logger = Logger.new('dfp_xml.log')
|
33
|
-
|
34
|
-
# Get the ForecastService.
|
35
|
-
forecast_service = dfp.service(:ForecastService, API_VERSION)
|
36
|
-
|
37
|
-
# Get the NetworkService.
|
38
|
-
network_service = dfp.service(:NetworkService, API_VERSION)
|
39
|
-
|
40
|
-
# Set the advertiser to assign the prospective line item to.
|
41
|
-
# This allows for forecasting while taking into account
|
42
|
-
# same advertiser exclusion.
|
43
|
-
advertiser_id = 'INSERT_ADVERTISER_ID_HERE'.to_i
|
44
|
-
|
45
|
-
# Set the root ad unit to target the entire network.
|
46
|
-
root_ad_unit_id = (
|
47
|
-
network_service.get_current_network()[:effective_root_ad_unit_id].to_i)
|
48
|
-
|
49
|
-
# Create targeting.
|
50
|
-
targeting = {
|
51
|
-
:inventory_targeting => {
|
52
|
-
:targeted_ad_units => [
|
53
|
-
{
|
54
|
-
:include_descendants => True,
|
55
|
-
:ad_unit_id => root_ad_unit_id
|
56
|
-
}
|
57
|
-
]
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
# Create the creative placeholder.
|
62
|
-
creative_placeholder = {
|
63
|
-
:size => {:width => 300, :height => 250, :is_aspect_ratio => false}
|
64
|
-
}
|
65
|
-
|
66
|
-
# Create prospective line item.
|
67
|
-
line_item = {
|
68
|
-
:line_item_type => 'SPONSORSHIP',
|
69
|
-
:targeting => targeting,
|
70
|
-
# Set the size of creatives that can be associated with this line item.
|
71
|
-
:creative_placeholders => [creative_placeholder],
|
72
|
-
# Set the line item's time to be now until the projected end date time.
|
73
|
-
:start_date_time_type => 'IMMEDIATELY',
|
74
|
-
:end_date_time => Time.utc(2014, 01, 01),
|
75
|
-
# Set the line item to use 50% of the impressions.
|
76
|
-
:primary_goal => {:goal => {
|
77
|
-
:units => '50',
|
78
|
-
:unit_type => 'IMPRESSIONS',
|
79
|
-
:goal_type => 'DAILY'}
|
80
|
-
},
|
81
|
-
# Set the cost type to match the unit type.
|
82
|
-
:cost_type => 'CPM'
|
83
|
-
}
|
84
|
-
|
85
|
-
prospective_line_item = {
|
86
|
-
:advertiser_id => advertiser_id,
|
87
|
-
:line_item => line_item
|
88
|
-
}
|
89
|
-
|
90
|
-
# Set forecasting options.
|
91
|
-
forecast_options = {
|
92
|
-
:include_contending_line_items => True,
|
93
|
-
:include_targeting_criteria_breakdown => True,
|
94
|
-
}
|
95
|
-
|
96
|
-
# Get forecast for the line item.
|
97
|
-
forecast = forecast_service.get_availability_forecast(
|
98
|
-
prospective_line_item, forecast_options)
|
99
|
-
|
100
|
-
if forecast
|
101
|
-
# Display results.
|
102
|
-
matched = forecast[:matched_units]
|
103
|
-
available_percent = forecast[:available_units] * 100.0 / matched
|
104
|
-
unit_type = forecast[:unit_type].to_s.downcase
|
105
|
-
puts "%.2f %s matched." % [matched, unit_type]
|
106
|
-
puts "%.2f%% %s available." % [available_percent, unit_type]
|
107
|
-
puts "%d contending line items." % forecast[:contending_line_items].size
|
108
|
-
if forecast[:possible_units]
|
109
|
-
possible_percent = forecast[:possible_units] * 100.0 / matched
|
110
|
-
puts "%.2f%% %s possible." % [possible_percent, unit_type]
|
111
|
-
end
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
if __FILE__ == $0
|
116
|
-
begin
|
117
|
-
get_availability_forecast()
|
118
|
-
|
119
|
-
# HTTP errors.
|
120
|
-
rescue AdsCommon::Errors::HttpError => e
|
121
|
-
puts "HTTP Error: %s" % e
|
122
|
-
|
123
|
-
# API errors.
|
124
|
-
rescue DfpApi::Errors::ApiException => e
|
125
|
-
puts "Message: %s" % e.message
|
126
|
-
puts 'Errors:'
|
127
|
-
e.errors.each_with_index do |error, index|
|
128
|
-
puts "\tError [%d]:" % (index + 1)
|
129
|
-
error.each do |field, value|
|
130
|
-
puts "\t\t%s: %s" % [field, value]
|
131
|
-
end
|
132
|
-
end
|
133
|
-
end
|
134
|
-
end
|