google-dfp-api 0.10.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +10 -0
- data/README.md +3 -4
- data/dfp_api.yml +3 -0
- data/examples/v201502/activity_group_service/get_active_activity_groups.rb +3 -3
- data/examples/v201502/activity_group_service/get_all_activity_groups.rb +4 -4
- data/examples/v201502/activity_group_service/update_activity_groups.rb +2 -1
- data/examples/v201502/activity_service/get_active_activities.rb +3 -3
- data/examples/v201502/activity_service/get_all_activities.rb +3 -3
- data/examples/v201502/activity_service/update_activities.rb +2 -2
- data/examples/v201502/audience_segment_service/get_all_audience_segments.rb +3 -3
- data/examples/v201502/audience_segment_service/get_first_party_audience_segments.rb +3 -3
- data/examples/v201502/audience_segment_service/populate_first_party_audience_segments.rb +2 -2
- data/examples/v201502/audience_segment_service/update_audience_segments.rb +2 -2
- data/examples/v201502/common/oauth2_jwt_handling.rb +3 -3
- data/examples/v201502/company_service/get_all_companies.rb +3 -3
- data/examples/v201502/company_service/get_companies_by_statement.rb +3 -3
- data/examples/v201502/company_service/update_companies.rb +2 -2
- data/examples/v201502/contact_service/get_all_contacts.rb +3 -3
- data/examples/v201502/contact_service/get_uninvited_contacts.rb +3 -3
- data/examples/v201502/contact_service/update_contacts.rb +2 -2
- data/examples/v201502/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201502/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +3 -3
- data/examples/v201502/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201502/content_service/get_all_content.rb +3 -3
- data/examples/v201502/content_service/get_content_by_category.rb +4 -4
- data/examples/v201502/creative_service/copy_image_creatives.rb +2 -2
- data/examples/v201502/creative_service/get_all_creatives.rb +3 -3
- data/examples/v201502/creative_service/get_creatives_by_statement.rb +3 -3
- data/examples/v201502/creative_service/update_creatives.rb +2 -2
- data/examples/v201502/creative_set_service/get_all_creative_sets.rb +3 -3
- data/examples/v201502/creative_set_service/get_creative_sets_by_statement.rb +3 -3
- data/examples/v201502/creative_set_service/update_creative_sets.rb +2 -2
- data/examples/v201502/creative_template_service/get_all_creative_templates.rb +3 -3
- data/examples/v201502/creative_template_service/get_system_defined_creative_templates.rb +3 -3
- data/examples/v201502/creative_wrapper_service/deactivate_creative_wrapper.rb +2 -2
- data/examples/v201502/creative_wrapper_service/get_all_creative_wrappers.rb +3 -3
- data/examples/v201502/creative_wrapper_service/get_creative_wrappers_by_statement.rb +3 -3
- data/examples/v201502/creative_wrapper_service/update_creative_wrappers.rb +2 -2
- data/examples/v201502/custom_field_service/deactivate_all_line_item_custom_fields.rb +3 -3
- data/examples/v201502/custom_field_service/get_all_custom_fields.rb +3 -3
- data/examples/v201502/custom_field_service/get_all_line_item_custom_fields.rb +3 -3
- data/examples/v201502/custom_field_service/set_line_item_custom_field_value.rb +4 -4
- data/examples/v201502/custom_field_service/update_custom_fields.rb +2 -2
- data/examples/v201502/custom_targeting_service/delete_custom_targeting_keys.rb +4 -4
- data/examples/v201502/custom_targeting_service/delete_custom_targeting_values.rb +4 -4
- data/examples/v201502/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +5 -5
- data/examples/v201502/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +3 -3
- data/examples/v201502/custom_targeting_service/get_custom_targeting_values_by_statement.rb +3 -3
- data/examples/v201502/custom_targeting_service/update_custom_targeting_keys.rb +2 -2
- data/examples/v201502/custom_targeting_service/update_custom_targeting_values.rb +3 -3
- data/examples/v201502/inventory_service/deactivate_ad_units.rb +4 -4
- data/examples/v201502/inventory_service/get_ad_unit_sizes.rb +2 -2
- data/examples/v201502/inventory_service/get_ad_units_by_statement.rb +3 -3
- data/examples/v201502/inventory_service/get_all_ad_units.rb +3 -3
- data/examples/v201502/inventory_service/update_ad_units.rb +2 -1
- data/examples/v201502/label_service/deactivate_labels.rb +4 -4
- data/examples/v201502/label_service/get_all_labels.rb +3 -3
- data/examples/v201502/label_service/get_labels_by_statement.rb +3 -3
- data/examples/v201502/label_service/update_labels.rb +2 -2
- data/examples/v201502/line_item_creative_association_service/deactivate_licas.rb +4 -4
- data/examples/v201502/line_item_creative_association_service/get_all_licas.rb +3 -3
- data/examples/v201502/line_item_creative_association_service/get_licas_by_statement.rb +2 -2
- data/examples/v201502/line_item_creative_association_service/update_licas.rb +2 -1
- data/examples/v201502/line_item_service/activate_line_items.rb +4 -4
- data/examples/v201502/line_item_service/get_all_line_items.rb +3 -3
- data/examples/v201502/line_item_service/get_line_items_by_statement.rb +3 -3
- data/examples/v201502/line_item_service/get_recently_updated_line_items.rb +3 -3
- data/examples/v201502/line_item_service/target_custom_criteria.rb +3 -3
- data/examples/v201502/line_item_service/update_line_items.rb +2 -1
- data/examples/v201502/order_service/approve_orders.rb +4 -3
- data/examples/v201502/order_service/get_all_orders.rb +3 -3
- data/examples/v201502/order_service/get_orders_by_statement.rb +3 -3
- data/examples/v201502/order_service/update_orders.rb +2 -2
- data/examples/v201502/placement_service/create_placements.rb +2 -2
- data/examples/v201502/placement_service/deactivate_placements.rb +3 -2
- data/examples/v201502/placement_service/get_all_placements.rb +3 -3
- data/examples/v201502/placement_service/get_placements_by_statement.rb +3 -3
- data/examples/v201502/placement_service/update_placements.rb +2 -2
- data/examples/v201502/publisher_query_language_service/fetch_match_tables.rb +4 -4
- data/examples/v201502/publisher_query_language_service/get_all_line_items.rb +4 -4
- data/examples/v201502/publisher_query_language_service/get_geo_targets.rb +4 -4
- data/examples/v201502/publisher_query_language_service/get_line_items_named_like.rb +4 -4
- data/examples/v201502/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +3 -3
- data/examples/v201502/suggested_ad_unit_service/get_all_suggested_ad_units.rb +3 -3
- data/examples/v201502/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +3 -3
- data/examples/v201502/team_service/get_all_teams.rb +3 -3
- data/examples/v201502/team_service/get_teams_by_statement.rb +3 -3
- data/examples/v201502/team_service/update_teams.rb +2 -2
- data/examples/v201502/user_service/deactivate_users.rb +2 -1
- data/examples/v201502/user_service/get_all_users.rb +3 -3
- data/examples/v201502/user_service/get_users_by_statement.rb +3 -3
- data/examples/v201502/user_service/update_users.rb +2 -2
- data/examples/v201502/user_team_association_service/delete_user_team_associations.rb +3 -3
- data/examples/v201502/user_team_association_service/get_all_user_team_associations.rb +3 -3
- data/examples/v201502/user_team_association_service/get_user_team_associations_by_statement.rb +3 -3
- data/examples/v201502/user_team_association_service/update_user_team_associations.rb +2 -2
- data/examples/v201505/activity_group_service/get_active_activity_groups.rb +3 -3
- data/examples/v201505/activity_group_service/get_all_activity_groups.rb +4 -4
- data/examples/v201505/activity_group_service/update_activity_groups.rb +2 -1
- data/examples/v201505/activity_service/get_active_activities.rb +3 -3
- data/examples/v201505/activity_service/get_all_activities.rb +3 -3
- data/examples/v201505/activity_service/update_activities.rb +2 -2
- data/examples/v201505/audience_segment_service/get_all_audience_segments.rb +3 -3
- data/examples/v201505/audience_segment_service/get_first_party_audience_segments.rb +3 -3
- data/examples/v201505/audience_segment_service/populate_first_party_audience_segments.rb +2 -2
- data/examples/v201505/audience_segment_service/update_audience_segments.rb +2 -2
- data/examples/v201505/common/oauth2_jwt_handling.rb +3 -3
- data/examples/v201505/company_service/get_all_companies.rb +3 -3
- data/examples/v201505/company_service/get_companies_by_statement.rb +3 -3
- data/examples/v201505/company_service/update_companies.rb +2 -2
- data/examples/v201505/contact_service/get_all_contacts.rb +3 -3
- data/examples/v201505/contact_service/get_uninvited_contacts.rb +3 -3
- data/examples/v201505/contact_service/update_contacts.rb +2 -2
- data/examples/v201505/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201505/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +3 -3
- data/examples/v201505/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201505/content_service/get_all_content.rb +3 -3
- data/examples/v201505/content_service/get_content_by_category.rb +4 -4
- data/examples/v201505/creative_service/copy_image_creatives.rb +2 -2
- data/examples/v201505/creative_service/get_all_creatives.rb +3 -3
- data/examples/v201505/creative_service/get_creatives_by_statement.rb +3 -3
- data/examples/v201505/creative_service/update_creatives.rb +2 -2
- data/examples/v201505/creative_set_service/get_all_creative_sets.rb +3 -3
- data/examples/v201505/creative_set_service/get_creative_sets_by_statement.rb +3 -3
- data/examples/v201505/creative_set_service/update_creative_sets.rb +2 -2
- data/examples/v201505/creative_template_service/get_all_creative_templates.rb +3 -3
- data/examples/v201505/creative_template_service/get_system_defined_creative_templates.rb +3 -3
- data/examples/v201505/creative_wrapper_service/deactivate_creative_wrapper.rb +2 -2
- data/examples/v201505/creative_wrapper_service/get_all_creative_wrappers.rb +3 -3
- data/examples/v201505/creative_wrapper_service/get_creative_wrappers_by_statement.rb +3 -3
- data/examples/v201505/creative_wrapper_service/update_creative_wrappers.rb +2 -2
- data/examples/v201505/custom_field_service/deactivate_all_line_item_custom_fields.rb +3 -3
- data/examples/v201505/custom_field_service/get_all_custom_fields.rb +3 -3
- data/examples/v201505/custom_field_service/get_all_line_item_custom_fields.rb +3 -3
- data/examples/v201505/custom_field_service/set_line_item_custom_field_value.rb +4 -4
- data/examples/v201505/custom_field_service/update_custom_fields.rb +2 -2
- data/examples/v201505/custom_targeting_service/delete_custom_targeting_keys.rb +4 -4
- data/examples/v201505/custom_targeting_service/delete_custom_targeting_values.rb +4 -4
- data/examples/v201505/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +5 -5
- data/examples/v201505/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +3 -3
- data/examples/v201505/custom_targeting_service/get_custom_targeting_values_by_statement.rb +3 -3
- data/examples/v201505/custom_targeting_service/update_custom_targeting_keys.rb +2 -2
- data/examples/v201505/custom_targeting_service/update_custom_targeting_values.rb +3 -3
- data/examples/v201505/inventory_service/deactivate_ad_units.rb +4 -4
- data/examples/v201505/inventory_service/get_ad_unit_sizes.rb +2 -2
- data/examples/v201505/inventory_service/get_ad_units_by_statement.rb +3 -3
- data/examples/v201505/inventory_service/get_all_ad_units.rb +3 -3
- data/examples/v201505/inventory_service/update_ad_units.rb +2 -1
- data/examples/v201505/label_service/deactivate_labels.rb +4 -4
- data/examples/v201505/label_service/get_all_labels.rb +3 -3
- data/examples/v201505/label_service/get_labels_by_statement.rb +3 -3
- data/examples/v201505/label_service/update_labels.rb +2 -2
- data/examples/v201505/line_item_creative_association_service/deactivate_licas.rb +4 -4
- data/examples/v201505/line_item_creative_association_service/get_all_licas.rb +3 -3
- data/examples/v201505/line_item_creative_association_service/get_licas_by_statement.rb +2 -2
- data/examples/v201505/line_item_creative_association_service/update_licas.rb +2 -1
- data/examples/v201505/line_item_service/activate_line_items.rb +4 -4
- data/examples/v201505/line_item_service/get_all_line_items.rb +3 -3
- data/examples/v201505/line_item_service/get_line_items_by_statement.rb +3 -3
- data/examples/v201505/line_item_service/get_recently_updated_line_items.rb +3 -3
- data/examples/v201505/line_item_service/target_custom_criteria.rb +3 -3
- data/examples/v201505/line_item_service/update_line_items.rb +2 -1
- data/examples/v201505/order_service/approve_orders.rb +4 -3
- data/examples/v201505/order_service/get_all_orders.rb +3 -3
- data/examples/v201505/order_service/get_orders_by_statement.rb +3 -3
- data/examples/v201505/order_service/update_orders.rb +2 -2
- data/examples/v201505/placement_service/create_placements.rb +2 -2
- data/examples/v201505/placement_service/deactivate_placements.rb +3 -2
- data/examples/v201505/placement_service/get_all_placements.rb +3 -3
- data/examples/v201505/placement_service/get_placements_by_statement.rb +3 -3
- data/examples/v201505/placement_service/update_placements.rb +2 -2
- data/examples/v201505/publisher_query_language_service/fetch_match_tables.rb +4 -4
- data/examples/v201505/publisher_query_language_service/get_all_line_items.rb +4 -4
- data/examples/v201505/publisher_query_language_service/get_geo_targets.rb +4 -4
- data/examples/v201505/publisher_query_language_service/get_line_items_named_like.rb +4 -4
- data/examples/v201505/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +3 -3
- data/examples/v201505/suggested_ad_unit_service/get_all_suggested_ad_units.rb +3 -3
- data/examples/v201505/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +3 -3
- data/examples/v201505/team_service/get_all_teams.rb +3 -3
- data/examples/v201505/team_service/get_teams_by_statement.rb +3 -3
- data/examples/v201505/team_service/update_teams.rb +2 -2
- data/examples/v201505/user_service/deactivate_users.rb +2 -1
- data/examples/v201505/user_service/get_all_users.rb +3 -3
- data/examples/v201505/user_service/get_users_by_statement.rb +3 -3
- data/examples/v201505/user_service/update_users.rb +2 -2
- data/examples/v201505/user_team_association_service/delete_user_team_associations.rb +3 -3
- data/examples/v201505/user_team_association_service/get_all_user_team_associations.rb +3 -3
- data/examples/v201505/user_team_association_service/get_user_team_associations_by_statement.rb +3 -3
- data/examples/v201505/user_team_association_service/update_user_team_associations.rb +2 -2
- data/examples/v201508/activity_group_service/get_active_activity_groups.rb +3 -3
- data/examples/v201508/activity_group_service/get_all_activity_groups.rb +4 -4
- data/examples/v201508/activity_group_service/update_activity_groups.rb +2 -1
- data/examples/v201508/activity_service/get_active_activities.rb +3 -3
- data/examples/v201508/activity_service/get_all_activities.rb +3 -3
- data/examples/v201508/activity_service/update_activities.rb +2 -2
- data/examples/v201508/audience_segment_service/get_all_audience_segments.rb +3 -3
- data/examples/v201508/audience_segment_service/get_first_party_audience_segments.rb +3 -3
- data/examples/v201508/audience_segment_service/populate_first_party_audience_segments.rb +2 -2
- data/examples/v201508/audience_segment_service/update_audience_segments.rb +2 -2
- data/examples/v201508/common/oauth2_jwt_handling.rb +3 -3
- data/examples/v201508/company_service/create_companies.rb +2 -1
- data/examples/v201508/company_service/get_all_companies.rb +3 -3
- data/examples/v201508/company_service/get_companies_by_statement.rb +3 -3
- data/examples/v201508/company_service/update_companies.rb +2 -2
- data/examples/v201508/contact_service/get_all_contacts.rb +3 -3
- data/examples/v201508/contact_service/get_uninvited_contacts.rb +3 -3
- data/examples/v201508/contact_service/update_contacts.rb +2 -2
- data/examples/v201508/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201508/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +3 -3
- data/examples/v201508/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +2 -2
- data/examples/v201508/content_service/get_all_content.rb +3 -3
- data/examples/v201508/content_service/get_content_by_category.rb +4 -4
- data/examples/v201508/creative_service/copy_image_creatives.rb +2 -2
- data/examples/v201508/creative_service/create_native_creative.rb +0 -10
- data/examples/v201508/creative_service/get_all_creatives.rb +3 -3
- data/examples/v201508/creative_service/get_creatives_by_statement.rb +3 -3
- data/examples/v201508/creative_service/update_creatives.rb +2 -2
- data/examples/v201508/creative_set_service/get_all_creative_sets.rb +3 -3
- data/examples/v201508/creative_set_service/get_creative_sets_by_statement.rb +3 -3
- data/examples/v201508/creative_set_service/update_creative_sets.rb +2 -2
- data/examples/v201508/creative_template_service/get_all_creative_templates.rb +3 -3
- data/examples/v201508/creative_template_service/get_system_defined_creative_templates.rb +3 -3
- data/examples/v201508/creative_wrapper_service/deactivate_creative_wrapper.rb +2 -2
- data/examples/v201508/creative_wrapper_service/get_all_creative_wrappers.rb +3 -3
- data/examples/v201508/creative_wrapper_service/get_creative_wrappers_by_statement.rb +3 -3
- data/examples/v201508/creative_wrapper_service/update_creative_wrappers.rb +2 -2
- data/examples/v201508/custom_field_service/deactivate_all_line_item_custom_fields.rb +3 -3
- data/examples/v201508/custom_field_service/get_all_custom_fields.rb +3 -3
- data/examples/v201508/custom_field_service/get_all_line_item_custom_fields.rb +3 -3
- data/examples/v201508/custom_field_service/set_line_item_custom_field_value.rb +4 -4
- data/examples/v201508/custom_field_service/update_custom_fields.rb +2 -2
- data/examples/v201508/custom_targeting_service/delete_custom_targeting_keys.rb +4 -4
- data/examples/v201508/custom_targeting_service/delete_custom_targeting_values.rb +4 -4
- data/examples/v201508/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +5 -5
- data/examples/v201508/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +3 -3
- data/examples/v201508/custom_targeting_service/get_custom_targeting_values_by_statement.rb +3 -3
- data/examples/v201508/custom_targeting_service/update_custom_targeting_keys.rb +2 -2
- data/examples/v201508/custom_targeting_service/update_custom_targeting_values.rb +3 -3
- data/examples/v201508/inventory_service/deactivate_ad_units.rb +4 -4
- data/examples/v201508/inventory_service/get_ad_unit_sizes.rb +2 -2
- data/examples/v201508/inventory_service/get_ad_units_by_statement.rb +3 -3
- data/examples/v201508/inventory_service/get_all_ad_units.rb +3 -3
- data/examples/v201508/inventory_service/update_ad_units.rb +2 -1
- data/examples/v201508/label_service/deactivate_labels.rb +4 -4
- data/examples/v201508/label_service/get_all_labels.rb +3 -3
- data/examples/v201508/label_service/get_labels_by_statement.rb +3 -3
- data/examples/v201508/label_service/update_labels.rb +2 -2
- data/examples/v201508/line_item_creative_association_service/deactivate_licas.rb +4 -4
- data/examples/v201508/line_item_creative_association_service/get_all_licas.rb +3 -3
- data/examples/v201508/line_item_creative_association_service/get_licas_by_statement.rb +2 -2
- data/examples/v201508/line_item_creative_association_service/update_licas.rb +2 -1
- data/examples/v201508/line_item_service/activate_line_items.rb +4 -4
- data/examples/v201508/line_item_service/get_all_line_items.rb +3 -3
- data/examples/v201508/line_item_service/get_line_items_by_statement.rb +3 -3
- data/examples/v201508/line_item_service/get_recently_updated_line_items.rb +3 -3
- data/examples/v201508/line_item_service/target_custom_criteria.rb +3 -3
- data/examples/v201508/line_item_service/update_line_items.rb +2 -1
- data/examples/v201508/order_service/approve_orders.rb +4 -3
- data/examples/v201508/order_service/get_all_orders.rb +3 -3
- data/examples/v201508/order_service/get_orders_by_statement.rb +3 -3
- data/examples/v201508/order_service/update_orders.rb +2 -2
- data/examples/v201508/placement_service/create_placements.rb +2 -2
- data/examples/v201508/placement_service/deactivate_placements.rb +3 -2
- data/examples/v201508/placement_service/get_all_placements.rb +3 -3
- data/examples/v201508/placement_service/get_placements_by_statement.rb +3 -3
- data/examples/v201508/placement_service/update_placements.rb +2 -2
- data/examples/v201508/publisher_query_language_service/fetch_match_tables.rb +4 -4
- data/examples/v201508/publisher_query_language_service/get_all_line_items.rb +4 -4
- data/examples/v201508/publisher_query_language_service/get_geo_targets.rb +4 -4
- data/examples/v201508/publisher_query_language_service/get_line_items_named_like.rb +4 -4
- data/examples/v201508/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +3 -3
- data/examples/v201508/suggested_ad_unit_service/get_all_suggested_ad_units.rb +3 -3
- data/examples/v201508/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +3 -3
- data/examples/v201508/team_service/get_all_teams.rb +3 -3
- data/examples/v201508/team_service/get_teams_by_statement.rb +3 -3
- data/examples/v201508/team_service/update_teams.rb +2 -2
- data/examples/v201508/user_service/deactivate_users.rb +2 -1
- data/examples/v201508/user_service/get_all_users.rb +3 -3
- data/examples/v201508/user_service/get_users_by_statement.rb +3 -3
- data/examples/v201508/user_service/update_users.rb +2 -2
- data/examples/v201508/user_team_association_service/delete_user_team_associations.rb +3 -3
- data/examples/v201508/user_team_association_service/get_all_user_team_associations.rb +3 -3
- data/examples/v201508/user_team_association_service/get_user_team_associations_by_statement.rb +3 -3
- data/examples/v201508/user_team_association_service/update_user_team_associations.rb +2 -2
- data/examples/{v201411 → v201511}/activity_group_service/create_activity_groups.rb +1 -1
- data/examples/{v201411 → v201511}/activity_group_service/get_active_activity_groups.rb +4 -4
- data/examples/{v201411 → v201511}/activity_group_service/get_all_activity_groups.rb +5 -5
- data/examples/{v201411 → v201511}/activity_group_service/update_activity_groups.rb +3 -2
- data/examples/{v201411 → v201511}/activity_service/create_activities.rb +1 -1
- data/examples/{v201411 → v201511}/activity_service/get_active_activities.rb +4 -4
- data/examples/{v201411 → v201511}/activity_service/get_all_activities.rb +4 -4
- data/examples/{v201411 → v201511}/activity_service/update_activities.rb +3 -3
- data/examples/{v201411 → v201511}/audience_segment_service/create_audience_segments.rb +1 -1
- data/examples/{v201411 → v201511}/audience_segment_service/get_all_audience_segments.rb +4 -4
- data/examples/{v201411 → v201511}/audience_segment_service/get_first_party_audience_segments.rb +4 -4
- data/examples/{v201411 → v201511}/audience_segment_service/populate_first_party_audience_segments.rb +3 -3
- data/examples/{v201411 → v201511}/audience_segment_service/update_audience_segments.rb +3 -3
- data/examples/{v201411 → v201511}/common/error_handling.rb +1 -1
- data/examples/{v201411 → v201511}/common/oauth2_jwt_handling.rb +4 -4
- data/examples/{v201411 → v201511}/common/setup_oauth2.rb +1 -1
- data/examples/{v201411 → v201511}/company_service/create_companies.rb +3 -2
- data/examples/{v201411 → v201511}/company_service/get_all_companies.rb +4 -4
- data/examples/{v201411 → v201511}/company_service/get_companies_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/company_service/update_companies.rb +3 -3
- data/examples/{v201411 → v201511}/contact_service/create_contacts.rb +1 -1
- data/examples/{v201411 → v201511}/contact_service/get_all_contacts.rb +4 -4
- data/examples/{v201411 → v201511}/contact_service/get_uninvited_contacts.rb +4 -4
- data/examples/{v201411 → v201511}/contact_service/update_contacts.rb +3 -3
- data/examples/{v201411 → v201511}/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +1 -1
- data/examples/{v201411 → v201511}/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +3 -3
- data/examples/{v201411 → v201511}/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +4 -4
- data/examples/{v201411 → v201511}/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +3 -3
- data/examples/{v201411 → v201511}/content_service/get_all_content.rb +4 -4
- data/examples/{v201411 → v201511}/content_service/get_content_by_category.rb +5 -5
- data/examples/{v201411 → v201511}/creative_service/copy_image_creatives.rb +3 -3
- data/examples/{v201411 → v201511}/creative_service/create_creative_from_template.rb +1 -1
- data/examples/{v201411 → v201511}/creative_service/create_creatives.rb +1 -1
- data/examples/{v201411 → v201511}/creative_service/create_custom_creative.rb +9 -6
- data/examples/v201511/creative_service/create_native_creative.rb +189 -0
- data/examples/{v201411 → v201511}/creative_service/get_all_creatives.rb +4 -4
- data/examples/{v201411 → v201511}/creative_service/get_creatives_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/creative_service/update_creatives.rb +3 -3
- data/examples/{v201411 → v201511}/creative_set_service/associate_creative_set_to_line_item.rb +1 -1
- data/examples/{v201411 → v201511}/creative_set_service/create_creative_set.rb +1 -1
- data/examples/{v201411 → v201511}/creative_set_service/get_all_creative_sets.rb +4 -4
- data/examples/{v201411 → v201511}/creative_set_service/get_creative_sets_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/creative_set_service/update_creative_sets.rb +3 -3
- data/examples/{v201411 → v201511}/creative_template_service/get_all_creative_templates.rb +4 -4
- data/examples/{v201411 → v201511}/creative_template_service/get_system_defined_creative_templates.rb +4 -4
- data/examples/{v201411 → v201511}/creative_wrapper_service/create_creative_wrappers.rb +1 -1
- data/examples/{v201411 → v201511}/creative_wrapper_service/deactivate_creative_wrapper.rb +3 -3
- data/examples/{v201411 → v201511}/creative_wrapper_service/get_all_creative_wrappers.rb +4 -4
- data/examples/{v201411 → v201511}/creative_wrapper_service/get_creative_wrappers_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/creative_wrapper_service/update_creative_wrappers.rb +3 -3
- data/examples/{v201411 → v201511}/custom_field_service/create_custom_field_options.rb +1 -1
- data/examples/{v201411 → v201511}/custom_field_service/create_custom_fields.rb +1 -1
- data/examples/{v201411 → v201511}/custom_field_service/deactivate_all_line_item_custom_fields.rb +4 -4
- data/examples/{v201411 → v201511}/custom_field_service/get_all_custom_fields.rb +4 -4
- data/examples/{v201411 → v201511}/custom_field_service/get_all_line_item_custom_fields.rb +4 -4
- data/examples/{v201411 → v201511}/custom_field_service/set_line_item_custom_field_value.rb +5 -5
- data/examples/{v201411 → v201511}/custom_field_service/update_custom_fields.rb +3 -3
- data/examples/{v201411 → v201511}/custom_targeting_service/create_custom_targeting_keys_and_values.rb +1 -1
- data/examples/{v201411 → v201511}/custom_targeting_service/delete_custom_targeting_keys.rb +5 -5
- data/examples/{v201411 → v201511}/custom_targeting_service/delete_custom_targeting_values.rb +5 -5
- data/examples/{v201411 → v201511}/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +6 -6
- data/examples/{v201411 → v201511}/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/custom_targeting_service/get_custom_targeting_values_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/custom_targeting_service/update_custom_targeting_keys.rb +3 -3
- data/examples/{v201411 → v201511}/custom_targeting_service/update_custom_targeting_values.rb +4 -4
- data/examples/{v201411/forecast_service/get_forecast.rb → v201511/forecast_service/get_availability_forecast.rb} +43 -16
- data/examples/{v201411/forecast_service/get_forecast_by_id.rb → v201511/forecast_service/get_availability_forecast_for_line_item.rb} +17 -10
- data/examples/v201511/forecast_service/get_delivery_forecast_for_line_items.rb +77 -0
- data/examples/{v201411 → v201511}/inventory_service/create_ad_units.rb +1 -1
- data/examples/{v201411 → v201511}/inventory_service/create_mobile_ad_unit.rb +1 -1
- data/examples/{v201411 → v201511}/inventory_service/create_video_ad_unit.rb +1 -1
- data/examples/{v201411 → v201511}/inventory_service/deactivate_ad_units.rb +5 -5
- data/examples/{v201411 → v201511}/inventory_service/get_ad_unit_sizes.rb +3 -3
- data/examples/{v201411 → v201511}/inventory_service/get_ad_units_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/inventory_service/get_all_ad_units.rb +4 -4
- data/examples/{v201411 → v201511}/inventory_service/update_ad_units.rb +3 -2
- data/examples/{v201411 → v201511}/label_service/create_labels.rb +1 -1
- data/examples/{v201411 → v201511}/label_service/deactivate_labels.rb +5 -5
- data/examples/{v201411 → v201511}/label_service/get_all_labels.rb +4 -4
- data/examples/{v201411 → v201511}/label_service/get_labels_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/label_service/update_labels.rb +3 -3
- data/examples/{v201411 → v201511}/line_item_creative_association_service/create_licas.rb +1 -1
- data/examples/{v201411 → v201511}/line_item_creative_association_service/deactivate_licas.rb +5 -5
- data/examples/{v201411 → v201511}/line_item_creative_association_service/get_all_licas.rb +4 -4
- data/examples/{v201411 → v201511}/line_item_creative_association_service/get_licas_by_statement.rb +3 -3
- data/examples/{v201411 → v201511}/line_item_creative_association_service/update_licas.rb +3 -2
- data/examples/{v201411 → v201511}/line_item_service/activate_line_items.rb +5 -5
- data/examples/{v201411 → v201511}/line_item_service/create_line_items.rb +10 -4
- data/examples/{v201411 → v201511}/line_item_service/create_video_line_item.rb +11 -7
- data/examples/{v201411 → v201511}/line_item_service/get_all_line_items.rb +4 -4
- data/examples/{v201411 → v201511}/line_item_service/get_line_items_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/line_item_service/get_recently_updated_line_items.rb +4 -4
- data/examples/{v201411 → v201511}/line_item_service/target_custom_criteria.rb +4 -4
- data/examples/{v201411 → v201511}/line_item_service/update_line_items.rb +3 -2
- data/examples/{v201411 → v201511}/network_service/get_all_networks.rb +1 -1
- data/examples/{v201411 → v201511}/network_service/get_current_network.rb +1 -1
- data/examples/{v201411 → v201511}/network_service/make_test_network.rb +1 -1
- data/examples/{v201411 → v201511}/order_service/approve_orders.rb +5 -4
- data/examples/{v201411 → v201511}/order_service/create_orders.rb +1 -1
- data/examples/{v201411 → v201511}/order_service/get_all_orders.rb +4 -4
- data/examples/{v201411 → v201511}/order_service/get_orders_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/order_service/update_orders.rb +3 -3
- data/examples/{v201411 → v201511}/placement_service/create_placements.rb +3 -3
- data/examples/{v201411 → v201511}/placement_service/deactivate_placements.rb +4 -3
- data/examples/{v201411 → v201511}/placement_service/get_all_placements.rb +4 -4
- data/examples/{v201411 → v201511}/placement_service/get_placements_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/placement_service/update_placements.rb +4 -4
- data/examples/{v201411 → v201511}/publisher_query_language_service/fetch_match_tables.rb +6 -6
- data/examples/{v201411 → v201511}/publisher_query_language_service/get_all_line_items.rb +5 -5
- data/examples/{v201411 → v201511}/publisher_query_language_service/get_geo_targets.rb +5 -5
- data/examples/{v201411 → v201511}/publisher_query_language_service/get_line_items_named_like.rb +5 -5
- data/examples/{v201411 → v201511}/report_service/display_report.rb +1 -1
- data/examples/{v201411 → v201511}/report_service/download_report.rb +1 -1
- data/examples/{v201411 → v201511}/report_service/run_delivery_report.rb +17 -5
- data/examples/{v201411 → v201511}/report_service/run_inventory_report.rb +5 -4
- data/examples/{v201411 → v201511}/report_service/run_reach_report.rb +5 -4
- data/examples/{v201411 → v201511}/report_service/run_report_with_custom_fields.rb +5 -4
- data/examples/{v201411 → v201511}/report_service/run_sales_report.rb +3 -2
- data/examples/{v201411 → v201511}/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +4 -4
- data/examples/{v201411 → v201511}/suggested_ad_unit_service/get_all_suggested_ad_units.rb +4 -4
- data/examples/{v201411 → v201511}/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/team_service/create_teams.rb +1 -1
- data/examples/{v201411 → v201511}/team_service/get_all_teams.rb +4 -4
- data/examples/{v201411 → v201511}/team_service/get_teams_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/team_service/update_teams.rb +3 -3
- data/examples/{v201411 → v201511}/user_service/create_users.rb +1 -1
- data/examples/{v201411 → v201511}/user_service/deactivate_users.rb +3 -2
- data/examples/{v201411 → v201511}/user_service/get_all_roles.rb +1 -1
- data/examples/{v201411 → v201511}/user_service/get_all_users.rb +4 -4
- data/examples/{v201411 → v201511}/user_service/get_current_user.rb +1 -1
- data/examples/{v201411 → v201511}/user_service/get_users_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/user_service/update_users.rb +3 -3
- data/examples/{v201411 → v201511}/user_team_association_service/create_user_team_associations.rb +1 -1
- data/examples/{v201411 → v201511}/user_team_association_service/delete_user_team_associations.rb +4 -4
- data/examples/{v201411 → v201511}/user_team_association_service/get_all_user_team_associations.rb +4 -4
- data/examples/{v201411 → v201511}/user_team_association_service/get_user_team_associations_by_statement.rb +4 -4
- data/examples/{v201411 → v201511}/user_team_association_service/update_user_team_associations.rb +3 -3
- data/lib/dfp_api.rb +1 -0
- data/lib/dfp_api/api_config.rb +13 -31
- data/lib/{dfp_api_statement.rb → dfp_api/dfp_api_statement.rb} +2 -1
- data/lib/dfp_api/v201411/activity_group_service.rb +13 -1
- data/lib/dfp_api/v201411/activity_group_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/activity_service.rb +13 -1
- data/lib/dfp_api/v201411/activity_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/ad_exclusion_rule_service.rb +17 -1
- data/lib/dfp_api/v201411/ad_exclusion_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/ad_rule_service.rb +17 -1
- data/lib/dfp_api/v201411/ad_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/audience_segment_service.rb +17 -1
- data/lib/dfp_api/v201411/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/base_rate_service.rb +17 -1
- data/lib/dfp_api/v201411/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/company_service.rb +13 -1
- data/lib/dfp_api/v201411/company_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/contact_service.rb +13 -1
- data/lib/dfp_api/v201411/contact_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/content_bundle_service.rb +17 -1
- data/lib/dfp_api/v201411/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/content_metadata_key_hierarchy_service.rb +17 -1
- data/lib/dfp_api/v201411/content_metadata_key_hierarchy_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/content_service.rb +9 -1
- data/lib/dfp_api/v201411/content_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/creative_service.rb +13 -1
- data/lib/dfp_api/v201411/creative_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/creative_set_service.rb +13 -1
- data/lib/dfp_api/v201411/creative_set_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/creative_template_service.rb +5 -1
- data/lib/dfp_api/v201411/creative_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/creative_wrapper_service.rb +17 -1
- data/lib/dfp_api/v201411/creative_wrapper_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/custom_field_service.rb +29 -1
- data/lib/dfp_api/v201411/custom_field_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/custom_targeting_service.rb +33 -1
- data/lib/dfp_api/v201411/custom_targeting_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/exchange_rate_service.rb +17 -1
- data/lib/dfp_api/v201411/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/forecast_service.rb +9 -1
- data/lib/dfp_api/v201411/forecast_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/inventory_service.rb +21 -1
- data/lib/dfp_api/v201411/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/label_service.rb +17 -1
- data/lib/dfp_api/v201411/label_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/line_item_creative_association_service.rb +21 -1
- data/lib/dfp_api/v201411/line_item_creative_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/line_item_service.rb +17 -1
- data/lib/dfp_api/v201411/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/line_item_template_service.rb +5 -1
- data/lib/dfp_api/v201411/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/live_stream_event_service.rb +17 -1
- data/lib/dfp_api/v201411/live_stream_event_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/network_service.rb +17 -1
- data/lib/dfp_api/v201411/network_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/order_service.rb +17 -1
- data/lib/dfp_api/v201411/order_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/placement_service.rb +17 -1
- data/lib/dfp_api/v201411/placement_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/premium_rate_service.rb +13 -1
- data/lib/dfp_api/v201411/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/product_service.rb +13 -1
- data/lib/dfp_api/v201411/product_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/product_template_service.rb +17 -1
- data/lib/dfp_api/v201411/product_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/proposal_line_item_service.rb +17 -1
- data/lib/dfp_api/v201411/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/proposal_service.rb +17 -1
- data/lib/dfp_api/v201411/proposal_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/publisher_query_language_service.rb +5 -1
- data/lib/dfp_api/v201411/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/rate_card_service.rb +17 -1
- data/lib/dfp_api/v201411/rate_card_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/reconciliation_order_report_service.rb +9 -1
- data/lib/dfp_api/v201411/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/reconciliation_report_row_service.rb +9 -1
- data/lib/dfp_api/v201411/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/reconciliation_report_service.rb +9 -1
- data/lib/dfp_api/v201411/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/report_service.rb +17 -1
- data/lib/dfp_api/v201411/report_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/shared_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201411/shared_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/suggested_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201411/suggested_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/team_service.rb +13 -1
- data/lib/dfp_api/v201411/team_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/user_service.rb +25 -1
- data/lib/dfp_api/v201411/user_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/user_team_association_service.rb +17 -1
- data/lib/dfp_api/v201411/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201411/workflow_request_service.rb +9 -1
- data/lib/dfp_api/v201411/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/activity_group_service.rb +13 -1
- data/lib/dfp_api/v201502/activity_group_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/activity_service.rb +13 -1
- data/lib/dfp_api/v201502/activity_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/ad_exclusion_rule_service.rb +17 -1
- data/lib/dfp_api/v201502/ad_exclusion_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/ad_rule_service.rb +17 -1
- data/lib/dfp_api/v201502/ad_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/audience_segment_service.rb +17 -1
- data/lib/dfp_api/v201502/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/base_rate_service.rb +17 -1
- data/lib/dfp_api/v201502/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/company_service.rb +13 -1
- data/lib/dfp_api/v201502/company_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/contact_service.rb +13 -1
- data/lib/dfp_api/v201502/contact_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/content_bundle_service.rb +17 -1
- data/lib/dfp_api/v201502/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/content_metadata_key_hierarchy_service.rb +17 -1
- data/lib/dfp_api/v201502/content_metadata_key_hierarchy_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/content_service.rb +9 -1
- data/lib/dfp_api/v201502/content_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/creative_service.rb +13 -1
- data/lib/dfp_api/v201502/creative_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/creative_set_service.rb +13 -1
- data/lib/dfp_api/v201502/creative_set_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/creative_template_service.rb +5 -1
- data/lib/dfp_api/v201502/creative_template_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/creative_wrapper_service.rb +17 -1
- data/lib/dfp_api/v201502/creative_wrapper_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/custom_field_service.rb +29 -1
- data/lib/dfp_api/v201502/custom_field_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/custom_targeting_service.rb +33 -1
- data/lib/dfp_api/v201502/custom_targeting_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/exchange_rate_service.rb +17 -1
- data/lib/dfp_api/v201502/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/forecast_service.rb +17 -1
- data/lib/dfp_api/v201502/forecast_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/inventory_service.rb +21 -1
- data/lib/dfp_api/v201502/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/label_service.rb +17 -1
- data/lib/dfp_api/v201502/label_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/line_item_creative_association_service.rb +21 -1
- data/lib/dfp_api/v201502/line_item_creative_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/line_item_service.rb +17 -1
- data/lib/dfp_api/v201502/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/line_item_template_service.rb +5 -1
- data/lib/dfp_api/v201502/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/live_stream_event_service.rb +17 -1
- data/lib/dfp_api/v201502/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/network_service.rb +17 -1
- data/lib/dfp_api/v201502/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/order_service.rb +17 -1
- data/lib/dfp_api/v201502/order_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/package_service.rb +17 -1
- data/lib/dfp_api/v201502/package_service_registry.rb +3 -3
- data/lib/dfp_api/v201502/placement_service.rb +17 -1
- data/lib/dfp_api/v201502/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/premium_rate_service.rb +13 -1
- data/lib/dfp_api/v201502/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/product_package_item_service.rb +17 -1
- data/lib/dfp_api/v201502/product_package_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/product_package_service.rb +17 -1
- data/lib/dfp_api/v201502/product_package_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/product_service.rb +13 -1
- data/lib/dfp_api/v201502/product_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/product_template_service.rb +17 -1
- data/lib/dfp_api/v201502/product_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/proposal_line_item_service.rb +17 -1
- data/lib/dfp_api/v201502/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/proposal_service.rb +17 -1
- data/lib/dfp_api/v201502/proposal_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/publisher_query_language_service.rb +5 -1
- data/lib/dfp_api/v201502/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/rate_card_service.rb +17 -1
- data/lib/dfp_api/v201502/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/reconciliation_order_report_service.rb +9 -1
- data/lib/dfp_api/v201502/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/reconciliation_report_row_service.rb +9 -1
- data/lib/dfp_api/v201502/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/reconciliation_report_service.rb +9 -1
- data/lib/dfp_api/v201502/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/report_service.rb +17 -1
- data/lib/dfp_api/v201502/report_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/shared_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201502/shared_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/suggested_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201502/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/team_service.rb +13 -1
- data/lib/dfp_api/v201502/team_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/user_service.rb +25 -1
- data/lib/dfp_api/v201502/user_service_registry.rb +1 -1
- data/lib/dfp_api/v201502/user_team_association_service.rb +17 -1
- data/lib/dfp_api/v201502/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201502/workflow_request_service.rb +9 -1
- data/lib/dfp_api/v201502/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/activity_group_service.rb +13 -1
- data/lib/dfp_api/v201505/activity_group_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/activity_service.rb +13 -1
- data/lib/dfp_api/v201505/activity_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +17 -1
- data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/ad_rule_service.rb +17 -1
- data/lib/dfp_api/v201505/ad_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/audience_segment_service.rb +17 -1
- data/lib/dfp_api/v201505/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/base_rate_service.rb +17 -1
- data/lib/dfp_api/v201505/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/company_service.rb +13 -1
- data/lib/dfp_api/v201505/company_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/contact_service.rb +13 -1
- data/lib/dfp_api/v201505/contact_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/content_bundle_service.rb +17 -1
- data/lib/dfp_api/v201505/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +17 -1
- data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/content_service.rb +9 -1
- data/lib/dfp_api/v201505/content_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/creative_service.rb +13 -1
- data/lib/dfp_api/v201505/creative_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/creative_set_service.rb +13 -1
- data/lib/dfp_api/v201505/creative_set_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/creative_template_service.rb +5 -1
- data/lib/dfp_api/v201505/creative_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/creative_wrapper_service.rb +17 -1
- data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/custom_field_service.rb +29 -1
- data/lib/dfp_api/v201505/custom_field_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/custom_targeting_service.rb +33 -1
- data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/exchange_rate_service.rb +17 -1
- data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/forecast_service.rb +17 -1
- data/lib/dfp_api/v201505/forecast_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/inventory_service.rb +21 -1
- data/lib/dfp_api/v201505/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/label_service.rb +17 -1
- data/lib/dfp_api/v201505/label_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/line_item_creative_association_service.rb +21 -1
- data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/line_item_service.rb +17 -1
- data/lib/dfp_api/v201505/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/line_item_template_service.rb +5 -1
- data/lib/dfp_api/v201505/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/live_stream_event_service.rb +17 -1
- data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/network_service.rb +17 -1
- data/lib/dfp_api/v201505/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/order_service.rb +17 -1
- data/lib/dfp_api/v201505/order_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/package_service.rb +17 -1
- data/lib/dfp_api/v201505/package_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/placement_service.rb +17 -1
- data/lib/dfp_api/v201505/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/premium_rate_service.rb +13 -1
- data/lib/dfp_api/v201505/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/product_package_item_service.rb +17 -1
- data/lib/dfp_api/v201505/product_package_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/product_package_service.rb +17 -1
- data/lib/dfp_api/v201505/product_package_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/product_service.rb +13 -1
- data/lib/dfp_api/v201505/product_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/product_template_service.rb +17 -1
- data/lib/dfp_api/v201505/product_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/proposal_line_item_service.rb +17 -1
- data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/proposal_service.rb +17 -1
- data/lib/dfp_api/v201505/proposal_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/publisher_query_language_service.rb +5 -1
- data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/rate_card_service.rb +17 -1
- data/lib/dfp_api/v201505/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +9 -1
- data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +9 -1
- data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/reconciliation_report_service.rb +9 -1
- data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/report_service.rb +17 -1
- data/lib/dfp_api/v201505/report_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/shared_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201505/team_service.rb +13 -1
- data/lib/dfp_api/v201505/team_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/user_service.rb +25 -1
- data/lib/dfp_api/v201505/user_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/user_team_association_service.rb +17 -1
- data/lib/dfp_api/v201505/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201505/workflow_request_service.rb +9 -1
- data/lib/dfp_api/v201505/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/activity_group_service.rb +13 -1
- data/lib/dfp_api/v201508/activity_group_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/activity_service.rb +13 -1
- data/lib/dfp_api/v201508/activity_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +17 -1
- data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/ad_rule_service.rb +17 -1
- data/lib/dfp_api/v201508/ad_rule_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/audience_segment_service.rb +17 -1
- data/lib/dfp_api/v201508/audience_segment_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/base_rate_service.rb +17 -1
- data/lib/dfp_api/v201508/base_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/company_service.rb +13 -1
- data/lib/dfp_api/v201508/company_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/contact_service.rb +13 -1
- data/lib/dfp_api/v201508/contact_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/content_bundle_service.rb +17 -1
- data/lib/dfp_api/v201508/content_bundle_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +17 -1
- data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/content_service.rb +9 -1
- data/lib/dfp_api/v201508/content_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/creative_service.rb +13 -1
- data/lib/dfp_api/v201508/creative_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/creative_set_service.rb +13 -1
- data/lib/dfp_api/v201508/creative_set_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/creative_template_service.rb +5 -1
- data/lib/dfp_api/v201508/creative_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/creative_wrapper_service.rb +17 -1
- data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/custom_field_service.rb +29 -1
- data/lib/dfp_api/v201508/custom_field_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/custom_targeting_service.rb +33 -1
- data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/exchange_rate_service.rb +17 -1
- data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/forecast_service.rb +17 -1
- data/lib/dfp_api/v201508/forecast_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/inventory_service.rb +21 -1
- data/lib/dfp_api/v201508/inventory_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/label_service.rb +17 -1
- data/lib/dfp_api/v201508/label_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/line_item_creative_association_service.rb +21 -1
- data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/line_item_service.rb +17 -1
- data/lib/dfp_api/v201508/line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/line_item_template_service.rb +5 -1
- data/lib/dfp_api/v201508/line_item_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/live_stream_event_service.rb +17 -1
- data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/network_service.rb +17 -1
- data/lib/dfp_api/v201508/network_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/order_service.rb +17 -1
- data/lib/dfp_api/v201508/order_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/package_service.rb +17 -1
- data/lib/dfp_api/v201508/package_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/placement_service.rb +17 -1
- data/lib/dfp_api/v201508/placement_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/premium_rate_service.rb +13 -1
- data/lib/dfp_api/v201508/premium_rate_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/product_package_item_service.rb +17 -1
- data/lib/dfp_api/v201508/product_package_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/product_package_service.rb +17 -1
- data/lib/dfp_api/v201508/product_package_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/product_service.rb +13 -1
- data/lib/dfp_api/v201508/product_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/product_template_service.rb +17 -1
- data/lib/dfp_api/v201508/product_template_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/proposal_line_item_service.rb +17 -1
- data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/proposal_service.rb +17 -1
- data/lib/dfp_api/v201508/proposal_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/publisher_query_language_service.rb +5 -1
- data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/rate_card_service.rb +17 -1
- data/lib/dfp_api/v201508/rate_card_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +9 -1
- data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +13 -1
- data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +9 -1
- data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/reconciliation_report_service.rb +9 -1
- data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/report_service.rb +17 -1
- data/lib/dfp_api/v201508/report_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/shared_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +9 -1
- data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +1 -1
- data/lib/dfp_api/v201508/team_service.rb +13 -1
- data/lib/dfp_api/v201508/team_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/user_service.rb +25 -1
- data/lib/dfp_api/v201508/user_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/user_team_association_service.rb +17 -1
- data/lib/dfp_api/v201508/user_team_association_service_registry.rb +2 -2
- data/lib/dfp_api/v201508/workflow_request_service.rb +9 -1
- data/lib/dfp_api/v201508/workflow_request_service_registry.rb +2 -2
- data/lib/dfp_api/{v201405 → v201511}/activity_group_service.rb +18 -6
- data/lib/dfp_api/v201511/activity_group_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/activity_service.rb +18 -6
- data/lib/dfp_api/v201511/activity_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/ad_exclusion_rule_service.rb +62 -0
- data/lib/dfp_api/v201511/ad_exclusion_rule_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/ad_rule_service.rb +22 -6
- data/lib/dfp_api/v201511/ad_rule_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/audience_segment_service.rb +22 -6
- data/lib/dfp_api/v201511/audience_segment_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/base_rate_service.rb +22 -6
- data/lib/dfp_api/v201511/base_rate_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/company_service.rb +18 -6
- data/lib/dfp_api/v201511/company_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/contact_service.rb +18 -6
- data/lib/dfp_api/v201511/contact_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/content_bundle_service.rb +22 -6
- data/lib/dfp_api/v201511/content_bundle_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/content_metadata_key_hierarchy_service.rb +22 -6
- data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/content_service.rb +14 -6
- data/lib/dfp_api/v201511/content_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/creative_service.rb +18 -6
- data/lib/dfp_api/v201511/creative_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/creative_set_service.rb +18 -6
- data/lib/dfp_api/v201511/creative_set_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/creative_template_service.rb +10 -6
- data/lib/dfp_api/v201511/creative_template_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/creative_wrapper_service.rb +22 -6
- data/lib/dfp_api/v201511/creative_wrapper_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/custom_field_service.rb +34 -6
- data/lib/dfp_api/v201511/custom_field_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/custom_targeting_service.rb +38 -6
- data/lib/dfp_api/v201511/custom_targeting_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/exchange_rate_service.rb +22 -6
- data/lib/dfp_api/v201511/exchange_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/forecast_service.rb +62 -0
- data/lib/dfp_api/v201511/forecast_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/inventory_service.rb +26 -6
- data/lib/dfp_api/v201511/inventory_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/label_service.rb +22 -6
- data/lib/dfp_api/v201511/label_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/line_item_creative_association_service.rb +26 -6
- data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/line_item_service.rb +22 -6
- data/lib/dfp_api/v201511/line_item_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/line_item_template_service.rb +10 -6
- data/lib/dfp_api/v201511/line_item_template_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/live_stream_event_service.rb +22 -6
- data/lib/dfp_api/v201511/live_stream_event_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/network_service.rb +22 -6
- data/lib/dfp_api/v201511/network_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/order_service.rb +22 -6
- data/lib/dfp_api/v201511/order_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/package_service.rb +62 -0
- data/lib/dfp_api/v201511/package_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/placement_service.rb +22 -6
- data/lib/dfp_api/v201511/placement_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/premium_rate_service.rb +18 -6
- data/lib/dfp_api/v201511/premium_rate_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/product_package_item_service.rb +62 -0
- data/lib/dfp_api/v201511/product_package_item_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/product_package_service.rb +62 -0
- data/lib/dfp_api/v201511/product_package_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/product_service.rb +18 -6
- data/lib/dfp_api/v201511/product_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/product_template_service.rb +22 -6
- data/lib/dfp_api/v201511/product_template_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/proposal_line_item_service.rb +22 -6
- data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/proposal_service.rb +22 -6
- data/lib/dfp_api/v201511/proposal_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/publisher_query_language_service.rb +10 -6
- data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/rate_card_service.rb +22 -6
- data/lib/dfp_api/v201511/rate_card_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +46 -0
- data/lib/dfp_api/v201511/reconciliation_line_item_report_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/reconciliation_order_report_service.rb +22 -6
- data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/reconciliation_report_row_service.rb +14 -6
- data/lib/dfp_api/v201511/reconciliation_report_row_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/reconciliation_report_service.rb +14 -6
- data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/report_service.rb +24 -8
- data/lib/dfp_api/v201511/report_service_registry.rb +45 -0
- data/lib/dfp_api/v201511/shared_ad_unit_service.rb +46 -0
- data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/suggested_ad_unit_service.rb +14 -6
- data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/team_service.rb +18 -6
- data/lib/dfp_api/v201511/team_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/user_service.rb +30 -6
- data/lib/dfp_api/v201511/user_service_registry.rb +45 -0
- data/lib/dfp_api/{v201405 → v201511}/user_team_association_service.rb +22 -6
- data/lib/dfp_api/v201511/user_team_association_service_registry.rb +45 -0
- data/lib/dfp_api/{v201408 → v201511}/workflow_request_service.rb +14 -6
- data/lib/dfp_api/v201511/workflow_request_service_registry.rb +45 -0
- data/lib/dfp_api/version.rb +1 -1
- metadata +243 -315
- data/lib/dfp_api/v201405/activity_group_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/activity_service.rb +0 -42
- data/lib/dfp_api/v201405/activity_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/ad_rule_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/audience_segment_service.rb +0 -46
- data/lib/dfp_api/v201405/audience_segment_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/base_rate_service.rb +0 -46
- data/lib/dfp_api/v201405/base_rate_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/company_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/contact_service.rb +0 -42
- data/lib/dfp_api/v201405/contact_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/content_bundle_service.rb +0 -46
- data/lib/dfp_api/v201405/content_bundle_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/content_metadata_key_hierarchy_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/content_service.rb +0 -38
- data/lib/dfp_api/v201405/content_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/creative_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/creative_set_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/creative_template_service.rb +0 -34
- data/lib/dfp_api/v201405/creative_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/creative_wrapper_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/custom_field_service.rb +0 -58
- data/lib/dfp_api/v201405/custom_field_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/custom_targeting_service.rb +0 -62
- data/lib/dfp_api/v201405/custom_targeting_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/exchange_rate_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/forecast_service.rb +0 -38
- data/lib/dfp_api/v201405/forecast_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/inventory_service.rb +0 -50
- data/lib/dfp_api/v201405/inventory_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/label_service.rb +0 -46
- data/lib/dfp_api/v201405/label_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/line_item_creative_association_service.rb +0 -50
- data/lib/dfp_api/v201405/line_item_creative_association_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/line_item_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/line_item_template_service.rb +0 -34
- data/lib/dfp_api/v201405/line_item_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/live_stream_event_service.rb +0 -46
- data/lib/dfp_api/v201405/live_stream_event_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/network_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/order_service.rb +0 -46
- data/lib/dfp_api/v201405/order_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/placement_service.rb +0 -46
- data/lib/dfp_api/v201405/placement_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/product_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/product_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/proposal_line_item_service.rb +0 -46
- data/lib/dfp_api/v201405/proposal_line_item_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/proposal_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/publisher_query_language_service.rb +0 -34
- data/lib/dfp_api/v201405/publisher_query_language_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/rate_card_customization_group_service.rb +0 -42
- data/lib/dfp_api/v201405/rate_card_customization_group_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/rate_card_customization_service.rb +0 -46
- data/lib/dfp_api/v201405/rate_card_customization_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/rate_card_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/reconciliation_order_report_service.rb +0 -38
- data/lib/dfp_api/v201405/reconciliation_order_report_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/reconciliation_report_row_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/reconciliation_report_service.rb +0 -38
- data/lib/dfp_api/v201405/reconciliation_report_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/report_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/suggested_ad_unit_service.rb +0 -38
- data/lib/dfp_api/v201405/suggested_ad_unit_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/team_service.rb +0 -42
- data/lib/dfp_api/v201405/team_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/user_service.rb +0 -54
- data/lib/dfp_api/v201405/user_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/user_team_association_service_registry.rb +0 -46
- data/lib/dfp_api/v201405/workflow_request_service.rb +0 -38
- data/lib/dfp_api/v201405/workflow_request_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/activity_group_service.rb +0 -42
- data/lib/dfp_api/v201408/activity_group_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/activity_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/ad_rule_service.rb +0 -46
- data/lib/dfp_api/v201408/ad_rule_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/audience_segment_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/base_rate_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/company_service.rb +0 -42
- data/lib/dfp_api/v201408/company_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/contact_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/content_bundle_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/content_metadata_key_hierarchy_service.rb +0 -46
- data/lib/dfp_api/v201408/content_metadata_key_hierarchy_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/content_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/creative_service.rb +0 -42
- data/lib/dfp_api/v201408/creative_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/creative_set_service.rb +0 -42
- data/lib/dfp_api/v201408/creative_set_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/creative_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/creative_wrapper_service.rb +0 -46
- data/lib/dfp_api/v201408/creative_wrapper_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/custom_field_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/custom_targeting_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/exchange_rate_service.rb +0 -46
- data/lib/dfp_api/v201408/exchange_rate_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/forecast_service.rb +0 -38
- data/lib/dfp_api/v201408/forecast_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/inventory_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/label_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/line_item_creative_association_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/line_item_service.rb +0 -46
- data/lib/dfp_api/v201408/line_item_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/line_item_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/live_stream_event_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/network_service.rb +0 -46
- data/lib/dfp_api/v201408/network_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/order_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/placement_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/premium_rate_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/product_service.rb +0 -42
- data/lib/dfp_api/v201408/product_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/product_template_service.rb +0 -46
- data/lib/dfp_api/v201408/product_template_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/proposal_line_item_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/proposal_service.rb +0 -46
- data/lib/dfp_api/v201408/proposal_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/publisher_query_language_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/rate_card_service.rb +0 -46
- data/lib/dfp_api/v201408/rate_card_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/reconciliation_order_report_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/reconciliation_report_row_service.rb +0 -38
- data/lib/dfp_api/v201408/reconciliation_report_row_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/reconciliation_report_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/report_service.rb +0 -46
- data/lib/dfp_api/v201408/report_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/suggested_ad_unit_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/team_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/user_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/user_team_association_service.rb +0 -46
- data/lib/dfp_api/v201408/user_team_association_service_registry.rb +0 -46
- data/lib/dfp_api/v201408/workflow_request_service_registry.rb +0 -46
@@ -20,7 +20,7 @@
|
|
20
20
|
# creative sets, run create_creative_sets.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -39,7 +39,7 @@ def get_creative_sets_by_statement()
|
|
39
39
|
|
40
40
|
# Create a statement to get all creative sets that have the given master
|
41
41
|
# creative.
|
42
|
-
statement =
|
42
|
+
statement = DfpApi::FilterStatement.new(
|
43
43
|
'WHERE masterCreativeId = :master_creative_id ORDER BY id ASC',
|
44
44
|
[
|
45
45
|
{:key => 'master_creative_id',
|
@@ -61,7 +61,7 @@ def get_creative_sets_by_statement()
|
|
61
61
|
creative_set[:companion_creative_ids].join(', ')]
|
62
62
|
end
|
63
63
|
end
|
64
|
-
statement.offset +=
|
64
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
65
65
|
end while statement.offset < page[:total_result_set_size]
|
66
66
|
|
67
67
|
# Print a footer.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# determine which creative sets exist, run get_all_creative_sets.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -40,7 +40,7 @@ def update_creative_sets()
|
|
40
40
|
creative_set_service = dfp.service(:CreativeSetService, API_VERSION)
|
41
41
|
|
42
42
|
# Create a statement to only select a single creative set.
|
43
|
-
statement =
|
43
|
+
statement = DfpApi::FilterStatement.new(
|
44
44
|
'WHERE id = :id'
|
45
45
|
[
|
46
46
|
{:key => 'id',
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# This example gets all creative templates.
|
20
20
|
|
21
21
|
require 'dfp_api'
|
22
|
-
|
22
|
+
|
23
23
|
|
24
24
|
API_VERSION = :v201508
|
25
25
|
|
@@ -35,7 +35,7 @@ def get_all_creative_templates()
|
|
35
35
|
creative_template_service = dfp.service(:CreativeTemplateService, API_VERSION)
|
36
36
|
|
37
37
|
# Create a statement to get one page with current offset.
|
38
|
-
statement =
|
38
|
+
statement = DfpApi::FilterStatement.new(ORDER BY id ASC)
|
39
39
|
|
40
40
|
begin
|
41
41
|
|
@@ -51,7 +51,7 @@ def get_all_creative_templates()
|
|
51
51
|
template[:name], template[:type]]
|
52
52
|
end
|
53
53
|
end
|
54
|
-
statement.offset +=
|
54
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
55
55
|
end while statement.offset < page[:total_result_set_size]
|
56
56
|
|
57
57
|
# Print a footer.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# This example gets system defined creative templates.
|
20
20
|
|
21
21
|
require 'dfp_api'
|
22
|
-
|
22
|
+
|
23
23
|
|
24
24
|
API_VERSION = :v201508
|
25
25
|
|
@@ -35,7 +35,7 @@ def get_creative_templates_by_statement()
|
|
35
35
|
creative_template_service = dfp.service(:CreativeTemplateService, API_VERSION)
|
36
36
|
|
37
37
|
# Create a statement to only select system defined creative_templates.
|
38
|
-
statement =
|
38
|
+
statement = DfpApi::FilterStatement.new(
|
39
39
|
'WHERE type = :type ORDER BY id ASC',
|
40
40
|
[
|
41
41
|
{:key => 'type',
|
@@ -56,7 +56,7 @@ def get_creative_templates_by_statement()
|
|
56
56
|
template[:id], template[:name], template[:type]]
|
57
57
|
end
|
58
58
|
end
|
59
|
-
statement.offset +=
|
59
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
60
60
|
end while statement.offset < page[:total_result_set_size]
|
61
61
|
|
62
62
|
# Print a footer.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# This example deactivates a creative wrapper belonging to a label.
|
20
20
|
|
21
21
|
require 'dfp_api'
|
22
|
-
|
22
|
+
|
23
23
|
|
24
24
|
API_VERSION = :v201508
|
25
25
|
|
@@ -38,7 +38,7 @@ def deactivate_creative_wrappers()
|
|
38
38
|
label_id = 'INSERT_CREATIVE_WRAPPER_LABEL_ID_HERE'.to_i
|
39
39
|
|
40
40
|
# Create statement to select creative wrappers by label id and status.
|
41
|
-
statement =
|
41
|
+
statement = DfpApi::FilterStatement.new(
|
42
42
|
'WHERE labelId = :label_id AND status = :status',
|
43
43
|
[
|
44
44
|
{
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# wrappers, run create_creative_wrappers.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -36,7 +36,7 @@ def get_all_creative_wrappers()
|
|
36
36
|
creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
|
37
37
|
|
38
38
|
# Create statement for one page with current offset.
|
39
|
-
statement =
|
39
|
+
statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
|
40
40
|
|
41
41
|
begin
|
42
42
|
# Get creative wrappers by statement.
|
@@ -51,7 +51,7 @@ def get_all_creative_wrappers()
|
|
51
51
|
creative_wrapper[:id], creative_wrapper[:label_id]]
|
52
52
|
end
|
53
53
|
end
|
54
|
-
statement.offset +=
|
54
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
55
55
|
end while statement.offset < page[:total_result_set_size]
|
56
56
|
|
57
57
|
# Print a footer
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# wrappers, run create_creative_wrappers.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -36,7 +36,7 @@ def get_creative_wrappers_by_statement()
|
|
36
36
|
creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
|
37
37
|
|
38
38
|
# Create filter text to select active creative wrappers.
|
39
|
-
statement =
|
39
|
+
statement = DfpApi::FilterStatement.new(
|
40
40
|
'WHERE status = :status ORDER BY id ASC',
|
41
41
|
[
|
42
42
|
{
|
@@ -58,7 +58,7 @@ def get_creative_wrappers_by_statement()
|
|
58
58
|
creative_wrapper[:label_id], creative_wrapper[:status]]
|
59
59
|
end
|
60
60
|
end
|
61
|
-
statement.offset +=
|
61
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
62
62
|
end
|
63
63
|
|
64
64
|
# Print a footer.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# determine which creative wrappers exist, run get_all_creative_wrappers.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -39,7 +39,7 @@ def update_creative_wrappers()
|
|
39
39
|
creative_wrapper_id = 'INSERT_CREATIVE_WRAPPER_ID_HERE'.to_i
|
40
40
|
|
41
41
|
# Create a statement to only select a single creative wrapper.
|
42
|
-
statement =
|
42
|
+
statement = DfpApi::FilterStatement.new(
|
43
43
|
'WHERE id = :id',
|
44
44
|
[
|
45
45
|
{:key => 'id',
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# which custom fields exist, run get_all_custom_fields.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -36,7 +36,7 @@ def deactivate_all_line_item_custom_fields()
|
|
36
36
|
custom_field_service = dfp.service(:CustomFieldService, API_VERSION)
|
37
37
|
|
38
38
|
# Create statement text to select active ad units.
|
39
|
-
statement =
|
39
|
+
statement = DfpApi::FilterStatement.new(
|
40
40
|
'WHERE entityType = :entity_type AND isActive = :is_active',
|
41
41
|
[
|
42
42
|
{:key => 'entity_type',
|
@@ -57,7 +57,7 @@ def deactivate_all_line_item_custom_fields()
|
|
57
57
|
[index + statement.offset, custom_field[:id], custom_field[:name]]
|
58
58
|
end
|
59
59
|
end
|
60
|
-
statement.offset +=
|
60
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
61
61
|
end while statement.offset < page[:total_result_set_size]
|
62
62
|
|
63
63
|
# Update statement for action.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# create_custom_fields.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -36,7 +36,7 @@ def get_all_custom_fields()
|
|
36
36
|
custom_field_service = dfp.service(:CustomFieldService, API_VERSION)
|
37
37
|
|
38
38
|
# Create a statement to get one page with current offset.
|
39
|
-
statement =
|
39
|
+
statement = DfpApi::FilterStatement.new('ORDER BY id')
|
40
40
|
|
41
41
|
begin
|
42
42
|
# Get custom fields by statement.
|
@@ -59,7 +59,7 @@ def get_all_custom_fields()
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
end
|
62
|
-
statement.offset +=
|
62
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
63
63
|
end while statement.offset < page[:total_result_set_size]
|
64
64
|
|
65
65
|
# Print a footer.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# fields, run create_custom_fields.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -36,7 +36,7 @@ def get_all_line_item_custom_fields()
|
|
36
36
|
custom_field_service = dfp.service(:CustomFieldService, API_VERSION)
|
37
37
|
|
38
38
|
# Create statement to select only custom fields that apply to line items.
|
39
|
-
statement =
|
39
|
+
statement = DfpApi::FilterStatement.new(
|
40
40
|
'WHERE entityType = :entity_type ORDER BY id ASC',
|
41
41
|
[
|
42
42
|
{:key => 'entity_type',
|
@@ -56,7 +56,7 @@ def get_all_line_item_custom_fields()
|
|
56
56
|
[index + statement.offset, custom_field[:id], custom_field[:name]]
|
57
57
|
end
|
58
58
|
end
|
59
|
-
statement.offset +=
|
59
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
60
60
|
end while statement.offset < page[:total_result_set_size]
|
61
61
|
|
62
62
|
# Print a footer.
|
@@ -22,7 +22,7 @@
|
|
22
22
|
# create_custom_field_options.rb.
|
23
23
|
|
24
24
|
require 'dfp_api'
|
25
|
-
|
25
|
+
|
26
26
|
|
27
27
|
API_VERSION = :v201508
|
28
28
|
|
@@ -47,7 +47,7 @@ def set_line_item_custom_field_value()
|
|
47
47
|
line_item_id = 'INSERT_LINE_ITEM_ID_HERE'.to_i
|
48
48
|
|
49
49
|
# Create a statement to only select a single custom field.
|
50
|
-
custom_field_statement =
|
50
|
+
custom_field_statement = DfpApi::FilterStatement.new(
|
51
51
|
'WHERE id = :id ORDER BY id ASC',
|
52
52
|
[
|
53
53
|
{:key => 'id',
|
@@ -57,7 +57,7 @@ def set_line_item_custom_field_value()
|
|
57
57
|
)
|
58
58
|
|
59
59
|
# Create a statement to only select a single drop down custom field.
|
60
|
-
drop_down_custom_field_statement =
|
60
|
+
drop_down_custom_field_statement = DfpApi::FilterStatement.new(
|
61
61
|
'WHERE id = :id ORDER BY id ASC',
|
62
62
|
[
|
63
63
|
{:key => 'id',
|
@@ -68,7 +68,7 @@ def set_line_item_custom_field_value()
|
|
68
68
|
)
|
69
69
|
|
70
70
|
# Create a statement to only select a single line item.
|
71
|
-
line_item_statement =
|
71
|
+
line_item_statement = DfpApi::FilterStatement.new(
|
72
72
|
'WHERE id = :id ORDER BY id ASC',
|
73
73
|
[
|
74
74
|
{:key => 'id',
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# fields exist, run get_all_custom_fields.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -39,7 +39,7 @@ def update_custom_fields()
|
|
39
39
|
custom_field_id = 'INSERT_CUSTOM_FIELD_ID_HERE'.to_i
|
40
40
|
|
41
41
|
# Create a statement to only select a single custom field.
|
42
|
-
statement =
|
42
|
+
statement = DfpApi::FilterStatement.new(
|
43
43
|
'WHERE id = :id',
|
44
44
|
[
|
45
45
|
{:key => 'id',
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# custom targeting keys exist, run get_all_custom_targeting_keys_and_values.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -43,7 +43,7 @@ def delete_custom_targeting_keys()
|
|
43
43
|
custom_target_key_ids = []
|
44
44
|
|
45
45
|
# Create statement to only select custom targeting key by the given name.
|
46
|
-
statement =
|
46
|
+
statement = DfpApi::FilterStatement.new(
|
47
47
|
'WHERE name = :name',
|
48
48
|
[
|
49
49
|
{:key => 'name',
|
@@ -63,7 +63,7 @@ def delete_custom_targeting_keys()
|
|
63
63
|
custom_target_key_ids << key[:id]
|
64
64
|
end
|
65
65
|
end
|
66
|
-
statement.offset +=
|
66
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
67
67
|
end while statement.offset < page[:total_result_set_size]
|
68
68
|
|
69
69
|
# Print a footer.
|
@@ -72,7 +72,7 @@ def delete_custom_targeting_keys()
|
|
72
72
|
|
73
73
|
if !(custom_target_key_ids.empty?)
|
74
74
|
# Modify statement for action.
|
75
|
-
statement =
|
75
|
+
statement = DfpApi::FilterStatement.new(
|
76
76
|
"WHERE id IN (%s)" %
|
77
77
|
[custom_target_key_ids.join(', ')]
|
78
78
|
)
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# get_all_custom_targeting_keys_and_values.rb.
|
22
22
|
|
23
23
|
require 'dfp_api'
|
24
|
-
|
24
|
+
|
25
25
|
|
26
26
|
API_VERSION = :v201508
|
27
27
|
|
@@ -44,7 +44,7 @@ def delete_custom_targeting_values()
|
|
44
44
|
|
45
45
|
# Create statement to only select custom values by the given custom targeting
|
46
46
|
# key ID.
|
47
|
-
statement =
|
47
|
+
statement = DfpApi::FilterStatement.new(
|
48
48
|
'WHERE customTargetingKeyId = :key_id',
|
49
49
|
[
|
50
50
|
{:key => 'key_id',
|
@@ -66,7 +66,7 @@ def delete_custom_targeting_values()
|
|
66
66
|
custom_target_value_ids << value[:id]
|
67
67
|
end
|
68
68
|
end
|
69
|
-
statement.offset +=
|
69
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
70
70
|
end while statement.offset < page[:total_result_set_size]
|
71
71
|
|
72
72
|
# Print a footer.
|
@@ -75,7 +75,7 @@ def delete_custom_targeting_values()
|
|
75
75
|
|
76
76
|
if !(custom_target_value_ids.empty?)
|
77
77
|
# Modify statement for action, note, values are still present.
|
78
|
-
statement =
|
78
|
+
statement = DfpApi::FilterStatement.new(
|
79
79
|
"WHERE customTargetingKeyId = :key_id AND id IN (%s)" %
|
80
80
|
[custom_target_value_ids.join(', ')],
|
81
81
|
[
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# targeting keys and values, run create_custom_targeting_keys_and_values.rb.
|
21
21
|
|
22
22
|
require 'dfp_api'
|
23
|
-
|
23
|
+
|
24
24
|
|
25
25
|
API_VERSION = :v201508
|
26
26
|
|
@@ -37,7 +37,7 @@ def get_all_custom_targeting_keys_and_values()
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
# Create a statement to get one page with current offset.
|
40
|
-
statement =
|
40
|
+
statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
|
41
41
|
|
42
42
|
# Get custom targeting keys by statement.
|
43
43
|
page = custom_targeting_service.get_custom_targeting_keys_by_statement(
|
@@ -55,7 +55,7 @@ def get_all_custom_targeting_keys_and_values()
|
|
55
55
|
print_all_values_for_key(custom_targeting_service, custom_targeting_key)
|
56
56
|
end
|
57
57
|
end
|
58
|
-
statement.offset +=
|
58
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
59
59
|
end while statement.offset < page[:total_result_set_size]
|
60
60
|
|
61
61
|
# Print a footer.
|
@@ -67,7 +67,7 @@ end
|
|
67
67
|
|
68
68
|
def print_all_values_for_key(custom_targeting_service, custom_targeting_key)
|
69
69
|
# Create a statement to get values for given key.
|
70
|
-
statement =
|
70
|
+
statement = DfpApi::FilterStatement.new(
|
71
71
|
'WHERE customTargetingKeyId = :key_id',
|
72
72
|
[
|
73
73
|
{:key => 'key_id',
|
@@ -91,7 +91,7 @@ def print_all_values_for_key(custom_targeting_service, custom_targeting_key)
|
|
91
91
|
custom_targeting_value[:display_name]]
|
92
92
|
end
|
93
93
|
end
|
94
|
-
statement.offset +=
|
94
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
95
95
|
end while statement.offset < page[:total_result_set_size]
|
96
96
|
|
97
97
|
# Print a footer.
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# targeting keys, run create_custom_targeting_keys_and_values.rb.
|
22
22
|
|
23
23
|
require 'dfp_api'
|
24
|
-
|
24
|
+
|
25
25
|
|
26
26
|
API_VERSION = :v201508
|
27
27
|
|
@@ -37,7 +37,7 @@ def get_custom_targeting_keys_by_statement()
|
|
37
37
|
custom_targeting_service = dfp.service(:CustomTargetingService, API_VERSION)
|
38
38
|
|
39
39
|
# Create a statement to only select predefined custom targeting keys.
|
40
|
-
statement =
|
40
|
+
statement = DfpApi::FilterStatement.new(
|
41
41
|
'WHERE type = :type ORDER BY id ASC',
|
42
42
|
[
|
43
43
|
{:key => 'type',
|
@@ -61,7 +61,7 @@ def get_custom_targeting_keys_by_statement()
|
|
61
61
|
custom_targeting_key[:type]]
|
62
62
|
end
|
63
63
|
end
|
64
|
-
statement.offset +=
|
64
|
+
statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
|
65
65
|
end while statement.offset < page[:total_result_set_size]
|
66
66
|
|
67
67
|
# Print a footer.
|