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");
|
@@ -22,13 +20,11 @@
|
|
22
20
|
# determine which companies are advertisers, run get_companies_by_statement.rb.
|
23
21
|
# To determine which creatives already exist, run get_all_creatives.rb. To
|
24
22
|
# determine which creative templates run get_all_creative_templates.rb.
|
25
|
-
#
|
26
|
-
# Tags: CreativeService.createCreative
|
27
23
|
|
28
24
|
require 'base64'
|
29
25
|
require 'dfp_api'
|
30
26
|
|
31
|
-
API_VERSION = :
|
27
|
+
API_VERSION = :v201508
|
32
28
|
|
33
29
|
def create_creative_from_template()
|
34
30
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -105,7 +101,7 @@ def create_creative_from_template()
|
|
105
101
|
url_variable_value, target_window_variable_value]
|
106
102
|
|
107
103
|
# Create the creatives on the server.
|
108
|
-
return_creative = creative_service.
|
104
|
+
return_creative = creative_service.create_creatives([creative])[0]
|
109
105
|
|
110
106
|
if return_creative
|
111
107
|
puts(("Template creative with ID: %d, name: %s and type '%s' was " +
|
@@ -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");
|
@@ -21,13 +19,11 @@
|
|
21
19
|
# This example creates new image creatives for a given advertiser. To determine
|
22
20
|
# which companies are advertisers, run get_companies_by_statement.rb. To
|
23
21
|
# determine which creatives already exist, run get_all_creatives.rb.
|
24
|
-
#
|
25
|
-
# Tags: CreativeService.createCreatives
|
26
22
|
|
27
23
|
require 'base64'
|
28
24
|
require 'dfp_api'
|
29
25
|
|
30
|
-
API_VERSION = :
|
26
|
+
API_VERSION = :v201508
|
31
27
|
# Number of creatives to create.
|
32
28
|
ITEM_COUNT = 5
|
33
29
|
|
@@ -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");
|
@@ -23,13 +21,11 @@
|
|
23
21
|
# determine which creatives already exist, run get_all_creatives.rb.
|
24
22
|
#
|
25
23
|
# This feature is only available to DFP premium solution networks.
|
26
|
-
#
|
27
|
-
# Tags: CreativeService.createCreative
|
28
24
|
|
29
25
|
require 'base64'
|
30
26
|
require 'dfp_api'
|
31
27
|
|
32
|
-
API_VERSION = :
|
28
|
+
API_VERSION = :v201508
|
33
29
|
|
34
30
|
def create_custom_creative()
|
35
31
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -0,0 +1,195 @@
|
|
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 creates a new native creative for a given advertiser. To
|
20
|
+
# determine which companies are advertisers, run get_companies_by_statement.rb.
|
21
|
+
# To determine which creatives already exist, run get_all_creatives.rb.
|
22
|
+
#
|
23
|
+
# The code in this example will use app data from the Google sample app
|
24
|
+
# 'Pie Noon':
|
25
|
+
#
|
26
|
+
# https://play.google.com/store/apps/details?id=com.google.fpl.pie_noon&hl=en
|
27
|
+
|
28
|
+
require 'base64'
|
29
|
+
require 'dfp_api'
|
30
|
+
|
31
|
+
API_VERSION = :v201508
|
32
|
+
|
33
|
+
def create_creative_from_template()
|
34
|
+
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
35
|
+
dfp = DfpApi::Api.new
|
36
|
+
|
37
|
+
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
38
|
+
# the configuration file or provide your own logger:
|
39
|
+
# dfp.logger = Logger.new('dfp_xml.log')
|
40
|
+
|
41
|
+
# Get the CreativeService.
|
42
|
+
creative_service = dfp.service(:CreativeService, API_VERSION)
|
43
|
+
|
44
|
+
# Set the ID of the advertiser (company) that all creatives will be assigned
|
45
|
+
# to.
|
46
|
+
advertiser_id = 'INSERT_ADVERTISER_COMPANY_ID_HERE'.to_i
|
47
|
+
|
48
|
+
# Set the URLs of the application screenshot and the small application icon to
|
49
|
+
# use and convert them to byte array strings.
|
50
|
+
screenshot_url = 'https://lh4.ggpht.com/GIGNKdGHMEHFDw6TM2bgAUDKPQQRIReKZPq' +
|
51
|
+
'EpMeEhZOPYnTdOQGaSpGSEZflIFs0iw=h300'
|
52
|
+
screenshot_data = AdsCommon::Http.get(screenshot_url, dfp.config)
|
53
|
+
screenshot_data_base64 = Base64.encode64(screenshot_data)
|
54
|
+
|
55
|
+
app_icon = 'https://lh6.ggpht.com/Jzvjne5CLs6fJ1MHF-XeuUfpABzl0YNMlp4' +
|
56
|
+
'RpHnvPRCIj4--eTDwtyouwUDzVVekXw=w300')
|
57
|
+
app_icon_data = AdsCommon::Http.get(app_icon, dfp.config)
|
58
|
+
app_icon_data_base64 = Base64.encode64(app_icon_data)
|
59
|
+
|
60
|
+
# Use the native creative template.
|
61
|
+
creative_template_id = 10004400
|
62
|
+
|
63
|
+
# Create the local custom creative object.
|
64
|
+
creative = {
|
65
|
+
:xsi_type => 'TemplateCreative',
|
66
|
+
:name => "Native creative %d" % Time.new.to_i,
|
67
|
+
:advertiser_id => advertiser_id,
|
68
|
+
:creative_template_id => creative_template_id,
|
69
|
+
:size => {:width => 1, :height => 1, :is_aspect_ratio => false},
|
70
|
+
:is_native_eligible => True,
|
71
|
+
:destination_url => 'https://play.google.com/store/apps/details?id=' +
|
72
|
+
'com.google.fpl.pie_noon'
|
73
|
+
}
|
74
|
+
|
75
|
+
# Create the Image asset variable value.
|
76
|
+
image_variable_value = {
|
77
|
+
:xsi_type => 'AssetCreativeTemplateVariableValue',
|
78
|
+
:unique_name => 'Image',
|
79
|
+
:asset_byte_array => screenshot_data_base64,
|
80
|
+
# Filenames must be unique.
|
81
|
+
:file_name => "image%d.png" % Time.new.to_i
|
82
|
+
}
|
83
|
+
|
84
|
+
# Create the Appicon asset variable value.
|
85
|
+
appicon_variable_value = {
|
86
|
+
:xsi_type => 'AssetCreativeTemplateVariableValue',
|
87
|
+
:unique_name => 'Appicon',
|
88
|
+
:asset_byte_array => app_icon_data_base64,
|
89
|
+
# Filenames must be unique.
|
90
|
+
:file_name => "image%d.png" % Time.new.to_i
|
91
|
+
}
|
92
|
+
|
93
|
+
# Create the Price variable value.
|
94
|
+
price_variable_value = {
|
95
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
96
|
+
:unique_name => 'Price',
|
97
|
+
:value => 'Free'
|
98
|
+
}
|
99
|
+
|
100
|
+
# Create the Calltoaction variable value.
|
101
|
+
calltoaction_variable_value = {
|
102
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
103
|
+
:unique_name => 'Calltoaction',
|
104
|
+
:value => 'Install'
|
105
|
+
}
|
106
|
+
|
107
|
+
# Create the Starrating variable value.
|
108
|
+
starrating_variable_value = {
|
109
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
110
|
+
:unique_name => 'Starrating',
|
111
|
+
:value => '4'
|
112
|
+
}
|
113
|
+
|
114
|
+
# Create the Store variable value.
|
115
|
+
store_variable_value = {
|
116
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
117
|
+
:unique_name => 'Store',
|
118
|
+
:value => 'Google Play'
|
119
|
+
}
|
120
|
+
|
121
|
+
# Create the Headline variable value.
|
122
|
+
headline_variable_value = {
|
123
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
124
|
+
:unique_name => 'Headline',
|
125
|
+
:value => 'Pie Noon'
|
126
|
+
}
|
127
|
+
|
128
|
+
# Create the Body variable value.
|
129
|
+
body_variable_value = {
|
130
|
+
:xsi_type => 'StringCreativeTemplateVariableValue',
|
131
|
+
:unique_name => 'Body',
|
132
|
+
:value => 'Try multi-screen mode!'
|
133
|
+
}
|
134
|
+
|
135
|
+
# Create the DeeplinkclickactionURL variable value.
|
136
|
+
deeplinkurl_variable_value = {
|
137
|
+
:xsi_type => 'UrlCreativeTemplateVariableValue',
|
138
|
+
:unique_name => 'DeeplinkclickactionURL',
|
139
|
+
:value => 'market://details?id=com.google.fpl.pie_noon'
|
140
|
+
}
|
141
|
+
|
142
|
+
# Create the FallbackclickactionURL variable value.
|
143
|
+
fallbackurl_variable_value= {
|
144
|
+
:xsi_type => 'UrlCreativeTemplateVariableValue',
|
145
|
+
:unique_name => 'FallbackclickactionURL',
|
146
|
+
:value => 'https://play.google.com/store/apps/details?id=' +
|
147
|
+
'com.google.fpl.pie_noon'
|
148
|
+
}
|
149
|
+
|
150
|
+
creative[:creative_template_variable_values] = [
|
151
|
+
fallbackurl_variable_value,
|
152
|
+
deeplinkurl_variable_value,
|
153
|
+
body_variable_value,
|
154
|
+
headline_variable_value,
|
155
|
+
store_variable_value,
|
156
|
+
starrating_variable_value,
|
157
|
+
calltoaction_variable_value,
|
158
|
+
price_variable_value,
|
159
|
+
appicon_variable_value,
|
160
|
+
image_variable_value
|
161
|
+
]
|
162
|
+
|
163
|
+
# Create the creatives on the server.
|
164
|
+
return_creative = creative_service.create_creatives([creative])[0]
|
165
|
+
|
166
|
+
if return_creative
|
167
|
+
puts(("Native creative with ID: %d and name: %s was " +
|
168
|
+
"created and can be previewed at: '%s'") %
|
169
|
+
[return_creative[:id], return_creative[:name],
|
170
|
+
return_creative[:preview_url]])
|
171
|
+
else
|
172
|
+
raise 'No creatives were created.'
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
if __FILE__ == $0
|
177
|
+
begin
|
178
|
+
create_creative_from_template()
|
179
|
+
|
180
|
+
# HTTP errors.
|
181
|
+
rescue AdsCommon::Errors::HttpError => e
|
182
|
+
puts "HTTP Error: %s" % e
|
183
|
+
|
184
|
+
# API errors.
|
185
|
+
rescue DfpApi::Errors::ApiException => e
|
186
|
+
puts "Message: %s" % e.message
|
187
|
+
puts 'Errors:'
|
188
|
+
e.errors.each_with_index do |error, index|
|
189
|
+
puts "\tError [%d]:" % (index + 1)
|
190
|
+
error.each do |field, value|
|
191
|
+
puts "\t\t%s: %s" % [field, value]
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
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 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -19,13 +17,11 @@
|
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
19
|
# This example gets all creatives. To create creatives, run create_creatives.rb.
|
22
|
-
#
|
23
|
-
# Tags: CreativeService.getCreativesByStatement
|
24
20
|
|
25
21
|
require 'dfp_api'
|
22
|
+
require 'dfp_api_statement'
|
26
23
|
|
27
|
-
API_VERSION = :
|
28
|
-
PAGE_SIZE = 500
|
24
|
+
API_VERSION = :v201508
|
29
25
|
|
30
26
|
def get_all_creatives()
|
31
27
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -38,33 +34,23 @@ def get_all_creatives()
|
|
38
34
|
# Get the CreativeService.
|
39
35
|
creative_service = dfp.service(:CreativeService, API_VERSION)
|
40
36
|
|
41
|
-
#
|
42
|
-
|
43
|
-
page = {}
|
37
|
+
# Create a statement to get one page with current offset.
|
38
|
+
statement = DfpApiStatement::FilterStatement.new('ORDER BY id ASC')
|
44
39
|
|
45
40
|
begin
|
46
|
-
# Create a statement to get one page with current offset.
|
47
|
-
statement = {:query => "ORDER BY id ASC LIMIT %d OFFSET %d" %
|
48
|
-
[PAGE_SIZE, offset]}
|
49
|
-
|
50
41
|
# Get creatives by statement.
|
51
|
-
page = creative_service.get_creatives_by_statement(statement)
|
42
|
+
page = creative_service.get_creatives_by_statement(statement.toStatement())
|
52
43
|
|
53
44
|
if page[:results]
|
54
|
-
# Increase query offset by page size.
|
55
|
-
offset += PAGE_SIZE
|
56
|
-
|
57
|
-
# Get the start index for printout.
|
58
|
-
start_index = page[:start_index]
|
59
|
-
|
60
45
|
# Print details about each creative in results.
|
61
46
|
page[:results].each_with_index do |creative, index|
|
62
47
|
puts "%d) Creative ID: %d, name: %s, type: %s" %
|
63
|
-
[index +
|
48
|
+
[index + statement.offset, creative[:id],
|
64
49
|
creative[:name], creative[:creative_type]]
|
65
50
|
end
|
66
51
|
end
|
67
|
-
|
52
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
53
|
+
end while statement.offset < page[:total_result_set_size]
|
68
54
|
|
69
55
|
# Print a footer.
|
70
56
|
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");
|
@@ -21,12 +19,11 @@
|
|
21
19
|
# This example gets all image creatives. The statement retrieves up to the
|
22
20
|
# maximum page size limit of 500. To create an image creative, run
|
23
21
|
# create_creatives.rb.
|
24
|
-
#
|
25
|
-
# Tags: CreativeService.getCreativesByStatement
|
26
22
|
|
27
23
|
require 'dfp_api'
|
24
|
+
require 'dfp_api_statement'
|
28
25
|
|
29
|
-
API_VERSION = :
|
26
|
+
API_VERSION = :v201508
|
30
27
|
|
31
28
|
def get_creatives_by_statement()
|
32
29
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -40,24 +37,28 @@ def get_creatives_by_statement()
|
|
40
37
|
creative_service = dfp.service(:CreativeService, API_VERSION)
|
41
38
|
|
42
39
|
# Create a statement to only select image creatives.
|
43
|
-
statement =
|
44
|
-
|
45
|
-
|
40
|
+
statement = DfpApiStatement::FilterStatement.new(
|
41
|
+
'WHERE creativeType = :creative_type ORDER BY id ASC',
|
42
|
+
[
|
46
43
|
{:key => 'creative_type',
|
47
44
|
:value => {:value => 'ImageCreative', :xsi_type => 'TextValue'}}
|
48
45
|
]
|
49
|
-
|
46
|
+
)
|
50
47
|
|
51
|
-
|
52
|
-
|
48
|
+
begin
|
49
|
+
# Get creatives by statement.
|
50
|
+
page = creative_service.get_creatives_by_statement(statement.toStatement())
|
53
51
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
52
|
+
if page[:results]
|
53
|
+
# Print details about each creative in results.
|
54
|
+
page[:results].each_with_index do |creative, index|
|
55
|
+
puts "%d) Creative ID: %d, name: %s, type: %s" %
|
56
|
+
[index + statement.offset,
|
57
|
+
creative[:id], creative[:name], creative[:creative_type]]
|
58
|
+
end
|
59
59
|
end
|
60
|
-
|
60
|
+
statement.offset += DfpApiStatement::SUGGESTED_PAGE_LIMIT
|
61
|
+
end while statement.offset < page[:total_result_set_size]
|
61
62
|
|
62
63
|
# Print a footer.
|
63
64
|
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,14 +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 the destination URL of
|
22
|
-
#
|
23
|
-
#
|
24
|
-
# Tags: CreativeService.getCreativesByStatement, CreativeService.updateCreatives
|
19
|
+
# This example updates the destination URL of a single creative searching by ID.
|
20
|
+
# To determine which image creatives exist, run get_all_creatives.rb.
|
25
21
|
|
26
22
|
require 'dfp_api'
|
23
|
+
require 'dfp_api_statement'
|
27
24
|
|
28
|
-
API_VERSION = :
|
25
|
+
API_VERSION = :v201508
|
29
26
|
|
30
27
|
def update_creatives()
|
31
28
|
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
|
@@ -38,17 +35,21 @@ def update_creatives()
|
|
38
35
|
# Get the CreativeService.
|
39
36
|
creative_service = dfp.service(:CreativeService, API_VERSION)
|
40
37
|
|
38
|
+
# Specify creative ID to update.
|
39
|
+
creative_id = 'INSERT_CREATIVE_ID_HERE'.to_i
|
40
|
+
|
41
41
|
# Create a statement to get first 500 image creatives.
|
42
|
-
statement =
|
43
|
-
|
44
|
-
|
45
|
-
{:key => '
|
46
|
-
:value => {:value =>
|
47
|
-
]
|
48
|
-
|
42
|
+
statement = DfpApiStatement::FilterStatement.new(
|
43
|
+
'WHERE id = :id ORDER BY id ASC',
|
44
|
+
[
|
45
|
+
{:key => 'id',
|
46
|
+
:value => {:value => creative_id, :xsi_type => 'NumberValue'}}
|
47
|
+
],
|
48
|
+
1
|
49
|
+
)
|
49
50
|
|
50
51
|
# Get creatives by statement.
|
51
|
-
page = creative_service.get_creatives_by_statement(statement)
|
52
|
+
page = creative_service.get_creatives_by_statement(statement.toStatement())
|
52
53
|
|
53
54
|
if page[:results]
|
54
55
|
creatives = page[:results]
|