google-dfp-api 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +1 -1
- data/ChangeLog +6 -0
- data/README.md +3 -3
- data/dfp_api.yml +1 -1
- data/examples/v201411/activity_group_service/create_activity_groups.rb +0 -4
- data/examples/v201411/activity_group_service/get_active_activity_groups.rb +0 -4
- data/examples/v201411/activity_group_service/get_all_activity_groups.rb +0 -4
- data/examples/v201411/activity_group_service/update_activity_groups.rb +0 -5
- data/examples/v201411/activity_service/create_activities.rb +0 -4
- data/examples/v201411/activity_service/get_active_activities.rb +0 -4
- data/examples/v201411/activity_service/get_all_activities.rb +0 -4
- data/examples/v201411/activity_service/update_activities.rb +0 -5
- data/examples/v201411/audience_segment_service/create_audience_segments.rb +0 -4
- data/examples/v201411/audience_segment_service/get_all_audience_segments.rb +0 -4
- data/examples/v201411/audience_segment_service/get_first_party_audience_segments.rb +0 -4
- data/examples/v201411/audience_segment_service/populate_first_party_audience_segments.rb +0 -5
- data/examples/v201411/audience_segment_service/update_audience_segments.rb +0 -5
- data/examples/v201411/common/error_handling.rb +0 -4
- data/examples/v201411/common/oauth2_jwt_handling.rb +0 -4
- data/examples/v201411/common/setup_oauth2.rb +0 -4
- data/examples/v201411/company_service/create_companies.rb +0 -4
- data/examples/v201411/company_service/get_all_companies.rb +0 -4
- data/examples/v201411/company_service/get_companies_by_statement.rb +0 -4
- data/examples/v201411/company_service/update_companies.rb +0 -4
- data/examples/v201411/contact_service/create_contacts.rb +0 -4
- data/examples/v201411/contact_service/get_all_contacts.rb +0 -4
- data/examples/v201411/contact_service/get_uninvited_contacts.rb +0 -4
- data/examples/v201411/contact_service/update_contacts.rb +0 -4
- data/examples/v201411/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201411/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201411/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201411/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201411/content_service/get_all_content.rb +0 -4
- data/examples/v201411/content_service/get_content_by_category.rb +1 -7
- data/examples/v201411/creative_service/copy_image_creatives.rb +0 -4
- data/examples/v201411/creative_service/create_creative_from_template.rb +1 -5
- data/examples/v201411/creative_service/create_creatives.rb +0 -4
- data/examples/v201411/creative_service/create_custom_creative.rb +0 -4
- data/examples/v201411/creative_service/get_all_creatives.rb +0 -4
- data/examples/v201411/creative_service/get_creatives_by_statement.rb +0 -4
- data/examples/v201411/creative_service/update_creatives.rb +0 -4
- data/examples/v201411/creative_set_service/associate_creative_set_to_line_item.rb +0 -4
- data/examples/v201411/creative_set_service/create_creative_set.rb +0 -4
- data/examples/v201411/creative_set_service/get_all_creative_sets.rb +0 -4
- data/examples/v201411/creative_set_service/get_creative_sets_by_statement.rb +0 -4
- data/examples/v201411/creative_set_service/update_creative_sets.rb +0 -5
- data/examples/v201411/creative_template_service/get_all_creative_templates.rb +0 -4
- data/examples/v201411/creative_template_service/get_system_defined_creative_templates.rb +0 -4
- data/examples/v201411/creative_wrapper_service/create_creative_wrappers.rb +0 -4
- data/examples/v201411/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -5
- data/examples/v201411/creative_wrapper_service/get_all_creative_wrappers.rb +0 -4
- data/examples/v201411/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -4
- data/examples/v201411/creative_wrapper_service/update_creative_wrappers.rb +0 -5
- data/examples/v201411/custom_field_service/create_custom_field_options.rb +0 -4
- data/examples/v201411/custom_field_service/create_custom_fields.rb +0 -4
- data/examples/v201411/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -5
- data/examples/v201411/custom_field_service/get_all_custom_fields.rb +0 -4
- data/examples/v201411/custom_field_service/get_all_line_item_custom_fields.rb +1 -5
- data/examples/v201411/custom_field_service/set_line_item_custom_field_value.rb +0 -5
- data/examples/v201411/custom_field_service/update_custom_fields.rb +0 -4
- data/examples/v201411/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201411/custom_targeting_service/delete_custom_targeting_keys.rb +1 -6
- data/examples/v201411/custom_targeting_service/delete_custom_targeting_values.rb +0 -5
- data/examples/v201411/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201411/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -4
- data/examples/v201411/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -4
- data/examples/v201411/custom_targeting_service/update_custom_targeting_keys.rb +0 -5
- data/examples/v201411/custom_targeting_service/update_custom_targeting_values.rb +0 -5
- data/examples/v201411/forecast_service/get_forecast.rb +0 -4
- data/examples/v201411/forecast_service/get_forecast_by_id.rb +0 -4
- data/examples/v201411/inventory_service/create_ad_units.rb +0 -4
- data/examples/v201411/inventory_service/create_mobile_ad_unit.rb +0 -4
- data/examples/v201411/inventory_service/create_video_ad_unit.rb +0 -4
- data/examples/v201411/inventory_service/deactivate_ad_units.rb +0 -5
- data/examples/v201411/inventory_service/get_ad_unit_sizes.rb +0 -4
- data/examples/v201411/inventory_service/get_ad_units_by_statement.rb +0 -4
- data/examples/v201411/inventory_service/get_all_ad_units.rb +0 -4
- data/examples/v201411/inventory_service/update_ad_units.rb +0 -4
- data/examples/v201411/label_service/create_labels.rb +0 -4
- data/examples/v201411/label_service/deactivate_labels.rb +0 -4
- data/examples/v201411/label_service/get_all_labels.rb +0 -4
- data/examples/v201411/label_service/get_labels_by_statement.rb +0 -4
- data/examples/v201411/label_service/update_labels.rb +0 -4
- data/examples/v201411/line_item_creative_association_service/create_licas.rb +0 -4
- data/examples/v201411/line_item_creative_association_service/deactivate_licas.rb +0 -5
- data/examples/v201411/line_item_creative_association_service/get_all_licas.rb +0 -4
- data/examples/v201411/line_item_creative_association_service/get_licas_by_statement.rb +0 -4
- data/examples/v201411/line_item_creative_association_service/update_licas.rb +0 -5
- data/examples/v201411/line_item_service/activate_line_items.rb +0 -5
- data/examples/v201411/line_item_service/create_line_items.rb +0 -4
- data/examples/v201411/line_item_service/create_video_line_item.rb +0 -4
- data/examples/v201411/line_item_service/get_all_line_items.rb +0 -4
- data/examples/v201411/line_item_service/get_line_items_by_statement.rb +0 -4
- data/examples/v201411/line_item_service/get_recently_updated_line_items.rb +0 -4
- data/examples/v201411/line_item_service/target_custom_criteria.rb +0 -5
- data/examples/v201411/line_item_service/update_line_items.rb +0 -4
- data/examples/v201411/network_service/get_all_networks.rb +0 -4
- data/examples/v201411/network_service/get_current_network.rb +0 -4
- data/examples/v201411/network_service/make_test_network.rb +0 -4
- data/examples/v201411/order_service/approve_orders.rb +0 -5
- data/examples/v201411/order_service/create_orders.rb +0 -4
- data/examples/v201411/order_service/get_all_orders.rb +0 -4
- data/examples/v201411/order_service/get_orders_by_statement.rb +0 -4
- data/examples/v201411/order_service/update_orders.rb +0 -4
- data/examples/v201411/placement_service/create_placements.rb +0 -5
- data/examples/v201411/placement_service/deactivate_placements.rb +0 -5
- data/examples/v201411/placement_service/get_all_placements.rb +0 -4
- data/examples/v201411/placement_service/get_placements_by_statement.rb +0 -4
- data/examples/v201411/placement_service/update_placements.rb +0 -5
- data/examples/v201411/publisher_query_language_service/fetch_match_tables.rb +0 -4
- data/examples/v201411/publisher_query_language_service/get_all_line_items.rb +0 -4
- data/examples/v201411/publisher_query_language_service/get_geo_targets.rb +0 -4
- data/examples/v201411/publisher_query_language_service/get_line_items_named_like.rb +0 -4
- data/examples/v201411/report_service/display_report.rb +0 -4
- data/examples/v201411/report_service/download_report.rb +0 -4
- data/examples/v201411/report_service/run_delivery_report.rb +0 -4
- data/examples/v201411/report_service/run_inventory_report.rb +0 -4
- data/examples/v201411/report_service/run_reach_report.rb +1 -4
- data/examples/v201411/report_service/run_report_with_custom_fields.rb +0 -4
- data/examples/v201411/report_service/run_sales_report.rb +0 -4
- data/examples/v201411/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -5
- data/examples/v201411/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -4
- data/examples/v201411/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +1 -5
- data/examples/v201411/team_service/create_teams.rb +0 -4
- data/examples/v201411/team_service/get_all_teams.rb +0 -4
- data/examples/v201411/team_service/get_teams_by_statement.rb +0 -4
- data/examples/v201411/team_service/update_teams.rb +0 -4
- data/examples/v201411/user_service/create_users.rb +0 -4
- data/examples/v201411/user_service/deactivate_users.rb +0 -4
- data/examples/v201411/user_service/get_all_roles.rb +0 -4
- data/examples/v201411/user_service/get_all_users.rb +0 -4
- data/examples/v201411/user_service/get_current_user.rb +0 -4
- data/examples/v201411/user_service/get_users_by_statement.rb +0 -4
- data/examples/v201411/user_service/update_users.rb +0 -4
- data/examples/v201411/user_team_association_service/create_user_team_associations.rb +0 -4
- data/examples/v201411/user_team_association_service/delete_user_team_associations.rb +0 -5
- data/examples/v201411/user_team_association_service/get_all_user_team_associations.rb +0 -4
- data/examples/v201411/user_team_association_service/get_user_team_associations_by_statement.rb +0 -5
- data/examples/v201411/user_team_association_service/update_user_team_associations.rb +0 -5
- data/examples/v201502/activity_group_service/create_activity_groups.rb +0 -4
- data/examples/v201502/activity_group_service/get_active_activity_groups.rb +0 -4
- data/examples/v201502/activity_group_service/get_all_activity_groups.rb +0 -4
- data/examples/v201502/activity_group_service/update_activity_groups.rb +0 -5
- data/examples/v201502/activity_service/create_activities.rb +0 -4
- data/examples/v201502/activity_service/get_active_activities.rb +0 -4
- data/examples/v201502/activity_service/get_all_activities.rb +0 -4
- data/examples/v201502/activity_service/update_activities.rb +0 -5
- data/examples/v201502/audience_segment_service/create_audience_segments.rb +0 -4
- data/examples/v201502/audience_segment_service/get_all_audience_segments.rb +0 -4
- data/examples/v201502/audience_segment_service/get_first_party_audience_segments.rb +0 -4
- data/examples/v201502/audience_segment_service/populate_first_party_audience_segments.rb +0 -5
- data/examples/v201502/audience_segment_service/update_audience_segments.rb +0 -5
- data/examples/v201502/common/error_handling.rb +0 -4
- data/examples/v201502/common/oauth2_jwt_handling.rb +0 -4
- data/examples/v201502/common/setup_oauth2.rb +0 -4
- data/examples/v201502/company_service/create_companies.rb +0 -4
- data/examples/v201502/company_service/get_all_companies.rb +0 -4
- data/examples/v201502/company_service/get_companies_by_statement.rb +0 -4
- data/examples/v201502/company_service/update_companies.rb +0 -4
- data/examples/v201502/contact_service/create_contacts.rb +0 -4
- data/examples/v201502/contact_service/get_all_contacts.rb +0 -4
- data/examples/v201502/contact_service/get_uninvited_contacts.rb +0 -4
- data/examples/v201502/contact_service/update_contacts.rb +0 -4
- data/examples/v201502/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201502/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201502/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201502/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201502/content_service/get_all_content.rb +0 -4
- data/examples/v201502/content_service/get_content_by_category.rb +1 -7
- data/examples/v201502/creative_service/copy_image_creatives.rb +0 -4
- data/examples/v201502/creative_service/create_creative_from_template.rb +1 -5
- data/examples/v201502/creative_service/create_creatives.rb +0 -4
- data/examples/v201502/creative_service/create_custom_creative.rb +0 -4
- data/examples/v201502/creative_service/get_all_creatives.rb +0 -4
- data/examples/v201502/creative_service/get_creatives_by_statement.rb +0 -4
- data/examples/v201502/creative_service/update_creatives.rb +0 -4
- data/examples/v201502/creative_set_service/associate_creative_set_to_line_item.rb +0 -4
- data/examples/v201502/creative_set_service/create_creative_set.rb +0 -4
- data/examples/v201502/creative_set_service/get_all_creative_sets.rb +0 -4
- data/examples/v201502/creative_set_service/get_creative_sets_by_statement.rb +0 -4
- data/examples/v201502/creative_set_service/update_creative_sets.rb +0 -5
- data/examples/v201502/creative_template_service/get_all_creative_templates.rb +0 -4
- data/examples/v201502/creative_template_service/get_system_defined_creative_templates.rb +0 -4
- data/examples/v201502/creative_wrapper_service/create_creative_wrappers.rb +0 -4
- data/examples/v201502/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -5
- data/examples/v201502/creative_wrapper_service/get_all_creative_wrappers.rb +0 -4
- data/examples/v201502/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -4
- data/examples/v201502/creative_wrapper_service/update_creative_wrappers.rb +0 -5
- data/examples/v201502/custom_field_service/create_custom_field_options.rb +0 -4
- data/examples/v201502/custom_field_service/create_custom_fields.rb +0 -4
- data/examples/v201502/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -5
- data/examples/v201502/custom_field_service/get_all_custom_fields.rb +0 -4
- data/examples/v201502/custom_field_service/get_all_line_item_custom_fields.rb +1 -5
- data/examples/v201502/custom_field_service/set_line_item_custom_field_value.rb +0 -5
- data/examples/v201502/custom_field_service/update_custom_fields.rb +0 -4
- data/examples/v201502/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201502/custom_targeting_service/delete_custom_targeting_keys.rb +1 -6
- data/examples/v201502/custom_targeting_service/delete_custom_targeting_values.rb +0 -5
- data/examples/v201502/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201502/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -4
- data/examples/v201502/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -4
- data/examples/v201502/custom_targeting_service/update_custom_targeting_keys.rb +0 -5
- data/examples/v201502/custom_targeting_service/update_custom_targeting_values.rb +0 -5
- data/examples/v201502/forecast_service/get_availability_forecast.rb +0 -4
- data/examples/v201502/forecast_service/get_availability_forecast_for_line_item.rb +0 -4
- data/examples/v201502/forecast_service/get_delivery_forecast_for_line_items.rb +0 -4
- data/examples/v201502/inventory_service/create_ad_units.rb +0 -4
- data/examples/v201502/inventory_service/create_mobile_ad_unit.rb +0 -4
- data/examples/v201502/inventory_service/create_video_ad_unit.rb +0 -4
- data/examples/v201502/inventory_service/deactivate_ad_units.rb +0 -5
- data/examples/v201502/inventory_service/get_ad_unit_sizes.rb +0 -4
- data/examples/v201502/inventory_service/get_ad_units_by_statement.rb +0 -4
- data/examples/v201502/inventory_service/get_all_ad_units.rb +0 -4
- data/examples/v201502/inventory_service/update_ad_units.rb +0 -4
- data/examples/v201502/label_service/create_labels.rb +0 -4
- data/examples/v201502/label_service/deactivate_labels.rb +0 -4
- data/examples/v201502/label_service/get_all_labels.rb +0 -4
- data/examples/v201502/label_service/get_labels_by_statement.rb +0 -4
- data/examples/v201502/label_service/update_labels.rb +0 -4
- data/examples/v201502/line_item_creative_association_service/create_licas.rb +0 -4
- data/examples/v201502/line_item_creative_association_service/deactivate_licas.rb +0 -5
- data/examples/v201502/line_item_creative_association_service/get_all_licas.rb +0 -4
- data/examples/v201502/line_item_creative_association_service/get_licas_by_statement.rb +0 -4
- data/examples/v201502/line_item_creative_association_service/update_licas.rb +0 -5
- data/examples/v201502/line_item_service/activate_line_items.rb +0 -5
- data/examples/v201502/line_item_service/create_line_items.rb +0 -4
- data/examples/v201502/line_item_service/create_video_line_item.rb +0 -4
- data/examples/v201502/line_item_service/get_all_line_items.rb +0 -4
- data/examples/v201502/line_item_service/get_line_items_by_statement.rb +0 -4
- data/examples/v201502/line_item_service/get_recently_updated_line_items.rb +0 -4
- data/examples/v201502/line_item_service/target_custom_criteria.rb +0 -5
- data/examples/v201502/line_item_service/update_line_items.rb +0 -4
- data/examples/v201502/network_service/get_all_networks.rb +0 -4
- data/examples/v201502/network_service/get_current_network.rb +0 -4
- data/examples/v201502/network_service/make_test_network.rb +0 -4
- data/examples/v201502/order_service/approve_orders.rb +0 -5
- data/examples/v201502/order_service/create_orders.rb +0 -4
- data/examples/v201502/order_service/get_all_orders.rb +0 -4
- data/examples/v201502/order_service/get_orders_by_statement.rb +0 -4
- data/examples/v201502/order_service/update_orders.rb +0 -4
- data/examples/v201502/placement_service/create_placements.rb +0 -5
- data/examples/v201502/placement_service/deactivate_placements.rb +0 -5
- data/examples/v201502/placement_service/get_all_placements.rb +0 -4
- data/examples/v201502/placement_service/get_placements_by_statement.rb +0 -4
- data/examples/v201502/placement_service/update_placements.rb +0 -5
- data/examples/v201502/publisher_query_language_service/fetch_match_tables.rb +0 -4
- data/examples/v201502/publisher_query_language_service/get_all_line_items.rb +0 -4
- data/examples/v201502/publisher_query_language_service/get_geo_targets.rb +0 -4
- data/examples/v201502/publisher_query_language_service/get_line_items_named_like.rb +0 -4
- data/examples/v201502/report_service/display_report.rb +0 -4
- data/examples/v201502/report_service/download_report.rb +0 -4
- data/examples/v201502/report_service/run_delivery_report.rb +0 -4
- data/examples/v201502/report_service/run_inventory_report.rb +0 -4
- data/examples/v201502/report_service/run_reach_report.rb +1 -4
- data/examples/v201502/report_service/run_report_with_custom_fields.rb +0 -4
- data/examples/v201502/report_service/run_sales_report.rb +0 -4
- data/examples/v201502/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -5
- data/examples/v201502/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -4
- data/examples/v201502/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +1 -5
- data/examples/v201502/team_service/create_teams.rb +0 -4
- data/examples/v201502/team_service/get_all_teams.rb +0 -4
- data/examples/v201502/team_service/get_teams_by_statement.rb +0 -4
- data/examples/v201502/team_service/update_teams.rb +0 -4
- data/examples/v201502/user_service/create_users.rb +0 -4
- data/examples/v201502/user_service/deactivate_users.rb +0 -4
- data/examples/v201502/user_service/get_all_roles.rb +0 -4
- data/examples/v201502/user_service/get_all_users.rb +0 -4
- data/examples/v201502/user_service/get_current_user.rb +0 -4
- data/examples/v201502/user_service/get_users_by_statement.rb +0 -4
- data/examples/v201502/user_service/update_users.rb +0 -4
- data/examples/v201502/user_team_association_service/create_user_team_associations.rb +0 -4
- data/examples/v201502/user_team_association_service/delete_user_team_associations.rb +0 -5
- data/examples/v201502/user_team_association_service/get_all_user_team_associations.rb +0 -4
- data/examples/v201502/user_team_association_service/get_user_team_associations_by_statement.rb +0 -5
- data/examples/v201502/user_team_association_service/update_user_team_associations.rb +0 -5
- data/examples/v201505/activity_group_service/create_activity_groups.rb +0 -4
- data/examples/v201505/activity_group_service/get_active_activity_groups.rb +0 -4
- data/examples/v201505/activity_group_service/get_all_activity_groups.rb +0 -4
- data/examples/v201505/activity_group_service/update_activity_groups.rb +0 -5
- data/examples/v201505/activity_service/create_activities.rb +0 -4
- data/examples/v201505/activity_service/get_active_activities.rb +0 -4
- data/examples/v201505/activity_service/get_all_activities.rb +0 -4
- data/examples/v201505/activity_service/update_activities.rb +0 -5
- data/examples/v201505/audience_segment_service/create_audience_segments.rb +0 -4
- data/examples/v201505/audience_segment_service/get_all_audience_segments.rb +0 -4
- data/examples/v201505/audience_segment_service/get_first_party_audience_segments.rb +0 -4
- data/examples/v201505/audience_segment_service/populate_first_party_audience_segments.rb +0 -5
- data/examples/v201505/audience_segment_service/update_audience_segments.rb +0 -5
- data/examples/v201505/common/error_handling.rb +0 -4
- data/examples/v201505/common/oauth2_jwt_handling.rb +0 -4
- data/examples/v201505/common/setup_oauth2.rb +0 -4
- data/examples/v201505/company_service/create_companies.rb +0 -4
- data/examples/v201505/company_service/get_all_companies.rb +0 -4
- data/examples/v201505/company_service/get_companies_by_statement.rb +0 -4
- data/examples/v201505/company_service/update_companies.rb +0 -4
- data/examples/v201505/contact_service/create_contacts.rb +0 -4
- data/examples/v201505/contact_service/get_all_contacts.rb +0 -4
- data/examples/v201505/contact_service/get_uninvited_contacts.rb +0 -4
- data/examples/v201505/contact_service/update_contacts.rb +0 -4
- data/examples/v201505/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201505/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201505/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -4
- data/examples/v201505/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -5
- data/examples/v201505/content_service/get_all_content.rb +0 -4
- data/examples/v201505/content_service/get_content_by_category.rb +1 -7
- data/examples/v201505/creative_service/copy_image_creatives.rb +0 -4
- data/examples/v201505/creative_service/create_creative_from_template.rb +1 -5
- data/examples/v201505/creative_service/create_creatives.rb +0 -4
- data/examples/v201505/creative_service/create_custom_creative.rb +0 -4
- data/examples/v201505/creative_service/get_all_creatives.rb +0 -4
- data/examples/v201505/creative_service/get_creatives_by_statement.rb +0 -4
- data/examples/v201505/creative_service/update_creatives.rb +0 -4
- data/examples/v201505/creative_set_service/associate_creative_set_to_line_item.rb +0 -4
- data/examples/v201505/creative_set_service/create_creative_set.rb +0 -4
- data/examples/v201505/creative_set_service/get_all_creative_sets.rb +0 -4
- data/examples/v201505/creative_set_service/get_creative_sets_by_statement.rb +0 -4
- data/examples/v201505/creative_set_service/update_creative_sets.rb +0 -5
- data/examples/v201505/creative_template_service/get_all_creative_templates.rb +0 -4
- data/examples/v201505/creative_template_service/get_system_defined_creative_templates.rb +0 -4
- data/examples/v201505/creative_wrapper_service/create_creative_wrappers.rb +0 -4
- data/examples/v201505/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -5
- data/examples/v201505/creative_wrapper_service/get_all_creative_wrappers.rb +0 -4
- data/examples/v201505/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -4
- data/examples/v201505/creative_wrapper_service/update_creative_wrappers.rb +0 -5
- data/examples/v201505/custom_field_service/create_custom_field_options.rb +0 -4
- data/examples/v201505/custom_field_service/create_custom_fields.rb +0 -4
- data/examples/v201505/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -5
- data/examples/v201505/custom_field_service/get_all_custom_fields.rb +0 -4
- data/examples/v201505/custom_field_service/get_all_line_item_custom_fields.rb +1 -5
- data/examples/v201505/custom_field_service/set_line_item_custom_field_value.rb +0 -5
- data/examples/v201505/custom_field_service/update_custom_fields.rb +0 -4
- data/examples/v201505/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201505/custom_targeting_service/delete_custom_targeting_keys.rb +1 -6
- data/examples/v201505/custom_targeting_service/delete_custom_targeting_values.rb +0 -5
- data/examples/v201505/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -5
- data/examples/v201505/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -4
- data/examples/v201505/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -4
- data/examples/v201505/custom_targeting_service/update_custom_targeting_keys.rb +0 -5
- data/examples/v201505/custom_targeting_service/update_custom_targeting_values.rb +0 -5
- data/examples/v201505/forecast_service/get_availability_forecast.rb +0 -4
- data/examples/v201505/forecast_service/get_availability_forecast_for_line_item.rb +0 -4
- data/examples/v201505/forecast_service/get_delivery_forecast_for_line_items.rb +0 -4
- data/examples/v201505/inventory_service/create_ad_units.rb +0 -4
- data/examples/v201505/inventory_service/create_mobile_ad_unit.rb +0 -4
- data/examples/v201505/inventory_service/create_video_ad_unit.rb +0 -4
- data/examples/v201505/inventory_service/deactivate_ad_units.rb +0 -5
- data/examples/v201505/inventory_service/get_ad_unit_sizes.rb +0 -4
- data/examples/v201505/inventory_service/get_ad_units_by_statement.rb +0 -4
- data/examples/v201505/inventory_service/get_all_ad_units.rb +0 -4
- data/examples/v201505/inventory_service/update_ad_units.rb +0 -4
- data/examples/v201505/label_service/create_labels.rb +0 -4
- data/examples/v201505/label_service/deactivate_labels.rb +0 -4
- data/examples/v201505/label_service/get_all_labels.rb +0 -4
- data/examples/v201505/label_service/get_labels_by_statement.rb +0 -4
- data/examples/v201505/label_service/update_labels.rb +0 -4
- data/examples/v201505/line_item_creative_association_service/create_licas.rb +0 -4
- data/examples/v201505/line_item_creative_association_service/deactivate_licas.rb +0 -5
- data/examples/v201505/line_item_creative_association_service/get_all_licas.rb +0 -4
- data/examples/v201505/line_item_creative_association_service/get_licas_by_statement.rb +0 -4
- data/examples/v201505/line_item_creative_association_service/update_licas.rb +0 -5
- data/examples/v201505/line_item_service/activate_line_items.rb +0 -5
- data/examples/v201505/line_item_service/create_line_items.rb +0 -4
- data/examples/v201505/line_item_service/create_video_line_item.rb +0 -4
- data/examples/v201505/line_item_service/get_all_line_items.rb +0 -4
- data/examples/v201505/line_item_service/get_line_items_by_statement.rb +0 -4
- data/examples/v201505/line_item_service/get_recently_updated_line_items.rb +0 -4
- data/examples/v201505/line_item_service/target_custom_criteria.rb +0 -5
- data/examples/v201505/line_item_service/update_line_items.rb +0 -4
- data/examples/v201505/network_service/get_all_networks.rb +0 -4
- data/examples/v201505/network_service/get_current_network.rb +0 -4
- data/examples/v201505/network_service/make_test_network.rb +0 -4
- data/examples/v201505/order_service/approve_orders.rb +0 -5
- data/examples/v201505/order_service/create_orders.rb +0 -4
- data/examples/v201505/order_service/get_all_orders.rb +0 -4
- data/examples/v201505/order_service/get_orders_by_statement.rb +0 -4
- data/examples/v201505/order_service/update_orders.rb +0 -4
- data/examples/v201505/placement_service/create_placements.rb +0 -5
- data/examples/v201505/placement_service/deactivate_placements.rb +0 -5
- data/examples/v201505/placement_service/get_all_placements.rb +0 -4
- data/examples/v201505/placement_service/get_placements_by_statement.rb +0 -4
- data/examples/v201505/placement_service/update_placements.rb +0 -5
- data/examples/v201505/publisher_query_language_service/fetch_match_tables.rb +0 -4
- data/examples/v201505/publisher_query_language_service/get_all_line_items.rb +0 -4
- data/examples/v201505/publisher_query_language_service/get_geo_targets.rb +0 -4
- data/examples/v201505/publisher_query_language_service/get_line_items_named_like.rb +0 -4
- data/examples/v201505/report_service/display_report.rb +0 -4
- data/examples/v201505/report_service/download_report.rb +0 -4
- data/examples/v201505/report_service/run_delivery_report.rb +0 -4
- data/examples/v201505/report_service/run_inventory_report.rb +0 -4
- data/examples/v201505/report_service/run_reach_report.rb +1 -4
- data/examples/v201505/report_service/run_report_with_custom_fields.rb +0 -4
- data/examples/v201505/report_service/run_sales_report.rb +0 -4
- data/examples/v201505/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -5
- data/examples/v201505/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -4
- data/examples/v201505/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +1 -5
- data/examples/v201505/team_service/create_teams.rb +0 -4
- data/examples/v201505/team_service/get_all_teams.rb +0 -4
- data/examples/v201505/team_service/get_teams_by_statement.rb +0 -4
- data/examples/v201505/team_service/update_teams.rb +0 -4
- data/examples/v201505/user_service/create_users.rb +0 -4
- data/examples/v201505/user_service/deactivate_users.rb +0 -4
- data/examples/v201505/user_service/get_all_roles.rb +0 -4
- data/examples/v201505/user_service/get_all_users.rb +0 -4
- data/examples/v201505/user_service/get_current_user.rb +0 -4
- data/examples/v201505/user_service/get_users_by_statement.rb +0 -4
- data/examples/v201505/user_service/update_users.rb +0 -4
- data/examples/v201505/user_team_association_service/create_user_team_associations.rb +0 -4
- data/examples/v201505/user_team_association_service/delete_user_team_associations.rb +0 -5
- data/examples/v201505/user_team_association_service/get_all_user_team_associations.rb +0 -4
- data/examples/v201505/user_team_association_service/get_user_team_associations_by_statement.rb +0 -5
- data/examples/v201505/user_team_association_service/update_user_team_associations.rb +0 -5
- data/examples/{v201408 → v201508}/activity_group_service/create_activity_groups.rb +1 -5
- data/examples/{v201408 → v201508}/activity_group_service/get_active_activity_groups.rb +1 -5
- data/examples/{v201408 → v201508}/activity_group_service/get_all_activity_groups.rb +1 -5
- data/examples/{v201408 → v201508}/activity_group_service/update_activity_groups.rb +1 -6
- data/examples/{v201408 → v201508}/activity_service/create_activities.rb +1 -5
- data/examples/{v201408 → v201508}/activity_service/get_active_activities.rb +15 -31
- data/examples/{v201408 → v201508}/activity_service/get_all_activities.rb +10 -25
- data/examples/{v201408 → v201508}/activity_service/update_activities.rb +9 -12
- data/examples/{v201408 → v201508}/audience_segment_service/create_audience_segments.rb +1 -5
- data/examples/{v201408 → v201508}/audience_segment_service/get_all_audience_segments.rb +10 -24
- data/examples/{v201408 → v201508}/audience_segment_service/get_first_party_audience_segments.rb +14 -26
- data/examples/{v201408 → v201508}/audience_segment_service/populate_first_party_audience_segments.rb +16 -19
- data/examples/{v201408 → v201508}/audience_segment_service/update_audience_segments.rb +12 -16
- data/examples/{v201408 → v201508}/common/error_handling.rb +1 -5
- data/examples/{v201408 → v201508}/common/oauth2_jwt_handling.rb +9 -21
- data/examples/{v201408 → v201508}/common/setup_oauth2.rb +1 -5
- data/examples/{v201408 → v201508}/company_service/create_companies.rb +1 -5
- data/examples/{v201408 → v201508}/company_service/get_all_companies.rb +10 -23
- data/examples/{v201408 → v201508}/company_service/get_companies_by_statement.rb +21 -20
- data/examples/{v201408 → v201508}/company_service/update_companies.rb +13 -14
- data/examples/{v201408 → v201508}/contact_service/create_contacts.rb +1 -5
- data/examples/{v201408 → v201508}/contact_service/get_all_contacts.rb +11 -24
- data/examples/{v201408 → v201508}/contact_service/get_uninvited_contacts.rb +17 -25
- data/examples/{v201408 → v201508}/contact_service/update_contacts.rb +9 -11
- data/examples/{v201408 → v201508}/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +1 -5
- data/examples/{v201408 → v201508}/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +11 -13
- data/examples/{v201408 → v201508}/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +8 -22
- data/examples/{v201408 → v201508}/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +9 -12
- data/examples/{v201408 → v201508}/content_service/get_all_content.rb +9 -23
- data/examples/{v201408 → v201508}/content_service/get_content_by_category.rb +18 -34
- data/examples/{v201408 → v201508}/creative_service/copy_image_creatives.rb +7 -11
- data/examples/{v201408 → v201508}/creative_service/create_creative_from_template.rb +2 -6
- data/examples/{v201408 → v201508}/creative_service/create_creatives.rb +1 -5
- data/examples/{v201408 → v201508}/creative_service/create_custom_creative.rb +1 -5
- data/examples/v201508/creative_service/create_native_creative.rb +195 -0
- data/examples/{v201408 → v201508}/creative_service/get_all_creatives.rb +8 -22
- data/examples/{v201408 → v201508}/creative_service/get_creatives_by_statement.rb +18 -17
- data/examples/{v201408 → v201508}/creative_service/update_creatives.rb +16 -15
- data/examples/{v201408 → v201508}/creative_set_service/associate_creative_set_to_line_item.rb +1 -5
- data/examples/{v201408 → v201508}/creative_set_service/create_creative_set.rb +1 -5
- data/examples/{v201408 → v201508}/creative_set_service/get_all_creative_sets.rb +9 -22
- data/examples/{v201408 → v201508}/creative_set_service/get_creative_sets_by_statement.rb +20 -18
- data/examples/{v201408 → v201508}/creative_set_service/update_creative_sets.rb +10 -12
- data/examples/{v201408 → v201508}/creative_template_service/get_all_creative_templates.rb +9 -22
- data/examples/{v201408/creative_template_service/get_creative_templates_by_statement.rb → v201508/creative_template_service/get_system_defined_creative_templates.rb} +24 -17
- data/examples/{v201408 → v201508}/creative_wrapper_service/create_creative_wrappers.rb +1 -5
- data/examples/{v201408 → v201508}/creative_wrapper_service/deactivate_creative_wrapper.rb +9 -12
- data/examples/{v201408 → v201508}/creative_wrapper_service/get_all_creative_wrappers.rb +10 -23
- data/examples/{v201408 → v201508}/creative_wrapper_service/get_creative_wrappers_by_statement.rb +17 -16
- data/examples/{v201408 → v201508}/creative_wrapper_service/update_creative_wrappers.rb +10 -12
- data/examples/{v201408 → v201508}/custom_field_service/create_custom_field_options.rb +1 -5
- data/examples/{v201408 → v201508}/custom_field_service/create_custom_fields.rb +1 -5
- data/examples/{v201408 → v201508}/custom_field_service/deactivate_all_line_item_custom_fields.rb +13 -28
- data/examples/{v201408 → v201508}/custom_field_service/get_all_custom_fields.rb +11 -24
- data/examples/{v201408 → v201508}/custom_field_service/get_all_line_item_custom_fields.rb +18 -17
- data/examples/{v201408 → v201508}/custom_field_service/set_line_item_custom_field_value.rb +24 -24
- data/examples/{v201408 → v201508}/custom_field_service/update_custom_fields.rb +10 -11
- data/examples/{v201408 → v201508}/custom_targeting_service/create_custom_targeting_keys_and_values.rb +1 -6
- data/examples/{v201408 → v201508}/custom_targeting_service/delete_custom_targeting_keys.rb +16 -25
- data/examples/{v201408 → v201508}/custom_targeting_service/delete_custom_targeting_values.rb +23 -26
- data/examples/{v201408 → v201508}/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +15 -42
- data/examples/{v201408 → v201508}/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +20 -20
- data/examples/{v201408 → v201508}/custom_targeting_service/get_custom_targeting_values_by_statement.rb +19 -20
- data/examples/{v201408 → v201508}/custom_targeting_service/update_custom_targeting_keys.rb +4 -8
- data/examples/{v201408 → v201508}/custom_targeting_service/update_custom_targeting_values.rb +34 -35
- data/examples/{v201408/forecast_service/get_forecast.rb → v201508/forecast_service/get_availability_forecast.rb} +43 -20
- data/examples/{v201408/forecast_service/get_forecast_by_id.rb → v201508/forecast_service/get_availability_forecast_for_line_item.rb} +17 -14
- data/examples/v201508/forecast_service/get_delivery_forecast_for_line_items.rb +77 -0
- data/examples/{v201408 → v201508}/inventory_service/create_ad_units.rb +1 -5
- data/examples/{v201408 → v201508}/inventory_service/create_mobile_ad_unit.rb +1 -5
- data/examples/{v201408 → v201508}/inventory_service/create_video_ad_unit.rb +1 -5
- data/examples/{v201408 → v201508}/inventory_service/deactivate_ad_units.rb +19 -28
- data/examples/{v201408 → v201508}/inventory_service/get_ad_unit_sizes.rb +7 -18
- data/examples/{v201408 → v201508}/inventory_service/get_ad_units_by_statement.rb +18 -17
- data/examples/{v201408 → v201508}/inventory_service/get_all_ad_units.rb +8 -22
- data/examples/{v201408 → v201508}/inventory_service/update_ad_units.rb +23 -15
- data/examples/{v201408 → v201508}/label_service/create_labels.rb +1 -5
- data/examples/{v201408 → v201508}/label_service/deactivate_labels.rb +15 -26
- data/examples/{v201408 → v201508}/label_service/get_all_labels.rb +9 -23
- data/examples/{v201408 → v201508}/label_service/get_labels_by_statement.rb +16 -15
- data/examples/{v201408 → v201508}/label_service/update_labels.rb +24 -30
- data/examples/{v201408 → v201508}/line_item_creative_association_service/create_licas.rb +1 -5
- data/examples/{v201408 → v201508}/line_item_creative_association_service/deactivate_licas.rb +15 -29
- data/examples/{v201408 → v201508}/line_item_creative_association_service/get_all_licas.rb +8 -22
- data/examples/{v201408 → v201508}/line_item_creative_association_service/get_licas_by_statement.rb +10 -12
- data/examples/{v201408 → v201508}/line_item_creative_association_service/update_licas.rb +16 -12
- data/examples/{v201408 → v201508}/line_item_service/activate_line_items.rb +13 -26
- data/examples/{v201408 → v201508}/line_item_service/create_line_items.rb +10 -8
- data/examples/{v201408 → v201508}/line_item_service/create_video_line_item.rb +11 -11
- data/examples/{v201408 → v201508}/line_item_service/get_all_line_items.rb +9 -22
- data/examples/{v201408 → v201508}/line_item_service/get_line_items_by_statement.rb +1 -6
- data/examples/{v201408 → v201508}/line_item_service/get_recently_updated_line_items.rb +19 -17
- data/examples/{v201408 → v201508}/line_item_service/target_custom_criteria.rb +9 -12
- data/examples/{v201408 → v201508}/line_item_service/update_line_items.rb +9 -13
- data/examples/{v201408 → v201508}/network_service/get_all_networks.rb +1 -5
- data/examples/{v201408 → v201508}/network_service/get_current_network.rb +1 -5
- data/examples/{v201408 → v201508}/network_service/make_test_network.rb +1 -5
- data/examples/{v201408 → v201508}/order_service/approve_orders.rb +16 -29
- data/examples/{v201408 → v201508}/order_service/create_orders.rb +1 -5
- data/examples/{v201408 → v201508}/order_service/get_all_orders.rb +8 -22
- data/examples/{v201408 → v201508}/order_service/get_orders_by_statement.rb +18 -18
- data/examples/{v201408 → v201508}/order_service/update_orders.rb +15 -11
- data/examples/{v201408 → v201508}/placement_service/create_placements.rb +4 -7
- data/examples/{v201408 → v201508}/placement_service/deactivate_placements.rb +14 -27
- data/examples/{v201408 → v201508}/placement_service/get_all_placements.rb +9 -22
- data/examples/{v201408 → v201508}/placement_service/get_placements_by_statement.rb +18 -17
- data/examples/{v201408 → v201508}/placement_service/update_placements.rb +17 -12
- data/examples/{v201408 → v201508}/publisher_query_language_service/fetch_match_tables.rb +8 -15
- data/examples/{v201408 → v201508}/publisher_query_language_service/get_all_line_items.rb +8 -14
- data/examples/{v201408 → v201508}/publisher_query_language_service/get_geo_targets.rb +10 -14
- data/examples/{v201408 → v201508}/publisher_query_language_service/get_line_items_named_like.rb +10 -14
- data/examples/{v201408 → v201508}/report_service/display_report.rb +1 -5
- data/examples/{v201408 → v201508}/report_service/download_report.rb +1 -5
- data/examples/{v201408 → v201508}/report_service/run_delivery_report.rb +17 -9
- data/examples/{v201408 → v201508}/report_service/run_inventory_report.rb +5 -8
- data/examples/{v201408 → v201508}/report_service/run_reach_report.rb +6 -8
- data/examples/v201508/report_service/run_report_with_custom_fields.rb +89 -0
- data/examples/{v201408 → v201508}/report_service/run_sales_report.rb +3 -6
- data/examples/{v201408 → v201508}/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +25 -26
- data/examples/{v201408 → v201508}/suggested_ad_unit_service/get_all_suggested_ad_units.rb +9 -23
- data/examples/{v201408 → v201508}/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +24 -25
- data/examples/{v201408 → v201508}/team_service/create_teams.rb +1 -5
- data/examples/{v201408 → v201508}/team_service/get_all_teams.rb +8 -22
- data/examples/{v201408 → v201508}/team_service/get_teams_by_statement.rb +14 -14
- data/examples/{v201408 → v201508}/team_service/update_teams.rb +4 -7
- data/examples/{v201408 → v201508}/user_service/create_users.rb +1 -5
- data/examples/{v201408 → v201508}/user_service/deactivate_users.rb +7 -11
- data/examples/{v201408 → v201508}/user_service/get_all_roles.rb +1 -5
- data/examples/{v201408 → v201508}/user_service/get_all_users.rb +8 -23
- data/examples/{v201408 → v201508}/user_service/get_current_user.rb +1 -5
- data/examples/{v201408 → v201508}/user_service/get_users_by_statement.rb +16 -15
- data/examples/{v201408 → v201508}/user_service/update_users.rb +15 -10
- data/examples/{v201408 → v201508}/user_team_association_service/create_user_team_associations.rb +1 -5
- data/examples/{v201408 → v201508}/user_team_association_service/delete_user_team_associations.rb +13 -26
- data/examples/{v201408 → v201508}/user_team_association_service/get_all_user_team_associations.rb +10 -22
- data/examples/{v201408 → v201508}/user_team_association_service/get_user_team_associations_by_statement.rb +20 -21
- data/examples/{v201408 → v201508}/user_team_association_service/update_user_team_associations.rb +8 -12
- data/lib/dfp_api.rb +0 -2
- data/lib/dfp_api/api_config.rb +28 -5
- data/lib/dfp_api/credential_handler.rb +0 -2
- data/lib/dfp_api/errors.rb +2 -3
- data/lib/dfp_api/v201408/activity_group_service.rb +1 -1
- data/lib/dfp_api/v201408/activity_group_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/activity_service.rb +1 -1
- data/lib/dfp_api/v201408/activity_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/ad_rule_service.rb +1 -1
- data/lib/dfp_api/v201408/ad_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/audience_segment_service.rb +1 -1
- data/lib/dfp_api/v201408/audience_segment_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/base_rate_service.rb +1 -1
- data/lib/dfp_api/v201408/base_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/company_service.rb +1 -1
- data/lib/dfp_api/v201408/company_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/contact_service.rb +1 -1
- data/lib/dfp_api/v201408/contact_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/content_bundle_service.rb +1 -1
- data/lib/dfp_api/v201408/content_bundle_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/content_metadata_key_hierarchy_service.rb +1 -1
- data/lib/dfp_api/v201408/content_metadata_key_hierarchy_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/content_service.rb +1 -1
- data/lib/dfp_api/v201408/content_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/creative_service.rb +1 -1
- data/lib/dfp_api/v201408/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/creative_set_service.rb +1 -1
- data/lib/dfp_api/v201408/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/creative_template_service.rb +1 -1
- data/lib/dfp_api/v201408/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/creative_wrapper_service.rb +1 -1
- data/lib/dfp_api/v201408/creative_wrapper_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/custom_field_service.rb +1 -1
- data/lib/dfp_api/v201408/custom_field_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/custom_targeting_service.rb +1 -1
- data/lib/dfp_api/v201408/custom_targeting_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/exchange_rate_service.rb +1 -1
- data/lib/dfp_api/v201408/exchange_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/forecast_service.rb +1 -1
- data/lib/dfp_api/v201408/forecast_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/inventory_service.rb +1 -1
- data/lib/dfp_api/v201408/inventory_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/label_service.rb +1 -1
- data/lib/dfp_api/v201408/label_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/line_item_creative_association_service.rb +1 -1
- data/lib/dfp_api/v201408/line_item_creative_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/line_item_service.rb +1 -1
- data/lib/dfp_api/v201408/line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/line_item_template_service.rb +1 -1
- data/lib/dfp_api/v201408/line_item_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/live_stream_event_service.rb +1 -1
- data/lib/dfp_api/v201408/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/network_service.rb +1 -1
- data/lib/dfp_api/v201408/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/order_service.rb +1 -1
- data/lib/dfp_api/v201408/order_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/placement_service.rb +1 -1
- data/lib/dfp_api/v201408/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/premium_rate_service.rb +1 -1
- data/lib/dfp_api/v201408/premium_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/product_service.rb +1 -1
- data/lib/dfp_api/v201408/product_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/product_template_service.rb +1 -1
- data/lib/dfp_api/v201408/product_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/proposal_line_item_service.rb +1 -1
- data/lib/dfp_api/v201408/proposal_line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/proposal_service.rb +1 -1
- data/lib/dfp_api/v201408/proposal_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/publisher_query_language_service.rb +1 -1
- data/lib/dfp_api/v201408/publisher_query_language_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/rate_card_service.rb +1 -1
- data/lib/dfp_api/v201408/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_order_report_service.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_order_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_report_row_service.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_report_row_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_report_service.rb +1 -1
- data/lib/dfp_api/v201408/reconciliation_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/report_service.rb +1 -1
- data/lib/dfp_api/v201408/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/suggested_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201408/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/team_service.rb +1 -1
- data/lib/dfp_api/v201408/team_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/user_service.rb +1 -1
- data/lib/dfp_api/v201408/user_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/user_team_association_service.rb +1 -1
- data/lib/dfp_api/v201408/user_team_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201408/workflow_request_service.rb +1 -1
- data/lib/dfp_api/v201408/workflow_request_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/activity_group_service.rb +1 -1
- data/lib/dfp_api/v201411/activity_group_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/activity_service.rb +1 -1
- data/lib/dfp_api/v201411/activity_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/ad_exclusion_rule_service.rb +1 -1
- data/lib/dfp_api/v201411/ad_exclusion_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/ad_rule_service.rb +1 -1
- data/lib/dfp_api/v201411/ad_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/audience_segment_service.rb +1 -1
- data/lib/dfp_api/v201411/audience_segment_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/base_rate_service.rb +1 -1
- data/lib/dfp_api/v201411/base_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/company_service.rb +1 -1
- data/lib/dfp_api/v201411/company_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/contact_service.rb +1 -1
- data/lib/dfp_api/v201411/contact_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/content_bundle_service.rb +1 -1
- data/lib/dfp_api/v201411/content_bundle_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/content_metadata_key_hierarchy_service.rb +1 -1
- data/lib/dfp_api/v201411/content_metadata_key_hierarchy_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/content_service.rb +1 -1
- data/lib/dfp_api/v201411/content_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/creative_service.rb +1 -1
- data/lib/dfp_api/v201411/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/creative_set_service.rb +1 -1
- data/lib/dfp_api/v201411/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/creative_template_service.rb +1 -1
- data/lib/dfp_api/v201411/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/creative_wrapper_service.rb +1 -1
- data/lib/dfp_api/v201411/creative_wrapper_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/custom_field_service.rb +1 -1
- data/lib/dfp_api/v201411/custom_field_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/custom_targeting_service.rb +1 -1
- data/lib/dfp_api/v201411/custom_targeting_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/exchange_rate_service.rb +1 -1
- data/lib/dfp_api/v201411/exchange_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/forecast_service.rb +1 -1
- data/lib/dfp_api/v201411/forecast_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/inventory_service.rb +1 -1
- data/lib/dfp_api/v201411/inventory_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/label_service.rb +1 -1
- data/lib/dfp_api/v201411/label_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/line_item_creative_association_service.rb +1 -1
- data/lib/dfp_api/v201411/line_item_creative_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/line_item_service.rb +1 -1
- data/lib/dfp_api/v201411/line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/line_item_template_service.rb +1 -1
- data/lib/dfp_api/v201411/line_item_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/live_stream_event_service.rb +1 -1
- data/lib/dfp_api/v201411/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/network_service.rb +1 -1
- data/lib/dfp_api/v201411/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/order_service.rb +1 -1
- data/lib/dfp_api/v201411/order_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/placement_service.rb +1 -1
- data/lib/dfp_api/v201411/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/premium_rate_service.rb +1 -1
- data/lib/dfp_api/v201411/premium_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/product_service.rb +1 -1
- data/lib/dfp_api/v201411/product_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/product_template_service.rb +1 -1
- data/lib/dfp_api/v201411/product_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/proposal_line_item_service.rb +1 -1
- data/lib/dfp_api/v201411/proposal_line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/proposal_service.rb +1 -1
- data/lib/dfp_api/v201411/proposal_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/publisher_query_language_service.rb +1 -1
- data/lib/dfp_api/v201411/publisher_query_language_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/rate_card_service.rb +1 -1
- data/lib/dfp_api/v201411/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_order_report_service.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_order_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_report_row_service.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_report_row_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_report_service.rb +1 -1
- data/lib/dfp_api/v201411/reconciliation_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/report_service.rb +1 -1
- data/lib/dfp_api/v201411/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/shared_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201411/shared_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/suggested_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201411/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/team_service.rb +1 -1
- data/lib/dfp_api/v201411/team_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/user_service.rb +1 -1
- data/lib/dfp_api/v201411/user_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/user_team_association_service.rb +1 -1
- data/lib/dfp_api/v201411/user_team_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201411/workflow_request_service.rb +1 -1
- data/lib/dfp_api/v201411/workflow_request_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/activity_group_service.rb +1 -1
- data/lib/dfp_api/v201502/activity_group_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/activity_service.rb +1 -1
- data/lib/dfp_api/v201502/activity_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/ad_exclusion_rule_service.rb +1 -1
- data/lib/dfp_api/v201502/ad_exclusion_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/ad_rule_service.rb +1 -1
- data/lib/dfp_api/v201502/ad_rule_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/audience_segment_service.rb +1 -1
- data/lib/dfp_api/v201502/audience_segment_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/base_rate_service.rb +1 -1
- data/lib/dfp_api/v201502/base_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/company_service.rb +1 -1
- data/lib/dfp_api/v201502/company_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/contact_service.rb +1 -1
- data/lib/dfp_api/v201502/contact_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/content_bundle_service.rb +1 -1
- data/lib/dfp_api/v201502/content_bundle_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/content_metadata_key_hierarchy_service.rb +1 -1
- data/lib/dfp_api/v201502/content_metadata_key_hierarchy_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/content_service.rb +1 -1
- data/lib/dfp_api/v201502/content_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/creative_service.rb +1 -1
- data/lib/dfp_api/v201502/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/creative_set_service.rb +1 -1
- data/lib/dfp_api/v201502/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/creative_template_service.rb +1 -1
- data/lib/dfp_api/v201502/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/creative_wrapper_service.rb +1 -1
- data/lib/dfp_api/v201502/creative_wrapper_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/custom_field_service.rb +1 -1
- data/lib/dfp_api/v201502/custom_field_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/custom_targeting_service.rb +1 -1
- data/lib/dfp_api/v201502/custom_targeting_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/exchange_rate_service.rb +1 -1
- data/lib/dfp_api/v201502/exchange_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/forecast_service.rb +1 -1
- data/lib/dfp_api/v201502/forecast_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/inventory_service.rb +1 -1
- data/lib/dfp_api/v201502/inventory_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/label_service.rb +1 -1
- data/lib/dfp_api/v201502/label_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/line_item_creative_association_service.rb +1 -1
- data/lib/dfp_api/v201502/line_item_creative_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/line_item_service.rb +1 -1
- data/lib/dfp_api/v201502/line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/line_item_template_service.rb +1 -1
- data/lib/dfp_api/v201502/line_item_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/live_stream_event_service.rb +1 -1
- data/lib/dfp_api/v201502/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/network_service.rb +1 -1
- data/lib/dfp_api/v201502/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/order_service.rb +1 -1
- data/lib/dfp_api/v201502/order_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/package_service.rb +1 -1
- data/lib/dfp_api/v201502/package_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/placement_service.rb +1 -1
- data/lib/dfp_api/v201502/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/premium_rate_service.rb +1 -1
- data/lib/dfp_api/v201502/premium_rate_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/product_package_item_service.rb +1 -1
- data/lib/dfp_api/v201502/product_package_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/product_package_service.rb +1 -1
- data/lib/dfp_api/v201502/product_package_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/product_service.rb +1 -1
- data/lib/dfp_api/v201502/product_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/product_template_service.rb +1 -1
- data/lib/dfp_api/v201502/product_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/proposal_line_item_service.rb +1 -1
- data/lib/dfp_api/v201502/proposal_line_item_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/proposal_service.rb +1 -1
- data/lib/dfp_api/v201502/proposal_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/publisher_query_language_service.rb +1 -1
- data/lib/dfp_api/v201502/publisher_query_language_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/rate_card_service.rb +1 -1
- data/lib/dfp_api/v201502/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_order_report_service.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_order_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_report_row_service.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_report_row_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_report_service.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_report_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/report_service.rb +1 -1
- data/lib/dfp_api/v201502/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/shared_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201502/shared_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/suggested_ad_unit_service.rb +1 -1
- data/lib/dfp_api/v201502/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/team_service.rb +1 -1
- data/lib/dfp_api/v201502/team_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/user_service.rb +1 -1
- data/lib/dfp_api/v201502/user_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/user_team_association_service.rb +1 -1
- data/lib/dfp_api/v201502/user_team_association_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/workflow_request_service.rb +1 -1
- data/lib/dfp_api/v201502/workflow_request_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/activity_group_service.rb +42 -0
- data/lib/dfp_api/v201508/activity_group_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/activity_service.rb +42 -0
- data/lib/dfp_api/v201508/activity_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +46 -0
- data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/ad_rule_service.rb +46 -0
- data/lib/dfp_api/v201508/ad_rule_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/audience_segment_service.rb +46 -0
- data/lib/dfp_api/v201508/audience_segment_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/base_rate_service.rb +46 -0
- data/lib/dfp_api/v201508/base_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/company_service.rb +42 -0
- data/lib/dfp_api/v201508/company_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/contact_service.rb +42 -0
- data/lib/dfp_api/v201508/contact_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/content_bundle_service.rb +46 -0
- data/lib/dfp_api/v201508/content_bundle_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +46 -0
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/content_service.rb +38 -0
- data/lib/dfp_api/v201508/content_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/creative_service.rb +42 -0
- data/lib/dfp_api/v201508/creative_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/creative_set_service.rb +42 -0
- data/lib/dfp_api/v201508/creative_set_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/creative_template_service.rb +34 -0
- data/lib/dfp_api/v201508/creative_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/creative_wrapper_service.rb +46 -0
- data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/custom_field_service.rb +58 -0
- data/lib/dfp_api/v201508/custom_field_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/custom_targeting_service.rb +62 -0
- data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/exchange_rate_service.rb +46 -0
- data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/forecast_service.rb +46 -0
- data/lib/dfp_api/v201508/forecast_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/inventory_service.rb +50 -0
- data/lib/dfp_api/v201508/inventory_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/label_service.rb +46 -0
- data/lib/dfp_api/v201508/label_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/line_item_creative_association_service.rb +50 -0
- data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/line_item_service.rb +46 -0
- data/lib/dfp_api/v201508/line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/line_item_template_service.rb +34 -0
- data/lib/dfp_api/v201508/line_item_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/live_stream_event_service.rb +46 -0
- data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/network_service.rb +46 -0
- data/lib/dfp_api/v201508/network_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/order_service.rb +46 -0
- data/lib/dfp_api/v201508/order_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/package_service.rb +46 -0
- data/lib/dfp_api/v201508/package_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/placement_service.rb +46 -0
- data/lib/dfp_api/v201508/placement_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/premium_rate_service.rb +42 -0
- data/lib/dfp_api/v201508/premium_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/product_package_item_service.rb +46 -0
- data/lib/dfp_api/v201508/product_package_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/product_package_service.rb +46 -0
- data/lib/dfp_api/v201508/product_package_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/product_service.rb +42 -0
- data/lib/dfp_api/v201508/product_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/product_template_service.rb +46 -0
- data/lib/dfp_api/v201508/product_template_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/proposal_line_item_service.rb +46 -0
- data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/proposal_service.rb +46 -0
- data/lib/dfp_api/v201508/proposal_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/publisher_query_language_service.rb +34 -0
- data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/rate_card_service.rb +46 -0
- data/lib/dfp_api/v201508/rate_card_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +38 -0
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +42 -0
- data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +38 -0
- data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/reconciliation_report_service.rb +38 -0
- data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/report_service.rb +46 -0
- data/lib/dfp_api/v201508/report_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/shared_ad_unit_service.rb +38 -0
- data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +38 -0
- data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/team_service.rb +42 -0
- data/lib/dfp_api/v201508/team_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/user_service.rb +54 -0
- data/lib/dfp_api/v201508/user_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/user_team_association_service.rb +46 -0
- data/lib/dfp_api/v201508/user_team_association_service_registry.rb +45 -0
- data/lib/dfp_api/v201508/workflow_request_service.rb +38 -0
- data/lib/dfp_api/v201508/workflow_request_service_registry.rb +45 -0
- data/lib/dfp_api/version.rb +2 -4
- data/lib/dfp_api_statement.rb +0 -2
- data/test/dfp_api/test_dfp_api.rb +0 -2
- data/test/suite_unittests.rb +0 -2
- metadata +1039 -938
- checksums.yaml +0 -15
- data/examples/v201408/report_service/run_report_with_custom_fields.rb +0 -135
- data/test/bugs/test_issue_00000016.rb +0 -151
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,14 +18,10 @@
|
|
20
18
|
#
|
21
19
|
# This example deactivates all active placements. To determine which placements
|
22
20
|
# exist, run get_all_placements.rb.
|
23
|
-
#
|
24
|
-
# Tags: PlacementService.getPlacementsByStatement
|
25
|
-
# Tags: PlacementService.performPlacementAction
|
26
21
|
|
27
22
|
require 'dfp_api'
|
28
23
|
|
29
|
-
API_VERSION = :
|
30
|
-
PAGE_SIZE = 500
|
24
|
+
API_VERSION = :v201508
|
31
25
|
|
32
26
|
def deactivate_placements()
|
33
27
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -40,50 +34,43 @@ def deactivate_placements()
|
|
40
34
|
# Get the PlacementService.
|
41
35
|
placement_service = dfp.service(:PlacementService, API_VERSION)
|
42
36
|
|
43
|
-
# Create statement
|
44
|
-
|
45
|
-
|
46
|
-
|
37
|
+
# Create statement to select active placements.
|
38
|
+
statement = DfpApiStatement::FilterStatement.new(
|
39
|
+
'WHERE status = :status',
|
40
|
+
[
|
47
41
|
{:key => 'status',
|
48
42
|
:value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}}
|
49
43
|
]
|
50
|
-
|
44
|
+
)
|
51
45
|
|
52
46
|
# Define initial values.
|
53
|
-
offset = 0
|
54
|
-
page = {}
|
55
47
|
placement_ids = []
|
56
48
|
|
57
49
|
begin
|
58
|
-
# Modify the statement to get one page with current offset.
|
59
|
-
statement[:query] = statement_text +
|
60
|
-
" LIMIT %d OFFSET %d" % [PAGE_SIZE, offset]
|
61
|
-
|
62
50
|
# Get placements by statement.
|
63
|
-
page = placement_service.get_placements_by_statement(
|
51
|
+
page = placement_service.get_placements_by_statement(
|
52
|
+
statement.toStatement())
|
64
53
|
|
65
54
|
if page[:results]
|
66
|
-
|
67
|
-
offset += PAGE_SIZE
|
68
|
-
|
69
|
-
page[:results].each do |placement|
|
55
|
+
page[:results].each_with_index do |placement, index|
|
70
56
|
puts ("%d) Placement ID: %d, name: %s and status: %s will be " +
|
71
|
-
"deactivated.") % [
|
57
|
+
"deactivated.") % [index + statement.offset, placement[:id],
|
72
58
|
placement[:name], placement[:status]]
|
73
59
|
placement_ids << placement[:id]
|
74
60
|
end
|
75
61
|
end
|
76
|
-
end while offset < page[:total_result_set_size]
|
62
|
+
end while statement.offset < page[:total_result_set_size]
|
77
63
|
|
78
64
|
puts "Number of placements to be deactivated: %d" % placement_ids.size
|
79
65
|
|
80
66
|
if !placement_ids.empty?
|
81
67
|
# Create a statement for action.
|
82
|
-
statement =
|
68
|
+
statement = DfpApiStatement::FilterStatement.new(
|
69
|
+
"WHERE id IN (%s)" % placement_ids.join(', '))
|
83
70
|
|
84
71
|
# Perform action.
|
85
72
|
result = placement_service.perform_placement_action(
|
86
|
-
{:xsi_type => 'DeactivatePlacements'}, statement)
|
73
|
+
{:xsi_type => 'DeactivatePlacements'}, statement.toStatement())
|
87
74
|
|
88
75
|
# Display results.
|
89
76
|
if result and result[:num_changes] > 0
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,13 +18,11 @@
|
|
20
18
|
#
|
21
19
|
# This example gets all placements. To create placements, run
|
22
20
|
# create_placements.rb
|
23
|
-
#
|
24
|
-
# Tags: PlacementService.getPlacementsByStatement
|
25
21
|
|
26
22
|
require 'dfp_api'
|
23
|
+
require 'dfp_api_statement'
|
27
24
|
|
28
|
-
API_VERSION = :
|
29
|
-
PAGE_SIZE = 500
|
25
|
+
API_VERSION = :v201508
|
30
26
|
|
31
27
|
def get_all_placements()
|
32
28
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -39,32 +35,23 @@ def get_all_placements()
|
|
39
35
|
# Get the PlacementService.
|
40
36
|
placement_service = dfp.service(:PlacementService, API_VERSION)
|
41
37
|
|
42
|
-
#
|
43
|
-
|
44
|
-
page = {}
|
38
|
+
# Create statement for placements ordered by ID.
|
39
|
+
statement = DfpApiStatement::FilterStatement.new('ORDER BY id ASC')
|
45
40
|
|
46
41
|
begin
|
47
|
-
# Create statement for one page with current offset.
|
48
|
-
statement = {:query => "ORDER BY id ASC LIMIT %d OFFSET %d" %
|
49
|
-
[PAGE_SIZE, offset]}
|
50
|
-
|
51
42
|
# Get placements by statement.
|
52
|
-
page = placement_service.get_placements_by_statement(
|
43
|
+
page = placement_service.get_placements_by_statement(
|
44
|
+
statement.toStatement())
|
53
45
|
|
54
46
|
if page[:results]
|
55
|
-
# Increase query offset by page size.
|
56
|
-
offset += PAGE_SIZE
|
57
|
-
|
58
|
-
# Get the start index for printout.
|
59
|
-
start_index = page[:start_index]
|
60
|
-
|
61
47
|
# Print details about each placement in results page.
|
62
48
|
page[:results].each_with_index do |placement, index|
|
63
49
|
puts "%d) Placement ID: %d, name: %s." %
|
64
|
-
[index +
|
50
|
+
[index + statement.offset, placement[:id], placement[:name]]
|
65
51
|
end
|
66
52
|
end
|
67
|
-
|
53
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
54
|
+
end while statement.offset < page[:total_result_set_size]
|
68
55
|
|
69
56
|
# Print a footer
|
70
57
|
if page.include?(:total_result_set_size)
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -18,15 +16,13 @@
|
|
18
16
|
# See the License for the specific language governing permissions and
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
|
-
# This example gets all active placements.
|
22
|
-
# maximum page size limit of 500. To create a placement, run
|
19
|
+
# This example gets all active placements. To create a placement, run
|
23
20
|
# create_placements.rb.
|
24
|
-
#
|
25
|
-
# Tags: PlacementService.getPlacementsByStatement
|
26
21
|
|
27
22
|
require 'dfp_api'
|
23
|
+
require 'dfp_api_statement'
|
28
24
|
|
29
|
-
API_VERSION = :
|
25
|
+
API_VERSION = :v201508
|
30
26
|
|
31
27
|
def get_placements_by_statement()
|
32
28
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -40,23 +36,28 @@ def get_placements_by_statement()
|
|
40
36
|
placement_service = dfp.service(:PlacementService, API_VERSION)
|
41
37
|
|
42
38
|
# Create a statement to only select active placements.
|
43
|
-
statement =
|
44
|
-
|
45
|
-
|
39
|
+
statement = DfpApiStatement::FilterStatement.new(
|
40
|
+
'WHERE status = :status ORDER BY id ASC',
|
41
|
+
[
|
46
42
|
{:key => 'status',
|
47
43
|
:value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}}
|
48
44
|
]
|
49
45
|
}
|
50
46
|
|
51
|
-
|
52
|
-
|
47
|
+
begin
|
48
|
+
# Get placements by statement.
|
49
|
+
page = placement_service.get_placements_by_statement(
|
50
|
+
statement.toStatement())
|
53
51
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
52
|
+
if page and page[:results]
|
53
|
+
page[:results].each_with_index do |placement, index|
|
54
|
+
puts "%d) Placement ID: %d, name: %s, status: %s." % [
|
55
|
+
index + statement.offset,
|
56
|
+
placement[:id], placement[:name], placement[:status]]
|
57
|
+
end
|
58
58
|
end
|
59
|
-
|
59
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
60
|
+
end while statement.offset < page[:total_result_set_size]
|
60
61
|
|
61
62
|
# Print a footer.
|
62
63
|
if page.include?(:total_result_set_size)
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -18,15 +16,13 @@
|
|
18
16
|
# See the License for the specific language governing permissions and
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
|
-
# This example updates
|
22
|
-
#
|
23
|
-
#
|
24
|
-
# Tags: PlacementService.getPlacementsByStatement
|
25
|
-
# Tags: PlacementService.updatePlacements
|
19
|
+
# This example updates a single placement to allow for AdSense targeting.
|
20
|
+
# To determine which placements exist, run get_all_placements.rb.
|
26
21
|
|
27
22
|
require 'dfp_api'
|
23
|
+
require 'dfp_api_statement'
|
28
24
|
|
29
|
-
API_VERSION = :
|
25
|
+
API_VERSION = :v201508
|
30
26
|
|
31
27
|
def update_placements()
|
32
28
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -39,11 +35,20 @@ def update_placements()
|
|
39
35
|
# Get the PlacementService.
|
40
36
|
placement_service = dfp.service(:PlacementService, API_VERSION)
|
41
37
|
|
42
|
-
|
43
|
-
|
38
|
+
placement_id = 'INSERT_PLACEMENT_ID_HERE'.to_i
|
39
|
+
|
40
|
+
# Create a statement to get a single placement by ID.
|
41
|
+
statement = DfpApiStatement::FilterStatement.new(
|
42
|
+
'WHERE id = :id ORDER BY id ASC',
|
43
|
+
[
|
44
|
+
{:key => 'id',
|
45
|
+
:value => {:value => placement_id, :xsi_type => 'NumberValue'}}
|
46
|
+
],
|
47
|
+
1
|
48
|
+
)
|
44
49
|
|
45
50
|
# Get placements by statement.
|
46
|
-
page = placement_service.get_placements_by_statement(statement)
|
51
|
+
page = placement_service.get_placements_by_statement(statement.toStatement())
|
47
52
|
|
48
53
|
if page[:results]
|
49
54
|
placements = page[:results]
|
@@ -54,7 +59,7 @@ def update_placements()
|
|
54
59
|
(placement[:description].nil? || placement[:description].empty?) ?
|
55
60
|
'Generic description' : placement[:description]
|
56
61
|
placement[:targeting_ad_location] = 'All images on sports pages.'
|
57
|
-
placement[:targeting_site_name] = 'http://
|
62
|
+
placement[:targeting_site_name] = 'http://developers.google.com'
|
58
63
|
placement[:is_ad_sense_targeting_enabled] = true
|
59
64
|
end
|
60
65
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -23,18 +21,16 @@
|
|
23
21
|
#
|
24
22
|
# A full list of available tables can be found at:
|
25
23
|
#
|
26
|
-
# https://developers.google.com/doubleclick-publishers/docs/reference/
|
27
|
-
#
|
28
|
-
# Tags: PublisherQueryLanguageService.select
|
24
|
+
# https://developers.google.com/doubleclick-publishers/docs/reference/v201508/PublisherQueryLanguageService
|
29
25
|
|
30
26
|
require 'tempfile'
|
31
27
|
|
32
28
|
require 'dfp_api'
|
29
|
+
require 'dfp_api_statement'
|
33
30
|
|
34
|
-
API_VERSION = :
|
31
|
+
API_VERSION = :v201508
|
35
32
|
# A string to separate columns in output. Use "," to get CSV.
|
36
33
|
COLUMN_SEPARATOR = ','
|
37
|
-
PAGE_SIZE = 500
|
38
34
|
|
39
35
|
def fetch_match_tables()
|
40
36
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -59,19 +55,16 @@ end
|
|
59
55
|
# Fetches a match table from a PQL statement and writes it to a file.
|
60
56
|
def fetch_match_table(table_name, pql_service)
|
61
57
|
# Create a statement to select all items for the table.
|
62
|
-
|
63
|
-
'
|
58
|
+
statement = DfpApiStatement::FilterStatement.new(
|
59
|
+
'SELECT Id, Name, Status FROM %s ' % table_name + 'ORDER BY Id ASC')
|
64
60
|
|
65
61
|
# Set initial values.
|
66
|
-
offset = 0
|
67
62
|
file_path = '%s.csv' % table_name
|
68
63
|
|
69
64
|
open(file_path, 'wb') do |file|
|
70
65
|
file_path = file.path()
|
71
66
|
begin
|
72
|
-
|
73
|
-
statement = {:query => statement_text % [PAGE_SIZE, offset]}
|
74
|
-
result_set = pql_service.select(statement)
|
67
|
+
result_set = pql_service.select(statement.toStatement())
|
75
68
|
|
76
69
|
if result_set
|
77
70
|
# Only write column names if the first page.
|
@@ -86,8 +79,8 @@ def fetch_match_table(table_name, pql_service)
|
|
86
79
|
end
|
87
80
|
end
|
88
81
|
# Update the counters.
|
89
|
-
offset +=
|
90
|
-
end while result_set[:rows].size ==
|
82
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
83
|
+
end while result_set[:rows].size == DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
91
84
|
end
|
92
85
|
return file_path
|
93
86
|
end
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -22,15 +20,13 @@
|
|
22
20
|
# The Line_Item PQL table schema can be found here:
|
23
21
|
#
|
24
22
|
# https://developers.google.com/doubleclick-publishers/docs/reference/latest/PublisherQueryLanguageService
|
25
|
-
#
|
26
|
-
# Tags: PublisherQueryLanguageService.select
|
27
23
|
|
28
24
|
require 'dfp_api'
|
25
|
+
require 'dfp_api_statement'
|
29
26
|
|
30
|
-
API_VERSION = :
|
27
|
+
API_VERSION = :v201508
|
31
28
|
# A string to separate columns in output. Use "," to get CSV.
|
32
29
|
COLUMN_SEPARATOR = "\t"
|
33
|
-
PAGE_SIZE = 500
|
34
30
|
|
35
31
|
def get_all_line_items()
|
36
32
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -44,17 +40,15 @@ def get_all_line_items()
|
|
44
40
|
pql_service = dfp.service(:PublisherQueryLanguageService, API_VERSION)
|
45
41
|
|
46
42
|
# Statement parts to help build a statement to select all line items.
|
47
|
-
|
48
|
-
'
|
43
|
+
statement = DfpApiStatement::FilterStatement.new(
|
44
|
+
'SELECT Id, Name, Status FROM Line_Item ORDER BY Id ASC')
|
49
45
|
|
50
46
|
# Set initial values for paging.
|
51
|
-
|
47
|
+
result_set, all_rows = nil, 0
|
52
48
|
|
53
49
|
# Get all line items with paging.
|
54
50
|
begin
|
55
|
-
|
56
|
-
statement = {:query => statement_text % [PAGE_SIZE, offset]}
|
57
|
-
result_set = pql_service.select(statement)
|
51
|
+
result_set = pql_service.select(statement.toStatement())
|
58
52
|
|
59
53
|
if result_set
|
60
54
|
# Print out columns header.
|
@@ -69,9 +63,9 @@ def get_all_line_items()
|
|
69
63
|
end
|
70
64
|
|
71
65
|
# Update the counters.
|
72
|
-
offset +=
|
66
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
73
67
|
all_rows += result_set[:rows].size
|
74
|
-
end while result_set[:rows].size ==
|
68
|
+
end while result_set[:rows].size == DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
75
69
|
|
76
70
|
# Print a footer.
|
77
71
|
if result_set[:rows]
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -18,19 +16,17 @@
|
|
18
16
|
# See the License for the specific language governing permissions and
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
|
-
# This example gets
|
19
|
+
# This example gets all cities available to target. A full list of
|
22
20
|
# available PQL tables can be found at:
|
23
21
|
#
|
24
22
|
# https://developers.google.com/doubleclick-publishers/docs/reference/latest/PublisherQueryLanguageService
|
25
|
-
#
|
26
|
-
# Tags: PublisherQueryLanguageService.select
|
27
23
|
|
28
24
|
require 'dfp_api'
|
25
|
+
require 'dfp_api_statement'
|
29
26
|
|
30
|
-
API_VERSION = :
|
27
|
+
API_VERSION = :v201508
|
31
28
|
# A string to separate columns in output. Use "," to get CSV.
|
32
29
|
COLUMN_SEPARATOR = "\t"
|
33
|
-
PAGE_SIZE = 500
|
34
30
|
|
35
31
|
def get_geo_targets()
|
36
32
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -46,16 +42,16 @@ def get_geo_targets()
|
|
46
42
|
# Create a statement to select all targetable cities.
|
47
43
|
statement_text = "SELECT Id, Name, CanonicalParentId, ParentIds, " +
|
48
44
|
"CountryCode, Type, Targetable FROM Geo_Target WHERE Type = 'City' " +
|
49
|
-
"AND Targetable = true ORDER BY Id ASC
|
45
|
+
"AND Targetable = true ORDER BY Id ASC"
|
46
|
+
|
47
|
+
statement = DfpApiStatement::FilterStatement.new(statement_text)
|
50
48
|
|
51
49
|
# Set initial values for paging.
|
52
|
-
|
50
|
+
result_set, all_rows = nil, 0
|
53
51
|
|
54
52
|
# Get all cities with paging.
|
55
53
|
begin
|
56
|
-
|
57
|
-
statement = {:query => statement_text % [PAGE_SIZE, offset]}
|
58
|
-
result_set = pql_service.select(statement)
|
54
|
+
result_set = pql_service.select(statement.toStatement())
|
59
55
|
|
60
56
|
if result_set
|
61
57
|
# Print out columns header.
|
@@ -70,9 +66,9 @@ def get_geo_targets()
|
|
70
66
|
end
|
71
67
|
|
72
68
|
# Update the counters.
|
73
|
-
offset +=
|
69
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
74
70
|
all_rows += result_set[:rows].size
|
75
|
-
end while result_set[:rows].size ==
|
71
|
+
end while result_set[:rows].size == DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
76
72
|
|
77
73
|
# Print a footer.
|
78
74
|
if result_set[:rows]
|