From 1c861fd16f8352a732ba723d085272573169da5c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Mar 2024 01:17:04 +0000 Subject: [PATCH] feat: Automated regeneration of DFAReporting client --- .../v35/api/account_active_ad_summaries.ex | 107 --- .../v35/api/account_permission_groups.ex | 178 ---- .../v35/api/account_permissions.ex | 173 ---- .../v35/api/account_user_profiles.ex | 411 ---------- .../dfa_reporting/v35/api/accounts.ex | 301 ------- .../google_api/dfa_reporting/v35/api/ads.ex | 383 --------- .../v35/api/advertiser_groups.ex | 470 ----------- .../v35/api/advertiser_landing_pages.ex | 413 ---------- .../dfa_reporting/v35/api/advertisers.ex | 381 --------- .../dfa_reporting/v35/api/browsers.ex | 87 -- .../v35/api/campaign_creative_associations.ex | 194 ----- .../dfa_reporting/v35/api/campaigns.ex | 377 --------- .../dfa_reporting/v35/api/change_logs.ex | 177 ---- .../dfa_reporting/v35/api/cities.ex | 95 --- .../dfa_reporting/v35/api/connection_types.ex | 168 ---- .../v35/api/content_categories.ex | 470 ----------- .../dfa_reporting/v35/api/conversions.ex | 165 ---- .../dfa_reporting/v35/api/countries.ex | 163 ---- .../v35/api/creative_field_values.ex | 517 ------------ .../dfa_reporting/v35/api/creative_fields.ex | 457 ----------- .../dfa_reporting/v35/api/creative_groups.ex | 389 --------- .../dfa_reporting/v35/api/creatives.ex | 383 --------- .../dfa_reporting/v35/api/dimension_values.ex | 98 --- .../dfa_reporting/v35/api/directory_sites.ex | 252 ------ .../v35/api/dynamic_targeting_keys.ex | 260 ------ .../dfa_reporting/v35/api/event_tags.ex | 441 ---------- .../google_api/dfa_reporting/v35/api/files.ex | 164 ---- .../v35/api/floodlight_activities.ex | 567 ------------- .../v35/api/floodlight_activity_groups.ex | 422 ---------- .../v35/api/floodlight_configurations.ex | 332 -------- .../dfa_reporting/v35/api/inventory_items.ex | 205 ----- .../dfa_reporting/v35/api/languages.ex | 89 -- .../v35/api/{creative_assets.ex => media.ex} | 22 +- .../dfa_reporting/v35/api/metros.ex | 87 -- .../dfa_reporting/v35/api/mobile_apps.ex | 167 ---- .../dfa_reporting/v35/api/mobile_carriers.ex | 163 ---- .../v35/api/operating_system_versions.ex | 178 ---- .../v35/api/operating_systems.ex | 168 ---- .../dfa_reporting/v35/api/order_documents.ex | 205 ----- .../dfa_reporting/v35/api/orders.ex | 190 ----- .../dfa_reporting/v35/api/placement_groups.ex | 416 ---------- .../v35/api/placement_strategies.ex | 475 ----------- .../dfa_reporting/v35/api/placements.ex | 468 ----------- .../dfa_reporting/v35/api/platform_types.ex | 163 ---- .../dfa_reporting/v35/api/postal_codes.ex | 163 ---- .../dfa_reporting/v35/api/projects.ex | 169 ---- .../dfa_reporting/v35/api/regions.ex | 87 -- .../v35/api/remarketing_list_shares.ex | 253 ------ .../v35/api/remarketing_lists.ex | 411 ---------- .../dfa_reporting/v35/api/reports.ex | 762 ------------------ .../google_api/dfa_reporting/v35/api/sites.ex | 367 --------- .../google_api/dfa_reporting/v35/api/sizes.ex | 219 ----- .../dfa_reporting/v35/api/subaccounts.ex | 369 --------- .../v35/api/targetable_remarketing_lists.ex | 194 ----- .../v35/api/targeting_templates.ex | 407 ---------- .../dfa_reporting/v35/api/user_profiles.ex | 144 ---- .../v35/api/user_role_permission_groups.ex | 178 ---- .../v35/api/user_role_permissions.ex | 175 ---- .../dfa_reporting/v35/api/user_roles.ex | 437 ---------- .../dfa_reporting/v35/api/video_formats.ex | 163 ---- .../dfa_reporting/v35/connection.ex | 6 - .../google_api/dfa_reporting/v35/metadata.ex | 2 +- .../dfa_reporting/v35/model/account.ex | 101 --- .../v35/model/account_active_ad_summary.ex | 58 -- .../v35/model/account_permission.ex | 61 -- .../v35/model/account_permission_group.ex | 52 -- ...account_permission_groups_list_response.ex | 54 -- .../account_permissions_list_response.ex | 50 -- .../v35/model/account_user_profile.ex | 91 --- .../account_user_profiles_list_response.ex | 54 -- .../v35/model/accounts_list_response.ex | 52 -- .../dfa_reporting/v35/model/activities.ex | 52 -- .../google_api/dfa_reporting/v35/model/ad.ex | 187 ----- .../v35/model/ad_blocking_configuration.ex | 46 -- .../dfa_reporting/v35/model/ad_slot.ex | 67 -- .../v35/model/ads_list_response.ex | 52 -- .../dfa_reporting/v35/model/advertiser.ex | 101 --- .../v35/model/advertiser_group.ex | 55 -- .../model/advertiser_groups_list_response.ex | 52 -- .../advertiser_landing_pages_list_response.ex | 52 -- .../v35/model/advertisers_list_response.ex | 52 -- .../v35/model/audience_segment.ex | 52 -- .../v35/model/audience_segment_group.ex | 52 -- .../dfa_reporting/v35/model/browser.ex | 61 -- .../v35/model/browsers_list_response.ex | 49 -- .../dfa_reporting/v35/model/campaign.ex | 163 ---- .../model/campaign_creative_association.ex | 49 -- ...ign_creative_associations_list_response.ex | 62 -- .../v35/model/campaigns_list_response.ex | 52 -- .../dfa_reporting/v35/model/change_log.ex | 85 -- .../v35/model/change_logs_list_response.ex | 52 -- .../v35/model/channel_grouping.ex | 55 -- .../v35/model/channel_grouping_rule.ex | 57 -- .../v35/model/cities_list_response.ex | 49 -- .../dfa_reporting/v35/model/city.ex | 70 -- .../v35/model/click_through_url.ex | 55 -- .../click_through_url_suffix_properties.ex | 49 -- .../model/companion_click_through_override.ex | 49 -- .../v35/model/companion_setting.ex | 55 -- .../v35/model/compatible_fields.ex | 93 --- .../v35/model/connection_type.ex | 52 -- .../model/connection_types_list_response.ex | 49 -- .../model/content_categories_list_response.ex | 52 -- .../v35/model/content_category.ex | 55 -- .../dfa_reporting/v35/model/conversion.ex | 103 --- .../v35/model/conversion_error.ex | 52 -- .../v35/model/conversion_status.ex | 52 -- .../model/conversions_batch_insert_request.ex | 52 -- .../conversions_batch_insert_response.ex | 52 -- .../model/conversions_batch_update_request.ex | 52 -- .../conversions_batch_update_response.ex | 52 -- .../v35/model/countries_list_response.ex | 49 -- .../dfa_reporting/v35/model/country.ex | 58 -- .../dfa_reporting/v35/model/creative.ex | 255 ------ .../dfa_reporting/v35/model/creative_asset.ex | 193 ----- .../v35/model/creative_asset_metadata.ex | 6 + .../v35/model/creative_asset_selection.ex | 49 -- .../v35/model/creative_assignment.ex | 99 --- .../dfa_reporting/v35/model/creative_field.ex | 65 -- .../v35/model/creative_field_assignment.ex | 49 -- .../v35/model/creative_field_value.ex | 52 -- .../creative_field_values_list_response.ex | 54 -- .../model/creative_fields_list_response.ex | 52 -- .../dfa_reporting/v35/model/creative_group.ex | 68 -- .../v35/model/creative_group_assignment.ex | 49 -- .../model/creative_groups_list_response.ex | 52 -- .../creative_optimization_configuration.ex | 61 -- .../v35/model/creative_rotation.ex | 57 -- .../v35/model/creatives_list_response.ex | 52 -- ...imension_reach_report_compatible_fields.ex | 63 -- .../v35/model/custom_floodlight_variable.ex | 52 -- .../v35/model/custom_rich_media_events.ex | 49 -- .../v35/model/custom_viewability_metric.ex | 53 -- ...custom_viewability_metric_configuration.ex | 55 -- .../dfa_reporting/v35/model/date_range.ex | 55 -- .../v35/model/day_part_targeting.ex | 52 -- .../dfa_reporting/v35/model/deep_link.ex | 58 -- ...ault_click_through_event_tag_properties.ex | 51 -- .../v35/model/delivery_schedule.ex | 55 -- .../dfa_reporting/v35/model/dfp_settings.ex | 58 -- .../v35/model/dimension_filter.ex | 52 -- .../v35/model/dimension_value_list.ex | 55 -- .../v35/model/dimension_value_request.ex | 58 -- .../dfa_reporting/v35/model/directory_site.ex | 67 -- .../v35/model/directory_site_settings.ex | 55 -- .../model/directory_sites_list_response.ex | 52 -- .../v35/model/disjunctive_match_statement.ex | 49 -- .../v35/model/dynamic_targeting_key.ex | 55 -- .../dynamic_targeting_keys_list_response.ex | 54 -- .../v35/model/encryption_info.ex | 55 -- .../dfa_reporting/v35/model/event_filter.ex | 49 -- .../dfa_reporting/v35/model/event_tag.ex | 98 --- .../v35/model/event_tags_list_response.ex | 49 -- .../dfa_reporting/v35/model/file.ex | 73 -- .../dfa_reporting/v35/model/file_list.ex | 55 -- .../dfa_reporting/v35/model/file_urls.ex | 49 -- .../dfa_reporting/v35/model/flight.ex | 55 -- ...dlight_activities_generate_tag_response.ex | 57 -- .../floodlight_activities_list_response.ex | 57 -- .../v35/model/floodlight_activity.ex | 148 ---- .../model/floodlight_activity_dynamic_tag.ex | 52 -- .../v35/model/floodlight_activity_group.ex | 85 -- ...loodlight_activity_groups_list_response.ex | 57 -- ...oodlight_activity_publisher_dynamic_tag.ex | 63 -- .../v35/model/floodlight_configuration.ex | 110 --- ...floodlight_configurations_list_response.ex | 54 -- .../floodlight_report_compatible_fields.ex | 55 -- .../dfa_reporting/v35/model/frequency_cap.ex | 49 -- .../dfa_reporting/v35/model/fs_command.ex | 58 -- .../dfa_reporting/v35/model/geo_targeting.ex | 61 -- .../dfa_reporting/v35/model/inventory_item.ex | 103 --- .../model/inventory_items_list_response.ex | 52 -- .../model/key_value_targeting_expression.ex | 46 -- .../dfa_reporting/v35/model/landing_page.ex | 64 -- .../dfa_reporting/v35/model/language.ex | 55 -- .../v35/model/language_targeting.ex | 46 -- .../v35/model/languages_list_response.ex | 49 -- .../v35/model/last_modified_info.ex | 46 -- .../v35/model/list_population_clause.ex | 46 -- .../v35/model/list_population_rule.ex | 57 -- .../v35/model/list_population_term.ex | 67 -- .../v35/model/list_targeting_expression.ex | 46 -- .../v35/model/lookback_configuration.ex | 49 -- .../measurement_partner_advertiser_link.ex | 52 -- .../measurement_partner_campaign_link.ex | 52 -- .../measurement_partner_wrapping_data.ex | 55 -- .../v35/model/media_request_info.ex | 70 ++ .../v35/model/media_response_info.ex | 70 ++ .../dfa_reporting/v35/model/metric.ex | 49 -- .../dfa_reporting/v35/model/metro.ex | 64 -- .../v35/model/metros_list_response.ex | 49 -- .../dfa_reporting/v35/model/mobile_app.ex | 58 -- .../v35/model/mobile_apps_list_response.ex | 52 -- .../dfa_reporting/v35/model/mobile_carrier.ex | 58 -- .../model/mobile_carriers_list_response.ex | 49 -- .../dfa_reporting/v35/model/oba_icon.ex | 67 -- .../dfa_reporting/v35/model/object_filter.ex | 52 -- .../v35/model/omniture_settings.ex | 49 -- .../v35/model/operating_system.ex | 58 -- .../v35/model/operating_system_version.ex | 61 -- ...operating_system_versions_list_response.ex | 54 -- .../model/operating_systems_list_response.ex | 49 -- .../v35/model/optimization_activity.ex | 53 -- .../dfa_reporting/v35/model/order.ex | 103 --- .../dfa_reporting/v35/model/order_contact.ex | 58 -- .../dfa_reporting/v35/model/order_document.ex | 94 --- .../model/order_documents_list_response.ex | 52 -- .../v35/model/orders_list_response.ex | 52 -- .../dfa_reporting/v35/model/path_filter.ex | 52 -- .../model/path_report_compatible_fields.ex | 58 -- .../v35/model/path_report_dimension_value.ex | 58 -- ..._to_conversion_report_compatible_fields.ex | 61 -- .../dfa_reporting/v35/model/placement.ex | 177 ---- .../v35/model/placement_assignment.ex | 55 -- .../v35/model/placement_group.ex | 124 --- .../model/placement_groups_list_response.ex | 52 -- .../placement_strategies_list_response.ex | 53 -- .../v35/model/placement_strategy.ex | 55 -- .../dfa_reporting/v35/model/placement_tag.ex | 49 -- .../placements_generate_tags_response.ex | 49 -- .../v35/model/placements_list_response.ex | 52 -- .../dfa_reporting/v35/model/platform_type.ex | 52 -- .../v35/model/platform_types_list_response.ex | 49 -- .../dfa_reporting/v35/model/postal_code.ex | 58 -- .../v35/model/postal_codes_list_response.ex | 49 -- .../dfa_reporting/v35/model/pricing.ex | 61 -- .../v35/model/pricing_schedule.ex | 73 -- .../model/pricing_schedule_pricing_period.ex | 58 -- .../dfa_reporting/v35/model/project.ex | 109 --- .../v35/model/projects_list_response.ex | 52 -- .../model/reach_report_compatible_fields.ex | 61 -- .../dfa_reporting/v35/model/recipient.ex | 52 -- .../dfa_reporting/v35/model/region.ex | 61 -- .../v35/model/regions_list_response.ex | 49 -- .../v35/model/remarketing_list.ex | 83 -- .../v35/model/remarketing_list_share.ex | 55 -- .../model/remarketing_lists_list_response.ex | 52 -- .../dfa_reporting/v35/model/report.ex | 119 --- .../v35/model/report_compatible_fields.ex | 58 -- .../v35/model/report_criteria.ex | 62 -- .../report_cross_dimension_reach_criteria.ex | 64 -- .../v35/model/report_delivery.ex | 55 -- .../v35/model/report_floodlight_criteria.ex | 69 -- ...t_floodlight_criteria_report_properties.ex | 57 -- .../dfa_reporting/v35/model/report_list.ex | 55 -- .../model/report_path_attribution_criteria.ex | 64 -- .../v35/model/report_path_criteria.ex | 64 -- .../report_path_to_conversion_criteria.ex | 88 -- ...o_conversion_criteria_report_properties.ex | 75 -- .../v35/model/report_reach_criteria.ex | 68 -- .../v35/model/report_schedule.ex | 64 -- .../v35/model/reports_configuration.ex | 53 -- .../v35/model/rich_media_exit_override.ex | 52 -- .../dfa_reporting/v35/model/rule.ex | 52 -- .../dfa_reporting/v35/model/site.ex | 83 -- .../v35/model/site_companion_setting.ex | 55 -- .../dfa_reporting/v35/model/site_contact.ex | 67 -- .../dfa_reporting/v35/model/site_settings.ex | 61 -- .../v35/model/site_skippable_setting.ex | 55 -- .../v35/model/site_transcode_setting.ex | 49 -- .../v35/model/site_video_settings.ex | 64 -- .../v35/model/sites_list_response.ex | 52 -- .../v35/model/sizes_list_response.ex | 49 -- .../v35/model/skippable_setting.ex | 55 -- .../v35/model/sorted_dimension.ex | 52 -- .../dfa_reporting/v35/model/subaccount.ex | 58 -- .../v35/model/subaccounts_list_response.ex | 52 -- .../dfa_reporting/v35/model/tag_data.ex | 58 -- .../dfa_reporting/v35/model/tag_setting.ex | 55 -- .../dfa_reporting/v35/model/tag_settings.ex | 49 -- .../dfa_reporting/v35/model/target_window.ex | 49 -- .../v35/model/targetable_remarketing_list.ex | 80 -- ...getable_remarketing_lists_list_response.ex | 59 -- .../v35/model/targeting_template.ex | 89 -- .../targeting_templates_list_response.ex | 53 -- .../v35/model/technology_targeting.ex | 67 -- .../model/third_party_authentication_token.ex | 49 -- .../v35/model/third_party_tracking_url.ex | 49 -- .../v35/model/transcode_setting.ex | 49 -- .../v35/model/universal_ad_id.ex | 49 -- .../user_defined_variable_configuration.ex | 52 -- .../dfa_reporting/v35/model/user_profile.ex | 67 -- .../v35/model/user_profile_list.ex | 52 -- .../dfa_reporting/v35/model/user_role.ex | 67 -- .../v35/model/user_role_permission.ex | 58 -- .../v35/model/user_role_permission_group.ex | 52 -- ...er_role_permission_groups_list_response.ex | 54 -- .../user_role_permissions_list_response.ex | 51 -- .../v35/model/user_roles_list_response.ex | 52 -- .../dfa_reporting/v35/model/video_format.ex | 58 -- .../v35/model/video_formats_list_response.ex | 49 -- .../dfa_reporting/v35/model/video_offset.ex | 49 -- .../dfa_reporting/v35/model/video_settings.ex | 67 -- .../v4/api/account_active_ad_summaries.ex | 5 +- .../v4/api/account_permission_groups.ex | 13 +- .../v4/api/account_permissions.ex | 6 +- .../v4/api/account_user_profiles.ex | 16 +- .../dfa_reporting/v4/api/accounts.ex | 12 +- .../google_api/dfa_reporting/v4/api/ads.ex | 16 +- .../dfa_reporting/v4/api/advertiser_groups.ex | 18 +- .../v4/api/advertiser_invoices.ex | 2 +- .../v4/api/advertiser_landing_pages.ex | 16 +- .../dfa_reporting/v4/api/advertisers.ex | 14 +- .../v4/api/billing_assignments.ex | 4 +- .../dfa_reporting/v4/api/billing_profiles.ex | 8 +- .../dfa_reporting/v4/api/billing_rates.ex | 2 +- .../dfa_reporting/v4/api/browsers.ex | 2 +- .../v4/api/campaign_creative_associations.ex | 4 +- .../dfa_reporting/v4/api/campaigns.ex | 16 +- .../dfa_reporting/v4/api/change_logs.ex | 6 +- .../google_api/dfa_reporting/v4/api/cities.ex | 2 +- .../dfa_reporting/v4/api/connection_types.ex | 6 +- .../v4/api/content_categories.ex | 18 +- .../dfa_reporting/v4/api/countries.ex | 6 +- .../dfa_reporting/v4/api/creative_assets.ex | 6 +- .../v4/api/creative_field_values.ex | 16 +- .../dfa_reporting/v4/api/creative_fields.ex | 16 +- .../dfa_reporting/v4/api/creative_groups.ex | 14 +- .../dfa_reporting/v4/api/creatives.ex | 14 +- .../dfa_reporting/v4/api/directory_sites.ex | 8 +- .../v4/api/dynamic_targeting_keys.ex | 12 +- .../dfa_reporting/v4/api/event_tags.ex | 18 +- .../v4/api/floodlight_activities.ex | 22 +- .../v4/api/floodlight_activity_groups.ex | 23 +- .../v4/api/floodlight_configurations.ex | 21 +- .../dfa_reporting/v4/api/inventory_items.ex | 6 +- .../dfa_reporting/v4/api/languages.ex | 2 +- .../google_api/dfa_reporting/v4/api/metros.ex | 2 +- .../dfa_reporting/v4/api/mobile_apps.ex | 6 +- .../dfa_reporting/v4/api/mobile_carriers.ex | 6 +- .../v4/api/operating_system_versions.ex | 13 +- .../dfa_reporting/v4/api/operating_systems.ex | 6 +- .../dfa_reporting/v4/api/order_documents.ex | 205 ----- .../google_api/dfa_reporting/v4/api/orders.ex | 6 +- .../dfa_reporting/v4/api/placement_groups.ex | 14 +- .../v4/api/placement_strategies.ex | 18 +- .../dfa_reporting/v4/api/placements.ex | 16 +- .../dfa_reporting/v4/api/platform_types.ex | 6 +- .../dfa_reporting/v4/api/postal_codes.ex | 6 +- .../dfa_reporting/v4/api/projects.ex | 6 +- .../dfa_reporting/v4/api/regions.ex | 2 +- .../v4/api/remarketing_list_shares.ex | 13 +- .../dfa_reporting/v4/api/remarketing_lists.ex | 18 +- .../google_api/dfa_reporting/v4/api/sites.ex | 14 +- .../google_api/dfa_reporting/v4/api/sizes.ex | 8 +- .../dfa_reporting/v4/api/subaccounts.ex | 14 +- .../v4/api/targetable_remarketing_lists.ex | 8 +- .../v4/api/targeting_templates.ex | 14 +- .../v4/api/user_role_permission_groups.ex | 13 +- .../v4/api/user_role_permissions.ex | 6 +- .../dfa_reporting/v4/api/user_roles.ex | 18 +- .../dfa_reporting/v4/api/video_formats.ex | 4 +- .../google_api/dfa_reporting/v4/metadata.ex | 2 +- ...account_permission_groups_list_response.ex | 2 +- .../v4/model/content_category.ex | 2 +- .../dfa_reporting/v4/model/conversion.ex | 10 +- .../dfa_reporting/v4/model/creative.ex | 6 +- .../v4/model/floodlight_configuration.ex | 2 +- .../measurement_partner_advertiser_link.ex | 4 +- .../dfa_reporting/v4/model/metric.ex | 2 +- .../v4/model/offline_user_address_info.ex | 64 ++ .../dfa_reporting/v4/model/order_document.ex | 94 --- .../v4/model/order_documents_list_response.ex | 52 -- .../dfa_reporting/v4/model/placement.ex | 8 + .../placement_conversion_domain_override.ex} | 23 +- .../placement_single_conversion_domain.ex} | 22 +- .../dfa_reporting/v4/model/pricing.ex | 2 +- .../model/pricing_schedule_pricing_period.ex | 2 +- .../dfa_reporting/v4/model/report_schedule.ex | 5 +- .../v4/model/reports_configuration.ex | 2 +- .../dfa_reporting/v4/model/tag_setting.ex | 2 +- .../v4/model/targetable_remarketing_list.ex | 2 +- .../dfa_reporting/v4/model/user_identifier.ex | 52 ++ 373 files changed, 642 insertions(+), 31384 deletions(-) delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_active_ad_summaries.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permission_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permissions.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_user_profiles.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/accounts.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/ads.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_landing_pages.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertisers.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/browsers.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaign_creative_associations.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaigns.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/change_logs.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/cities.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/connection_types.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/content_categories.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/conversions.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/countries.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_field_values.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creatives.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dimension_values.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/directory_sites.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dynamic_targeting_keys.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/event_tags.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/files.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activities.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activity_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_configurations.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/inventory_items.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/languages.ex rename clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/{creative_assets.ex => media.ex} (94%) delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/metros.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_apps.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_carriers.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_system_versions.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_systems.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/order_documents.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/orders.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_strategies.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placements.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/platform_types.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/postal_codes.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/projects.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/regions.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_list_shares.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_lists.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/reports.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sites.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sizes.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/subaccounts.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targetable_remarketing_lists.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targeting_templates.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_profiles.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permission_groups.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permissions.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_roles.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/video_formats.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permissions_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profile.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profiles_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/accounts_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/activities.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_blocking_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_slot.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ads_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_landing_pages_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertisers_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browser.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browsers_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_association.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_associations_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaigns_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_log.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_logs_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping_rule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cities_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/city.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url_suffix_properties.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_click_through_override.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_type.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_types_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_error.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_status.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_request.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_request.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/countries_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_selection.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_assignment.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_assignment.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_value.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_values_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_fields_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_optimization_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creatives_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cross_dimension_reach_report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_floodlight_variable.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_rich_media_events.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/date_range.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/day_part_targeting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/deep_link.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/default_click_through_event_tag_properties.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/delivery_schedule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dfp_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_filter.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_request.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_sites_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/disjunctive_match_statement.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_key.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_keys_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/encryption_info.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_filter.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tags_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_urls.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/flight.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_generate_tag_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_dynamic_tag.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_publisher_dynamic_tag.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configurations_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/frequency_cap.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/geo_targeting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_item.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_items_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/key_value_targeting_expression.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/landing_page.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language_targeting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/languages_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/last_modified_info.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_clause.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_rule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_term.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/lookback_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_advertiser_link.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_campaign_link.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_wrapping_data.ex create mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_request_info.ex create mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_response_info.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metric.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metro.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metros_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_app.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_apps_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carrier.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carriers_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/oba_icon.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/object_filter.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/omniture_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_version.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_versions_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_systems_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/optimization_activity.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_contact.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_document.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_documents_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/orders_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_filter.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_dimension_value.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_to_conversion_report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_assignment.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_generate_tags_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_type.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_types_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_code.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_codes_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule_pricing_period.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/project.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/projects_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reach_report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/recipient.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/region.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/regions_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list_share.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_lists_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_compatible_fields.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_cross_dimension_reach_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_delivery.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria_report_properties.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_attribution_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria_report_properties.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_reach_criteria.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_schedule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reports_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rich_media_exit_override.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rule.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_companion_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_contact.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_skippable_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_transcode_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_video_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sites_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sizes_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/skippable_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sorted_dimension.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccount.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccounts_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_data.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/target_window.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_lists_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_template.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_templates_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/technology_targeting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_authentication_token.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_tracking_url.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/transcode_setting.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/universal_ad_id.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_defined_variable_configuration.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile_list.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_group.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_groups_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permissions_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_roles_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_format.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_formats_list_response.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_offset.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_settings.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/order_documents.ex create mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/offline_user_address_info.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_document.ex delete mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_documents_list_response.ex rename clients/dfa_reporting/lib/google_api/dfa_reporting/{v35/model/event_tag_override.ex => v4/model/placement_conversion_domain_override.ex} (55%) rename clients/dfa_reporting/lib/google_api/dfa_reporting/{v35/model/dimension.ex => v4/model/placement_single_conversion_domain.ex} (58%) create mode 100644 clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/user_identifier.ex diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_active_ad_summaries.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_active_ad_summaries.ex deleted file mode 100644 index ed665928e4..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_active_ad_summaries.ex +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AccountActiveAdSummaries do - @moduledoc """ - API calls for all endpoints tagged `AccountActiveAdSummaries`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets the account's active ad summary by account ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `summary_account_id` (*type:* `String.t`) - Account ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_active_ad_summaries_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_active_ad_summaries_get( - connection, - profile_id, - summary_account_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "summaryAccountId" => - URI.encode(summary_account_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permission_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permission_groups.ex deleted file mode 100644 index 70b294de98..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permission_groups.ex +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AccountPermissionGroups do - @moduledoc """ - API calls for all endpoints tagged `AccountPermissionGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one account permission group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Account permission group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_permission_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_permission_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/accountPermissionGroups/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup{}] - ) - end - - @doc """ - Retrieves the list of account permission groups. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_permission_groups_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_permission_groups_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountPermissionGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permissions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permissions.ex deleted file mode 100644 index 72b0ff88a1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_permissions.ex +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AccountPermissions do - @moduledoc """ - API calls for all endpoints tagged `AccountPermissions`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one account permission by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Account permission ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountPermission{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_permissions_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountPermission.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_permissions_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountPermissions/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountPermission{}]) - end - - @doc """ - Retrieves the list of account permissions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_permissions_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_permissions_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountPermissions", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_user_profiles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_user_profiles.ex deleted file mode 100644 index 633f8a2d34..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/account_user_profiles.ex +++ /dev/null @@ -1,411 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AccountUserProfiles do - @moduledoc """ - API calls for all endpoints tagged `AccountUserProfiles`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one account user profile by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - User profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_user_profiles_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_user_profiles_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}]) - end - - @doc """ - Inserts a new account user profile. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_user_profiles_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_user_profiles_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}]) - end - - @doc """ - Retrieves a list of account user profiles, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active user profiles. - * `:ids` (*type:* `list(String.t)`) - Select only user profiles with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or simply "user profile". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:subaccountId` (*type:* `String.t`) - Select only user profiles with the specified subaccount ID. - * `:userRoleId` (*type:* `String.t`) - Select only user profiles with the specified user role ID. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_user_profiles_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_user_profiles_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :subaccountId => :query, - :userRoleId => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse{}] - ) - end - - @doc """ - Updates an existing account user profile. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - AccountUserProfile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_user_profiles_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_user_profiles_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}]) - end - - @doc """ - Updates an existing account user profile. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_account_user_profiles_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_account_user_profiles_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountUserProfile{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/accounts.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/accounts.ex deleted file mode 100644 index 0164c7c101..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/accounts.ex +++ /dev/null @@ -1,301 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Accounts do - @moduledoc """ - API calls for all endpoints tagged `Accounts`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one account by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Account ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Account{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_accounts_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Account.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_accounts_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accounts/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Account{}]) - end - - @doc """ - Retrieves the list of accounts, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active accounts. Don't set this field to select both active and non-active accounts. - * `:ids` (*type:* `list(String.t)`) - Select only accounts with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "account*2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "account" will match objects with name "my account", "account 2015", or simply "account". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AccountsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_accounts_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AccountsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_accounts_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AccountsListResponse{}]) - end - - @doc """ - Updates an existing account. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Account ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Account.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Account{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_accounts_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Account.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_accounts_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Account{}]) - end - - @doc """ - Updates an existing account. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Account.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Account{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_accounts_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Account.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_accounts_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/accounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Account{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/ads.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/ads.ex deleted file mode 100644 index 475f9bf2ba..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/ads.ex +++ /dev/null @@ -1,383 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Ads do - @moduledoc """ - API calls for all endpoints tagged `Ads`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one ad by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Ad ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Ad{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_ads_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Ad.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_ads_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/ads/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Ad{}]) - end - - @doc """ - Inserts a new ad. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Ad.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Ad{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_ads_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Ad.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_ads_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/ads", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Ad{}]) - end - - @doc """ - Retrieves a list of ads, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active ads. - * `:advertiserId` (*type:* `String.t`) - Select only ads with this advertiser ID. - * `:archived` (*type:* `boolean()`) - Select only archived ads. - * `:audienceSegmentIds` (*type:* `list(String.t)`) - Select only ads with these audience segment IDs. - * `:campaignIds` (*type:* `list(String.t)`) - Select only ads with these campaign IDs. - * `:compatibility` (*type:* `String.t`) - Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard. - * `:creativeIds` (*type:* `list(String.t)`) - Select only ads with these creative IDs assigned. - * `:creativeOptimizationConfigurationIds` (*type:* `list(String.t)`) - Select only ads with these creative optimization configuration IDs. - * `:dynamicClickTracker` (*type:* `boolean()`) - Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both. - * `:ids` (*type:* `list(String.t)`) - Select only ads with these IDs. - * `:landingPageIds` (*type:* `list(String.t)`) - Select only ads with these landing page IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:overriddenEventTagId` (*type:* `String.t`) - Select only ads with this event tag override ID. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:placementIds` (*type:* `list(String.t)`) - Select only ads with these placement IDs assigned. - * `:remarketingListIds` (*type:* `list(String.t)`) - Select only ads whose list targeting expression use these remarketing list IDs. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "ad*2015" will return objects with names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "ad" will match objects with name "my ad", "ad 2015", or simply "ad". - * `:sizeIds` (*type:* `list(String.t)`) - Select only ads with these size IDs. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:sslCompliant` (*type:* `boolean()`) - Select only ads that are SSL-compliant. - * `:sslRequired` (*type:* `boolean()`) - Select only ads that require SSL. - * `:type` (*type:* `list(String.t)`) - Select only ads with these types. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_ads_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_ads_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :advertiserId => :query, - :archived => :query, - :audienceSegmentIds => :query, - :campaignIds => :query, - :compatibility => :query, - :creativeIds => :query, - :creativeOptimizationConfigurationIds => :query, - :dynamicClickTracker => :query, - :ids => :query, - :landingPageIds => :query, - :maxResults => :query, - :overriddenEventTagId => :query, - :pageToken => :query, - :placementIds => :query, - :remarketingListIds => :query, - :searchString => :query, - :sizeIds => :query, - :sortField => :query, - :sortOrder => :query, - :sslCompliant => :query, - :sslRequired => :query, - :type => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/ads", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdsListResponse{}]) - end - - @doc """ - Updates an existing ad. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Ad ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Ad.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Ad{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_ads_patch(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Ad.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_ads_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/ads", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Ad{}]) - end - - @doc """ - Updates an existing ad. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Ad.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Ad{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_ads_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Ad.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_ads_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/ads", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Ad{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_groups.ex deleted file mode 100644 index 4ed98906d7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_groups.ex +++ /dev/null @@ -1,470 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AdvertiserGroups do - @moduledoc """ - API calls for all endpoints tagged `AdvertiserGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing advertiser group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Advertiser group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_advertiser_groups_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one advertiser group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Advertiser group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}]) - end - - @doc """ - Inserts a new advertiser group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_groups_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}]) - end - - @doc """ - Retrieves a list of advertiser groups, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only advertiser groups with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser group June 2015", "advertiser group April 2015", or simply "advertiser group 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertisergroup" will match objects with name "my advertisergroup", "advertisergroup 2015", or simply "advertisergroup". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_groups_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse{}] - ) - end - - @doc """ - Updates an existing advertiser group. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - AdvertiserGroup ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_groups_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}]) - end - - @doc """ - Updates an existing advertiser group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_groups_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_groups_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserGroup{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_landing_pages.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_landing_pages.ex deleted file mode 100644 index 8221d37669..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertiser_landing_pages.ex +++ /dev/null @@ -1,413 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.AdvertiserLandingPages do - @moduledoc """ - API calls for all endpoints tagged `AdvertiserLandingPages`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one landing page by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Landing page ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.LandingPage{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_landing_pages_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.LandingPage.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_landing_pages_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.LandingPage{}]) - end - - @doc """ - Inserts a new landing page. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.LandingPage.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.LandingPage{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_landing_pages_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.LandingPage.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_landing_pages_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.LandingPage{}]) - end - - @doc """ - Retrieves a list of landing pages. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only landing pages that belong to these advertisers. - * `:archived` (*type:* `boolean()`) - Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages. - * `:campaignIds` (*type:* `list(String.t)`) - Select only landing pages that are associated with these campaigns. - * `:ids` (*type:* `list(String.t)`) - Select only landing pages with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, "landingpage*2017" will return landing pages with names like "landingpage July 2017", "landingpage March 2017", or simply "landingpage 2017". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "landingpage" will match campaigns with name "my landingpage", "landingpage 2015", or simply "landingpage". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:subaccountId` (*type:* `String.t`) - Select only landing pages that belong to this subaccount. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_landing_pages_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_landing_pages_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :archived => :query, - :campaignIds => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :subaccountId => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse{}] - ) - end - - @doc """ - Updates an existing advertiser landing page. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - LandingPage ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.LandingPage.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.LandingPage{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_landing_pages_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.LandingPage.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_landing_pages_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.LandingPage{}]) - end - - @doc """ - Updates an existing landing page. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.LandingPage.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.LandingPage{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertiser_landing_pages_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.LandingPage.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertiser_landing_pages_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.LandingPage{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertisers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertisers.ex deleted file mode 100644 index 55a0835a5c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/advertisers.ex +++ /dev/null @@ -1,381 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Advertisers do - @moduledoc """ - API calls for all endpoints tagged `Advertisers`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one advertiser by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Advertiser ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Advertiser{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertisers_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Advertiser.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertisers_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertisers/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Advertiser{}]) - end - - @doc """ - Inserts a new advertiser. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Advertiser.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Advertiser{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertisers_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Advertiser.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertisers_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertisers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Advertiser{}]) - end - - @doc """ - Retrieves a list of advertisers, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserGroupIds` (*type:* `list(String.t)`) - Select only advertisers with these advertiser group IDs. - * `:floodlightConfigurationIds` (*type:* `list(String.t)`) - Select only advertisers with these floodlight configuration IDs. - * `:ids` (*type:* `list(String.t)`) - Select only advertisers with these IDs. - * `:includeAdvertisersWithoutGroupsOnly` (*type:* `boolean()`) - Select only advertisers which do not belong to any advertiser group. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:onlyParent` (*type:* `boolean()`) - Select only advertisers which use another advertiser's floodlight configuration. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser June 2015", "advertiser April 2015", or simply "advertiser 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertiser" will match objects with name "my advertiser", "advertiser 2015", or simply "advertiser" . - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:status` (*type:* `String.t`) - Select only advertisers with the specified status. - * `:subaccountId` (*type:* `String.t`) - Select only advertisers with these subaccount IDs. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertisers_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertisers_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserGroupIds => :query, - :floodlightConfigurationIds => :query, - :ids => :query, - :includeAdvertisersWithoutGroupsOnly => :query, - :maxResults => :query, - :onlyParent => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :status => :query, - :subaccountId => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertisers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse{}] - ) - end - - @doc """ - Updates an existing advertiser. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Advertiser ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Advertiser.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Advertiser{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertisers_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Advertiser.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertisers_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertisers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Advertiser{}]) - end - - @doc """ - Updates an existing advertiser. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Advertiser.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Advertiser{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_advertisers_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Advertiser.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_advertisers_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/advertisers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Advertiser{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/browsers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/browsers.ex deleted file mode 100644 index 191ec50f2c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/browsers.ex +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Browsers do - @moduledoc """ - API calls for all endpoints tagged `Browsers`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a list of browsers. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.BrowsersListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_browsers_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.BrowsersListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_browsers_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/browsers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.BrowsersListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaign_creative_associations.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaign_creative_associations.ex deleted file mode 100644 index 7985832f08..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaign_creative_associations.ex +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.CampaignCreativeAssociations do - @moduledoc """ - API calls for all endpoints tagged `CampaignCreativeAssociations`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `campaign_id` (*type:* `String.t`) - Campaign ID in this association. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaign_creative_associations_insert( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaign_creative_associations_insert( - connection, - profile_id, - campaign_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "campaignId" => URI.encode(campaign_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation{}] - ) - end - - @doc """ - Retrieves the list of creative IDs associated with the specified campaign. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `campaign_id` (*type:* `String.t`) - Campaign ID in this association. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaign_creative_associations_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaign_creative_associations_list( - connection, - profile_id, - campaign_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :maxResults => :query, - :pageToken => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "campaignId" => URI.encode(campaign_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ - [struct: %GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaigns.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaigns.ex deleted file mode 100644 index 9473adcd3a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/campaigns.ex +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Campaigns do - @moduledoc """ - API calls for all endpoints tagged `Campaigns`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one campaign by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Campaign ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Campaign{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaigns_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Campaign.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaigns_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/campaigns/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Campaign{}]) - end - - @doc """ - Inserts a new campaign. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Campaign.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Campaign{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaigns_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Campaign.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaigns_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/campaigns", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Campaign{}]) - end - - @doc """ - Retrieves a list of campaigns, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserGroupIds` (*type:* `list(String.t)`) - Select only campaigns whose advertisers belong to these advertiser groups. - * `:advertiserIds` (*type:* `list(String.t)`) - Select only campaigns that belong to these advertisers. - * `:archived` (*type:* `boolean()`) - Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns. - * `:atLeastOneOptimizationActivity` (*type:* `boolean()`) - Select only campaigns that have at least one optimization activity. - * `:excludedIds` (*type:* `list(String.t)`) - Exclude campaigns with these IDs. - * `:ids` (*type:* `list(String.t)`) - Select only campaigns with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:overriddenEventTagId` (*type:* `String.t`) - Select only campaigns that have overridden this event tag ID. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign June 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:subaccountId` (*type:* `String.t`) - Select only campaigns that belong to this subaccount. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CampaignsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaigns_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CampaignsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaigns_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserGroupIds => :query, - :advertiserIds => :query, - :archived => :query, - :atLeastOneOptimizationActivity => :query, - :excludedIds => :query, - :ids => :query, - :maxResults => :query, - :overriddenEventTagId => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :subaccountId => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/campaigns", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CampaignsListResponse{}] - ) - end - - @doc """ - Updates an existing campaign. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Campaign ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Campaign.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Campaign{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaigns_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Campaign.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaigns_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/campaigns", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Campaign{}]) - end - - @doc """ - Updates an existing campaign. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Campaign.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Campaign{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_campaigns_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Campaign.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_campaigns_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/campaigns", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Campaign{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/change_logs.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/change_logs.ex deleted file mode 100644 index 5a51883d95..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/change_logs.ex +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.ChangeLogs do - @moduledoc """ - API calls for all endpoints tagged `ChangeLogs`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one change log by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Change log ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ChangeLog{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_change_logs_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ChangeLog.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_change_logs_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/changeLogs/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ChangeLog{}]) - end - - @doc """ - Retrieves a list of change logs. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:action` (*type:* `String.t`) - Select only change logs with the specified action. - * `:ids` (*type:* `list(String.t)`) - Select only change logs with these IDs. - * `:maxChangeTime` (*type:* `String.t`) - Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:minChangeTime` (*type:* `String.t`) - Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset. - * `:objectIds` (*type:* `list(String.t)`) - Select only change logs with these object IDs. - * `:objectType` (*type:* `String.t`) - Select only change logs with the specified object type. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Select only change logs whose object ID, user name, old or new values match the search string. - * `:userProfileIds` (*type:* `list(String.t)`) - Select only change logs with these user profile IDs. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_change_logs_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_change_logs_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :action => :query, - :ids => :query, - :maxChangeTime => :query, - :maxResults => :query, - :minChangeTime => :query, - :objectIds => :query, - :objectType => :query, - :pageToken => :query, - :searchString => :query, - :userProfileIds => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/changeLogs", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/cities.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/cities.ex deleted file mode 100644 index d0e98cf2f2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/cities.ex +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Cities do - @moduledoc """ - API calls for all endpoints tagged `Cities`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a list of cities, possibly filtered. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:countryDartIds` (*type:* `list(String.t)`) - Select only cities from these countries. - * `:dartIds` (*type:* `list(String.t)`) - Select only cities with these DART IDs. - * `:namePrefix` (*type:* `String.t`) - Select only cities with names starting with this prefix. - * `:regionDartIds` (*type:* `list(String.t)`) - Select only cities from these regions. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CitiesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_cities_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CitiesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_cities_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :countryDartIds => :query, - :dartIds => :query, - :namePrefix => :query, - :regionDartIds => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/cities", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CitiesListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/connection_types.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/connection_types.ex deleted file mode 100644 index 0e8a7cfdb4..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/connection_types.ex +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.ConnectionTypes do - @moduledoc """ - API calls for all endpoints tagged `ConnectionTypes`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one connection type by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Connection type ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ConnectionType{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_connection_types_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ConnectionType.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_connection_types_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/connectionTypes/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ConnectionType{}]) - end - - @doc """ - Retrieves a list of connection types. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_connection_types_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_connection_types_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/connectionTypes", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/content_categories.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/content_categories.ex deleted file mode 100644 index 3d44fbe767..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/content_categories.ex +++ /dev/null @@ -1,470 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.ContentCategories do - @moduledoc """ - API calls for all endpoints tagged `ContentCategories`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing content category. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Content category ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_content_categories_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one content category by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Content category ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ContentCategory{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ContentCategory.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_content_categories_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ContentCategory{}]) - end - - @doc """ - Inserts a new content category. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.ContentCategory.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ContentCategory{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ContentCategory.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_content_categories_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ContentCategory{}]) - end - - @doc """ - Retrieves a list of content categories, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only content categories with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "contentcategory*2015" will return objects with names like "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "contentcategory" will match objects with name "my contentcategory", "contentcategory 2015", or simply "contentcategory". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_content_categories_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse{}] - ) - end - - @doc """ - Updates an existing content category. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - ContentCategory ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.ContentCategory.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ContentCategory{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ContentCategory.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_content_categories_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ContentCategory{}]) - end - - @doc """ - Updates an existing content category. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.ContentCategory.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ContentCategory{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_content_categories_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ContentCategory.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_content_categories_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/contentCategories", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ContentCategory{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/conversions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/conversions.ex deleted file mode 100644 index 8a2d1a0118..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/conversions.ex +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Conversions do - @moduledoc """ - API calls for all endpoints tagged `Conversions`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Inserts conversions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertRequest.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_conversions_batchinsert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_conversions_batchinsert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/conversions/batchinsert", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse{}] - ) - end - - @doc """ - Updates existing conversions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateRequest.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_conversions_batchupdate(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_conversions_batchupdate( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/conversions/batchupdate", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/countries.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/countries.ex deleted file mode 100644 index bdb1c683f2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/countries.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Countries do - @moduledoc """ - API calls for all endpoints tagged `Countries`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one country by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `dart_id` (*type:* `String.t`) - Country DART ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Country{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_countries_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Country.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_countries_get( - connection, - profile_id, - dart_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/countries/{dartId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "dartId" => URI.encode(dart_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Country{}]) - end - - @doc """ - Retrieves a list of countries. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CountriesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_countries_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CountriesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_countries_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/countries", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CountriesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_field_values.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_field_values.ex deleted file mode 100644 index 03ffe35a0f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_field_values.ex +++ /dev/null @@ -1,517 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.CreativeFieldValues do - @moduledoc """ - API calls for all endpoints tagged `CreativeFieldValues`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing creative field value. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - Creative field ID for this creative field value. - * `id` (*type:* `String.t`) - Creative Field Value ID - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_delete( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_creative_field_values_delete( - connection, - profile_id, - creative_field_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one creative field value by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - Creative field ID for this creative field value. - * `id` (*type:* `String.t`) - Creative Field Value ID - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_field_values_get( - connection, - profile_id, - creative_field_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}]) - end - - @doc """ - Inserts a new creative field value. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - Creative field ID for this creative field value. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_insert( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_field_values_insert( - connection, - profile_id, - creative_field_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}]) - end - - @doc """ - Retrieves a list of creative field values, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - Creative field ID for this creative field value. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only creative field values with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_field_values_list( - connection, - profile_id, - creative_field_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse{}] - ) - end - - @doc """ - Updates an existing creative field value. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - CreativeField ID. - * `id` (*type:* `String.t`) - CreativeFieldValue ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_patch( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_field_values_patch( - connection, - profile_id, - creative_field_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}]) - end - - @doc """ - Updates an existing creative field value. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `creative_field_id` (*type:* `String.t`) - Creative field ID for this creative field value. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_field_values_update( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_field_values_update( - connection, - profile_id, - creative_field_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldValue{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_fields.ex deleted file mode 100644 index 704060237e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_fields.ex +++ /dev/null @@ -1,457 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.CreativeFields do - @moduledoc """ - API calls for all endpoints tagged `CreativeFields`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing creative field. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative Field ID - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_creative_fields_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one creative field by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative Field ID - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeField{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeField.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_fields_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeField{}]) - end - - @doc """ - Inserts a new creative field. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeField.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeField{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeField.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_fields_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeField{}]) - end - - @doc """ - Retrieves a list of creative fields, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only creative fields that belong to these advertisers. - * `:ids` (*type:* `list(String.t)`) - Select only creative fields with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will return creative fields with names like "creativefield June 2015", "creativefield April 2015", or simply "creativefield 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativefield" will match creative fields with the name "my creativefield", "creativefield 2015", or simply "creativefield". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_fields_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse{}] - ) - end - - @doc """ - Updates an existing creative field. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - CreativeField ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeField.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeField{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeField.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_fields_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeField{}]) - end - - @doc """ - Updates an existing creative field. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeField.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeField{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_fields_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeField.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_fields_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeFields", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeField{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_groups.ex deleted file mode 100644 index 63be7a015d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_groups.ex +++ /dev/null @@ -1,389 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.CreativeGroups do - @moduledoc """ - API calls for all endpoints tagged `CreativeGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one creative group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}]) - end - - @doc """ - Inserts a new creative group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_groups_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_groups_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}]) - end - - @doc """ - Retrieves a list of creative groups, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only creative groups that belong to these advertisers. - * `:groupNumber` (*type:* `integer()`) - Select only creative groups that belong to this subgroup. - * `:ids` (*type:* `list(String.t)`) - Select only creative groups with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativegroup" will match creative groups with the name "my creativegroup", "creativegroup 2015", or simply "creativegroup". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_groups_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_groups_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :groupNumber => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse{}] - ) - end - - @doc """ - Updates an existing creative group. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - CreativeGroup ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_groups_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_groups_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}]) - end - - @doc """ - Updates an existing creative group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creative_groups_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativeGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creative_groups_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creativeGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativeGroup{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creatives.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creatives.ex deleted file mode 100644 index ff7d6d56a5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creatives.ex +++ /dev/null @@ -1,383 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Creatives do - @moduledoc """ - API calls for all endpoints tagged `Creatives`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one creative by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Creative{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creatives_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Creative.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creatives_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creatives/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Creative{}]) - end - - @doc """ - Inserts a new creative. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Creative.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Creative{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creatives_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Creative.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creatives_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creatives", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Creative{}]) - end - - @doc """ - Retrieves a list of creatives, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active creatives. Leave blank to select active and inactive creatives. - * `:advertiserId` (*type:* `String.t`) - Select only creatives with this advertiser ID. - * `:archived` (*type:* `boolean()`) - Select only archived creatives. Leave blank to select archived and unarchived creatives. - * `:campaignId` (*type:* `String.t`) - Select only creatives with this campaign ID. - * `:companionCreativeIds` (*type:* `list(String.t)`) - Select only in-stream video creatives with these companion IDs. - * `:creativeFieldIds` (*type:* `list(String.t)`) - Select only creatives with these creative field IDs. - * `:ids` (*type:* `list(String.t)`) - Select only creatives with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:renderingIds` (*type:* `list(String.t)`) - Select only creatives with these rendering IDs. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June 2015", "creative April 2015", or simply "creative 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "creative" will match objects with name "my creative", "creative 2015", or simply "creative". - * `:sizeIds` (*type:* `list(String.t)`) - Select only creatives with these size IDs. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:studioCreativeId` (*type:* `String.t`) - Select only creatives corresponding to this Studio creative ID. - * `:types` (*type:* `list(String.t)`) - Select only creatives with these creative types. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creatives_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CreativesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creatives_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :advertiserId => :query, - :archived => :query, - :campaignId => :query, - :companionCreativeIds => :query, - :creativeFieldIds => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :renderingIds => :query, - :searchString => :query, - :sizeIds => :query, - :sortField => :query, - :sortOrder => :query, - :studioCreativeId => :query, - :types => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creatives", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CreativesListResponse{}] - ) - end - - @doc """ - Updates an existing creative. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Creative.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Creative{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creatives_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Creative.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creatives_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creatives", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Creative{}]) - end - - @doc """ - Updates an existing creative. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Creative.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Creative{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_creatives_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Creative.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_creatives_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/creatives", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Creative{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dimension_values.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dimension_values.ex deleted file mode 100644 index bc1b9e6cd5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dimension_values.ex +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.DimensionValues do - @moduledoc """ - API calls for all endpoints tagged `DimensionValues`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves list of report dimension values for a list of filters. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - The value of the nextToken from the previous result page. - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValueRequest.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DimensionValueList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_dimension_values_query(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DimensionValueList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_dimension_values_query( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :maxResults => :query, - :pageToken => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/dimensionvalues/query", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DimensionValueList{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/directory_sites.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/directory_sites.ex deleted file mode 100644 index 0bafedac07..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/directory_sites.ex +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.DirectorySites do - @moduledoc """ - API calls for all endpoints tagged `DirectorySites`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one directory site by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Directory site ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DirectorySite{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_directory_sites_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DirectorySite.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_directory_sites_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/directorySites/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DirectorySite{}]) - end - - @doc """ - Inserts a new directory site. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.DirectorySite.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DirectorySite{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_directory_sites_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DirectorySite.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_directory_sites_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/directorySites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DirectorySite{}]) - end - - @doc """ - Retrieves a list of directory sites, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:acceptsInStreamVideoPlacements` (*type:* `boolean()`) - This search filter is no longer supported and will have no effect on the results returned. - * `:acceptsInterstitialPlacements` (*type:* `boolean()`) - This search filter is no longer supported and will have no effect on the results returned. - * `:acceptsPublisherPaidPlacements` (*type:* `boolean()`) - Select only directory sites that accept publisher paid placements. This field can be left blank. - * `:active` (*type:* `boolean()`) - Select only active directory sites. Leave blank to retrieve both active and inactive directory sites. - * `:dfpNetworkCode` (*type:* `String.t`) - Select only directory sites with this Ad Manager network code. - * `:ids` (*type:* `list(String.t)`) - Select only directory sites with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, "directory site*2015" will return objects with names like "directory site June 2015", "directory site April 2015", or simply "directory site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "directory site" will match objects with name "my directory site", "directory site 2015" or simply, "directory site". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_directory_sites_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_directory_sites_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :acceptsInStreamVideoPlacements => :query, - :acceptsInterstitialPlacements => :query, - :acceptsPublisherPaidPlacements => :query, - :active => :query, - :dfpNetworkCode => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/directorySites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dynamic_targeting_keys.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dynamic_targeting_keys.ex deleted file mode 100644 index b810bd026f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/dynamic_targeting_keys.ex +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.DynamicTargetingKeys do - @moduledoc """ - API calls for all endpoints tagged `DynamicTargetingKeys`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing dynamic targeting key. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `object_id` (*type:* `String.t`) - ID of the object of this dynamic targeting key. This is a required field. - * `name` (*type:* `String.t`) - Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - * `object_type` (*type:* `String.t`) - Type of the object of this dynamic targeting key. This is a required field. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_dynamic_targeting_keys_delete( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_dynamic_targeting_keys_delete( - connection, - profile_id, - object_id, - name, - object_type, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "objectId" => URI.encode(object_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_param(:query, :name, name) - |> Request.add_param(:query, :objectType, object_type) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_dynamic_targeting_keys_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_dynamic_targeting_keys_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey{}]) - end - - @doc """ - Retrieves a list of dynamic targeting keys. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserId` (*type:* `String.t`) - Select only dynamic targeting keys whose object has this advertiser ID. - * `:names` (*type:* `list(String.t)`) - Select only dynamic targeting keys exactly matching these names. - * `:objectId` (*type:* `String.t`) - Select only dynamic targeting keys with this object ID. - * `:objectType` (*type:* `String.t`) - Select only dynamic targeting keys with this object type. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_dynamic_targeting_keys_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_dynamic_targeting_keys_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserId => :query, - :names => :query, - :objectId => :query, - :objectType => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/event_tags.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/event_tags.ex deleted file mode 100644 index a9784d4238..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/event_tags.ex +++ /dev/null @@ -1,441 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.EventTags do - @moduledoc """ - API calls for all endpoints tagged `EventTags`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing event tag. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Event tag ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_event_tags_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one event tag by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Event tag ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.EventTag{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.EventTag.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_event_tags_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.EventTag{}]) - end - - @doc """ - Inserts a new event tag. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.EventTag.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.EventTag{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.EventTag.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_event_tags_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.EventTag{}]) - end - - @doc """ - Retrieves a list of event tags, possibly filtered. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:adId` (*type:* `String.t`) - Select only event tags that belong to this ad. - * `:advertiserId` (*type:* `String.t`) - Select only event tags that belong to this advertiser. - * `:campaignId` (*type:* `String.t`) - Select only event tags that belong to this campaign. - * `:definitionsOnly` (*type:* `boolean()`) - Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. - * `:enabled` (*type:* `boolean()`) - Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. - * `:eventTagTypes` (*type:* `list(String.t)`) - Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. - * `:ids` (*type:* `list(String.t)`) - Select only event tags with these IDs. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.EventTagsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.EventTagsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_event_tags_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :adId => :query, - :advertiserId => :query, - :campaignId => :query, - :definitionsOnly => :query, - :enabled => :query, - :eventTagTypes => :query, - :ids => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.EventTagsListResponse{}] - ) - end - - @doc """ - Updates an existing event tag. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - EventTag ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.EventTag.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.EventTag{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.EventTag.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_event_tags_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.EventTag{}]) - end - - @doc """ - Updates an existing event tag. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.EventTag.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.EventTag{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_event_tags_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.EventTag.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_event_tags_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/eventTags", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.EventTag{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/files.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/files.ex deleted file mode 100644 index ac76430eb2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/files.ex +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Files do - @moduledoc """ - API calls for all endpoints tagged `Files`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a report file by its report ID and file ID. This method supports media download. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `report_id` (*type:* `String.t`) - The ID of the report. - * `file_id` (*type:* `String.t`) - The ID of the report file. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.File{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_files_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.File.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_files_get(connection, report_id, file_id, optional_params \\ [], opts \\ []) do - opts = - if Keyword.get(optional_params, :alt) == "media", - do: Keyword.put_new(opts, :decode, false), - else: opts - - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/reports/{reportId}/files/{fileId}", %{ - "reportId" => URI.encode(report_id, &URI.char_unreserved?/1), - "fileId" => URI.encode(file_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.File{}]) - end - - @doc """ - Lists files for a user profile. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - The value of the nextToken from the previous result page. - * `:scope` (*type:* `String.t`) - The scope that defines which results are returned. - * `:sortField` (*type:* `String.t`) - The field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FileList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_files_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FileList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_files_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :maxResults => :query, - :pageToken => :query, - :scope => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/files", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FileList{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activities.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activities.ex deleted file mode 100644 index c1ae1c2dcd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activities.ex +++ /dev/null @@ -1,567 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.FloodlightActivities do - @moduledoc """ - API calls for all endpoints tagged `FloodlightActivities`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing floodlight activity. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Floodlight activity ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_floodlight_activities_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Generates a tag for a floodlight activity. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:floodlightActivityId` (*type:* `String.t`) - Floodlight activity ID for which we want to generate a tag. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_generatetag( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_generatetag( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :floodlightActivityId => :query - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/generatetag", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ - [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse{}] - ) - end - - @doc """ - Gets one floodlight activity by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Floodlight activity ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}]) - end - - @doc """ - Inserts a new floodlight activity. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}]) - end - - @doc """ - Retrieves a list of floodlight activities, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserId` (*type:* `String.t`) - Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. - * `:floodlightActivityGroupIds` (*type:* `list(String.t)`) - Select only floodlight activities with the specified floodlight activity group IDs. - * `:floodlightActivityGroupName` (*type:* `String.t`) - Select only floodlight activities with the specified floodlight activity group name. - * `:floodlightActivityGroupTagString` (*type:* `String.t`) - Select only floodlight activities with the specified floodlight activity group tag string. - * `:floodlightActivityGroupType` (*type:* `String.t`) - Select only floodlight activities with the specified floodlight activity group type. - * `:floodlightConfigurationId` (*type:* `String.t`) - Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. - * `:ids` (*type:* `list(String.t)`) - Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivity" will match objects with name "my floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:tagString` (*type:* `String.t`) - Select only floodlight activities with the specified tag string. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserId => :query, - :floodlightActivityGroupIds => :query, - :floodlightActivityGroupName => :query, - :floodlightActivityGroupTagString => :query, - :floodlightActivityGroupType => :query, - :floodlightConfigurationId => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :tagString => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse{}] - ) - end - - @doc """ - Updates an existing floodlight activity. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightActivity ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}]) - end - - @doc """ - Updates an existing floodlight activity. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activities_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activities_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivity{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activity_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activity_groups.ex deleted file mode 100644 index 9cad0c45bc..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_activity_groups.ex +++ /dev/null @@ -1,422 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.FloodlightActivityGroups do - @moduledoc """ - API calls for all endpoints tagged `FloodlightActivityGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one floodlight activity group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Floodlight activity Group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activity_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activity_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}] - ) - end - - @doc """ - Inserts a new floodlight activity group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activity_groups_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activity_groups_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}] - ) - end - - @doc """ - Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserId` (*type:* `String.t`) - Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result. - * `:floodlightConfigurationId` (*type:* `String.t`) - Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result. - * `:ids` (*type:* `list(String.t)`) - Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will return objects with names like "floodlightactivitygroup June 2015", "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivitygroup" will match objects with name "my floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply "floodlightactivitygroup". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:type` (*type:* `String.t`) - Select only floodlight activity groups with the specified floodlight activity group type. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activity_groups_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activity_groups_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserId => :query, - :floodlightConfigurationId => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :type => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse{}] - ) - end - - @doc """ - Updates an existing floodlight activity group. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightActivityGroup ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activity_groups_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activity_groups_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}] - ) - end - - @doc """ - Updates an existing floodlight activity group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_activity_groups_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_activity_groups_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_configurations.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_configurations.ex deleted file mode 100644 index b98a0c2009..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/floodlight_configurations.ex +++ /dev/null @@ -1,332 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.FloodlightConfigurations do - @moduledoc """ - API calls for all endpoints tagged `FloodlightConfigurations`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one floodlight configuration by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Floodlight configuration ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_configurations_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_configurations_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}] - ) - end - - @doc """ - Retrieves a list of floodlight configurations, possibly filtered. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_configurations_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_configurations_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse{}] - ) - end - - @doc """ - Updates an existing floodlight configuration. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightConfiguration ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_configurations_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_configurations_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}] - ) - end - - @doc """ - Updates an existing floodlight configuration. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_floodlight_configurations_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_floodlight_configurations_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/inventory_items.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/inventory_items.ex deleted file mode 100644 index d1d5975d4c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/inventory_items.ex +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.InventoryItems do - @moduledoc """ - API calls for all endpoints tagged `InventoryItems`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one inventory item by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `id` (*type:* `String.t`) - Inventory item ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.InventoryItem{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_inventory_items_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.InventoryItem.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_inventory_items_get( - connection, - profile_id, - project_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.InventoryItem{}]) - end - - @doc """ - Retrieves a list of inventory items, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only inventory items with these IDs. - * `:inPlan` (*type:* `boolean()`) - Select only inventory items that are in plan. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:orderId` (*type:* `list(String.t)`) - Select only inventory items that belong to specified orders. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:siteId` (*type:* `list(String.t)`) - Select only inventory items that are associated with these sites. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:type` (*type:* `String.t`) - Select only inventory items with this type. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_inventory_items_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_inventory_items_list( - connection, - profile_id, - project_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :inPlan => :query, - :maxResults => :query, - :orderId => :query, - :pageToken => :query, - :siteId => :query, - :sortField => :query, - :sortOrder => :query, - :type => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/inventoryItems", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/languages.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/languages.ex deleted file mode 100644 index 9f0eb7609a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/languages.ex +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Languages do - @moduledoc """ - API calls for all endpoints tagged `Languages`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a list of languages. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.LanguagesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_languages_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.LanguagesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_languages_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/languages", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.LanguagesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_assets.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/media.ex similarity index 94% rename from clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_assets.ex rename to clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/media.ex index db205b74c3..88e1fb8e10 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/creative_assets.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/media.ex @@ -15,9 +15,9 @@ # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. -defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do +defmodule GoogleApi.DFAReporting.V35.Api.Media do @moduledoc """ - API calls for all endpoints tagged `CreativeAssets`. + API calls for all endpoints tagged `Media`. """ alias GoogleApi.DFAReporting.V35.Connection @@ -53,7 +53,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata{}}` on success * `{:error, info}` on failure """ - @spec dfareporting_creative_assets_insert( + @spec dfareporting_media_upload( Tesla.Env.client(), String.t(), String.t(), @@ -64,7 +64,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_creative_assets_insert( + def dfareporting_media_upload( connection, profile_id, advertiser_id, @@ -90,7 +90,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/dfareporting/v3.5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) @@ -136,7 +136,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata{}}` on success * `{:error, info}` on failure """ - @spec dfareporting_creative_assets_insert_iodata( + @spec dfareporting_media_upload_iodata( Tesla.Env.client(), String.t(), String.t(), @@ -150,7 +150,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_creative_assets_insert_iodata( + def dfareporting_media_upload_iodata( connection, profile_id, advertiser_id, @@ -178,7 +178,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/upload/dfareporting/v3.5/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/upload/dfareporting/v3.5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) @@ -227,7 +227,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do * `{:ok, %GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata{}}` on success * `{:error, info}` on failure """ - @spec dfareporting_creative_assets_insert_simple( + @spec dfareporting_media_upload_simple( Tesla.Env.client(), String.t(), String.t(), @@ -241,7 +241,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_creative_assets_insert_simple( + def dfareporting_media_upload_simple( connection, profile_id, advertiser_id, @@ -269,7 +269,7 @@ defmodule GoogleApi.DFAReporting.V35.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/upload/dfareporting/v3.5/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/upload/dfareporting/v3.5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/metros.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/metros.ex deleted file mode 100644 index b2d3cebf0a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/metros.ex +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Metros do - @moduledoc """ - API calls for all endpoints tagged `Metros`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a list of metros. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.MetrosListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_metros_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.MetrosListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_metros_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/metros", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.MetrosListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_apps.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_apps.ex deleted file mode 100644 index 6db63cbe92..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_apps.ex +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.MobileApps do - @moduledoc """ - API calls for all endpoints tagged `MobileApps`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one mobile app by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Mobile app ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.MobileApp{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_mobile_apps_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.MobileApp.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_mobile_apps_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/mobileApps/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.MobileApp{}]) - end - - @doc """ - Retrieves list of available mobile apps. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:directories` (*type:* `list(String.t)`) - Select only apps from these directories. - * `:ids` (*type:* `list(String.t)`) - Select only apps with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "app*2015" will return objects with names like "app Jan 2018", "app Jan 2018", or simply "app 2018". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "app" will match objects with name "my app", "app 2018", or simply "app". - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_mobile_apps_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_mobile_apps_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :directories => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/mobileApps", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_carriers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_carriers.ex deleted file mode 100644 index 54f91886a9..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/mobile_carriers.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.MobileCarriers do - @moduledoc """ - API calls for all endpoints tagged `MobileCarriers`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one mobile carrier by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Mobile carrier ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.MobileCarrier{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_mobile_carriers_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.MobileCarrier.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_mobile_carriers_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/mobileCarriers/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.MobileCarrier{}]) - end - - @doc """ - Retrieves a list of mobile carriers. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_mobile_carriers_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_mobile_carriers_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/mobileCarriers", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_system_versions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_system_versions.ex deleted file mode 100644 index ef36cdf3da..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_system_versions.ex +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.OperatingSystemVersions do - @moduledoc """ - API calls for all endpoints tagged `OperatingSystemVersions`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one operating system version by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Operating system version ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_operating_system_versions_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_operating_system_versions_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/operatingSystemVersions/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion{}] - ) - end - - @doc """ - Retrieves a list of operating system versions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_operating_system_versions_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_operating_system_versions_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/operatingSystemVersions", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_systems.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_systems.ex deleted file mode 100644 index 1267810840..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/operating_systems.ex +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.OperatingSystems do - @moduledoc """ - API calls for all endpoints tagged `OperatingSystems`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one operating system by DART ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `dart_id` (*type:* `String.t`) - Operating system DART ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OperatingSystem{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_operating_systems_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OperatingSystem.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_operating_systems_get( - connection, - profile_id, - dart_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/operatingSystems/{dartId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "dartId" => URI.encode(dart_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OperatingSystem{}]) - end - - @doc """ - Retrieves a list of operating systems. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_operating_systems_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_operating_systems_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/operatingSystems", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/order_documents.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/order_documents.ex deleted file mode 100644 index e0e15e75d8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/order_documents.ex +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.OrderDocuments do - @moduledoc """ - API calls for all endpoints tagged `OrderDocuments`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one order document by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `id` (*type:* `String.t`) - Order document ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OrderDocument{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_order_documents_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OrderDocument.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_order_documents_get( - connection, - profile_id, - project_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OrderDocument{}]) - end - - @doc """ - Retrieves a list of order documents, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:approved` (*type:* `boolean()`) - Select only order documents that have been approved by at least one user. - * `:ids` (*type:* `list(String.t)`) - Select only order documents with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:orderId` (*type:* `list(String.t)`) - Select only order documents for specified orders. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "orderdocument" will match order documents with name "my orderdocument", "orderdocument 2015", or simply "orderdocument". - * `:siteId` (*type:* `list(String.t)`) - Select only order documents that are associated with these sites. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_order_documents_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_order_documents_list( - connection, - profile_id, - project_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :approved => :query, - :ids => :query, - :maxResults => :query, - :orderId => :query, - :pageToken => :query, - :searchString => :query, - :siteId => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orderDocuments", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/orders.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/orders.ex deleted file mode 100644 index 343414b0e5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/orders.ex +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Orders do - @moduledoc """ - API calls for all endpoints tagged `Orders`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one order by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for orders. - * `id` (*type:* `String.t`) - Order ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Order{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_orders_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Order.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_orders_get( - connection, - profile_id, - project_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orders/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Order{}]) - end - - @doc """ - Retrieves a list of orders, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for orders. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only orders with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, "order*2015" will return orders with names like "order June 2015", "order April 2015", or simply "order 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "order" will match orders with name "my order", "order 2015", or simply "order". - * `:siteId` (*type:* `list(String.t)`) - Select only orders that are associated with these site IDs. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.OrdersListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_orders_list(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.OrdersListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_orders_list( - connection, - profile_id, - project_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :siteId => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orders", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.OrdersListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_groups.ex deleted file mode 100644 index d736973bdf..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_groups.ex +++ /dev/null @@ -1,416 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.PlacementGroups do - @moduledoc """ - API calls for all endpoints tagged `PlacementGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one placement group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}]) - end - - @doc """ - Inserts a new placement group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_groups_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_groups_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}]) - end - - @doc """ - Retrieves a list of placement groups, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only placement groups that belong to these advertisers. - * `:archived` (*type:* `boolean()`) - Select only archived placements. Don't set this field to select both archived and non-archived placements. - * `:campaignIds` (*type:* `list(String.t)`) - Select only placement groups that belong to these campaigns. - * `:contentCategoryIds` (*type:* `list(String.t)`) - Select only placement groups that are associated with these content categories. - * `:directorySiteIds` (*type:* `list(String.t)`) - Select only placement groups that are associated with these directory sites. - * `:ids` (*type:* `list(String.t)`) - Select only placement groups with these IDs. - * `:maxEndDate` (*type:* `String.t`) - Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd". - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:maxStartDate` (*type:* `String.t`) - Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". - * `:minEndDate` (*type:* `String.t`) - Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd". - * `:minStartDate` (*type:* `String.t`) - Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd". - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:placementGroupType` (*type:* `String.t`) - Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. - * `:placementStrategyIds` (*type:* `list(String.t)`) - Select only placement groups that are associated with these placement strategies. - * `:pricingTypes` (*type:* `list(String.t)`) - Select only placement groups with these pricing types. - * `:searchString` (*type:* `String.t`) - Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placement groups with names like "placement group June 2015", "placement group May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementgroup" will match placement groups with name "my placementgroup", "placementgroup 2015", or simply "placementgroup". - * `:siteIds` (*type:* `list(String.t)`) - Select only placement groups that are associated with these sites. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_groups_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_groups_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :archived => :query, - :campaignIds => :query, - :contentCategoryIds => :query, - :directorySiteIds => :query, - :ids => :query, - :maxEndDate => :query, - :maxResults => :query, - :maxStartDate => :query, - :minEndDate => :query, - :minStartDate => :query, - :pageToken => :query, - :placementGroupType => :query, - :placementStrategyIds => :query, - :pricingTypes => :query, - :searchString => :query, - :siteIds => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse{}] - ) - end - - @doc """ - Updates an existing placement group. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - PlacementGroup ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_groups_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_groups_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}]) - end - - @doc """ - Updates an existing placement group. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementGroup.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_groups_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_groups_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementGroup{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_strategies.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_strategies.ex deleted file mode 100644 index a1df29d0df..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placement_strategies.ex +++ /dev/null @@ -1,475 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.PlacementStrategies do - @moduledoc """ - API calls for all endpoints tagged `PlacementStrategies`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing placement strategy. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement strategy ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_placement_strategies_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one placement strategy by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement strategy ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_strategies_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}]) - end - - @doc """ - Inserts a new placement strategy. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_strategies_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}]) - end - - @doc """ - Retrieves a list of placement strategies, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only placement strategies with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "placementstrategy*2015" will return objects with names like "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementstrategy" will match objects with name "my placementstrategy", "placementstrategy 2015", or simply "placementstrategy". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_strategies_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse{}] - ) - end - - @doc """ - Updates an existing placement strategy. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - PlacementStrategy ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_strategies_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}]) - end - - @doc """ - Updates an existing placement strategy. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placement_strategies_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placement_strategies_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placementStrategies", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementStrategy{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placements.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placements.ex deleted file mode 100644 index 4e03fc5768..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/placements.ex +++ /dev/null @@ -1,468 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Placements do - @moduledoc """ - API calls for all endpoints tagged `Placements`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Generates tags for a placement. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:campaignId` (*type:* `String.t`) - Generate placements belonging to this campaign. This is a required field. - * `:placementIds` (*type:* `list(String.t)`) - Generate tags for these placements. - * `:tagFormats` (*type:* `list(String.t)`) - Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_generatetags(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_generatetags( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :campaignId => :query, - :placementIds => :query, - :tagFormats => :query - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements/generatetags", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse{}] - ) - end - - @doc """ - Gets one placement by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Placement{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Placement.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Placement{}]) - end - - @doc """ - Inserts a new placement. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Placement.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Placement{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Placement.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Placement{}]) - end - - @doc """ - Retrieves a list of placements, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only placements that belong to these advertisers. - * `:archived` (*type:* `boolean()`) - Select only archived placements. Don't set this field to select both archived and non-archived placements. - * `:campaignIds` (*type:* `list(String.t)`) - Select only placements that belong to these campaigns. - * `:compatibilities` (*type:* `list(String.t)`) - Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. - * `:contentCategoryIds` (*type:* `list(String.t)`) - Select only placements that are associated with these content categories. - * `:directorySiteIds` (*type:* `list(String.t)`) - Select only placements that are associated with these directory sites. - * `:groupIds` (*type:* `list(String.t)`) - Select only placements that belong to these placement groups. - * `:ids` (*type:* `list(String.t)`) - Select only placements with these IDs. - * `:maxEndDate` (*type:* `String.t`) - Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd". - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:maxStartDate` (*type:* `String.t`) - Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". - * `:minEndDate` (*type:* `String.t`) - Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd". - * `:minStartDate` (*type:* `String.t`) - Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd". - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:paymentSource` (*type:* `String.t`) - Select only placements with this payment source. - * `:placementStrategyIds` (*type:* `list(String.t)`) - Select only placements that are associated with these placement strategies. - * `:pricingTypes` (*type:* `list(String.t)`) - Select only placements with these pricing types. - * `:searchString` (*type:* `String.t`) - Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placements with names like "placement June 2015", "placement May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placement" will match placements with name "my placement", "placement 2015", or simply "placement" . - * `:siteIds` (*type:* `list(String.t)`) - Select only placements that are associated with these sites. - * `:sizeIds` (*type:* `list(String.t)`) - Select only placements that are associated with these sizes. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlacementsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlacementsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :archived => :query, - :campaignIds => :query, - :compatibilities => :query, - :contentCategoryIds => :query, - :directorySiteIds => :query, - :groupIds => :query, - :ids => :query, - :maxEndDate => :query, - :maxResults => :query, - :maxStartDate => :query, - :minEndDate => :query, - :minStartDate => :query, - :pageToken => :query, - :paymentSource => :query, - :placementStrategyIds => :query, - :pricingTypes => :query, - :searchString => :query, - :siteIds => :query, - :sizeIds => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlacementsListResponse{}] - ) - end - - @doc """ - Updates an existing placement. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Placement.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Placement{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Placement.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Placement{}]) - end - - @doc """ - Updates an existing placement. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Placement.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Placement{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_placements_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Placement.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_placements_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/placements", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Placement{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/platform_types.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/platform_types.ex deleted file mode 100644 index ad62a0c8a1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/platform_types.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.PlatformTypes do - @moduledoc """ - API calls for all endpoints tagged `PlatformTypes`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one platform type by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Platform type ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlatformType{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_platform_types_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlatformType.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_platform_types_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/platformTypes/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlatformType{}]) - end - - @doc """ - Retrieves a list of platform types. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_platform_types_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_platform_types_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/platformTypes", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/postal_codes.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/postal_codes.ex deleted file mode 100644 index 9319872ac0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/postal_codes.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.PostalCodes do - @moduledoc """ - API calls for all endpoints tagged `PostalCodes`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one postal code by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `code` (*type:* `String.t`) - Postal code ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PostalCode{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_postal_codes_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PostalCode.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_postal_codes_get( - connection, - profile_id, - code, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/postalCodes/{code}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "code" => URI.encode(code, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PostalCode{}]) - end - - @doc """ - Retrieves a list of postal codes. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_postal_codes_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_postal_codes_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/postalCodes", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/projects.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/projects.ex deleted file mode 100644 index 05a036a4d0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/projects.ex +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Projects do - @moduledoc """ - API calls for all endpoints tagged `Projects`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one project by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Project ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Project{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_projects_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Project.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_projects_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/projects/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Project{}]) - end - - @doc """ - Retrieves a list of projects, possibly filtered. This method supports paging . - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserIds` (*type:* `list(String.t)`) - Select only projects with these advertiser IDs. - * `:ids` (*type:* `list(String.t)`) - Select only projects with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, "project*2015" will return projects with names like "project June 2015", "project April 2015", or simply "project 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "project" will match projects with name "my project", "project 2015", or simply "project". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ProjectsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_projects_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ProjectsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_projects_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserIds => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/projects", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ProjectsListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/regions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/regions.ex deleted file mode 100644 index b15b097ebf..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/regions.ex +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Regions do - @moduledoc """ - API calls for all endpoints tagged `Regions`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Retrieves a list of regions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RegionsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_regions_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RegionsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_regions_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/regions", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RegionsListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_list_shares.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_list_shares.ex deleted file mode 100644 index 6d56b630bd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_list_shares.ex +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.RemarketingListShares do - @moduledoc """ - API calls for all endpoints tagged `RemarketingListShares`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one remarketing list share by remarketing list ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `remarketing_list_id` (*type:* `String.t`) - Remarketing list ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_list_shares_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingListShare.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_list_shares_get( - connection, - profile_id, - remarketing_list_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares/{remarketingListId}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "remarketingListId" => - URI.encode(remarketing_list_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}]) - end - - @doc """ - Updates an existing remarketing list share. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - RemarketingList ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.RemarketingListShare.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_list_shares_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingListShare.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_list_shares_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}]) - end - - @doc """ - Updates an existing remarketing list share. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.RemarketingListShare.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_list_shares_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingListShare.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_list_shares_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingListShare{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_lists.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_lists.ex deleted file mode 100644 index 32a91888e7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/remarketing_lists.ex +++ /dev/null @@ -1,411 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.RemarketingLists do - @moduledoc """ - API calls for all endpoints tagged `RemarketingLists`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one remarketing list by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Remarketing list ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_lists_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_lists_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingLists/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingList{}]) - end - - @doc """ - Inserts a new remarketing list. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.RemarketingList.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_lists_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_lists_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingLists", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingList{}]) - end - - @doc """ - Retrieves a list of remarketing lists, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `advertiser_id` (*type:* `String.t`) - Select only remarketing lists owned by this advertiser. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active or only inactive remarketing lists. - * `:floodlightActivityId` (*type:* `String.t`) - Select only remarketing lists that have this floodlight activity ID. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:name` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list". - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_lists_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_lists_list( - connection, - profile_id, - advertiser_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :floodlightActivityId => :query, - :maxResults => :query, - :name => :query, - :pageToken => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingLists", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :advertiserId, advertiser_id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse{}] - ) - end - - @doc """ - Updates an existing remarketing list. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - RemarketingList ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.RemarketingList.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_lists_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_lists_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingLists", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingList{}]) - end - - @doc """ - Updates an existing remarketing list. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.RemarketingList.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.RemarketingList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_remarketing_lists_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.RemarketingList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_remarketing_lists_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/remarketingLists", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.RemarketingList{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/reports.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/reports.ex deleted file mode 100644 index d4ed63a97e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/reports.ex +++ /dev/null @@ -1,762 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Reports do - @moduledoc """ - API calls for all endpoints tagged `Reports`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes a report by its ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_reports_delete( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Retrieves a report by its ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Report{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Report.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_get( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Report{}]) - end - - @doc """ - Creates a report. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Report.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Report{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Report.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Report{}]) - end - - @doc """ - Retrieves list of reports. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - The value of the nextToken from the previous result page. - * `:scope` (*type:* `String.t`) - The scope that defines which results are returned. - * `:sortField` (*type:* `String.t`) - The field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.ReportList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.ReportList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :maxResults => :query, - :pageToken => :query, - :scope => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.ReportList{}]) - end - - @doc """ - Updates an existing report. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The DFA user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Report.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Report{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Report.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_patch( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Report{}]) - end - - @doc """ - Runs a report. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:synchronous` (*type:* `boolean()`) - If set and true, tries to run the report synchronously. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.File{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_run(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.File.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_run( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :synchronous => :query - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/run", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.File{}]) - end - - @doc """ - Updates a report. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Report.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Report{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_update( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Report.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_update( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Report{}]) - end - - @doc """ - Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Report.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.CompatibleFields{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_compatible_fields_query( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.CompatibleFields.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_compatible_fields_query( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/reports/compatiblefields/query", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.CompatibleFields{}]) - end - - @doc """ - Retrieves a report file by its report ID and file ID. This method supports media download. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the report. - * `file_id` (*type:* `String.t`) - The ID of the report file. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.File{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_files_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.File.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_files_get( - connection, - profile_id, - report_id, - file_id, - optional_params \\ [], - opts \\ [] - ) do - opts = - if Keyword.get(optional_params, :alt) == "media", - do: Keyword.put_new(opts, :decode, false), - else: opts - - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/files/{fileId}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &URI.char_unreserved?/1), - "fileId" => URI.encode(file_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.File{}]) - end - - @doc """ - Lists files for a report. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The Campaign Manager 360 user profile ID. - * `report_id` (*type:* `String.t`) - The ID of the parent report. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - The value of the nextToken from the previous result page. - * `:sortField` (*type:* `String.t`) - The field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.FileList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_reports_files_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.FileList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_reports_files_list( - connection, - profile_id, - report_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :maxResults => :query, - :pageToken => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/files", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "reportId" => URI.encode(report_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.FileList{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sites.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sites.ex deleted file mode 100644 index bad1216985..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sites.ex +++ /dev/null @@ -1,367 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Sites do - @moduledoc """ - API calls for all endpoints tagged `Sites`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one site by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Site ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Site{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sites_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Site.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sites_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sites/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Site{}]) - end - - @doc """ - Inserts a new site. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Site.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Site{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sites_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Site.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sites_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Site{}]) - end - - @doc """ - Retrieves a list of sites, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:acceptsInStreamVideoPlacements` (*type:* `boolean()`) - This search filter is no longer supported and will have no effect on the results returned. - * `:acceptsInterstitialPlacements` (*type:* `boolean()`) - This search filter is no longer supported and will have no effect on the results returned. - * `:acceptsPublisherPaidPlacements` (*type:* `boolean()`) - Select only sites that accept publisher paid placements. - * `:adWordsSite` (*type:* `boolean()`) - Select only AdWords sites. - * `:approved` (*type:* `boolean()`) - Select only approved sites. - * `:campaignIds` (*type:* `list(String.t)`) - Select only sites with these campaign IDs. - * `:directorySiteIds` (*type:* `list(String.t)`) - Select only sites with these directory site IDs. - * `:ids` (*type:* `list(String.t)`) - Select only sites with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:subaccountId` (*type:* `String.t`) - Select only sites with this subaccount ID. - * `:unmappedSite` (*type:* `boolean()`) - Select only sites that have not been mapped to a directory site. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.SitesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sites_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.SitesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sites_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :acceptsInStreamVideoPlacements => :query, - :acceptsInterstitialPlacements => :query, - :acceptsPublisherPaidPlacements => :query, - :adWordsSite => :query, - :approved => :query, - :campaignIds => :query, - :directorySiteIds => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :subaccountId => :query, - :unmappedSite => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.SitesListResponse{}]) - end - - @doc """ - Updates an existing site. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Site ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Site.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Site{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sites_patch(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Site.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sites_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Site{}]) - end - - @doc """ - Updates an existing site. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Site.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Site{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sites_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Site.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sites_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sites", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Site{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sizes.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sizes.ex deleted file mode 100644 index 42fd4da277..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/sizes.ex +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Sizes do - @moduledoc """ - API calls for all endpoints tagged `Sizes`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one size by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Size ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Size{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sizes_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Size.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sizes_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sizes/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Size{}]) - end - - @doc """ - Inserts a new size. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Size{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sizes_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Size.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sizes_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sizes", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Size{}]) - end - - @doc """ - Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:height` (*type:* `integer()`) - Select only sizes with this height. - * `:iabStandard` (*type:* `boolean()`) - Select only IAB standard sizes. - * `:ids` (*type:* `list(String.t)`) - Select only sizes with these IDs. - * `:width` (*type:* `integer()`) - Select only sizes with this width. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.SizesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_sizes_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.SizesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_sizes_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :height => :query, - :iabStandard => :query, - :ids => :query, - :width => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/sizes", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.SizesListResponse{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/subaccounts.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/subaccounts.ex deleted file mode 100644 index e61ecd9302..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/subaccounts.ex +++ /dev/null @@ -1,369 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.Subaccounts do - @moduledoc """ - API calls for all endpoints tagged `Subaccounts`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one subaccount by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Subaccount ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Subaccount{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_subaccounts_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Subaccount.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_subaccounts_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/subaccounts/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Subaccount{}]) - end - - @doc """ - Inserts a new subaccount. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Subaccount.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Subaccount{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_subaccounts_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Subaccount.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_subaccounts_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/subaccounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Subaccount{}]) - end - - @doc """ - Gets a list of subaccounts, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only subaccounts with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "subaccount*2015" will return objects with names like "subaccount June 2015", "subaccount April 2015", or simply "subaccount 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount" . - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_subaccounts_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_subaccounts_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/subaccounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse{}] - ) - end - - @doc """ - Updates an existing subaccount. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Subaccount ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Subaccount.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Subaccount{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_subaccounts_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Subaccount.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_subaccounts_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/subaccounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Subaccount{}]) - end - - @doc """ - Updates an existing subaccount. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.Subaccount.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.Subaccount{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_subaccounts_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.Subaccount.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_subaccounts_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/subaccounts", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.Subaccount{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targetable_remarketing_lists.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targetable_remarketing_lists.ex deleted file mode 100644 index 994a826eb2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targetable_remarketing_lists.ex +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.TargetableRemarketingLists do - @moduledoc """ - API calls for all endpoints tagged `TargetableRemarketingLists`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one remarketing list by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Remarketing list ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targetable_remarketing_lists_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targetable_remarketing_lists_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/targetableRemarketingLists/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList{}] - ) - end - - @doc """ - Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `advertiser_id` (*type:* `String.t`) - Select only targetable remarketing lists targetable by these advertisers. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:active` (*type:* `boolean()`) - Select only active or only inactive targetable remarketing lists. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:name` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list". - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targetable_remarketing_lists_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targetable_remarketing_lists_list( - connection, - profile_id, - advertiser_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :active => :query, - :maxResults => :query, - :name => :query, - :pageToken => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetableRemarketingLists", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :advertiserId, advertiser_id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targeting_templates.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targeting_templates.ex deleted file mode 100644 index 73be409cf8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/targeting_templates.ex +++ /dev/null @@ -1,407 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.TargetingTemplates do - @moduledoc """ - API calls for all endpoints tagged `TargetingTemplates`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one targeting template by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Targeting template ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targeting_templates_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targeting_templates_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}]) - end - - @doc """ - Inserts a new targeting template. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targeting_templates_insert( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targeting_templates_insert( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}]) - end - - @doc """ - Retrieves a list of targeting templates, optionally filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:advertiserId` (*type:* `String.t`) - Select only targeting templates with this advertiser ID. - * `:ids` (*type:* `list(String.t)`) - Select only targeting templates with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "template*2015" will return objects with names like "template June 2015", "template April 2015", or simply "template 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "template" will match objects with name "my template", "template 2015", or simply "template". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targeting_templates_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targeting_templates_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :advertiserId => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse{}] - ) - end - - @doc """ - Updates an existing targeting template. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - TargetingTemplate ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targeting_templates_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targeting_templates_patch( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}]) - end - - @doc """ - Updates an existing targeting template. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_targeting_templates_update( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_targeting_templates_update( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.TargetingTemplate{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_profiles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_profiles.ex deleted file mode 100644 index 6607462fe1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_profiles.ex +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.UserProfiles do - @moduledoc """ - API calls for all endpoints tagged `UserProfiles`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one user profile by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - The user profile ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserProfile{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_profiles_get(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserProfile.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_profiles_get(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}", %{ - "profileId" => URI.encode(profile_id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserProfile{}]) - end - - @doc """ - Retrieves list of user profiles for a user. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserProfileList{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_profiles_list(Tesla.Env.client(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserProfileList.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_profiles_list(connection, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles", %{}) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserProfileList{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permission_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permission_groups.ex deleted file mode 100644 index 30240399b5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permission_groups.ex +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.UserRolePermissionGroups do - @moduledoc """ - API calls for all endpoints tagged `UserRolePermissionGroups`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one user role permission group by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - User role permission group ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_role_permission_groups_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_role_permission_groups_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v3.5/userprofiles/{profileId}/userRolePermissionGroups/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup{}] - ) - end - - @doc """ - Gets a list of all supported user role permission groups. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_role_permission_groups_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_role_permission_groups_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRolePermissionGroups", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permissions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permissions.ex deleted file mode 100644 index faa5aed845..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_role_permissions.ex +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.UserRolePermissions do - @moduledoc """ - API calls for all endpoints tagged `UserRolePermissions`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one user role permission by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - User role permission ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRolePermission{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_role_permissions_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRolePermission.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_role_permissions_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRolePermissions/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRolePermission{}]) - end - - @doc """ - Gets a list of user role permissions, possibly filtered. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:ids` (*type:* `list(String.t)`) - Select only user role permissions with these IDs. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_role_permissions_list( - Tesla.Env.client(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_role_permissions_list( - connection, - profile_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :ids => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRolePermissions", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_roles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_roles.ex deleted file mode 100644 index 9c5c2e30ff..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/user_roles.ex +++ /dev/null @@ -1,437 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.UserRoles do - @moduledoc """ - API calls for all endpoints tagged `UserRoles`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Deletes an existing user role. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - User role ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_delete( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()} - def dfareporting_user_roles_delete( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:delete) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [decode: false]) - end - - @doc """ - Gets one user role by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - User role ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRole{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_get( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRole.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_roles_get(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRole{}]) - end - - @doc """ - Inserts a new user role. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.UserRole.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRole{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRole.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_roles_insert(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:post) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRole{}]) - end - - @doc """ - Retrieves a list of user roles, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:accountUserRoleOnly` (*type:* `boolean()`) - Select only account level user roles not associated with any specific subaccount. - * `:ids` (*type:* `list(String.t)`) - Select only user roles with the specified IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "userrole*2015" will return objects with names like "userrole June 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole". - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `:subaccountId` (*type:* `String.t`) - Select only user roles that belong to this subaccount. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRolesListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRolesListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_roles_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :accountUserRoleOnly => :query, - :ids => :query, - :maxResults => :query, - :pageToken => :query, - :searchString => :query, - :sortField => :query, - :sortOrder => :query, - :subaccountId => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRolesListResponse{}] - ) - end - - @doc """ - Updates an existing user role. This method supports patch semantics. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - UserRole ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.UserRole.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRole{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_patch( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRole.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_roles_patch(connection, profile_id, id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:patch) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_param(:query, :id, id) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRole{}]) - end - - @doc """ - Updates an existing user role. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:body` (*type:* `GoogleApi.DFAReporting.V35.Model.UserRole.t`) - - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.UserRole{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_user_roles_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.UserRole.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_user_roles_update(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :body => :body - } - - request = - Request.new() - |> Request.method(:put) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/userRoles", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.UserRole{}]) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/video_formats.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/video_formats.ex deleted file mode 100644 index ec7e7fe2da..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/api/video_formats.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Api.VideoFormats do - @moduledoc """ - API calls for all endpoints tagged `VideoFormats`. - """ - - alias GoogleApi.DFAReporting.V35.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one video format by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `integer()`) - Video format ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.VideoFormat{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_video_formats_get( - Tesla.Env.client(), - String.t(), - integer(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V35.Model.VideoFormat.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_video_formats_get( - connection, - profile_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/videoFormats/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => id - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.VideoFormat{}]) - end - - @doc """ - Lists available video formats. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V35.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_video_formats_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: - {:ok, GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_video_formats_list(connection, profile_id, optional_params \\ [], opts \\ []) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url("/dfareporting/v3.5/userprofiles/{profileId}/videoFormats", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) - }) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/connection.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/connection.ex index fc07e481d0..1a05dff41d 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/connection.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/connection.ex @@ -24,12 +24,6 @@ defmodule GoogleApi.DFAReporting.V35.Connection do use GoogleApi.Gax.Connection, scopes: [ - # Manage DoubleClick Digital Marketing conversions - "https://www.googleapis.com/auth/ddmconversions", - - # View and manage DoubleClick for Advertisers reports - "https://www.googleapis.com/auth/dfareporting", - # View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns "https://www.googleapis.com/auth/dfatrafficking" ], diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/metadata.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/metadata.ex index 499c11e72a..2de51a598d 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/metadata.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DFAReporting.V35 do API client metadata for GoogleApi.DFAReporting.V35. """ - @discovery_revision "20220920" + @discovery_revision "20240201" def discovery_revision(), do: @discovery_revision end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account.ex deleted file mode 100644 index b0bb4c1727..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account.ex +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Account do - @moduledoc """ - Contains properties of a Campaign Manager account. - - ## Attributes - - * `accountPermissionIds` (*type:* `list(String.t)`, *default:* `nil`) - Account permissions assigned to this account. - * `accountProfile` (*type:* `String.t`, *default:* `nil`) - Profile for this account. This is a read-only field that can be left blank. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this account is active. - * `activeAdsLimitTier` (*type:* `String.t`, *default:* `nil`) - Maximum number of active ads allowed for this account. - * `activeViewOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions. - * `availablePermissionIds` (*type:* `list(String.t)`, *default:* `nil`) - User role permissions available to the user roles of this account. - * `countryId` (*type:* `String.t`, *default:* `nil`) - ID of the country associated with this account. - * `currencyId` (*type:* `String.t`, *default:* `nil`) - ID of currency associated with this account. This is a required field. Acceptable values are: - "1" for USD - "2" for GBP - "3" for ESP - "4" for SEK - "5" for CAD - "6" for JPY - "7" for DEM - "8" for AUD - "9" for FRF - "10" for ITL - "11" for DKK - "12" for NOK - "13" for FIM - "14" for ZAR - "15" for IEP - "16" for NLG - "17" for EUR - "18" for KRW - "19" for TWD - "20" for SGD - "21" for CNY - "22" for HKD - "23" for NZD - "24" for MYR - "25" for BRL - "26" for PTE - "28" for CLP - "29" for TRY - "30" for ARS - "31" for PEN - "32" for ILS - "33" for CHF - "34" for VEF - "35" for COP - "36" for GTQ - "37" for PLN - "39" for INR - "40" for THB - "41" for IDR - "42" for CZK - "43" for RON - "44" for HUF - "45" for RUB - "46" for AED - "47" for BGN - "48" for HRK - "49" for MXN - "50" for NGN - "51" for EGP - * `defaultCreativeSizeId` (*type:* `String.t`, *default:* `nil`) - Default placement dimensions for this account. - * `description` (*type:* `String.t`, *default:* `nil`) - Description of this account. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this account. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#account". - * `locale` (*type:* `String.t`, *default:* `nil`) - Locale of this account. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) - * `maximumImageSize` (*type:* `String.t`, *default:* `nil`) - Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this account. This is a required field, and must be less than 128 characters long and be globally unique. - * `nielsenOcrEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default. - * `reportsConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportsConfiguration.t`, *default:* `nil`) - Reporting configuration of this account. - * `shareReportsWithTwitter` (*type:* `boolean()`, *default:* `nil`) - Share Path to Conversion reports with Twitter. - * `teaserSizeLimit` (*type:* `String.t`, *default:* `nil`) - File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountPermissionIds => list(String.t()) | nil, - :accountProfile => String.t() | nil, - :active => boolean() | nil, - :activeAdsLimitTier => String.t() | nil, - :activeViewOptOut => boolean() | nil, - :availablePermissionIds => list(String.t()) | nil, - :countryId => String.t() | nil, - :currencyId => String.t() | nil, - :defaultCreativeSizeId => String.t() | nil, - :description => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :locale => String.t() | nil, - :maximumImageSize => String.t() | nil, - :name => String.t() | nil, - :nielsenOcrEnabled => boolean() | nil, - :reportsConfiguration => - GoogleApi.DFAReporting.V35.Model.ReportsConfiguration.t() | nil, - :shareReportsWithTwitter => boolean() | nil, - :teaserSizeLimit => String.t() | nil - } - - field(:accountPermissionIds, type: :list) - field(:accountProfile) - field(:active) - field(:activeAdsLimitTier) - field(:activeViewOptOut) - field(:availablePermissionIds, type: :list) - field(:countryId) - field(:currencyId) - field(:defaultCreativeSizeId) - field(:description) - field(:id) - field(:kind) - field(:locale) - field(:maximumImageSize) - field(:name) - field(:nielsenOcrEnabled) - field(:reportsConfiguration, as: GoogleApi.DFAReporting.V35.Model.ReportsConfiguration) - field(:shareReportsWithTwitter) - field(:teaserSizeLimit) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Account do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Account.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Account do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex deleted file mode 100644 index 1a5c8eda51..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary do - @moduledoc """ - Gets a summary of active ads in an account. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - ID of the account. - * `activeAds` (*type:* `String.t`, *default:* `nil`) - Ads that have been activated for the account - * `activeAdsLimitTier` (*type:* `String.t`, *default:* `nil`) - Maximum number of active ads allowed for the account. - * `availableAds` (*type:* `String.t`, *default:* `nil`) - Ads that can be activated for the account. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountActiveAdSummary". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :activeAds => String.t() | nil, - :activeAdsLimitTier => String.t() | nil, - :availableAds => String.t() | nil, - :kind => String.t() | nil - } - - field(:accountId) - field(:activeAds) - field(:activeAdsLimitTier) - field(:availableAds) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountActiveAdSummary do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission.ex deleted file mode 100644 index 755bb40f3c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountPermission do - @moduledoc """ - AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account. - - ## Attributes - - * `accountProfiles` (*type:* `list(String.t)`, *default:* `nil`) - Account profiles associated with this account permission. Possible values are: - "ACCOUNT_PROFILE_BASIC" - "ACCOUNT_PROFILE_STANDARD" - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this account permission. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission". - * `level` (*type:* `String.t`, *default:* `nil`) - Administrative level required to enable this account permission. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this account permission. - * `permissionGroupId` (*type:* `String.t`, *default:* `nil`) - Permission group of this account permission. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountProfiles => list(String.t()) | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :level => String.t() | nil, - :name => String.t() | nil, - :permissionGroupId => String.t() | nil - } - - field(:accountProfiles, type: :list) - field(:id) - field(:kind) - field(:level) - field(:name) - field(:permissionGroupId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermission do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountPermission.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermission do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_group.ex deleted file mode 100644 index 5258067a3e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_group.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup do - @moduledoc """ - AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this account permission group. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this account permission group. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_groups_list_response.ex deleted file mode 100644 index 5d543adbb5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permission_groups_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse do - @moduledoc """ - Account Permission Group List Response - - ## Attributes - - * `accountPermissionGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup.t)`, *default:* `nil`) - Account permission group collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupsListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountPermissionGroups => - list(GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup.t()) | nil, - :kind => String.t() | nil - } - - field(:accountPermissionGroups, - as: GoogleApi.DFAReporting.V35.Model.AccountPermissionGroup, - type: :list - ) - - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permissions_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permissions_list_response.ex deleted file mode 100644 index bafa9fa0aa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_permissions_list_response.ex +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse do - @moduledoc """ - Account Permission List Response - - ## Attributes - - * `accountPermissions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AccountPermission.t)`, *default:* `nil`) - Account permission collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionsListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountPermissions => - list(GoogleApi.DFAReporting.V35.Model.AccountPermission.t()) | nil, - :kind => String.t() | nil - } - - field(:accountPermissions, as: GoogleApi.DFAReporting.V35.Model.AccountPermission, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountPermissionsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profile.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profile.ex deleted file mode 100644 index 9a4a7e8983..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profile.ex +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountUserProfile do - @moduledoc """ - AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of the user profile. This is a read-only field that can be left blank. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. - * `advertiserFilter` (*type:* `GoogleApi.DFAReporting.V35.Model.ObjectFilter.t`, *default:* `nil`) - Filter that describes which advertisers are visible to the user profile. - * `campaignFilter` (*type:* `GoogleApi.DFAReporting.V35.Model.ObjectFilter.t`, *default:* `nil`) - Filter that describes which campaigns are visible to the user profile. - * `comments` (*type:* `String.t`, *default:* `nil`) - Comments for this user profile. - * `email` (*type:* `String.t`, *default:* `nil`) - Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of the user profile. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". - * `locale` (*type:* `String.t`, *default:* `nil`) - Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". - * `siteFilter` (*type:* `GoogleApi.DFAReporting.V35.Model.ObjectFilter.t`, *default:* `nil`) - Filter that describes which sites are visible to the user profile. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of the user profile. This is a read-only field that can be left blank. - * `traffickerType` (*type:* `String.t`, *default:* `nil`) - Trafficker type of this user profile. This is a read-only field. - * `userAccessType` (*type:* `String.t`, *default:* `nil`) - User type of the user profile. This is a read-only field that can be left blank. - * `userRoleFilter` (*type:* `GoogleApi.DFAReporting.V35.Model.ObjectFilter.t`, *default:* `nil`) - Filter that describes which user roles are visible to the user profile. - * `userRoleId` (*type:* `String.t`, *default:* `nil`) - User role ID of the user profile. This is a required field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :active => boolean() | nil, - :advertiserFilter => GoogleApi.DFAReporting.V35.Model.ObjectFilter.t() | nil, - :campaignFilter => GoogleApi.DFAReporting.V35.Model.ObjectFilter.t() | nil, - :comments => String.t() | nil, - :email => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :locale => String.t() | nil, - :name => String.t() | nil, - :siteFilter => GoogleApi.DFAReporting.V35.Model.ObjectFilter.t() | nil, - :subaccountId => String.t() | nil, - :traffickerType => String.t() | nil, - :userAccessType => String.t() | nil, - :userRoleFilter => GoogleApi.DFAReporting.V35.Model.ObjectFilter.t() | nil, - :userRoleId => String.t() | nil - } - - field(:accountId) - field(:active) - field(:advertiserFilter, as: GoogleApi.DFAReporting.V35.Model.ObjectFilter) - field(:campaignFilter, as: GoogleApi.DFAReporting.V35.Model.ObjectFilter) - field(:comments) - field(:email) - field(:id) - field(:kind) - field(:locale) - field(:name) - field(:siteFilter, as: GoogleApi.DFAReporting.V35.Model.ObjectFilter) - field(:subaccountId) - field(:traffickerType) - field(:userAccessType) - field(:userRoleFilter, as: GoogleApi.DFAReporting.V35.Model.ObjectFilter) - field(:userRoleId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountUserProfile do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountUserProfile.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountUserProfile do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profiles_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profiles_list_response.ex deleted file mode 100644 index 4e14a17a64..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_user_profiles_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse do - @moduledoc """ - Account User Profile List Response - - ## Attributes - - * `accountUserProfiles` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t)`, *default:* `nil`) - Account user profile collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfilesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountUserProfiles => - list(GoogleApi.DFAReporting.V35.Model.AccountUserProfile.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:accountUserProfiles, as: GoogleApi.DFAReporting.V35.Model.AccountUserProfile, type: :list) - - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountUserProfilesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/accounts_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/accounts_list_response.ex deleted file mode 100644 index 2202db61fc..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/accounts_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AccountsListResponse do - @moduledoc """ - Account List Response - - ## Attributes - - * `accounts` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Account.t)`, *default:* `nil`) - Account collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accounts => list(GoogleApi.DFAReporting.V35.Model.Account.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:accounts, as: GoogleApi.DFAReporting.V35.Model.Account, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AccountsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AccountsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AccountsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/activities.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/activities.ex deleted file mode 100644 index e39e7a4531..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/activities.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Activities do - @moduledoc """ - Represents an activity group. - - ## Attributes - - * `filters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup". - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#activities. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - List of names of floodlight activity metrics. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :filters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :kind => String.t() | nil, - :metricNames => list(String.t()) | nil - } - - field(:filters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:kind) - field(:metricNames, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Activities do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Activities.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Activities do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad.ex deleted file mode 100644 index 0c2cfb9281..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad.ex +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Ad do - @moduledoc """ - Contains properties of a Campaign Manager ad. - - ## Attributes - - * `defaultClickThroughEventTagProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties.t`, *default:* `nil`) - Default click-through event tag properties for this ad. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this ad. This is a required field on insertion. - * `size` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this ad. This is a read-only field that can be left blank. - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this ad. This is a read-only field. - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this ad. This is a read-only field that can be left blank. - * `languageTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.LanguageTargeting.t`, *default:* `nil`) - Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `startTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `deliverySchedule` (*type:* `GoogleApi.DFAReporting.V35.Model.DeliverySchedule.t`, *default:* `nil`) - Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD. - * `audienceSegmentId` (*type:* `String.t`, *default:* `nil`) - Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD. - * `creativeRotation` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeRotation.t`, *default:* `nil`) - Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment . - * `createInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this ad. This is a read-only field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad". - * `eventTagOverrides` (*type:* `list(GoogleApi.DFAReporting.V35.Model.EventTagOverride.t)`, *default:* `nil`) - Event tag overrides for this ad. - * `keyValueTargetingExpression` (*type:* `GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression.t`, *default:* `nil`) - Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `campaignId` (*type:* `String.t`, *default:* `nil`) - Campaign ID of this ad. This is a required field on insertion. - * `geoTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.GeoTargeting.t`, *default:* `nil`) - Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this ad. This is a required field and must be less than 256 characters long. - * `campaignIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field. - * `dayPartTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.DayPartTargeting.t`, *default:* `nil`) - Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `comments` (*type:* `String.t`, *default:* `nil`) - Comments for this ad. - * `clickThroughUrlSuffixProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties.t`, *default:* `nil`) - Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether this ad is archived. When true, active must be false. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this ad. This is a read-only, auto-generated field. - * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `type` (*type:* `String.t`, *default:* `nil`) - Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource). - * `dynamicClickTracker` (*type:* `boolean()`, *default:* `nil`) - Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this ad is active. When true, archived must be false. - * `compatibility` (*type:* `String.t`, *default:* `nil`) - Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this ad. This is a read-only, auto-generated field. - * `technologyTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.TechnologyTargeting.t`, *default:* `nil`) - Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `creativeGroupAssignments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment.t)`, *default:* `nil`) - Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments. - * `sslRequired` (*type:* `boolean()`, *default:* `nil`) - Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. - * `remarketingListExpression` (*type:* `GoogleApi.DFAReporting.V35.Model.ListTargetingExpression.t`, *default:* `nil`) - Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD. - * `targetingTemplateId` (*type:* `String.t`, *default:* `nil`) - Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD. - * `clickThroughUrl` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t`, *default:* `nil`) - Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER. - * `placementAssignments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlacementAssignment.t)`, *default:* `nil`) - Placement assignments for this ad. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :defaultClickThroughEventTagProperties => - GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties.t() | nil, - :advertiserId => String.t() | nil, - :size => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :subaccountId => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :accountId => String.t() | nil, - :languageTargeting => GoogleApi.DFAReporting.V35.Model.LanguageTargeting.t() | nil, - :startTime => DateTime.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :deliverySchedule => GoogleApi.DFAReporting.V35.Model.DeliverySchedule.t() | nil, - :audienceSegmentId => String.t() | nil, - :creativeRotation => GoogleApi.DFAReporting.V35.Model.CreativeRotation.t() | nil, - :createInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :kind => String.t() | nil, - :eventTagOverrides => list(GoogleApi.DFAReporting.V35.Model.EventTagOverride.t()) | nil, - :keyValueTargetingExpression => - GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression.t() | nil, - :campaignId => String.t() | nil, - :geoTargeting => GoogleApi.DFAReporting.V35.Model.GeoTargeting.t() | nil, - :name => String.t() | nil, - :campaignIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :dayPartTargeting => GoogleApi.DFAReporting.V35.Model.DayPartTargeting.t() | nil, - :comments => String.t() | nil, - :clickThroughUrlSuffixProperties => - GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties.t() | nil, - :archived => boolean() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :endTime => DateTime.t() | nil, - :type => String.t() | nil, - :dynamicClickTracker => boolean() | nil, - :active => boolean() | nil, - :compatibility => String.t() | nil, - :id => String.t() | nil, - :technologyTargeting => GoogleApi.DFAReporting.V35.Model.TechnologyTargeting.t() | nil, - :creativeGroupAssignments => - list(GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment.t()) | nil, - :sslRequired => boolean() | nil, - :sslCompliant => boolean() | nil, - :remarketingListExpression => - GoogleApi.DFAReporting.V35.Model.ListTargetingExpression.t() | nil, - :targetingTemplateId => String.t() | nil, - :clickThroughUrl => GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t() | nil, - :placementAssignments => - list(GoogleApi.DFAReporting.V35.Model.PlacementAssignment.t()) | nil - } - - field(:defaultClickThroughEventTagProperties, - as: GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties - ) - - field(:advertiserId) - field(:size, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:subaccountId) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:accountId) - field(:languageTargeting, as: GoogleApi.DFAReporting.V35.Model.LanguageTargeting) - field(:startTime, as: DateTime) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:deliverySchedule, as: GoogleApi.DFAReporting.V35.Model.DeliverySchedule) - field(:audienceSegmentId) - field(:creativeRotation, as: GoogleApi.DFAReporting.V35.Model.CreativeRotation) - field(:createInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:kind) - field(:eventTagOverrides, as: GoogleApi.DFAReporting.V35.Model.EventTagOverride, type: :list) - - field(:keyValueTargetingExpression, - as: GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression - ) - - field(:campaignId) - field(:geoTargeting, as: GoogleApi.DFAReporting.V35.Model.GeoTargeting) - field(:name) - field(:campaignIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:dayPartTargeting, as: GoogleApi.DFAReporting.V35.Model.DayPartTargeting) - field(:comments) - - field(:clickThroughUrlSuffixProperties, - as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties - ) - - field(:archived) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:endTime, as: DateTime) - field(:type) - field(:dynamicClickTracker) - field(:active) - field(:compatibility) - field(:id) - field(:technologyTargeting, as: GoogleApi.DFAReporting.V35.Model.TechnologyTargeting) - - field(:creativeGroupAssignments, - as: GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment, - type: :list - ) - - field(:sslRequired) - field(:sslCompliant) - field(:remarketingListExpression, as: GoogleApi.DFAReporting.V35.Model.ListTargetingExpression) - field(:targetingTemplateId) - field(:clickThroughUrl, as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl) - - field(:placementAssignments, - as: GoogleApi.DFAReporting.V35.Model.PlacementAssignment, - type: :list - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Ad do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Ad.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Ad do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_blocking_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_blocking_configuration.ex deleted file mode 100644 index 956288ffdd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_blocking_configuration.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration do - @moduledoc """ - Campaign ad blocking settings. - - ## Attributes - - * `enabled` (*type:* `boolean()`, *default:* `nil`) - Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :enabled => boolean() | nil - } - - field(:enabled) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_slot.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_slot.ex deleted file mode 100644 index 99b83986e6..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ad_slot.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdSlot do - @moduledoc """ - Ad Slot - - ## Attributes - - * `comment` (*type:* `String.t`, *default:* `nil`) - Comment for this ad slot. - * `compatibility` (*type:* `String.t`, *default:* `nil`) - Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. - * `height` (*type:* `String.t`, *default:* `nil`) - Height of this ad slot. - * `linkedPlacementId` (*type:* `String.t`, *default:* `nil`) - ID of the placement from an external platform that is linked to this ad slot. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this ad slot. - * `paymentSourceType` (*type:* `String.t`, *default:* `nil`) - Payment source type of this ad slot. - * `primary` (*type:* `boolean()`, *default:* `nil`) - Primary ad slot of a roadblock inventory item. - * `width` (*type:* `String.t`, *default:* `nil`) - Width of this ad slot. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :comment => String.t() | nil, - :compatibility => String.t() | nil, - :height => String.t() | nil, - :linkedPlacementId => String.t() | nil, - :name => String.t() | nil, - :paymentSourceType => String.t() | nil, - :primary => boolean() | nil, - :width => String.t() | nil - } - - field(:comment) - field(:compatibility) - field(:height) - field(:linkedPlacementId) - field(:name) - field(:paymentSourceType) - field(:primary) - field(:width) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdSlot do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdSlot.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdSlot do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ads_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ads_list_response.ex deleted file mode 100644 index ca92f61789..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/ads_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdsListResponse do - @moduledoc """ - Ad List Response - - ## Attributes - - * `ads` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Ad.t)`, *default:* `nil`) - Ad collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#adsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :ads => list(GoogleApi.DFAReporting.V35.Model.Ad.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:ads, as: GoogleApi.DFAReporting.V35.Model.Ad, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex deleted file mode 100644 index 184126d766..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser.ex +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Advertiser do - @moduledoc """ - Contains properties of a Campaign Manager advertiser. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this advertiser.This is a read-only field that can be left blank. - * `advertiserGroupId` (*type:* `String.t`, *default:* `nil`) - ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group. - * `clickThroughUrlSuffix` (*type:* `String.t`, *default:* `nil`) - Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long. - * `defaultClickThroughEventTagId` (*type:* `String.t`, *default:* `nil`) - ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns. - * `defaultEmail` (*type:* `String.t`, *default:* `nil`) - Default email address used in sender field for tag emails. - * `floodlightConfigurationId` (*type:* `String.t`, *default:* `nil`) - Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. - * `floodlightConfigurationIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this advertiser. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this advertiser. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser". - * `measurementPartnerLink` (*type:* `GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink.t`, *default:* `nil`) - Measurement partner advertiser link for tag wrapping. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account. - * `originalFloodlightConfigurationId` (*type:* `String.t`, *default:* `nil`) - Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement. - * `status` (*type:* `String.t`, *default:* `nil`) - Status of this advertiser. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this advertiser.This is a read-only field that can be left blank. - * `suspended` (*type:* `boolean()`, *default:* `nil`) - Suspension status of this advertiser. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserGroupId => String.t() | nil, - :clickThroughUrlSuffix => String.t() | nil, - :defaultClickThroughEventTagId => String.t() | nil, - :defaultEmail => String.t() | nil, - :floodlightConfigurationId => String.t() | nil, - :floodlightConfigurationIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :kind => String.t() | nil, - :measurementPartnerLink => - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink.t() | nil, - :name => String.t() | nil, - :originalFloodlightConfigurationId => String.t() | nil, - :status => String.t() | nil, - :subaccountId => String.t() | nil, - :suspended => boolean() | nil - } - - field(:accountId) - field(:advertiserGroupId) - field(:clickThroughUrlSuffix) - field(:defaultClickThroughEventTagId) - field(:defaultEmail) - field(:floodlightConfigurationId) - - field(:floodlightConfigurationIdDimensionValue, - as: GoogleApi.DFAReporting.V35.Model.DimensionValue - ) - - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:kind) - - field(:measurementPartnerLink, - as: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink - ) - - field(:name) - field(:originalFloodlightConfigurationId) - field(:status) - field(:subaccountId) - field(:suspended) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Advertiser do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Advertiser.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Advertiser do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_group.ex deleted file mode 100644 index f31d934947..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_group.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdvertiserGroup do - @moduledoc """ - Groups advertisers together so that reports can be generated for the entire group at once. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this advertiser group. This is a read-only field that can be left blank. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this advertiser group. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:accountId) - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_groups_list_response.ex deleted file mode 100644 index 47dbf1a82b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_groups_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse do - @moduledoc """ - Advertiser Group List Response - - ## Attributes - - * `advertiserGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t)`, *default:* `nil`) - Advertiser group collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroupsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :advertiserGroups => list(GoogleApi.DFAReporting.V35.Model.AdvertiserGroup.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:advertiserGroups, as: GoogleApi.DFAReporting.V35.Model.AdvertiserGroup, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_landing_pages_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_landing_pages_list_response.ex deleted file mode 100644 index fab839f4fa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertiser_landing_pages_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse do - @moduledoc """ - Landing Page List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserLandingPagesListResponse". - * `landingPages` (*type:* `list(GoogleApi.DFAReporting.V35.Model.LandingPage.t)`, *default:* `nil`) - Landing page collection - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :landingPages => list(GoogleApi.DFAReporting.V35.Model.LandingPage.t()) | nil, - :nextPageToken => String.t() | nil - } - - field(:kind) - field(:landingPages, as: GoogleApi.DFAReporting.V35.Model.LandingPage, type: :list) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdvertiserLandingPagesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertisers_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertisers_list_response.ex deleted file mode 100644 index e090354001..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/advertisers_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse do - @moduledoc """ - Advertiser List Response - - ## Attributes - - * `advertisers` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Advertiser.t)`, *default:* `nil`) - Advertiser collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertisersListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :advertisers => list(GoogleApi.DFAReporting.V35.Model.Advertiser.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:advertisers, as: GoogleApi.DFAReporting.V35.Model.Advertiser, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AdvertisersListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment.ex deleted file mode 100644 index 614be2c6e6..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AudienceSegment do - @moduledoc """ - Audience Segment. - - ## Attributes - - * `allocation` (*type:* `integer()`, *default:* `nil`) - Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this audience segment. This is a read-only, auto-generated field. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this audience segment. This is a required field and must be less than 65 characters long. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :allocation => integer() | nil, - :id => String.t() | nil, - :name => String.t() | nil - } - - field(:allocation) - field(:id) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AudienceSegment do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AudienceSegment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AudienceSegment do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment_group.ex deleted file mode 100644 index b1ea4fbfeb..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/audience_segment_group.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup do - @moduledoc """ - Audience Segment Group. - - ## Attributes - - * `audienceSegments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AudienceSegment.t)`, *default:* `nil`) - Audience segments assigned to this group. The number of segments must be between 2 and 100. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this audience segment group. This is a read-only, auto-generated field. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this audience segment group. This is a required field and must be less than 65 characters long. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :audienceSegments => list(GoogleApi.DFAReporting.V35.Model.AudienceSegment.t()) | nil, - :id => String.t() | nil, - :name => String.t() | nil - } - - field(:audienceSegments, as: GoogleApi.DFAReporting.V35.Model.AudienceSegment, type: :list) - field(:id) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browser.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browser.ex deleted file mode 100644 index dc5a0503f1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browser.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Browser do - @moduledoc """ - Contains information about a browser that can be targeted by ads. - - ## Attributes - - * `browserVersionId` (*type:* `String.t`, *default:* `nil`) - ID referring to this grouping of browser and version numbers. This is the ID used for targeting. - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this browser. This is the ID used when generating reports. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser". - * `majorVersion` (*type:* `String.t`, *default:* `nil`) - Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is. - * `minorVersion` (*type:* `String.t`, *default:* `nil`) - Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this browser. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :browserVersionId => String.t() | nil, - :dartId => String.t() | nil, - :kind => String.t() | nil, - :majorVersion => String.t() | nil, - :minorVersion => String.t() | nil, - :name => String.t() | nil - } - - field(:browserVersionId) - field(:dartId) - field(:kind) - field(:majorVersion) - field(:minorVersion) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Browser do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Browser.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Browser do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browsers_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browsers_list_response.ex deleted file mode 100644 index 5ba20e4e2f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/browsers_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.BrowsersListResponse do - @moduledoc """ - Browser List Response - - ## Attributes - - * `browsers` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Browser.t)`, *default:* `nil`) - Browser collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#browsersListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :browsers => list(GoogleApi.DFAReporting.V35.Model.Browser.t()) | nil, - :kind => String.t() | nil - } - - field(:browsers, as: GoogleApi.DFAReporting.V35.Model.Browser, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.BrowsersListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.BrowsersListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.BrowsersListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign.ex deleted file mode 100644 index 2c981b1a8d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign.ex +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Campaign do - @moduledoc """ - Contains properties of a Campaign Manager campaign. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this campaign. This is a read-only field that can be left blank. - * `adBlockingConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration.t`, *default:* `nil`) - Ad blocking settings for this campaign. - * `additionalCreativeOptimizationConfigurations` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration.t)`, *default:* `nil`) - Additional creative optimization configurations for the campaign. - * `advertiserGroupId` (*type:* `String.t`, *default:* `nil`) - Advertiser group ID of the associated advertiser. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this campaign. This is a required field. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether this campaign has been archived. - * `audienceSegmentGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup.t)`, *default:* `nil`) - Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. - * `billingInvoiceCode` (*type:* `String.t`, *default:* `nil`) - Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign. - * `clickThroughUrlSuffixProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties.t`, *default:* `nil`) - Click-through URL suffix override properties for this campaign. - * `comment` (*type:* `String.t`, *default:* `nil`) - Arbitrary comments about this campaign. Must be less than 256 characters long. - * `createInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this campaign. This is a read-only field. - * `creativeGroupIds` (*type:* `list(String.t)`, *default:* `nil`) - List of creative group IDs that are assigned to the campaign. - * `creativeOptimizationConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration.t`, *default:* `nil`) - Creative optimization configuration for the campaign. - * `defaultClickThroughEventTagProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties.t`, *default:* `nil`) - Click-through event tag ID override properties for this campaign. - * `defaultLandingPageId` (*type:* `String.t`, *default:* `nil`) - The default landing page ID for this campaign. - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `eventTagOverrides` (*type:* `list(GoogleApi.DFAReporting.V35.Model.EventTagOverride.t)`, *default:* `nil`) - Overrides that can be used to activate or deactivate advertiser event tags. - * `externalId` (*type:* `String.t`, *default:* `nil`) - External ID for this campaign. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this campaign. This is a read-only auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this campaign. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this campaign. This is a read-only field. - * `measurementPartnerLink` (*type:* `GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink.t`, *default:* `nil`) - Measurement partner campaign link for tag wrapping. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser. - * `nielsenOcrEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether Nielsen reports are enabled for this campaign. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this campaign. This is a read-only field that can be left blank. - * `traffickerEmails` (*type:* `list(String.t)`, *default:* `nil`) - Campaign trafficker contact emails. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :adBlockingConfiguration => - GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration.t() | nil, - :additionalCreativeOptimizationConfigurations => - list(GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration.t()) | nil, - :advertiserGroupId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :archived => boolean() | nil, - :audienceSegmentGroups => - list(GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup.t()) | nil, - :billingInvoiceCode => String.t() | nil, - :clickThroughUrlSuffixProperties => - GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties.t() | nil, - :comment => String.t() | nil, - :createInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :creativeGroupIds => list(String.t()) | nil, - :creativeOptimizationConfiguration => - GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration.t() | nil, - :defaultClickThroughEventTagProperties => - GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties.t() | nil, - :defaultLandingPageId => String.t() | nil, - :endDate => Date.t() | nil, - :eventTagOverrides => list(GoogleApi.DFAReporting.V35.Model.EventTagOverride.t()) | nil, - :externalId => String.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :kind => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :measurementPartnerLink => - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink.t() | nil, - :name => String.t() | nil, - :nielsenOcrEnabled => boolean() | nil, - :startDate => Date.t() | nil, - :subaccountId => String.t() | nil, - :traffickerEmails => list(String.t()) | nil - } - - field(:accountId) - field(:adBlockingConfiguration, as: GoogleApi.DFAReporting.V35.Model.AdBlockingConfiguration) - - field(:additionalCreativeOptimizationConfigurations, - as: GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration, - type: :list - ) - - field(:advertiserGroupId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:archived) - - field(:audienceSegmentGroups, - as: GoogleApi.DFAReporting.V35.Model.AudienceSegmentGroup, - type: :list - ) - - field(:billingInvoiceCode) - - field(:clickThroughUrlSuffixProperties, - as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties - ) - - field(:comment) - field(:createInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:creativeGroupIds, type: :list) - - field(:creativeOptimizationConfiguration, - as: GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration - ) - - field(:defaultClickThroughEventTagProperties, - as: GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties - ) - - field(:defaultLandingPageId) - field(:endDate, as: Date) - field(:eventTagOverrides, as: GoogleApi.DFAReporting.V35.Model.EventTagOverride, type: :list) - field(:externalId) - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:kind) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - - field(:measurementPartnerLink, - as: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink - ) - - field(:name) - field(:nielsenOcrEnabled) - field(:startDate, as: Date) - field(:subaccountId) - field(:traffickerEmails, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Campaign do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Campaign.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Campaign do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_association.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_association.ex deleted file mode 100644 index 6cc989e838..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_association.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation do - @moduledoc """ - Identifies a creative which has been associated with a given campaign. - - ## Attributes - - * `creativeId` (*type:* `String.t`, *default:* `nil`) - ID of the creative associated with the campaign. This is a required field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeId => String.t() | nil, - :kind => String.t() | nil - } - - field(:creativeId) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_associations_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_associations_list_response.ex deleted file mode 100644 index 703cd3b839..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaign_creative_associations_list_response.ex +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse do - @moduledoc """ - Campaign Creative Association List Response - - ## Attributes - - * `campaignCreativeAssociations` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation.t)`, *default:* `nil`) - Campaign creative association collection - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociationsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :campaignCreativeAssociations => - list(GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:campaignCreativeAssociations, - as: GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociation, - type: :list - ) - - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.CampaignCreativeAssociationsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaigns_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaigns_list_response.ex deleted file mode 100644 index 823caec5cc..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/campaigns_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CampaignsListResponse do - @moduledoc """ - Campaign List Response - - ## Attributes - - * `campaigns` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Campaign.t)`, *default:* `nil`) - Campaign collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :campaigns => list(GoogleApi.DFAReporting.V35.Model.Campaign.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:campaigns, as: GoogleApi.DFAReporting.V35.Model.Campaign, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CampaignsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CampaignsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CampaignsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_log.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_log.ex deleted file mode 100644 index 0f75125953..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_log.ex +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ChangeLog do - @moduledoc """ - Describes a change that a user has made to a resource. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of the modified object. - * `action` (*type:* `String.t`, *default:* `nil`) - Action which caused the change. - * `changeTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `fieldName` (*type:* `String.t`, *default:* `nil`) - Field name of the object which changed. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this change log. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLog". - * `newValue` (*type:* `String.t`, *default:* `nil`) - New value of the object field. - * `objectId` (*type:* `String.t`, *default:* `nil`) - ID of the object of this change log. The object could be a campaign, placement, ad, or other type. - * `objectType` (*type:* `String.t`, *default:* `nil`) - Object type of the change log. - * `oldValue` (*type:* `String.t`, *default:* `nil`) - Old value of the object field. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of the modified object. - * `transactionId` (*type:* `String.t`, *default:* `nil`) - Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId. - * `userProfileId` (*type:* `String.t`, *default:* `nil`) - ID of the user who modified the object. - * `userProfileName` (*type:* `String.t`, *default:* `nil`) - User profile name of the user who modified the object. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :action => String.t() | nil, - :changeTime => DateTime.t() | nil, - :fieldName => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :newValue => String.t() | nil, - :objectId => String.t() | nil, - :objectType => String.t() | nil, - :oldValue => String.t() | nil, - :subaccountId => String.t() | nil, - :transactionId => String.t() | nil, - :userProfileId => String.t() | nil, - :userProfileName => String.t() | nil - } - - field(:accountId) - field(:action) - field(:changeTime, as: DateTime) - field(:fieldName) - field(:id) - field(:kind) - field(:newValue) - field(:objectId) - field(:objectType) - field(:oldValue) - field(:subaccountId) - field(:transactionId) - field(:userProfileId) - field(:userProfileName) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ChangeLog do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ChangeLog.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ChangeLog do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_logs_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_logs_list_response.ex deleted file mode 100644 index 4a849e450c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/change_logs_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse do - @moduledoc """ - Change Log List Response - - ## Attributes - - * `changeLogs` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ChangeLog.t)`, *default:* `nil`) - Change log collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLogsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :changeLogs => list(GoogleApi.DFAReporting.V35.Model.ChangeLog.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:changeLogs, as: GoogleApi.DFAReporting.V35.Model.ChangeLog, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ChangeLogsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping.ex deleted file mode 100644 index b78593b6ec..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ChannelGrouping do - @moduledoc """ - Represents a DfaReporting channel grouping. - - ## Attributes - - * `fallbackName` (*type:* `String.t`, *default:* `nil`) - ChannelGrouping fallback name. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#channelGrouping. - * `name` (*type:* `String.t`, *default:* `nil`) - ChannelGrouping name. - * `rules` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule.t)`, *default:* `nil`) - The rules contained within this channel grouping. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :fallbackName => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :rules => list(GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule.t()) | nil - } - - field(:fallbackName) - field(:kind) - field(:name) - field(:rules, as: GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ChannelGrouping do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ChannelGrouping.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ChannelGrouping do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping_rule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping_rule.ex deleted file mode 100644 index 4dbc83737f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/channel_grouping_rule.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule do - @moduledoc """ - Represents a DfaReporting channel grouping rule. - - ## Attributes - - * `disjunctiveMatchStatements` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement.t)`, *default:* `nil`) - The disjunctive match statements contained within this rule. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#channelGroupingRule. - * `name` (*type:* `String.t`, *default:* `nil`) - Rule name. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :disjunctiveMatchStatements => - list(GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement.t()) | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:disjunctiveMatchStatements, - as: GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement, - type: :list - ) - - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ChannelGroupingRule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cities_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cities_list_response.ex deleted file mode 100644 index de23f6beb3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cities_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CitiesListResponse do - @moduledoc """ - City List Response - - ## Attributes - - * `cities` (*type:* `list(GoogleApi.DFAReporting.V35.Model.City.t)`, *default:* `nil`) - City collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#citiesListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :cities => list(GoogleApi.DFAReporting.V35.Model.City.t()) | nil, - :kind => String.t() | nil - } - - field(:cities, as: GoogleApi.DFAReporting.V35.Model.City, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CitiesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CitiesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CitiesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/city.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/city.ex deleted file mode 100644 index df28fe30a0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/city.ex +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.City do - @moduledoc """ - Contains information about a city that can be targeted by ads. - - ## Attributes - - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code of the country to which this city belongs. - * `countryDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the country to which this city belongs. - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this city. This is the ID used for targeting and generating reports. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#city". - * `metroCode` (*type:* `String.t`, *default:* `nil`) - Metro region code of the metro region (DMA) to which this city belongs. - * `metroDmaId` (*type:* `String.t`, *default:* `nil`) - ID of the metro region (DMA) to which this city belongs. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this city. - * `regionCode` (*type:* `String.t`, *default:* `nil`) - Region code of the region to which this city belongs. - * `regionDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the region to which this city belongs. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countryCode => String.t() | nil, - :countryDartId => String.t() | nil, - :dartId => String.t() | nil, - :kind => String.t() | nil, - :metroCode => String.t() | nil, - :metroDmaId => String.t() | nil, - :name => String.t() | nil, - :regionCode => String.t() | nil, - :regionDartId => String.t() | nil - } - - field(:countryCode) - field(:countryDartId) - field(:dartId) - field(:kind) - field(:metroCode) - field(:metroDmaId) - field(:name) - field(:regionCode) - field(:regionDartId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.City do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.City.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.City do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url.ex deleted file mode 100644 index 2964aa593c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ClickThroughUrl do - @moduledoc """ - Click-through URL - - ## Attributes - - * `computedClickThroughUrl` (*type:* `String.t`, *default:* `nil`) - Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. - * `customClickThroughUrl` (*type:* `String.t`, *default:* `nil`) - Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset. - * `defaultLandingPage` (*type:* `boolean()`, *default:* `nil`) - Whether the campaign default landing page is used. - * `landingPageId` (*type:* `String.t`, *default:* `nil`) - ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :computedClickThroughUrl => String.t() | nil, - :customClickThroughUrl => String.t() | nil, - :defaultLandingPage => boolean() | nil, - :landingPageId => String.t() | nil - } - - field(:computedClickThroughUrl) - field(:customClickThroughUrl) - field(:defaultLandingPage) - field(:landingPageId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url_suffix_properties.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url_suffix_properties.ex deleted file mode 100644 index 4c96bcceb2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/click_through_url_suffix_properties.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties do - @moduledoc """ - Click Through URL Suffix settings. - - ## Attributes - - * `clickThroughUrlSuffix` (*type:* `String.t`, *default:* `nil`) - Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. - * `overrideInheritedSuffix` (*type:* `boolean()`, *default:* `nil`) - Whether this entity should override the inherited click-through URL suffix with its own defined value. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clickThroughUrlSuffix => String.t() | nil, - :overrideInheritedSuffix => boolean() | nil - } - - field(:clickThroughUrlSuffix) - field(:overrideInheritedSuffix) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ClickThroughUrlSuffixProperties do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_click_through_override.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_click_through_override.ex deleted file mode 100644 index 217a53a8a3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_click_through_override.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride do - @moduledoc """ - Companion Click-through override. - - ## Attributes - - * `clickThroughUrl` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t`, *default:* `nil`) - Click-through URL of this companion click-through override. - * `creativeId` (*type:* `String.t`, *default:* `nil`) - ID of the creative for this companion click-through override. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clickThroughUrl => GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t() | nil, - :creativeId => String.t() | nil - } - - field(:clickThroughUrl, as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl) - field(:creativeId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_setting.ex deleted file mode 100644 index 325586422c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/companion_setting.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CompanionSetting do - @moduledoc """ - Companion Settings - - ## Attributes - - * `companionsDisabled` (*type:* `boolean()`, *default:* `nil`) - Whether companions are disabled for this placement. - * `enabledSizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. - * `imageOnly` (*type:* `boolean()`, *default:* `nil`) - Whether to serve only static images as companions. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :companionsDisabled => boolean() | nil, - :enabledSizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil, - :imageOnly => boolean() | nil, - :kind => String.t() | nil - } - - field(:companionsDisabled) - field(:enabledSizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) - field(:imageOnly) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CompanionSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CompanionSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CompanionSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/compatible_fields.ex deleted file mode 100644 index 3e4a79120a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/compatible_fields.ex +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CompatibleFields do - @moduledoc """ - Represents a response to the queryCompatibleFields method. - - ## Attributes - - * `crossDimensionReachReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". - * `floodlightReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "FLOODLIGHT". - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#compatibleFields. - * `pathAttributionReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "PATH_ATTRIBUTION". - * `pathReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "PATH". - * `pathToConversionReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "PATH_TO_CONVERSION". - * `reachReportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "REACH". - * `reportCompatibleFields` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields.t`, *default:* `nil`) - Contains items that are compatible to be selected for a report of type "STANDARD". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :crossDimensionReachReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields.t() | nil, - :floodlightReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields.t() | nil, - :kind => String.t() | nil, - :pathAttributionReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields.t() | nil, - :pathReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields.t() | nil, - :pathToConversionReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields.t() | nil, - :reachReportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields.t() | nil, - :reportCompatibleFields => - GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields.t() | nil - } - - field(:crossDimensionReachReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields - ) - - field(:floodlightReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields - ) - - field(:kind) - - field(:pathAttributionReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields - ) - - field(:pathReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields - ) - - field(:pathToConversionReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields - ) - - field(:reachReportCompatibleFields, - as: GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields - ) - - field(:reportCompatibleFields, as: GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_type.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_type.ex deleted file mode 100644 index 2c99fbc2ef..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_type.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConnectionType do - @moduledoc """ - Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this connection type. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this connection type. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConnectionType do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConnectionType.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConnectionType do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_types_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_types_list_response.ex deleted file mode 100644 index d99c4b1e23..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/connection_types_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse do - @moduledoc """ - Connection Type List Response - - ## Attributes - - * `connectionTypes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ConnectionType.t)`, *default:* `nil`) - Collection of connection types such as broadband and mobile. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionTypesListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :connectionTypes => list(GoogleApi.DFAReporting.V35.Model.ConnectionType.t()) | nil, - :kind => String.t() | nil - } - - field(:connectionTypes, as: GoogleApi.DFAReporting.V35.Model.ConnectionType, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConnectionTypesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex deleted file mode 100644 index 97ea2c7a12..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse do - @moduledoc """ - Content Category List Response - - ## Attributes - - * `contentCategories` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ContentCategory.t)`, *default:* `nil`) - Content category collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategoriesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :contentCategories => list(GoogleApi.DFAReporting.V35.Model.ContentCategory.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:contentCategories, as: GoogleApi.DFAReporting.V35.Model.ContentCategory, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ContentCategoriesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex deleted file mode 100644 index 18821a7ddb..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ContentCategory do - @moduledoc """ - Organizes placements according to the contents of their associated webpages. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this content category. This is a read-only field that can be left blank. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this content category. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:accountId) - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ContentCategory do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ContentCategory.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ContentCategory do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion.ex deleted file mode 100644 index b9f6931512..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion.ex +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Conversion do - @moduledoc """ - A Conversion represents when a user successfully performs a desired action after seeing an ad. - - ## Attributes - - * `childDirectedTreatment` (*type:* `boolean()`, *default:* `nil`) - Whether this particular request may come from a user under the age of 13, under COPPA compliance. - * `customVariables` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable.t)`, *default:* `nil`) - Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate. - * `dclid` (*type:* `String.t`, *default:* `nil`) - The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field. - * `encryptedUserId` (*type:* `String.t`, *default:* `nil`) - The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid and dclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid is a required field. - * `encryptedUserIdCandidates` (*type:* `list(String.t)`, *default:* `nil`) - A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId, gclid and dclid. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid is a required field. - * `floodlightActivityId` (*type:* `String.t`, *default:* `nil`) - Floodlight Activity ID of this conversion. This is a required field. - * `floodlightConfigurationId` (*type:* `String.t`, *default:* `nil`) - Floodlight Configuration ID of this conversion. This is a required field. - * `gclid` (*type:* `String.t`, *default:* `nil`) - The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid is a required field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversion". - * `limitAdTracking` (*type:* `boolean()`, *default:* `nil`) - Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing. - * `matchId` (*type:* `String.t`, *default:* `nil`) - The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid is a required field. - * `mobileDeviceId` (*type:* `String.t`, *default:* `nil`) - The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid is a required field. - * `nonPersonalizedAd` (*type:* `boolean()`, *default:* `nil`) - Whether the conversion was for a non personalized ad. - * `ordinal` (*type:* `String.t`, *default:* `nil`) - The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field. - * `quantity` (*type:* `String.t`, *default:* `nil`) - The quantity of the conversion. - * `timestampMicros` (*type:* `String.t`, *default:* `nil`) - The timestamp of conversion, in Unix epoch micros. This is a required field. - * `treatmentForUnderage` (*type:* `boolean()`, *default:* `nil`) - Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). - * `value` (*type:* `float()`, *default:* `nil`) - The value of the conversion. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :childDirectedTreatment => boolean() | nil, - :customVariables => - list(GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable.t()) | nil, - :dclid => String.t() | nil, - :encryptedUserId => String.t() | nil, - :encryptedUserIdCandidates => list(String.t()) | nil, - :floodlightActivityId => String.t() | nil, - :floodlightConfigurationId => String.t() | nil, - :gclid => String.t() | nil, - :kind => String.t() | nil, - :limitAdTracking => boolean() | nil, - :matchId => String.t() | nil, - :mobileDeviceId => String.t() | nil, - :nonPersonalizedAd => boolean() | nil, - :ordinal => String.t() | nil, - :quantity => String.t() | nil, - :timestampMicros => String.t() | nil, - :treatmentForUnderage => boolean() | nil, - :value => float() | nil - } - - field(:childDirectedTreatment) - - field(:customVariables, - as: GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable, - type: :list - ) - - field(:dclid) - field(:encryptedUserId) - field(:encryptedUserIdCandidates, type: :list) - field(:floodlightActivityId) - field(:floodlightConfigurationId) - field(:gclid) - field(:kind) - field(:limitAdTracking) - field(:matchId) - field(:mobileDeviceId) - field(:nonPersonalizedAd) - field(:ordinal) - field(:quantity) - field(:timestampMicros) - field(:treatmentForUnderage) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Conversion do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Conversion.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Conversion do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_error.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_error.ex deleted file mode 100644 index 7e33ba5bbd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_error.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionError do - @moduledoc """ - The error code and description for a conversion that failed to insert or update. - - ## Attributes - - * `code` (*type:* `String.t`, *default:* `nil`) - The error code. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionError". - * `message` (*type:* `String.t`, *default:* `nil`) - A description of the error. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :code => String.t() | nil, - :kind => String.t() | nil, - :message => String.t() | nil - } - - field(:code) - field(:kind) - field(:message) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionError do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionError.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionError do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_status.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_status.ex deleted file mode 100644 index 2a61589a9d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversion_status.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionStatus do - @moduledoc """ - The original conversion that was inserted or updated and whether there were any errors. - - ## Attributes - - * `conversion` (*type:* `GoogleApi.DFAReporting.V35.Model.Conversion.t`, *default:* `nil`) - The original conversion that was inserted or updated. - * `errors` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ConversionError.t)`, *default:* `nil`) - A list of errors related to this conversion. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionStatus". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :conversion => GoogleApi.DFAReporting.V35.Model.Conversion.t() | nil, - :errors => list(GoogleApi.DFAReporting.V35.Model.ConversionError.t()) | nil, - :kind => String.t() | nil - } - - field(:conversion, as: GoogleApi.DFAReporting.V35.Model.Conversion) - field(:errors, as: GoogleApi.DFAReporting.V35.Model.ConversionError, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionStatus do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionStatus.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionStatus do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_request.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_request.ex deleted file mode 100644 index 00f59bca3b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_request.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertRequest do - @moduledoc """ - Insert Conversions Request. - - ## Attributes - - * `conversions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Conversion.t)`, *default:* `nil`) - The set of conversions to insert. - * `encryptionInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.EncryptionInfo.t`, *default:* `nil`) - Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchInsertRequest". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :conversions => list(GoogleApi.DFAReporting.V35.Model.Conversion.t()) | nil, - :encryptionInfo => GoogleApi.DFAReporting.V35.Model.EncryptionInfo.t() | nil, - :kind => String.t() | nil - } - - field(:conversions, as: GoogleApi.DFAReporting.V35.Model.Conversion, type: :list) - field(:encryptionInfo, as: GoogleApi.DFAReporting.V35.Model.EncryptionInfo) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertRequest do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertRequest.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertRequest do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_response.ex deleted file mode 100644 index 6f62cfe822..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_insert_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse do - @moduledoc """ - Insert Conversions Response. - - ## Attributes - - * `hasFailures` (*type:* `boolean()`, *default:* `nil`) - Indicates that some or all conversions failed to insert. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchInsertResponse". - * `status` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ConversionStatus.t)`, *default:* `nil`) - The insert status of each conversion. Statuses are returned in the same order that conversions are inserted. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :hasFailures => boolean() | nil, - :kind => String.t() | nil, - :status => list(GoogleApi.DFAReporting.V35.Model.ConversionStatus.t()) | nil - } - - field(:hasFailures) - field(:kind) - field(:status, as: GoogleApi.DFAReporting.V35.Model.ConversionStatus, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchInsertResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_request.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_request.ex deleted file mode 100644 index a09982b68d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_request.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateRequest do - @moduledoc """ - Update Conversions Request. - - ## Attributes - - * `conversions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Conversion.t)`, *default:* `nil`) - The set of conversions to update. - * `encryptionInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.EncryptionInfo.t`, *default:* `nil`) - Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchUpdateRequest". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :conversions => list(GoogleApi.DFAReporting.V35.Model.Conversion.t()) | nil, - :encryptionInfo => GoogleApi.DFAReporting.V35.Model.EncryptionInfo.t() | nil, - :kind => String.t() | nil - } - - field(:conversions, as: GoogleApi.DFAReporting.V35.Model.Conversion, type: :list) - field(:encryptionInfo, as: GoogleApi.DFAReporting.V35.Model.EncryptionInfo) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateRequest do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateRequest.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateRequest do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_response.ex deleted file mode 100644 index 55ece8b142..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/conversions_batch_update_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse do - @moduledoc """ - Update Conversions Response. - - ## Attributes - - * `hasFailures` (*type:* `boolean()`, *default:* `nil`) - Indicates that some or all conversions failed to update. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchUpdateResponse". - * `status` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ConversionStatus.t)`, *default:* `nil`) - The update status of each conversion. Statuses are returned in the same order that conversions are updated. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :hasFailures => boolean() | nil, - :kind => String.t() | nil, - :status => list(GoogleApi.DFAReporting.V35.Model.ConversionStatus.t()) | nil - } - - field(:hasFailures) - field(:kind) - field(:status, as: GoogleApi.DFAReporting.V35.Model.ConversionStatus, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ConversionsBatchUpdateResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/countries_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/countries_list_response.ex deleted file mode 100644 index ee60f8e65b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/countries_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CountriesListResponse do - @moduledoc """ - Country List Response - - ## Attributes - - * `countries` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Country.t)`, *default:* `nil`) - Country collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#countriesListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countries => list(GoogleApi.DFAReporting.V35.Model.Country.t()) | nil, - :kind => String.t() | nil - } - - field(:countries, as: GoogleApi.DFAReporting.V35.Model.Country, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CountriesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CountriesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CountriesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex deleted file mode 100644 index 1c00f9728c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Country do - @moduledoc """ - Contains information about a country that can be targeted by ads. - - ## Attributes - - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code. - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this country. This is the ID used for targeting and generating reports. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#country". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this country. - * `sslEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether ad serving supports secure servers in this country. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countryCode => String.t() | nil, - :dartId => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :sslEnabled => boolean() | nil - } - - field(:countryCode) - field(:dartId) - field(:kind) - field(:name) - field(:sslEnabled) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Country do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Country.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Country do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative.ex deleted file mode 100644 index 18de4855e0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative.ex +++ /dev/null @@ -1,255 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Creative do - @moduledoc """ - Contains properties of a Creative. - - ## Attributes - - * `renderingIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. - * `authoringTool` (*type:* `String.t`, *default:* `nil`) - Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. - * `additionalSizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. - * `skippable` (*type:* `boolean()`, *default:* `nil`) - Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. - * `studioAdvertiserId` (*type:* `String.t`, *default:* `nil`) - Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this creative. This is a required field. Applicable to all creative types. - * `size` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. - * `autoAdvanceImages` (*type:* `boolean()`, *default:* `nil`) - Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Creative last modification information. This is a read-only field. Applicable to all creative types. - * `obaIcon` (*type:* `GoogleApi.DFAReporting.V35.Model.ObaIcon.t`, *default:* `nil`) - Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. - * `creativeAssets` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeAsset.t)`, *default:* `nil`) - Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. - * `authoringSource` (*type:* `String.t`, *default:* `nil`) - Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. - * `commercialId` (*type:* `String.t`, *default:* `nil`) - Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. - * `artworkType` (*type:* `String.t`, *default:* `nil`) - Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `timerCustomEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t)`, *default:* `nil`) - List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". - * `requiredFlashPluginVersion` (*type:* `String.t`, *default:* `nil`) - The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `thirdPartyUrls` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl.t)`, *default:* `nil`) - Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. - * `customKeyValues` (*type:* `list(String.t)`, *default:* `nil`) - Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. - * `backupImageFeatures` (*type:* `list(String.t)`, *default:* `nil`) - List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `progressOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. - * `backupImageClickThroughUrl` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeClickThroughUrl.t`, *default:* `nil`) - Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. - * `version` (*type:* `integer()`, *default:* `nil`) - The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. - * `creativeAssetSelection` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection.t`, *default:* `nil`) - Required if dynamicAssetSelection is true. - * `adParameters` (*type:* `String.t`, *default:* `nil`) - Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. - * `overrideCss` (*type:* `String.t`, *default:* `nil`) - Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether the creative is archived. Applicable to all creative types. - * `skipOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. - * `convertFlashToHtml5` (*type:* `boolean()`, *default:* `nil`) - Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. - * `adTagKeys` (*type:* `list(String.t)`, *default:* `nil`) - Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `companionCreatives` (*type:* `list(String.t)`, *default:* `nil`) - List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. - * `backupImageTargetWindow` (*type:* `GoogleApi.DFAReporting.V35.Model.TargetWindow.t`, *default:* `nil`) - Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `thirdPartyBackupImageImpressionsUrl` (*type:* `String.t`, *default:* `nil`) - Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. - * `creativeFieldAssignments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment.t)`, *default:* `nil`) - Creative field assignments for this creative. Applicable to all creative types. - * `requiredFlashVersion` (*type:* `integer()`, *default:* `nil`) - The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether the creative is active. Applicable to all creative types. - * `redirectUrl` (*type:* `String.t`, *default:* `nil`) - URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT - * `thirdPartyRichMediaImpressionsUrl` (*type:* `String.t`, *default:* `nil`) - Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. - * `mediaDuration` (*type:* `number()`, *default:* `nil`) - Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. - * `allowScriptAccess` (*type:* `boolean()`, *default:* `nil`) - Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. - * `counterCustomEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t)`, *default:* `nil`) - List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. - * `backgroundColor` (*type:* `String.t`, *default:* `nil`) - The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. - * `universalAdId` (*type:* `GoogleApi.DFAReporting.V35.Model.UniversalAdId.t`, *default:* `nil`) - A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. - * `compatibility` (*type:* `list(String.t)`, *default:* `nil`) - Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" - * `exitCustomEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t)`, *default:* `nil`) - List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `latestTraffickedCreativeId` (*type:* `String.t`, *default:* `nil`) - Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. - * `backupImageReportingLabel` (*type:* `String.t`, *default:* `nil`) - Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. - * `clickTags` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ClickTag.t)`, *default:* `nil`) - Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `sslOverride` (*type:* `boolean()`, *default:* `nil`) - Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. - * `totalFileSize` (*type:* `String.t`, *default:* `nil`) - Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `dynamicAssetSelection` (*type:* `boolean()`, *default:* `nil`) - Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. - * `renderingId` (*type:* `String.t`, *default:* `nil`) - ID of current rendering version. This is a read-only field. Applicable to all creative types. - * `htmlCode` (*type:* `String.t`, *default:* `nil`) - HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. - * `htmlCodeLocked` (*type:* `boolean()`, *default:* `nil`) - Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. - * `mediaDescription` (*type:* `String.t`, *default:* `nil`) - Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. - * `studioCreativeId` (*type:* `String.t`, *default:* `nil`) - Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `fsCommand` (*type:* `GoogleApi.DFAReporting.V35.Model.FsCommand.t`, *default:* `nil`) - OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. - * `studioTraffickedCreativeId` (*type:* `String.t`, *default:* `nil`) - Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :renderingIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :authoringTool => String.t() | nil, - :additionalSizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil, - :skippable => boolean() | nil, - :studioAdvertiserId => String.t() | nil, - :advertiserId => String.t() | nil, - :size => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :autoAdvanceImages => boolean() | nil, - :subaccountId => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :obaIcon => GoogleApi.DFAReporting.V35.Model.ObaIcon.t() | nil, - :creativeAssets => list(GoogleApi.DFAReporting.V35.Model.CreativeAsset.t()) | nil, - :accountId => String.t() | nil, - :authoringSource => String.t() | nil, - :commercialId => String.t() | nil, - :artworkType => String.t() | nil, - :timerCustomEvents => - list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t()) | nil, - :kind => String.t() | nil, - :requiredFlashPluginVersion => String.t() | nil, - :thirdPartyUrls => - list(GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl.t()) | nil, - :customKeyValues => list(String.t()) | nil, - :name => String.t() | nil, - :backupImageFeatures => list(String.t()) | nil, - :progressOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :backupImageClickThroughUrl => - GoogleApi.DFAReporting.V35.Model.CreativeClickThroughUrl.t() | nil, - :version => integer() | nil, - :creativeAssetSelection => - GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection.t() | nil, - :adParameters => String.t() | nil, - :overrideCss => String.t() | nil, - :archived => boolean() | nil, - :skipOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :convertFlashToHtml5 => boolean() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :adTagKeys => list(String.t()) | nil, - :companionCreatives => list(String.t()) | nil, - :backupImageTargetWindow => GoogleApi.DFAReporting.V35.Model.TargetWindow.t() | nil, - :thirdPartyBackupImageImpressionsUrl => String.t() | nil, - :type => String.t() | nil, - :creativeFieldAssignments => - list(GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment.t()) | nil, - :requiredFlashVersion => integer() | nil, - :active => boolean() | nil, - :redirectUrl => String.t() | nil, - :thirdPartyRichMediaImpressionsUrl => String.t() | nil, - :mediaDuration => number() | nil, - :allowScriptAccess => boolean() | nil, - :counterCustomEvents => - list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t()) | nil, - :backgroundColor => String.t() | nil, - :universalAdId => GoogleApi.DFAReporting.V35.Model.UniversalAdId.t() | nil, - :compatibility => list(String.t()) | nil, - :exitCustomEvents => - list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t()) | nil, - :latestTraffickedCreativeId => String.t() | nil, - :id => String.t() | nil, - :backupImageReportingLabel => String.t() | nil, - :clickTags => list(GoogleApi.DFAReporting.V35.Model.ClickTag.t()) | nil, - :sslOverride => boolean() | nil, - :totalFileSize => String.t() | nil, - :dynamicAssetSelection => boolean() | nil, - :renderingId => String.t() | nil, - :htmlCode => String.t() | nil, - :htmlCodeLocked => boolean() | nil, - :sslCompliant => boolean() | nil, - :mediaDescription => String.t() | nil, - :studioCreativeId => String.t() | nil, - :fsCommand => GoogleApi.DFAReporting.V35.Model.FsCommand.t() | nil, - :studioTraffickedCreativeId => String.t() | nil - } - - field(:renderingIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:authoringTool) - field(:additionalSizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) - field(:skippable) - field(:studioAdvertiserId) - field(:advertiserId) - field(:size, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:autoAdvanceImages) - field(:subaccountId) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:obaIcon, as: GoogleApi.DFAReporting.V35.Model.ObaIcon) - field(:creativeAssets, as: GoogleApi.DFAReporting.V35.Model.CreativeAsset, type: :list) - field(:accountId) - field(:authoringSource) - field(:commercialId) - field(:artworkType) - field(:timerCustomEvents, as: GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent, type: :list) - field(:kind) - field(:requiredFlashPluginVersion) - field(:thirdPartyUrls, as: GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl, type: :list) - field(:customKeyValues, type: :list) - field(:name) - field(:backupImageFeatures, type: :list) - field(:progressOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:backupImageClickThroughUrl, as: GoogleApi.DFAReporting.V35.Model.CreativeClickThroughUrl) - field(:version) - field(:creativeAssetSelection, as: GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection) - field(:adParameters) - field(:overrideCss) - field(:archived) - field(:skipOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:convertFlashToHtml5) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:adTagKeys, type: :list) - field(:companionCreatives, type: :list) - field(:backupImageTargetWindow, as: GoogleApi.DFAReporting.V35.Model.TargetWindow) - field(:thirdPartyBackupImageImpressionsUrl) - field(:type) - - field(:creativeFieldAssignments, - as: GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment, - type: :list - ) - - field(:requiredFlashVersion) - field(:active) - field(:redirectUrl) - field(:thirdPartyRichMediaImpressionsUrl) - field(:mediaDuration) - field(:allowScriptAccess) - - field(:counterCustomEvents, - as: GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent, - type: :list - ) - - field(:backgroundColor) - field(:universalAdId, as: GoogleApi.DFAReporting.V35.Model.UniversalAdId) - field(:compatibility, type: :list) - field(:exitCustomEvents, as: GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent, type: :list) - field(:latestTraffickedCreativeId) - field(:id) - field(:backupImageReportingLabel) - field(:clickTags, as: GoogleApi.DFAReporting.V35.Model.ClickTag, type: :list) - field(:sslOverride) - field(:totalFileSize) - field(:dynamicAssetSelection) - field(:renderingId) - field(:htmlCode) - field(:htmlCodeLocked) - field(:sslCompliant) - field(:mediaDescription) - field(:studioCreativeId) - field(:fsCommand, as: GoogleApi.DFAReporting.V35.Model.FsCommand) - field(:studioTraffickedCreativeId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Creative do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Creative.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Creative do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset.ex deleted file mode 100644 index 2655f65e53..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset.ex +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeAsset do - @moduledoc """ - Creative Asset. - - ## Attributes - - * `additionalSizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. - * `positionLeftUnit` (*type:* `String.t`, *default:* `nil`) - Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. - * `size` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `verticallyLocked` (*type:* `boolean()`, *default:* `nil`) - Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. - * `positionTopUnit` (*type:* `String.t`, *default:* `nil`) - Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. - * `duration` (*type:* `integer()`, *default:* `nil`) - Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. - * `zipFilename` (*type:* `String.t`, *default:* `nil`) - File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. - * `fileSize` (*type:* `String.t`, *default:* `nil`) - File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. - * `position` (*type:* `GoogleApi.DFAReporting.V35.Model.OffsetPosition.t`, *default:* `nil`) - Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. - * `durationType` (*type:* `String.t`, *default:* `nil`) - Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. - * `customStartTimeValue` (*type:* `integer()`, *default:* `nil`) - Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. - * `hideSelectionBoxes` (*type:* `boolean()`, *default:* `nil`) - Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. - * `zipFilesize` (*type:* `String.t`, *default:* `nil`) - Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. - * `childAssetType` (*type:* `String.t`, *default:* `nil`) - Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. - * `artworkType` (*type:* `String.t`, *default:* `nil`) - Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. - * `bitRate` (*type:* `integer()`, *default:* `nil`) - Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `assetIdentifier` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeAssetId.t`, *default:* `nil`) - Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. - * `collapsedSize` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. - * `pushdownDuration` (*type:* `number()`, *default:* `nil`) - Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. - * `audioSampleRate` (*type:* `integer()`, *default:* `nil`) - Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `politeLoad` (*type:* `boolean()`, *default:* `nil`) - Whether this asset is used as a polite load asset. - * `audioBitRate` (*type:* `integer()`, *default:* `nil`) - Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `windowMode` (*type:* `String.t`, *default:* `nil`) - Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the asset. This is a read-only, auto-generated field. - * `alignment` (*type:* `String.t`, *default:* `nil`) - Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . - * `offset` (*type:* `GoogleApi.DFAReporting.V35.Model.OffsetPosition.t`, *default:* `nil`) - Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. - * `progressiveServingUrl` (*type:* `String.t`, *default:* `nil`) - Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `backupImageExit` (*type:* `GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t`, *default:* `nil`) - Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. - * `mediaDuration` (*type:* `number()`, *default:* `nil`) - Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `transparency` (*type:* `boolean()`, *default:* `nil`) - Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. - * `expandedDimension` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. - * `hideFlashObjects` (*type:* `boolean()`, *default:* `nil`) - Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. - * `originalBackup` (*type:* `boolean()`, *default:* `nil`) - Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. - * `companionCreativeIds` (*type:* `list(String.t)`, *default:* `nil`) - List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. - * `role` (*type:* `String.t`, *default:* `nil`) - Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. - * `flashVersion` (*type:* `integer()`, *default:* `nil`) - Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `orientation` (*type:* `String.t`, *default:* `nil`) - Orientation of video asset. This is a read-only, auto-generated field. - * `actionScript3` (*type:* `boolean()`, *default:* `nil`) - Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `startTimeType` (*type:* `String.t`, *default:* `nil`) - Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. - * `id` (*type:* `String.t`, *default:* `nil`) - Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. - * `horizontallyLocked` (*type:* `boolean()`, *default:* `nil`) - Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. - * `zIndex` (*type:* `integer()`, *default:* `nil`) - zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. - * `detectedFeatures` (*type:* `list(String.t)`, *default:* `nil`) - List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. - * `pushdown` (*type:* `boolean()`, *default:* `nil`) - Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. - * `streamingServingUrl` (*type:* `String.t`, *default:* `nil`) - Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. - * `mimeType` (*type:* `String.t`, *default:* `nil`) - Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. - * `frameRate` (*type:* `number()`, *default:* `nil`) - Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. - * `displayType` (*type:* `String.t`, *default:* `nil`) - Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :additionalSizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil, - :positionLeftUnit => String.t() | nil, - :size => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :verticallyLocked => boolean() | nil, - :positionTopUnit => String.t() | nil, - :duration => integer() | nil, - :zipFilename => String.t() | nil, - :fileSize => String.t() | nil, - :position => GoogleApi.DFAReporting.V35.Model.OffsetPosition.t() | nil, - :durationType => String.t() | nil, - :customStartTimeValue => integer() | nil, - :hideSelectionBoxes => boolean() | nil, - :zipFilesize => String.t() | nil, - :childAssetType => String.t() | nil, - :artworkType => String.t() | nil, - :bitRate => integer() | nil, - :assetIdentifier => GoogleApi.DFAReporting.V35.Model.CreativeAssetId.t() | nil, - :collapsedSize => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :pushdownDuration => number() | nil, - :audioSampleRate => integer() | nil, - :politeLoad => boolean() | nil, - :audioBitRate => integer() | nil, - :windowMode => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :alignment => String.t() | nil, - :offset => GoogleApi.DFAReporting.V35.Model.OffsetPosition.t() | nil, - :progressiveServingUrl => String.t() | nil, - :active => boolean() | nil, - :backupImageExit => GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t() | nil, - :mediaDuration => number() | nil, - :transparency => boolean() | nil, - :expandedDimension => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :hideFlashObjects => boolean() | nil, - :originalBackup => boolean() | nil, - :companionCreativeIds => list(String.t()) | nil, - :role => String.t() | nil, - :flashVersion => integer() | nil, - :orientation => String.t() | nil, - :actionScript3 => boolean() | nil, - :startTimeType => String.t() | nil, - :id => String.t() | nil, - :horizontallyLocked => boolean() | nil, - :zIndex => integer() | nil, - :detectedFeatures => list(String.t()) | nil, - :pushdown => boolean() | nil, - :streamingServingUrl => String.t() | nil, - :sslCompliant => boolean() | nil, - :mimeType => String.t() | nil, - :frameRate => number() | nil, - :displayType => String.t() | nil - } - - field(:additionalSizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) - field(:positionLeftUnit) - field(:size, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:verticallyLocked) - field(:positionTopUnit) - field(:duration) - field(:zipFilename) - field(:fileSize) - field(:position, as: GoogleApi.DFAReporting.V35.Model.OffsetPosition) - field(:durationType) - field(:customStartTimeValue) - field(:hideSelectionBoxes) - field(:zipFilesize) - field(:childAssetType) - field(:artworkType) - field(:bitRate) - field(:assetIdentifier, as: GoogleApi.DFAReporting.V35.Model.CreativeAssetId) - field(:collapsedSize, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:pushdownDuration) - field(:audioSampleRate) - field(:politeLoad) - field(:audioBitRate) - field(:windowMode) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:alignment) - field(:offset, as: GoogleApi.DFAReporting.V35.Model.OffsetPosition) - field(:progressiveServingUrl) - field(:active) - field(:backupImageExit, as: GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent) - field(:mediaDuration) - field(:transparency) - field(:expandedDimension, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:hideFlashObjects) - field(:originalBackup) - field(:companionCreativeIds, type: :list) - field(:role) - field(:flashVersion) - field(:orientation) - field(:actionScript3) - field(:startTimeType) - field(:id) - field(:horizontallyLocked) - field(:zIndex) - field(:detectedFeatures, type: :list) - field(:pushdown) - field(:streamingServingUrl) - field(:sslCompliant) - field(:mimeType) - field(:frameRate) - field(:displayType) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAsset do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeAsset.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAsset do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_metadata.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_metadata.ex index c9d511710a..656ca7d062 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_metadata.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_metadata.ex @@ -29,6 +29,8 @@ defmodule GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata do * `id` (*type:* `String.t`, *default:* `nil`) - Numeric ID of the asset. This is a read-only, auto-generated field. * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field. * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata". + * `mediaRequestInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.MediaRequestInfo.t`, *default:* `nil`) - + * `mediaResponseInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.MediaResponseInfo.t`, *default:* `nil`) - * `richMedia` (*type:* `boolean()`, *default:* `nil`) - True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field. * `timerCustomEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t)`, *default:* `nil`) - List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset. * `warnedValidationRules` (*type:* `list(String.t)`, *default:* `nil`) - Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED" - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED" - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" - "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" - "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" - "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" - "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" - "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" - "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" - "SVG_INVALID" - "ZIP_INVALID" @@ -47,6 +49,8 @@ defmodule GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata do :id => String.t() | nil, :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, :kind => String.t() | nil, + :mediaRequestInfo => GoogleApi.DFAReporting.V35.Model.MediaRequestInfo.t() | nil, + :mediaResponseInfo => GoogleApi.DFAReporting.V35.Model.MediaResponseInfo.t() | nil, :richMedia => boolean() | nil, :timerCustomEvents => list(GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent.t()) | nil, @@ -66,6 +70,8 @@ defmodule GoogleApi.DFAReporting.V35.Model.CreativeAssetMetadata do field(:id) field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) field(:kind) + field(:mediaRequestInfo, as: GoogleApi.DFAReporting.V35.Model.MediaRequestInfo) + field(:mediaResponseInfo, as: GoogleApi.DFAReporting.V35.Model.MediaResponseInfo) field(:richMedia) field(:timerCustomEvents, as: GoogleApi.DFAReporting.V35.Model.CreativeCustomEvent, type: :list) field(:warnedValidationRules, type: :list) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_selection.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_selection.ex deleted file mode 100644 index 9e3e370dca..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_asset_selection.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection do - @moduledoc """ - Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. - - ## Attributes - - * `defaultAssetId` (*type:* `String.t`, *default:* `nil`) - A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. - * `rules` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Rule.t)`, *default:* `nil`) - Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :defaultAssetId => String.t() | nil, - :rules => list(GoogleApi.DFAReporting.V35.Model.Rule.t()) | nil - } - - field(:defaultAssetId) - field(:rules, as: GoogleApi.DFAReporting.V35.Model.Rule, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAssetSelection do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_assignment.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_assignment.ex deleted file mode 100644 index aebaf3346c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_assignment.ex +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeAssignment do - @moduledoc """ - Creative Assignment. - - ## Attributes - - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this creative assignment is active. When true, the creative will be included in the ad's rotation. - * `applyEventTags` (*type:* `boolean()`, *default:* `nil`) - Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO. - * `clickThroughUrl` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t`, *default:* `nil`) - Click-through URL of the creative assignment. - * `companionCreativeOverrides` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride.t)`, *default:* `nil`) - Companion creative overrides for this creative assignment. Applicable to video ads. - * `creativeGroupAssignments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment.t)`, *default:* `nil`) - Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments. - * `creativeId` (*type:* `String.t`, *default:* `nil`) - ID of the creative to be assigned. This is a required field. - * `creativeIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the creative. This is a read-only, auto-generated field. - * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `richMediaExitOverrides` (*type:* `list(GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride.t)`, *default:* `nil`) - Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR - * `sequence` (*type:* `integer()`, *default:* `nil`) - Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. - * `startTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `weight` (*type:* `integer()`, *default:* `nil`) - Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :active => boolean() | nil, - :applyEventTags => boolean() | nil, - :clickThroughUrl => GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t() | nil, - :companionCreativeOverrides => - list(GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride.t()) | nil, - :creativeGroupAssignments => - list(GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment.t()) | nil, - :creativeId => String.t() | nil, - :creativeIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :endTime => DateTime.t() | nil, - :richMediaExitOverrides => - list(GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride.t()) | nil, - :sequence => integer() | nil, - :sslCompliant => boolean() | nil, - :startTime => DateTime.t() | nil, - :weight => integer() | nil - } - - field(:active) - field(:applyEventTags) - field(:clickThroughUrl, as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl) - - field(:companionCreativeOverrides, - as: GoogleApi.DFAReporting.V35.Model.CompanionClickThroughOverride, - type: :list - ) - - field(:creativeGroupAssignments, - as: GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment, - type: :list - ) - - field(:creativeId) - field(:creativeIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:endTime, as: DateTime) - - field(:richMediaExitOverrides, - as: GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride, - type: :list - ) - - field(:sequence) - field(:sslCompliant) - field(:startTime, as: DateTime) - field(:weight) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAssignment do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeAssignment do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field.ex deleted file mode 100644 index 9586a5b878..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field.ex +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeField do - @moduledoc """ - Contains properties of a creative field. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this creative field. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this creative field. This is a required field on insertion. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this creative field. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this creative field. This is a read-only field that can be left blank. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:id) - field(:kind) - field(:name) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeField do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeField.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeField do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_assignment.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_assignment.ex deleted file mode 100644 index e67b2c1f53..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_assignment.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment do - @moduledoc """ - Creative Field Assignment. - - ## Attributes - - * `creativeFieldId` (*type:* `String.t`, *default:* `nil`) - ID of the creative field. - * `creativeFieldValueId` (*type:* `String.t`, *default:* `nil`) - ID of the creative field value. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeFieldId => String.t() | nil, - :creativeFieldValueId => String.t() | nil - } - - field(:creativeFieldId) - field(:creativeFieldValueId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldAssignment do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_value.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_value.ex deleted file mode 100644 index e61dfe81fa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_value.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeFieldValue do - @moduledoc """ - Contains properties of a creative field value. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this creative field value. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue". - * `value` (*type:* `String.t`, *default:* `nil`) - Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :value => String.t() | nil - } - - field(:id) - field(:kind) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldValue do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldValue do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_values_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_values_list_response.ex deleted file mode 100644 index 4f6f20f7a7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_field_values_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse do - @moduledoc """ - Creative Field Value List Response - - ## Attributes - - * `creativeFieldValues` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t)`, *default:* `nil`) - Creative field value collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValuesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeFieldValues => - list(GoogleApi.DFAReporting.V35.Model.CreativeFieldValue.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:creativeFieldValues, as: GoogleApi.DFAReporting.V35.Model.CreativeFieldValue, type: :list) - - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldValuesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_fields_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_fields_list_response.ex deleted file mode 100644 index 5b1e7b62e0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_fields_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse do - @moduledoc """ - Creative Field List Response - - ## Attributes - - * `creativeFields` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeField.t)`, *default:* `nil`) - Creative field collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeFields => list(GoogleApi.DFAReporting.V35.Model.CreativeField.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:creativeFields, as: GoogleApi.DFAReporting.V35.Model.CreativeField, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeFieldsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group.ex deleted file mode 100644 index b481a67af3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group.ex +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeGroup do - @moduledoc """ - Contains properties of a creative group. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this creative group. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this creative group. This is a required field on insertion. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `groupNumber` (*type:* `integer()`, *default:* `nil`) - Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this creative group. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this creative group. This is a read-only field that can be left blank. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :groupNumber => integer() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:groupNumber) - field(:id) - field(:kind) - field(:name) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex deleted file mode 100644 index 2825f6df5d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_group_assignment.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment do - @moduledoc """ - Creative Group Assignment. - - ## Attributes - - * `creativeGroupId` (*type:* `String.t`, *default:* `nil`) - ID of the creative group to be assigned. - * `creativeGroupNumber` (*type:* `String.t`, *default:* `nil`) - Creative group number of the creative group assignment. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeGroupId => String.t() | nil, - :creativeGroupNumber => String.t() | nil - } - - field(:creativeGroupId) - field(:creativeGroupNumber) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroupAssignment do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_groups_list_response.ex deleted file mode 100644 index f42d0145b8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_groups_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse do - @moduledoc """ - Creative Group List Response - - ## Attributes - - * `creativeGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeGroup.t)`, *default:* `nil`) - Creative group collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroupsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeGroups => list(GoogleApi.DFAReporting.V35.Model.CreativeGroup.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:creativeGroups, as: GoogleApi.DFAReporting.V35.Model.CreativeGroup, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_optimization_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_optimization_configuration.ex deleted file mode 100644 index f970fb5d6f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_optimization_configuration.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration do - @moduledoc """ - Creative optimization settings. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this creative optimization config. This is a required field and must be less than 129 characters long. - * `optimizationActivitys` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OptimizationActivity.t)`, *default:* `nil`) - List of optimization activities associated with this configuration. - * `optimizationModel` (*type:* `String.t`, *default:* `nil`) - Optimization model for this configuration. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :name => String.t() | nil, - :optimizationActivitys => - list(GoogleApi.DFAReporting.V35.Model.OptimizationActivity.t()) | nil, - :optimizationModel => String.t() | nil - } - - field(:id) - field(:name) - - field(:optimizationActivitys, - as: GoogleApi.DFAReporting.V35.Model.OptimizationActivity, - type: :list - ) - - field(:optimizationModel) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeOptimizationConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex deleted file mode 100644 index ab0b689987..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creative_rotation.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativeRotation do - @moduledoc """ - Creative Rotation. - - ## Attributes - - * `creativeAssignments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.CreativeAssignment.t)`, *default:* `nil`) - Creative assignments in this creative rotation. - * `creativeOptimizationConfigurationId` (*type:* `String.t`, *default:* `nil`) - Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of creative rotation. Can be used to specify whether to use sequential or random rotation. - * `weightCalculationStrategy` (*type:* `String.t`, *default:* `nil`) - Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creativeAssignments => - list(GoogleApi.DFAReporting.V35.Model.CreativeAssignment.t()) | nil, - :creativeOptimizationConfigurationId => String.t() | nil, - :type => String.t() | nil, - :weightCalculationStrategy => String.t() | nil - } - - field(:creativeAssignments, as: GoogleApi.DFAReporting.V35.Model.CreativeAssignment, type: :list) - - field(:creativeOptimizationConfigurationId) - field(:type) - field(:weightCalculationStrategy) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativeRotation do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativeRotation.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativeRotation do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creatives_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creatives_list_response.ex deleted file mode 100644 index d7030af807..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/creatives_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CreativesListResponse do - @moduledoc """ - Creative List Response - - ## Attributes - - * `creatives` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Creative.t)`, *default:* `nil`) - Creative collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :creatives => list(GoogleApi.DFAReporting.V35.Model.Creative.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:creatives, as: GoogleApi.DFAReporting.V35.Model.Creative, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CreativesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CreativesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CreativesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cross_dimension_reach_report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cross_dimension_reach_report_compatible_fields.ex deleted file mode 100644 index 42bc053399..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/cross_dimension_reach_report_compatible_fields.ex +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". - - ## Attributes - - * `breakdown` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "breakdown" section of the report. - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - * `overlapMetrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "overlapMetricNames" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :breakdown => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :overlapMetrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil - } - - field(:breakdown, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:overlapMetrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.CrossDimensionReachReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_floodlight_variable.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_floodlight_variable.ex deleted file mode 100644 index 9445ba04c4..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_floodlight_variable.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable do - @moduledoc """ - A custom floodlight variable. This field may only be used when calling batchinsert; it is not supported by batchupdate. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#customFloodlightVariable". - * `type` (*type:* `String.t`, *default:* `nil`) - The type of custom floodlight variable to supply a value for. These map to the "u[1-20]=" in the tags. - * `value` (*type:* `String.t`, *default:* `nil`) - The value of the custom floodlight variable. The length of string must not exceed 100 characters. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :type => String.t() | nil, - :value => String.t() | nil - } - - field(:kind) - field(:type) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CustomFloodlightVariable do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_rich_media_events.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_rich_media_events.ex deleted file mode 100644 index e355e3ef4b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_rich_media_events.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents do - @moduledoc """ - Represents a Custom Rich Media Events group. - - ## Attributes - - * `filteredEventIds` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#customRichMediaEvents. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :filteredEventIds => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :kind => String.t() | nil - } - - field(:filteredEventIds, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric.ex deleted file mode 100644 index 29e2c31a53..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric.ex +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric do - @moduledoc """ - Custom Viewability Metric - - ## Attributes - - * `configuration` (*type:* `GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration.t`, *default:* `nil`) - Configuration of the custom viewability metric. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of the custom viewability metric. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the custom viewability metric. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :configuration => - GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration.t() | nil, - :id => String.t() | nil, - :name => String.t() | nil - } - - field(:configuration, as: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration) - field(:id) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric_configuration.ex deleted file mode 100644 index b3669070aa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/custom_viewability_metric_configuration.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration do - @moduledoc """ - The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric. - - ## Attributes - - * `audible` (*type:* `boolean()`, *default:* `nil`) - Whether the video must be audible to count an impression. - * `timeMillis` (*type:* `integer()`, *default:* `nil`) - The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used. - * `timePercent` (*type:* `integer()`, *default:* `nil`) - The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used. - * `viewabilityPercent` (*type:* `integer()`, *default:* `nil`) - The percentage of video that must be on screen for the Custom Viewability Metric to count an impression. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :audible => boolean() | nil, - :timeMillis => integer() | nil, - :timePercent => integer() | nil, - :viewabilityPercent => integer() | nil - } - - field(:audible) - field(:timeMillis) - field(:timePercent) - field(:viewabilityPercent) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetricConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/date_range.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/date_range.ex deleted file mode 100644 index 1b77f071c0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/date_range.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DateRange do - @moduledoc """ - Represents a date range. - - ## Attributes - - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#dateRange. - * `relativeDateRange` (*type:* `String.t`, *default:* `nil`) - The date range relative to the date of when the report is run. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :endDate => Date.t() | nil, - :kind => String.t() | nil, - :relativeDateRange => String.t() | nil, - :startDate => Date.t() | nil - } - - field(:endDate, as: Date) - field(:kind) - field(:relativeDateRange) - field(:startDate, as: Date) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DateRange do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DateRange.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DateRange do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/day_part_targeting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/day_part_targeting.ex deleted file mode 100644 index 9eef7e82b5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/day_part_targeting.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DayPartTargeting do - @moduledoc """ - Day Part Targeting. - - ## Attributes - - * `daysOfWeek` (*type:* `list(String.t)`, *default:* `nil`) - Days of the week when the ad will serve. Acceptable values are: - "SUNDAY" - "MONDAY" - "TUESDAY" - "WEDNESDAY" - "THURSDAY" - "FRIDAY" - "SATURDAY" - * `hoursOfDay` (*type:* `list(integer())`, *default:* `nil`) - Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive. - * `userLocalTime` (*type:* `boolean()`, *default:* `nil`) - Whether or not to use the user's local time. If false, the America/New York time zone applies. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :daysOfWeek => list(String.t()) | nil, - :hoursOfDay => list(integer()) | nil, - :userLocalTime => boolean() | nil - } - - field(:daysOfWeek, type: :list) - field(:hoursOfDay, type: :list) - field(:userLocalTime) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DayPartTargeting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DayPartTargeting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DayPartTargeting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/deep_link.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/deep_link.ex deleted file mode 100644 index 14823e994e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/deep_link.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DeepLink do - @moduledoc """ - Contains information about a landing page deep link. - - ## Attributes - - * `appUrl` (*type:* `String.t`, *default:* `nil`) - The URL of the mobile app being linked to. - * `fallbackUrl` (*type:* `String.t`, *default:* `nil`) - The fallback URL. This URL will be served to users who do not have the mobile app installed. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink". - * `mobileApp` (*type:* `GoogleApi.DFAReporting.V35.Model.MobileApp.t`, *default:* `nil`) - The mobile app targeted by this deep link. - * `remarketingListIds` (*type:* `list(String.t)`, *default:* `nil`) - Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :appUrl => String.t() | nil, - :fallbackUrl => String.t() | nil, - :kind => String.t() | nil, - :mobileApp => GoogleApi.DFAReporting.V35.Model.MobileApp.t() | nil, - :remarketingListIds => list(String.t()) | nil - } - - field(:appUrl) - field(:fallbackUrl) - field(:kind) - field(:mobileApp, as: GoogleApi.DFAReporting.V35.Model.MobileApp) - field(:remarketingListIds, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DeepLink do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DeepLink.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DeepLink do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/default_click_through_event_tag_properties.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/default_click_through_event_tag_properties.ex deleted file mode 100644 index 0b5568af3d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/default_click_through_event_tag_properties.ex +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties do - @moduledoc """ - Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. - - ## Attributes - - * `defaultClickThroughEventTagId` (*type:* `String.t`, *default:* `nil`) - ID of the click-through event tag to apply to all ads in this entity's scope. - * `overrideInheritedEventTag` (*type:* `boolean()`, *default:* `nil`) - Whether this entity should override the inherited default click-through event tag with its own defined value. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :defaultClickThroughEventTagId => String.t() | nil, - :overrideInheritedEventTag => boolean() | nil - } - - field(:defaultClickThroughEventTagId) - field(:overrideInheritedEventTag) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties.decode(value, options) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.DefaultClickThroughEventTagProperties do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/delivery_schedule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/delivery_schedule.ex deleted file mode 100644 index 175d0a7410..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/delivery_schedule.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DeliverySchedule do - @moduledoc """ - Delivery Schedule. - - ## Attributes - - * `frequencyCap` (*type:* `GoogleApi.DFAReporting.V35.Model.FrequencyCap.t`, *default:* `nil`) - Limit on the number of times an individual user can be served the ad within a specified period of time. - * `hardCutoff` (*type:* `boolean()`, *default:* `nil`) - Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals. - * `impressionRatio` (*type:* `String.t`, *default:* `nil`) - Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive. - * `priority` (*type:* `String.t`, *default:* `nil`) - Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :frequencyCap => GoogleApi.DFAReporting.V35.Model.FrequencyCap.t() | nil, - :hardCutoff => boolean() | nil, - :impressionRatio => String.t() | nil, - :priority => String.t() | nil - } - - field(:frequencyCap, as: GoogleApi.DFAReporting.V35.Model.FrequencyCap) - field(:hardCutoff) - field(:impressionRatio) - field(:priority) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DeliverySchedule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DeliverySchedule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DeliverySchedule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dfp_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dfp_settings.ex deleted file mode 100644 index 4de2857203..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dfp_settings.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DfpSettings do - @moduledoc """ - Google Ad Manager Settings - - ## Attributes - - * `dfpNetworkCode` (*type:* `String.t`, *default:* `nil`) - Ad Manager network code for this directory site. - * `dfpNetworkName` (*type:* `String.t`, *default:* `nil`) - Ad Manager network name for this directory site. - * `programmaticPlacementAccepted` (*type:* `boolean()`, *default:* `nil`) - Whether this directory site accepts programmatic placements. - * `pubPaidPlacementAccepted` (*type:* `boolean()`, *default:* `nil`) - Whether this directory site accepts publisher-paid tags. - * `publisherPortalOnly` (*type:* `boolean()`, *default:* `nil`) - Whether this directory site is available only via Publisher Portal. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dfpNetworkCode => String.t() | nil, - :dfpNetworkName => String.t() | nil, - :programmaticPlacementAccepted => boolean() | nil, - :pubPaidPlacementAccepted => boolean() | nil, - :publisherPortalOnly => boolean() | nil - } - - field(:dfpNetworkCode) - field(:dfpNetworkName) - field(:programmaticPlacementAccepted) - field(:pubPaidPlacementAccepted) - field(:publisherPortalOnly) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DfpSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DfpSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DfpSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_filter.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_filter.ex deleted file mode 100644 index b12bcbc6a1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_filter.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DimensionFilter do - @moduledoc """ - Represents a dimension filter. - - ## Attributes - - * `dimensionName` (*type:* `String.t`, *default:* `nil`) - The name of the dimension to filter. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#dimensionFilter. - * `value` (*type:* `String.t`, *default:* `nil`) - The value of the dimension to filter. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionName => String.t() | nil, - :kind => String.t() | nil, - :value => String.t() | nil - } - - field(:dimensionName) - field(:kind) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DimensionFilter do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DimensionFilter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DimensionFilter do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_list.ex deleted file mode 100644 index 5c5efd4408..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_list.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DimensionValueList do - @moduledoc """ - Represents the list of DimensionValue resources. - - ## Attributes - - * `etag` (*type:* `String.t`, *default:* `nil`) - The eTag of this response for caching purposes. - * `items` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The dimension values returned in this response. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of list this is, in this case dfareporting#dimensionValueList. - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :etag => String.t() | nil, - :items => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:etag) - field(:items, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DimensionValueList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DimensionValueList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DimensionValueList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_request.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_request.ex deleted file mode 100644 index 5fc9521482..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension_value_request.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DimensionValueRequest do - @moduledoc """ - Represents a DimensionValuesRequest. - - ## Attributes - - * `dimensionName` (*type:* `String.t`, *default:* `nil`) - The name of the dimension for which values should be requested. - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `filters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionFilter.t)`, *default:* `nil`) - The list of filters by which to filter values. The filters are ANDed. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of request this is, in this case dfareporting#dimensionValueRequest . - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionName => String.t() | nil, - :endDate => Date.t() | nil, - :filters => list(GoogleApi.DFAReporting.V35.Model.DimensionFilter.t()) | nil, - :kind => String.t() | nil, - :startDate => Date.t() | nil - } - - field(:dimensionName) - field(:endDate, as: Date) - field(:filters, as: GoogleApi.DFAReporting.V35.Model.DimensionFilter, type: :list) - field(:kind) - field(:startDate, as: Date) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DimensionValueRequest do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DimensionValueRequest.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DimensionValueRequest do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site.ex deleted file mode 100644 index c848370bf7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DirectorySite do - @moduledoc """ - DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this directory site. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this directory site. This is a read-only, auto-generated field. - * `inpageTagFormats` (*type:* `list(String.t)`, *default:* `nil`) - Tag types for regular placements. Acceptable values are: - "STANDARD" - "IFRAME_JAVASCRIPT_INPAGE" - "INTERNAL_REDIRECT_INPAGE" - "JAVASCRIPT_INPAGE" - * `interstitialTagFormats` (*type:* `list(String.t)`, *default:* `nil`) - Tag types for interstitial placements. Acceptable values are: - "IFRAME_JAVASCRIPT_INTERSTITIAL" - "INTERNAL_REDIRECT_INTERSTITIAL" - "JAVASCRIPT_INTERSTITIAL" - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this directory site. - * `settings` (*type:* `GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings.t`, *default:* `nil`) - Directory site settings. - * `url` (*type:* `String.t`, *default:* `nil`) - URL of this directory site. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :inpageTagFormats => list(String.t()) | nil, - :interstitialTagFormats => list(String.t()) | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :settings => GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings.t() | nil, - :url => String.t() | nil - } - - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:inpageTagFormats, type: :list) - field(:interstitialTagFormats, type: :list) - field(:kind) - field(:name) - field(:settings, as: GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings) - field(:url) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySite do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DirectorySite.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySite do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site_settings.ex deleted file mode 100644 index 80f3796203..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_site_settings.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings do - @moduledoc """ - Directory Site Settings - - ## Attributes - - * `activeViewOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether this directory site has disabled active view creatives. - * `dfpSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.DfpSettings.t`, *default:* `nil`) - Directory site Ad Manager settings. - * `instreamVideoPlacementAccepted` (*type:* `boolean()`, *default:* `nil`) - Whether this site accepts in-stream video ads. - * `interstitialPlacementAccepted` (*type:* `boolean()`, *default:* `nil`) - Whether this site accepts interstitial ads. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activeViewOptOut => boolean() | nil, - :dfpSettings => GoogleApi.DFAReporting.V35.Model.DfpSettings.t() | nil, - :instreamVideoPlacementAccepted => boolean() | nil, - :interstitialPlacementAccepted => boolean() | nil - } - - field(:activeViewOptOut) - field(:dfpSettings, as: GoogleApi.DFAReporting.V35.Model.DfpSettings) - field(:instreamVideoPlacementAccepted) - field(:interstitialPlacementAccepted) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySiteSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_sites_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_sites_list_response.ex deleted file mode 100644 index 051defe2d1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/directory_sites_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse do - @moduledoc """ - Directory Site List Response - - ## Attributes - - * `directorySites` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DirectorySite.t)`, *default:* `nil`) - Directory site collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySitesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :directorySites => list(GoogleApi.DFAReporting.V35.Model.DirectorySite.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:directorySites, as: GoogleApi.DFAReporting.V35.Model.DirectorySite, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DirectorySitesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/disjunctive_match_statement.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/disjunctive_match_statement.ex deleted file mode 100644 index b7ae6f6e88..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/disjunctive_match_statement.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement do - @moduledoc """ - Represents a Disjunctive Match Statement resource, which is a conjunction (and) of disjunctive (or) boolean statements. - - ## Attributes - - * `eventFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.EventFilter.t)`, *default:* `nil`) - The event filters contained within this disjunctive match statement. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#disjunctiveMatchStatement. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :eventFilters => list(GoogleApi.DFAReporting.V35.Model.EventFilter.t()) | nil, - :kind => String.t() | nil - } - - field(:eventFilters, as: GoogleApi.DFAReporting.V35.Model.EventFilter, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DisjunctiveMatchStatement do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_key.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_key.ex deleted file mode 100644 index 78197d9fe8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_key.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey do - @moduledoc """ - Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicTargetingKey". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - * `objectId` (*type:* `String.t`, *default:* `nil`) - ID of the object of this dynamic targeting key. This is a required field. - * `objectType` (*type:* `String.t`, *default:* `nil`) - Type of the object of this dynamic targeting key. This is a required field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :name => String.t() | nil, - :objectId => String.t() | nil, - :objectType => String.t() | nil - } - - field(:kind) - field(:name) - field(:objectId) - field(:objectType) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_keys_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_keys_list_response.ex deleted file mode 100644 index d01b47d354..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dynamic_targeting_keys_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse do - @moduledoc """ - Dynamic Targeting Key List Response - - ## Attributes - - * `dynamicTargetingKeys` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey.t)`, *default:* `nil`) - Dynamic targeting key collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicTargetingKeysListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dynamicTargetingKeys => - list(GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey.t()) | nil, - :kind => String.t() | nil - } - - field(:dynamicTargetingKeys, - as: GoogleApi.DFAReporting.V35.Model.DynamicTargetingKey, - type: :list - ) - - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.DynamicTargetingKeysListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/encryption_info.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/encryption_info.ex deleted file mode 100644 index 8c9b2c214d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/encryption_info.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.EncryptionInfo do - @moduledoc """ - A description of how user IDs are encrypted. - - ## Attributes - - * `encryptionEntityId` (*type:* `String.t`, *default:* `nil`) - The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer. - * `encryptionEntityType` (*type:* `String.t`, *default:* `nil`) - The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer. - * `encryptionSource` (*type:* `String.t`, *default:* `nil`) - Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#encryptionInfo". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :encryptionEntityId => String.t() | nil, - :encryptionEntityType => String.t() | nil, - :encryptionSource => String.t() | nil, - :kind => String.t() | nil - } - - field(:encryptionEntityId) - field(:encryptionEntityType) - field(:encryptionSource) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.EncryptionInfo do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.EncryptionInfo.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.EncryptionInfo do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_filter.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_filter.ex deleted file mode 100644 index b87e0e3add..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_filter.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.EventFilter do - @moduledoc """ - Represents a DfaReporting event filter. - - ## Attributes - - * `dimensionFilter` (*type:* `GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue.t`, *default:* `nil`) - The dimension filter contained within this EventFilter. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#eventFilter. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionFilter => GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue.t() | nil, - :kind => String.t() | nil - } - - field(:dimensionFilter, as: GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.EventFilter do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.EventFilter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.EventFilter do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag.ex deleted file mode 100644 index f232bd2d6c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag.ex +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.EventTag do - @moduledoc """ - Contains properties of an event tag. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this event tag. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this event tag. This field or the campaignId field is required on insertion. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `campaignId` (*type:* `String.t`, *default:* `nil`) - Campaign ID of this event tag. This field or the advertiserId field is required on insertion. - * `campaignIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field. - * `enabledByDefault` (*type:* `boolean()`, *default:* `nil`) - Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads. - * `excludeFromAdxRequests` (*type:* `boolean()`, *default:* `nil`) - Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this event tag. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this event tag. This is a required field and must be less than 256 characters long. - * `siteFilterType` (*type:* `String.t`, *default:* `nil`) - Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites. - * `siteIds` (*type:* `list(String.t)`, *default:* `nil`) - Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether this tag is SSL-compliant or not. This is a read-only field. - * `status` (*type:* `String.t`, *default:* `nil`) - Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this event tag. This is a read-only field that can be left blank. - * `type` (*type:* `String.t`, *default:* `nil`) - Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field. - * `url` (*type:* `String.t`, *default:* `nil`) - Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion. - * `urlEscapeLevels` (*type:* `integer()`, *default:* `nil`) - Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :campaignId => String.t() | nil, - :campaignIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :enabledByDefault => boolean() | nil, - :excludeFromAdxRequests => boolean() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :siteFilterType => String.t() | nil, - :siteIds => list(String.t()) | nil, - :sslCompliant => boolean() | nil, - :status => String.t() | nil, - :subaccountId => String.t() | nil, - :type => String.t() | nil, - :url => String.t() | nil, - :urlEscapeLevels => integer() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:campaignId) - field(:campaignIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:enabledByDefault) - field(:excludeFromAdxRequests) - field(:id) - field(:kind) - field(:name) - field(:siteFilterType) - field(:siteIds, type: :list) - field(:sslCompliant) - field(:status) - field(:subaccountId) - field(:type) - field(:url) - field(:urlEscapeLevels) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.EventTag do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.EventTag.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.EventTag do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tags_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tags_list_response.ex deleted file mode 100644 index f64afbed63..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tags_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.EventTagsListResponse do - @moduledoc """ - Event Tag List Response - - ## Attributes - - * `eventTags` (*type:* `list(GoogleApi.DFAReporting.V35.Model.EventTag.t)`, *default:* `nil`) - Event tag collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTagsListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :eventTags => list(GoogleApi.DFAReporting.V35.Model.EventTag.t()) | nil, - :kind => String.t() | nil - } - - field(:eventTags, as: GoogleApi.DFAReporting.V35.Model.EventTag, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.EventTagsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.EventTagsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.EventTagsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file.ex deleted file mode 100644 index 793f74441c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file.ex +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.File do - @moduledoc """ - Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE". - - ## Attributes - - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range for which the file has report data. The date range will always be the absolute date range for which the report is run. - * `etag` (*type:* `String.t`, *default:* `nil`) - Etag of this resource. - * `fileName` (*type:* `String.t`, *default:* `nil`) - The filename of the file. - * `format` (*type:* `String.t`, *default:* `nil`) - The output format of the report. Only available once the file is available. - * `id` (*type:* `String.t`, *default:* `nil`) - The unique ID of this report file. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#file". - * `lastModifiedTime` (*type:* `String.t`, *default:* `nil`) - The timestamp in milliseconds since epoch when this file was last modified. - * `reportId` (*type:* `String.t`, *default:* `nil`) - The ID of the report this file was generated from. - * `status` (*type:* `String.t`, *default:* `nil`) - The status of the report file. - * `urls` (*type:* `GoogleApi.DFAReporting.V35.Model.FileUrls.t`, *default:* `nil`) - The URLs where the completed report file can be downloaded. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :etag => String.t() | nil, - :fileName => String.t() | nil, - :format => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastModifiedTime => String.t() | nil, - :reportId => String.t() | nil, - :status => String.t() | nil, - :urls => GoogleApi.DFAReporting.V35.Model.FileUrls.t() | nil - } - - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:etag) - field(:fileName) - field(:format) - field(:id) - field(:kind) - field(:lastModifiedTime) - field(:reportId) - field(:status) - field(:urls, as: GoogleApi.DFAReporting.V35.Model.FileUrls) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.File do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.File.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.File do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_list.ex deleted file mode 100644 index 4d915dba89..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_list.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FileList do - @moduledoc """ - List of files for a report. - - ## Attributes - - * `etag` (*type:* `String.t`, *default:* `nil`) - Etag of this resource. - * `items` (*type:* `list(GoogleApi.DFAReporting.V35.Model.File.t)`, *default:* `nil`) - The files returned in this response. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#fileList". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :etag => String.t() | nil, - :items => list(GoogleApi.DFAReporting.V35.Model.File.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:etag) - field(:items, as: GoogleApi.DFAReporting.V35.Model.File, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FileList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FileList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FileList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_urls.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_urls.ex deleted file mode 100644 index 52b071278e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/file_urls.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FileUrls do - @moduledoc """ - The URLs where the completed report file can be downloaded. - - ## Attributes - - * `apiUrl` (*type:* `String.t`, *default:* `nil`) - The URL for downloading the report data through the API. - * `browserUrl` (*type:* `String.t`, *default:* `nil`) - The URL for downloading the report data through a browser. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :apiUrl => String.t() | nil, - :browserUrl => String.t() | nil - } - - field(:apiUrl) - field(:browserUrl) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FileUrls do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FileUrls.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FileUrls do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/flight.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/flight.ex deleted file mode 100644 index ebd9599031..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/flight.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Flight do - @moduledoc """ - Flight - - ## Attributes - - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `rateOrCost` (*type:* `String.t`, *default:* `nil`) - Rate or cost of this flight. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - * `units` (*type:* `String.t`, *default:* `nil`) - Units of this flight. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :endDate => Date.t() | nil, - :rateOrCost => String.t() | nil, - :startDate => Date.t() | nil, - :units => String.t() | nil - } - - field(:endDate, as: Date) - field(:rateOrCost) - field(:startDate, as: Date) - field(:units) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Flight do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Flight.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Flight do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_generate_tag_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_generate_tag_response.ex deleted file mode 100644 index add16a68e2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_generate_tag_response.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse do - @moduledoc """ - Floodlight Activity GenerateTag Response - - ## Attributes - - * `floodlightActivityTag` (*type:* `String.t`, *default:* `nil`) - Generated tag for this Floodlight activity. For global site tags, this is the event snippet. - * `globalSiteTagGlobalSnippet` (*type:* `String.t`, *default:* `nil`) - The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightActivityTag => String.t() | nil, - :globalSiteTagGlobalSnippet => String.t() | nil, - :kind => String.t() | nil - } - - field(:floodlightActivityTag) - field(:globalSiteTagGlobalSnippet) - field(:kind) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesGenerateTagResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_list_response.ex deleted file mode 100644 index 0eb78852e3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activities_list_response.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse do - @moduledoc """ - Floodlight Activity List Response - - ## Attributes - - * `floodlightActivities` (*type:* `list(GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t)`, *default:* `nil`) - Floodlight activity collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightActivities => - list(GoogleApi.DFAReporting.V35.Model.FloodlightActivity.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:floodlightActivities, - as: GoogleApi.DFAReporting.V35.Model.FloodlightActivity, - type: :list - ) - - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivitiesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity.ex deleted file mode 100644 index 9be537bc58..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity.ex +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivity do - @moduledoc """ - Contains properties of a Floodlight activity. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this floodlight activity. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `attributionEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the activity is enabled for attribution. - * `cacheBustingType` (*type:* `String.t`, *default:* `nil`) - Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. - * `countingMethod` (*type:* `String.t`, *default:* `nil`) - Counting method for conversions for this floodlight activity. This is a required field. - * `defaultTags` (*type:* `list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag.t)`, *default:* `nil`) - Dynamic floodlight tags. - * `expectedUrl` (*type:* `String.t`, *default:* `nil`) - URL where this tag will be deployed. If specified, must be less than 256 characters long. - * `floodlightActivityGroupId` (*type:* `String.t`, *default:* `nil`) - Floodlight activity group ID of this floodlight activity. This is a required field. - * `floodlightActivityGroupName` (*type:* `String.t`, *default:* `nil`) - Name of the associated floodlight activity group. This is a read-only field. - * `floodlightActivityGroupTagString` (*type:* `String.t`, *default:* `nil`) - Tag string of the associated floodlight activity group. This is a read-only field. - * `floodlightActivityGroupType` (*type:* `String.t`, *default:* `nil`) - Type of the associated floodlight activity group. This is a read-only field. - * `floodlightConfigurationId` (*type:* `String.t`, *default:* `nil`) - Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. - * `floodlightConfigurationIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. - * `floodlightTagType` (*type:* `String.t`, *default:* `nil`) - The type of Floodlight tag this activity will generate. This is a required field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this floodlight activity. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. - * `notes` (*type:* `String.t`, *default:* `nil`) - General notes or implementation instructions for the tag. - * `publisherTags` (*type:* `list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag.t)`, *default:* `nil`) - Publisher dynamic floodlight tags. - * `secure` (*type:* `boolean()`, *default:* `nil`) - Whether this tag should use SSL. - * `sslCompliant` (*type:* `boolean()`, *default:* `nil`) - Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. - * `sslRequired` (*type:* `boolean()`, *default:* `nil`) - Whether this floodlight activity must be SSL-compliant. - * `status` (*type:* `String.t`, *default:* `nil`) - The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. - * `tagFormat` (*type:* `String.t`, *default:* `nil`) - Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. - * `tagString` (*type:* `String.t`, *default:* `nil`) - Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. - * `userDefinedVariableTypes` (*type:* `list(String.t)`, *default:* `nil`) - List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :attributionEnabled => boolean() | nil, - :cacheBustingType => String.t() | nil, - :countingMethod => String.t() | nil, - :defaultTags => - list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag.t()) | nil, - :expectedUrl => String.t() | nil, - :floodlightActivityGroupId => String.t() | nil, - :floodlightActivityGroupName => String.t() | nil, - :floodlightActivityGroupTagString => String.t() | nil, - :floodlightActivityGroupType => String.t() | nil, - :floodlightConfigurationId => String.t() | nil, - :floodlightConfigurationIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :floodlightTagType => String.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :notes => String.t() | nil, - :publisherTags => - list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag.t()) | nil, - :secure => boolean() | nil, - :sslCompliant => boolean() | nil, - :sslRequired => boolean() | nil, - :status => String.t() | nil, - :subaccountId => String.t() | nil, - :tagFormat => String.t() | nil, - :tagString => String.t() | nil, - :userDefinedVariableTypes => list(String.t()) | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:attributionEnabled) - field(:cacheBustingType) - field(:countingMethod) - - field(:defaultTags, - as: GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag, - type: :list - ) - - field(:expectedUrl) - field(:floodlightActivityGroupId) - field(:floodlightActivityGroupName) - field(:floodlightActivityGroupTagString) - field(:floodlightActivityGroupType) - field(:floodlightConfigurationId) - - field(:floodlightConfigurationIdDimensionValue, - as: GoogleApi.DFAReporting.V35.Model.DimensionValue - ) - - field(:floodlightTagType) - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:kind) - field(:name) - field(:notes) - - field(:publisherTags, - as: GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag, - type: :list - ) - - field(:secure) - field(:sslCompliant) - field(:sslRequired) - field(:status) - field(:subaccountId) - field(:tagFormat) - field(:tagString) - field(:userDefinedVariableTypes, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivity do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivity.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivity do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_dynamic_tag.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_dynamic_tag.ex deleted file mode 100644 index c915507a5d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_dynamic_tag.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag do - @moduledoc """ - Dynamic Tag - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this dynamic tag. This is a read-only, auto-generated field. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this tag. - * `tag` (*type:* `String.t`, *default:* `nil`) - Tag code. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :name => String.t() | nil, - :tag => String.t() | nil - } - - field(:id) - field(:name) - field(:tag) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_group.ex deleted file mode 100644 index fd04c3f1f0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_group.ex +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup do - @moduledoc """ - Contains properties of a Floodlight activity group. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this floodlight activity group. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `floodlightConfigurationId` (*type:* `String.t`, *default:* `nil`) - Floodlight configuration ID of this floodlight activity group. This is a required field. - * `floodlightConfigurationIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this floodlight activity group. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank. - * `tagString` (*type:* `String.t`, *default:* `nil`) - Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of the floodlight activity group. This is a required field that is read-only after insertion. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :floodlightConfigurationId => String.t() | nil, - :floodlightConfigurationIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil, - :tagString => String.t() | nil, - :type => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:floodlightConfigurationId) - - field(:floodlightConfigurationIdDimensionValue, - as: GoogleApi.DFAReporting.V35.Model.DimensionValue - ) - - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:kind) - field(:name) - field(:subaccountId) - field(:tagString) - field(:type) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_groups_list_response.ex deleted file mode 100644 index 3b901f300f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_groups_list_response.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse do - @moduledoc """ - Floodlight Activity Group List Response - - ## Attributes - - * `floodlightActivityGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t)`, *default:* `nil`) - Floodlight activity group collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroupsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightActivityGroups => - list(GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:floodlightActivityGroups, - as: GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroup, - type: :list - ) - - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_publisher_dynamic_tag.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_publisher_dynamic_tag.ex deleted file mode 100644 index 5f3967cec1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_activity_publisher_dynamic_tag.ex +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag do - @moduledoc """ - Publisher Dynamic Tag - - ## Attributes - - * `clickThrough` (*type:* `boolean()`, *default:* `nil`) - Whether this tag is applicable only for click-throughs. - * `directorySiteId` (*type:* `String.t`, *default:* `nil`) - Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. - * `dynamicTag` (*type:* `GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag.t`, *default:* `nil`) - Dynamic floodlight tag. - * `siteId` (*type:* `String.t`, *default:* `nil`) - Site ID of this dynamic tag. - * `siteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the site. This is a read-only, auto-generated field. - * `viewThrough` (*type:* `boolean()`, *default:* `nil`) - Whether this tag is applicable only for view-throughs. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clickThrough => boolean() | nil, - :directorySiteId => String.t() | nil, - :dynamicTag => GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag.t() | nil, - :siteId => String.t() | nil, - :siteIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :viewThrough => boolean() | nil - } - - field(:clickThrough) - field(:directorySiteId) - field(:dynamicTag, as: GoogleApi.DFAReporting.V35.Model.FloodlightActivityDynamicTag) - field(:siteId) - field(:siteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:viewThrough) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag.decode(value, options) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.FloodlightActivityPublisherDynamicTag do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configuration.ex deleted file mode 100644 index edb27562b1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configuration.ex +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration do - @moduledoc """ - Contains properties of a Floodlight configuration. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this floodlight configuration. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of the parent advertiser of this floodlight configuration. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `analyticsDataSharingEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether advertiser data is shared with Google Analytics. - * `customViewabilityMetric` (*type:* `GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric.t`, *default:* `nil`) - Custom Viewability metric for the floodlight configuration. - * `exposureToConversionEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting. - * `firstDayOfWeek` (*type:* `String.t`, *default:* `nil`) - Day that will be counted as the first day of the week in reports. This is a required field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this floodlight configuration. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field. - * `inAppAttributionTrackingEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether in-app attribution tracking is enabled. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration". - * `lookbackConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t`, *default:* `nil`) - Lookback window settings for this floodlight configuration. - * `naturalSearchConversionAttributionOption` (*type:* `String.t`, *default:* `nil`) - Types of attribution options for natural search conversions. - * `omnitureSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.OmnitureSettings.t`, *default:* `nil`) - Settings for Campaign Manager Omniture integration. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank. - * `tagSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.TagSettings.t`, *default:* `nil`) - Configuration settings for dynamic and image floodlight tags. - * `thirdPartyAuthenticationTokens` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken.t)`, *default:* `nil`) - List of third-party authentication tokens enabled for this configuration. - * `userDefinedVariableConfigurations` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration.t)`, *default:* `nil`) - List of user defined variables enabled for this configuration. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :analyticsDataSharingEnabled => boolean() | nil, - :customViewabilityMetric => - GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric.t() | nil, - :exposureToConversionEnabled => boolean() | nil, - :firstDayOfWeek => String.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :inAppAttributionTrackingEnabled => boolean() | nil, - :kind => String.t() | nil, - :lookbackConfiguration => - GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t() | nil, - :naturalSearchConversionAttributionOption => String.t() | nil, - :omnitureSettings => GoogleApi.DFAReporting.V35.Model.OmnitureSettings.t() | nil, - :subaccountId => String.t() | nil, - :tagSettings => GoogleApi.DFAReporting.V35.Model.TagSettings.t() | nil, - :thirdPartyAuthenticationTokens => - list(GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken.t()) | nil, - :userDefinedVariableConfigurations => - list(GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration.t()) | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:analyticsDataSharingEnabled) - field(:customViewabilityMetric, as: GoogleApi.DFAReporting.V35.Model.CustomViewabilityMetric) - field(:exposureToConversionEnabled) - field(:firstDayOfWeek) - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:inAppAttributionTrackingEnabled) - field(:kind) - field(:lookbackConfiguration, as: GoogleApi.DFAReporting.V35.Model.LookbackConfiguration) - field(:naturalSearchConversionAttributionOption) - field(:omnitureSettings, as: GoogleApi.DFAReporting.V35.Model.OmnitureSettings) - field(:subaccountId) - field(:tagSettings, as: GoogleApi.DFAReporting.V35.Model.TagSettings) - - field(:thirdPartyAuthenticationTokens, - as: GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken, - type: :list - ) - - field(:userDefinedVariableConfigurations, - as: GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration, - type: :list - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configurations_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configurations_list_response.ex deleted file mode 100644 index 72b2617e10..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_configurations_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse do - @moduledoc """ - Floodlight Configuration List Response - - ## Attributes - - * `floodlightConfigurations` (*type:* `list(GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t)`, *default:* `nil`) - Floodlight configuration collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfigurationsListResponse". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightConfigurations => - list(GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration.t()) | nil, - :kind => String.t() | nil - } - - field(:floodlightConfigurations, - as: GoogleApi.DFAReporting.V35.Model.FloodlightConfiguration, - type: :list - ) - - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightConfigurationsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_report_compatible_fields.ex deleted file mode 100644 index d003cf2269..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/floodlight_report_compatible_fields.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "FlOODLIGHT". - - ## Attributes - - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensions" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil - } - - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FloodlightReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/frequency_cap.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/frequency_cap.ex deleted file mode 100644 index 3d2b93642d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/frequency_cap.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FrequencyCap do - @moduledoc """ - Frequency Cap. - - ## Attributes - - * `duration` (*type:* `String.t`, *default:* `nil`) - Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive. - * `impressions` (*type:* `String.t`, *default:* `nil`) - Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :duration => String.t() | nil, - :impressions => String.t() | nil - } - - field(:duration) - field(:impressions) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FrequencyCap do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FrequencyCap.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FrequencyCap do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex deleted file mode 100644 index b20babeadb..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.FsCommand do - @moduledoc """ - FsCommand. - - ## Attributes - - * `left` (*type:* `integer()`, *default:* `nil`) - Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. - * `positionOption` (*type:* `String.t`, *default:* `nil`) - Position in the browser where the window will open. - * `top` (*type:* `integer()`, *default:* `nil`) - Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. - * `windowHeight` (*type:* `integer()`, *default:* `nil`) - Height of the window. - * `windowWidth` (*type:* `integer()`, *default:* `nil`) - Width of the window. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :left => integer() | nil, - :positionOption => String.t() | nil, - :top => integer() | nil, - :windowHeight => integer() | nil, - :windowWidth => integer() | nil - } - - field(:left) - field(:positionOption) - field(:top) - field(:windowHeight) - field(:windowWidth) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.FsCommand do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.FsCommand.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.FsCommand do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/geo_targeting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/geo_targeting.ex deleted file mode 100644 index 88c4fa4329..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/geo_targeting.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.GeoTargeting do - @moduledoc """ - Geographical Targeting. - - ## Attributes - - * `cities` (*type:* `list(GoogleApi.DFAReporting.V35.Model.City.t)`, *default:* `nil`) - Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city. - * `countries` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Country.t)`, *default:* `nil`) - Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country. - * `excludeCountries` (*type:* `boolean()`, *default:* `nil`) - Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad. - * `metros` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metro.t)`, *default:* `nil`) - Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro. - * `postalCodes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PostalCode.t)`, *default:* `nil`) - Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code. - * `regions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Region.t)`, *default:* `nil`) - Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :cities => list(GoogleApi.DFAReporting.V35.Model.City.t()) | nil, - :countries => list(GoogleApi.DFAReporting.V35.Model.Country.t()) | nil, - :excludeCountries => boolean() | nil, - :metros => list(GoogleApi.DFAReporting.V35.Model.Metro.t()) | nil, - :postalCodes => list(GoogleApi.DFAReporting.V35.Model.PostalCode.t()) | nil, - :regions => list(GoogleApi.DFAReporting.V35.Model.Region.t()) | nil - } - - field(:cities, as: GoogleApi.DFAReporting.V35.Model.City, type: :list) - field(:countries, as: GoogleApi.DFAReporting.V35.Model.Country, type: :list) - field(:excludeCountries) - field(:metros, as: GoogleApi.DFAReporting.V35.Model.Metro, type: :list) - field(:postalCodes, as: GoogleApi.DFAReporting.V35.Model.PostalCode, type: :list) - field(:regions, as: GoogleApi.DFAReporting.V35.Model.Region, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.GeoTargeting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.GeoTargeting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.GeoTargeting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_item.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_item.ex deleted file mode 100644 index f9b1f05346..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_item.ex +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.InventoryItem do - @moduledoc """ - Represents a buy from the Planning inventory store. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this inventory item. - * `adSlots` (*type:* `list(GoogleApi.DFAReporting.V35.Model.AdSlot.t)`, *default:* `nil`) - Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this inventory item. - * `contentCategoryId` (*type:* `String.t`, *default:* `nil`) - Content category ID of this inventory item. - * `estimatedClickThroughRate` (*type:* `String.t`, *default:* `nil`) - Estimated click-through rate of this inventory item. - * `estimatedConversionRate` (*type:* `String.t`, *default:* `nil`) - Estimated conversion rate of this inventory item. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this inventory item. - * `inPlan` (*type:* `boolean()`, *default:* `nil`) - Whether this inventory item is in plan. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItem". - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this inventory item. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots. - * `negotiationChannelId` (*type:* `String.t`, *default:* `nil`) - Negotiation channel ID of this inventory item. - * `orderId` (*type:* `String.t`, *default:* `nil`) - Order ID of this inventory item. - * `placementStrategyId` (*type:* `String.t`, *default:* `nil`) - Placement strategy ID of this inventory item. - * `pricing` (*type:* `GoogleApi.DFAReporting.V35.Model.Pricing.t`, *default:* `nil`) - Pricing of this inventory item. - * `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID of this inventory item. - * `rfpId` (*type:* `String.t`, *default:* `nil`) - RFP ID of this inventory item. - * `siteId` (*type:* `String.t`, *default:* `nil`) - ID of the site this inventory item is associated with. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this inventory item. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of inventory item. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :adSlots => list(GoogleApi.DFAReporting.V35.Model.AdSlot.t()) | nil, - :advertiserId => String.t() | nil, - :contentCategoryId => String.t() | nil, - :estimatedClickThroughRate => String.t() | nil, - :estimatedConversionRate => String.t() | nil, - :id => String.t() | nil, - :inPlan => boolean() | nil, - :kind => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :name => String.t() | nil, - :negotiationChannelId => String.t() | nil, - :orderId => String.t() | nil, - :placementStrategyId => String.t() | nil, - :pricing => GoogleApi.DFAReporting.V35.Model.Pricing.t() | nil, - :projectId => String.t() | nil, - :rfpId => String.t() | nil, - :siteId => String.t() | nil, - :subaccountId => String.t() | nil, - :type => String.t() | nil - } - - field(:accountId) - field(:adSlots, as: GoogleApi.DFAReporting.V35.Model.AdSlot, type: :list) - field(:advertiserId) - field(:contentCategoryId) - field(:estimatedClickThroughRate) - field(:estimatedConversionRate) - field(:id) - field(:inPlan) - field(:kind) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:name) - field(:negotiationChannelId) - field(:orderId) - field(:placementStrategyId) - field(:pricing, as: GoogleApi.DFAReporting.V35.Model.Pricing) - field(:projectId) - field(:rfpId) - field(:siteId) - field(:subaccountId) - field(:type) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.InventoryItem do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.InventoryItem.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.InventoryItem do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_items_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_items_list_response.ex deleted file mode 100644 index d81458f7f4..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/inventory_items_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse do - @moduledoc """ - Inventory item List Response - - ## Attributes - - * `inventoryItems` (*type:* `list(GoogleApi.DFAReporting.V35.Model.InventoryItem.t)`, *default:* `nil`) - Inventory item collection - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItemsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :inventoryItems => list(GoogleApi.DFAReporting.V35.Model.InventoryItem.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:inventoryItems, as: GoogleApi.DFAReporting.V35.Model.InventoryItem, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.InventoryItemsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/key_value_targeting_expression.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/key_value_targeting_expression.ex deleted file mode 100644 index 05e7bff012..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/key_value_targeting_expression.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression do - @moduledoc """ - Key Value Targeting Expression. - - ## Attributes - - * `expression` (*type:* `String.t`, *default:* `nil`) - Keyword expression being targeted by the ad. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :expression => String.t() | nil - } - - field(:expression) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/landing_page.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/landing_page.ex deleted file mode 100644 index b671fbc313..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/landing_page.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.LandingPage do - @moduledoc """ - Contains information about where a user's browser is taken after the user clicks an ad. - - ## Attributes - - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this landing page. This is a required field. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether this landing page has been archived. - * `deepLinks` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DeepLink.t)`, *default:* `nil`) - Links that will direct the user to a mobile app, if installed. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this landing page. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this landing page. This is a required field. It must be less than 256 characters long. - * `url` (*type:* `String.t`, *default:* `nil`) - URL of this landing page. This is a required field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :advertiserId => String.t() | nil, - :archived => boolean() | nil, - :deepLinks => list(GoogleApi.DFAReporting.V35.Model.DeepLink.t()) | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :url => String.t() | nil - } - - field(:advertiserId) - field(:archived) - field(:deepLinks, as: GoogleApi.DFAReporting.V35.Model.DeepLink, type: :list) - field(:id) - field(:kind) - field(:name) - field(:url) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.LandingPage do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.LandingPage.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.LandingPage do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language.ex deleted file mode 100644 index e93ab319fb..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Language do - @moduledoc """ - Contains information about a language that can be targeted by ads. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - Language ID of this language. This is the ID used for targeting and generating reports. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#language". - * `languageCode` (*type:* `String.t`, *default:* `nil`) - Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are "en" for English or "zh_CN" for Simplified Chinese. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this language. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :languageCode => String.t() | nil, - :name => String.t() | nil - } - - field(:id) - field(:kind) - field(:languageCode) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Language do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Language.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Language do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language_targeting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language_targeting.ex deleted file mode 100644 index c1ac059145..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/language_targeting.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.LanguageTargeting do - @moduledoc """ - Language Targeting. - - ## Attributes - - * `languages` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Language.t)`, *default:* `nil`) - Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :languages => list(GoogleApi.DFAReporting.V35.Model.Language.t()) | nil - } - - field(:languages, as: GoogleApi.DFAReporting.V35.Model.Language, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.LanguageTargeting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.LanguageTargeting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.LanguageTargeting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/languages_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/languages_list_response.ex deleted file mode 100644 index 015665c3a3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/languages_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.LanguagesListResponse do - @moduledoc """ - Language List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#languagesListResponse". - * `languages` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Language.t)`, *default:* `nil`) - Language collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :languages => list(GoogleApi.DFAReporting.V35.Model.Language.t()) | nil - } - - field(:kind) - field(:languages, as: GoogleApi.DFAReporting.V35.Model.Language, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.LanguagesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.LanguagesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.LanguagesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/last_modified_info.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/last_modified_info.ex deleted file mode 100644 index 55f498a925..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/last_modified_info.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.LastModifiedInfo do - @moduledoc """ - Modification timestamp. - - ## Attributes - - * `time` (*type:* `String.t`, *default:* `nil`) - Timestamp of the last change in milliseconds since epoch. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :time => String.t() | nil - } - - field(:time) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_clause.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_clause.ex deleted file mode 100644 index bd5a698a21..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_clause.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ListPopulationClause do - @moduledoc """ - A group clause made up of list population terms representing constraints joined by ORs. - - ## Attributes - - * `terms` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ListPopulationTerm.t)`, *default:* `nil`) - Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :terms => list(GoogleApi.DFAReporting.V35.Model.ListPopulationTerm.t()) | nil - } - - field(:terms, as: GoogleApi.DFAReporting.V35.Model.ListPopulationTerm, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationClause do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ListPopulationClause.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationClause do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_rule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_rule.ex deleted file mode 100644 index 45acc14166..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_rule.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ListPopulationRule do - @moduledoc """ - Remarketing List Population Rule. - - ## Attributes - - * `floodlightActivityId` (*type:* `String.t`, *default:* `nil`) - Floodlight activity ID associated with this rule. This field can be left blank. - * `floodlightActivityName` (*type:* `String.t`, *default:* `nil`) - Name of floodlight activity associated with this rule. This is a read-only, auto-generated field. - * `listPopulationClauses` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ListPopulationClause.t)`, *default:* `nil`) - Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightActivityId => String.t() | nil, - :floodlightActivityName => String.t() | nil, - :listPopulationClauses => - list(GoogleApi.DFAReporting.V35.Model.ListPopulationClause.t()) | nil - } - - field(:floodlightActivityId) - field(:floodlightActivityName) - - field(:listPopulationClauses, - as: GoogleApi.DFAReporting.V35.Model.ListPopulationClause, - type: :list - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationRule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ListPopulationRule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationRule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_term.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_term.ex deleted file mode 100644 index 3977280709..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_population_term.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ListPopulationTerm do - @moduledoc """ - Remarketing List Population Rule Term. - - ## Attributes - - * `contains` (*type:* `boolean()`, *default:* `nil`) - Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default. - * `negation` (*type:* `boolean()`, *default:* `nil`) - Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. - * `operator` (*type:* `String.t`, *default:* `nil`) - Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. - * `remarketingListId` (*type:* `String.t`, *default:* `nil`) - ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. - * `type` (*type:* `String.t`, *default:* `nil`) - List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable. - * `value` (*type:* `String.t`, *default:* `nil`) - Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. - * `variableFriendlyName` (*type:* `String.t`, *default:* `nil`) - Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM. - * `variableName` (*type:* `String.t`, *default:* `nil`) - Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :contains => boolean() | nil, - :negation => boolean() | nil, - :operator => String.t() | nil, - :remarketingListId => String.t() | nil, - :type => String.t() | nil, - :value => String.t() | nil, - :variableFriendlyName => String.t() | nil, - :variableName => String.t() | nil - } - - field(:contains) - field(:negation) - field(:operator) - field(:remarketingListId) - field(:type) - field(:value) - field(:variableFriendlyName) - field(:variableName) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationTerm do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ListPopulationTerm.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ListPopulationTerm do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex deleted file mode 100644 index 74d6cbb878..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/list_targeting_expression.ex +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ListTargetingExpression do - @moduledoc """ - Remarketing List Targeting Expression. - - ## Attributes - - * `expression` (*type:* `String.t`, *default:* `nil`) - Expression describing which lists are being targeted by the ad. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :expression => String.t() | nil - } - - field(:expression) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ListTargetingExpression do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ListTargetingExpression.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ListTargetingExpression do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/lookback_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/lookback_configuration.ex deleted file mode 100644 index b96e329ddb..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/lookback_configuration.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.LookbackConfiguration do - @moduledoc """ - Lookback configuration settings. - - ## Attributes - - * `clickDuration` (*type:* `integer()`, *default:* `nil`) - Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. - * `postImpressionActivitiesDuration` (*type:* `integer()`, *default:* `nil`) - Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clickDuration => integer() | nil, - :postImpressionActivitiesDuration => integer() | nil - } - - field(:clickDuration) - field(:postImpressionActivitiesDuration) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.LookbackConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.LookbackConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_advertiser_link.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_advertiser_link.ex deleted file mode 100644 index b8e3adfc31..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_advertiser_link.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink do - @moduledoc """ - - - ## Attributes - - * `linkStatus` (*type:* `String.t`, *default:* `nil`) - . - * `measurementPartner` (*type:* `String.t`, *default:* `nil`) - Measurement partner used for tag wrapping. - * `partnerAdvertiserId` (*type:* `String.t`, *default:* `nil`) - . - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :linkStatus => String.t() | nil, - :measurementPartner => String.t() | nil, - :partnerAdvertiserId => String.t() | nil - } - - field(:linkStatus) - field(:measurementPartner) - field(:partnerAdvertiserId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerAdvertiserLink do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_campaign_link.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_campaign_link.ex deleted file mode 100644 index e080c5f251..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_campaign_link.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink do - @moduledoc """ - - - ## Attributes - - * `linkStatus` (*type:* `String.t`, *default:* `nil`) - . - * `measurementPartner` (*type:* `String.t`, *default:* `nil`) - Measurement partner used for tag wrapping. - * `partnerCampaignId` (*type:* `String.t`, *default:* `nil`) - Partner campaign ID needed for establishing linking with Measurement partner. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :linkStatus => String.t() | nil, - :measurementPartner => String.t() | nil, - :partnerCampaignId => String.t() | nil - } - - field(:linkStatus) - field(:measurementPartner) - field(:partnerCampaignId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerCampaignLink do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_wrapping_data.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_wrapping_data.ex deleted file mode 100644 index f53e75ca8b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/measurement_partner_wrapping_data.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData do - @moduledoc """ - Placement tag wrapping - - ## Attributes - - * `linkStatus` (*type:* `String.t`, *default:* `nil`) - Placement wrapping status. - * `measurementPartner` (*type:* `String.t`, *default:* `nil`) - Measurement partner used for wrapping the placement. - * `tagWrappingMode` (*type:* `String.t`, *default:* `nil`) - Measurement mode for the wrapped placement. - * `wrappedTag` (*type:* `String.t`, *default:* `nil`) - Tag provided by the measurement partner during wrapping. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :linkStatus => String.t() | nil, - :measurementPartner => String.t() | nil, - :tagWrappingMode => String.t() | nil, - :wrappedTag => String.t() | nil - } - - field(:linkStatus) - field(:measurementPartner) - field(:tagWrappingMode) - field(:wrappedTag) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_request_info.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_request_info.ex new file mode 100644 index 0000000000..7a2747ef4e --- /dev/null +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_request_info.ex @@ -0,0 +1,70 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DFAReporting.V35.Model.MediaRequestInfo do + @moduledoc """ + Extra information added to operations that support Scotty media requests. + + ## Attributes + + * `currentBytes` (*type:* `String.t`, *default:* `nil`) - The number of current bytes uploaded or downloaded. + * `customData` (*type:* `String.t`, *default:* `nil`) - Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications. + * `diffObjectVersion` (*type:* `String.t`, *default:* `nil`) - Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information. + * `finalStatus` (*type:* `integer()`, *default:* `nil`) - The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929 + * `notificationType` (*type:* `String.t`, *default:* `nil`) - The type of notification received from Scotty. + * `requestId` (*type:* `String.t`, *default:* `nil`) - The Scotty request ID. + * `requestReceivedParamsServingInfo` (*type:* `String.t`, *default:* `nil`) - The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange() + * `totalBytes` (*type:* `String.t`, *default:* `nil`) - The total size of the file. + * `totalBytesIsEstimated` (*type:* `boolean()`, *default:* `nil`) - Whether the total bytes field contains an estimated data. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :currentBytes => String.t() | nil, + :customData => String.t() | nil, + :diffObjectVersion => String.t() | nil, + :finalStatus => integer() | nil, + :notificationType => String.t() | nil, + :requestId => String.t() | nil, + :requestReceivedParamsServingInfo => String.t() | nil, + :totalBytes => String.t() | nil, + :totalBytesIsEstimated => boolean() | nil + } + + field(:currentBytes) + field(:customData) + field(:diffObjectVersion) + field(:finalStatus) + field(:notificationType) + field(:requestId) + field(:requestReceivedParamsServingInfo) + field(:totalBytes) + field(:totalBytesIsEstimated) +end + +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MediaRequestInfo do + def decode(value, options) do + GoogleApi.DFAReporting.V35.Model.MediaRequestInfo.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MediaRequestInfo do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_response_info.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_response_info.ex new file mode 100644 index 0000000000..5b5a20e586 --- /dev/null +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/media_response_info.ex @@ -0,0 +1,70 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DFAReporting.V35.Model.MediaResponseInfo do + @moduledoc """ + This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = 2 } + + ## Attributes + + * `customData` (*type:* `String.t`, *default:* `nil`) - Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications. + * `dataStorageTransform` (*type:* `String.t`, *default:* `nil`) - Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform. + * `dynamicDropTarget` (*type:* `String.t`, *default:* `nil`) - Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget. + * `dynamicDropzone` (*type:* `String.t`, *default:* `nil`) - Specifies the Scotty dropzone to use for uploads. + * `requestClass` (*type:* `String.t`, *default:* `nil`) - Request class to use for all Blobstore operations for this request. + * `scottyAgentUserId` (*type:* `String.t`, *default:* `nil`) - Requester ID passed along to be recorded in the Scotty logs + * `scottyCustomerLog` (*type:* `String.t`, *default:* `nil`) - Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog + * `trafficClassField` (*type:* `String.t`, *default:* `nil`) - Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM. + * `verifyHashFromHeader` (*type:* `boolean()`, *default:* `nil`) - Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :customData => String.t() | nil, + :dataStorageTransform => String.t() | nil, + :dynamicDropTarget => String.t() | nil, + :dynamicDropzone => String.t() | nil, + :requestClass => String.t() | nil, + :scottyAgentUserId => String.t() | nil, + :scottyCustomerLog => String.t() | nil, + :trafficClassField => String.t() | nil, + :verifyHashFromHeader => boolean() | nil + } + + field(:customData) + field(:dataStorageTransform) + field(:dynamicDropTarget) + field(:dynamicDropzone) + field(:requestClass) + field(:scottyAgentUserId) + field(:scottyCustomerLog) + field(:trafficClassField) + field(:verifyHashFromHeader) +end + +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MediaResponseInfo do + def decode(value, options) do + GoogleApi.DFAReporting.V35.Model.MediaResponseInfo.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MediaResponseInfo do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metric.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metric.ex deleted file mode 100644 index e42f1ba247..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metric.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Metric do - @moduledoc """ - Represents a metric. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#metric. - * `name` (*type:* `String.t`, *default:* `nil`) - The metric name, e.g. dfa:impressions - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Metric do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Metric.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Metric do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metro.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metro.ex deleted file mode 100644 index 5ad7faa75f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metro.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Metro do - @moduledoc """ - Contains information about a metro region that can be targeted by ads. - - ## Attributes - - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code of the country to which this metro region belongs. - * `countryDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the country to which this metro region belongs. - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this metro region. - * `dmaId` (*type:* `String.t`, *default:* `nil`) - DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro". - * `metroCode` (*type:* `String.t`, *default:* `nil`) - Metro code of this metro region. This is equivalent to dma_id. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this metro region. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countryCode => String.t() | nil, - :countryDartId => String.t() | nil, - :dartId => String.t() | nil, - :dmaId => String.t() | nil, - :kind => String.t() | nil, - :metroCode => String.t() | nil, - :name => String.t() | nil - } - - field(:countryCode) - field(:countryDartId) - field(:dartId) - field(:dmaId) - field(:kind) - field(:metroCode) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Metro do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Metro.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Metro do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metros_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metros_list_response.ex deleted file mode 100644 index 1cf5b94815..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/metros_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MetrosListResponse do - @moduledoc """ - Metro List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse". - * `metros` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metro.t)`, *default:* `nil`) - Metro collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :metros => list(GoogleApi.DFAReporting.V35.Model.Metro.t()) | nil - } - - field(:kind) - field(:metros, as: GoogleApi.DFAReporting.V35.Model.Metro, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MetrosListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MetrosListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MetrosListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_app.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_app.ex deleted file mode 100644 index ebf8a006d4..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_app.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MobileApp do - @moduledoc """ - Contains information about a mobile app. Used as a landing page deep link. - - ## Attributes - - * `directory` (*type:* `String.t`, *default:* `nil`) - Mobile app directory. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this mobile app. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp". - * `publisherName` (*type:* `String.t`, *default:* `nil`) - Publisher name. - * `title` (*type:* `String.t`, *default:* `nil`) - Title of this mobile app. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :directory => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :publisherName => String.t() | nil, - :title => String.t() | nil - } - - field(:directory) - field(:id) - field(:kind) - field(:publisherName) - field(:title) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MobileApp do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MobileApp.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MobileApp do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_apps_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_apps_list_response.ex deleted file mode 100644 index cb19c59efa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_apps_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse do - @moduledoc """ - Mobile app List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileAppsListResponse". - * `mobileApps` (*type:* `list(GoogleApi.DFAReporting.V35.Model.MobileApp.t)`, *default:* `nil`) - Mobile apps collection. - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :mobileApps => list(GoogleApi.DFAReporting.V35.Model.MobileApp.t()) | nil, - :nextPageToken => String.t() | nil - } - - field(:kind) - field(:mobileApps, as: GoogleApi.DFAReporting.V35.Model.MobileApp, type: :list) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MobileAppsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carrier.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carrier.ex deleted file mode 100644 index 10664c954f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carrier.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MobileCarrier do - @moduledoc """ - Contains information about a mobile carrier that can be targeted by ads. - - ## Attributes - - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code of the country to which this mobile carrier belongs. - * `countryDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the country to which this mobile carrier belongs. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this mobile carrier. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this mobile carrier. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countryCode => String.t() | nil, - :countryDartId => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:countryCode) - field(:countryDartId) - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MobileCarrier do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MobileCarrier.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MobileCarrier do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carriers_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carriers_list_response.ex deleted file mode 100644 index e70517c25f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/mobile_carriers_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse do - @moduledoc """ - Mobile Carrier List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarriersListResponse". - * `mobileCarriers` (*type:* `list(GoogleApi.DFAReporting.V35.Model.MobileCarrier.t)`, *default:* `nil`) - Mobile carrier collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :mobileCarriers => list(GoogleApi.DFAReporting.V35.Model.MobileCarrier.t()) | nil - } - - field(:kind) - field(:mobileCarriers, as: GoogleApi.DFAReporting.V35.Model.MobileCarrier, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.MobileCarriersListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/oba_icon.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/oba_icon.ex deleted file mode 100644 index e4678fa883..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/oba_icon.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ObaIcon do - @moduledoc """ - Online Behavioral Advertiser icon. - - ## Attributes - - * `iconClickThroughUrl` (*type:* `String.t`, *default:* `nil`) - URL to redirect to when an OBA icon is clicked. - * `iconClickTrackingUrl` (*type:* `String.t`, *default:* `nil`) - URL to track click when an OBA icon is clicked. - * `iconViewTrackingUrl` (*type:* `String.t`, *default:* `nil`) - URL to track view when an OBA icon is clicked. - * `program` (*type:* `String.t`, *default:* `nil`) - Identifies the industry initiative that the icon supports. For example, AdChoices. - * `resourceUrl` (*type:* `String.t`, *default:* `nil`) - OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more - * `size` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - OBA icon size. - * `xPosition` (*type:* `String.t`, *default:* `nil`) - OBA icon x coordinate position. Accepted values are left or right. - * `yPosition` (*type:* `String.t`, *default:* `nil`) - OBA icon y coordinate position. Accepted values are top or bottom. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :iconClickThroughUrl => String.t() | nil, - :iconClickTrackingUrl => String.t() | nil, - :iconViewTrackingUrl => String.t() | nil, - :program => String.t() | nil, - :resourceUrl => String.t() | nil, - :size => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :xPosition => String.t() | nil, - :yPosition => String.t() | nil - } - - field(:iconClickThroughUrl) - field(:iconClickTrackingUrl) - field(:iconViewTrackingUrl) - field(:program) - field(:resourceUrl) - field(:size, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:xPosition) - field(:yPosition) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ObaIcon do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ObaIcon.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ObaIcon do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/object_filter.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/object_filter.ex deleted file mode 100644 index 054010229b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/object_filter.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ObjectFilter do - @moduledoc """ - Object Filter. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". - * `objectIds` (*type:* `list(String.t)`, *default:* `nil`) - Applicable when status is ASSIGNED. The user has access to objects with these object IDs. - * `status` (*type:* `String.t`, *default:* `nil`) - Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :objectIds => list(String.t()) | nil, - :status => String.t() | nil - } - - field(:kind) - field(:objectIds, type: :list) - field(:status) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ObjectFilter do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ObjectFilter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ObjectFilter do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/omniture_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/omniture_settings.ex deleted file mode 100644 index d9689a5dcd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/omniture_settings.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OmnitureSettings do - @moduledoc """ - Omniture Integration Settings. - - ## Attributes - - * `omnitureCostDataEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true. - * `omnitureIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :omnitureCostDataEnabled => boolean() | nil, - :omnitureIntegrationEnabled => boolean() | nil - } - - field(:omnitureCostDataEnabled) - field(:omnitureIntegrationEnabled) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OmnitureSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OmnitureSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OmnitureSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system.ex deleted file mode 100644 index 41fb717978..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OperatingSystem do - @moduledoc """ - Contains information about an operating system that can be targeted by ads. - - ## Attributes - - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this operating system. This is the ID used for targeting. - * `desktop` (*type:* `boolean()`, *default:* `nil`) - Whether this operating system is for desktop. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem". - * `mobile` (*type:* `boolean()`, *default:* `nil`) - Whether this operating system is for mobile. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this operating system. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dartId => String.t() | nil, - :desktop => boolean() | nil, - :kind => String.t() | nil, - :mobile => boolean() | nil, - :name => String.t() | nil - } - - field(:dartId) - field(:desktop) - field(:kind) - field(:mobile) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystem do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OperatingSystem.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystem do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_version.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_version.ex deleted file mode 100644 index 61a27ae8e5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_version.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion do - @moduledoc """ - Contains information about a particular version of an operating system that can be targeted by ads. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this operating system version. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion". - * `majorVersion` (*type:* `String.t`, *default:* `nil`) - Major version (leftmost number) of this operating system version. - * `minorVersion` (*type:* `String.t`, *default:* `nil`) - Minor version (number after the first dot) of this operating system version. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this operating system version. - * `operatingSystem` (*type:* `GoogleApi.DFAReporting.V35.Model.OperatingSystem.t`, *default:* `nil`) - Operating system of this operating system version. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :majorVersion => String.t() | nil, - :minorVersion => String.t() | nil, - :name => String.t() | nil, - :operatingSystem => GoogleApi.DFAReporting.V35.Model.OperatingSystem.t() | nil - } - - field(:id) - field(:kind) - field(:majorVersion) - field(:minorVersion) - field(:name) - field(:operatingSystem, as: GoogleApi.DFAReporting.V35.Model.OperatingSystem) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_versions_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_versions_list_response.ex deleted file mode 100644 index 450a0ae8b0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_system_versions_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse do - @moduledoc """ - Operating System Version List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersionsListResponse". - * `operatingSystemVersions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.t)`, *default:* `nil`) - Operating system version collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :operatingSystemVersions => - list(GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.t()) | nil - } - - field(:kind) - - field(:operatingSystemVersions, - as: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion, - type: :list - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersionsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_systems_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_systems_list_response.ex deleted file mode 100644 index 1f7db96a6d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/operating_systems_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse do - @moduledoc """ - Operating System List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemsListResponse". - * `operatingSystems` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OperatingSystem.t)`, *default:* `nil`) - Operating system collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :operatingSystems => list(GoogleApi.DFAReporting.V35.Model.OperatingSystem.t()) | nil - } - - field(:kind) - field(:operatingSystems, as: GoogleApi.DFAReporting.V35.Model.OperatingSystem, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OperatingSystemsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/optimization_activity.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/optimization_activity.ex deleted file mode 100644 index 289928c706..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/optimization_activity.ex +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OptimizationActivity do - @moduledoc """ - Creative optimization activity. - - ## Attributes - - * `floodlightActivityId` (*type:* `String.t`, *default:* `nil`) - Floodlight activity ID of this optimization activity. This is a required field. - * `floodlightActivityIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. - * `weight` (*type:* `integer()`, *default:* `nil`) - Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :floodlightActivityId => String.t() | nil, - :floodlightActivityIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :weight => integer() | nil - } - - field(:floodlightActivityId) - field(:floodlightActivityIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:weight) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OptimizationActivity do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OptimizationActivity.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OptimizationActivity do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order.ex deleted file mode 100644 index e85e0a50e2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order.ex +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Order do - @moduledoc """ - Describes properties of a Planning order. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this order. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this order. - * `approverUserProfileIds` (*type:* `list(String.t)`, *default:* `nil`) - IDs for users that have to approve documents created for this order. - * `buyerInvoiceId` (*type:* `String.t`, *default:* `nil`) - Buyer invoice ID associated with this order. - * `buyerOrganizationName` (*type:* `String.t`, *default:* `nil`) - Name of the buyer organization. - * `comments` (*type:* `String.t`, *default:* `nil`) - Comments in this order. - * `contacts` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OrderContact.t)`, *default:* `nil`) - Contacts for this order. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this order. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#order". - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this order. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this order. - * `notes` (*type:* `String.t`, *default:* `nil`) - Notes of this order. - * `planningTermId` (*type:* `String.t`, *default:* `nil`) - ID of the terms and conditions template used in this order. - * `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID of this order. - * `sellerOrderId` (*type:* `String.t`, *default:* `nil`) - Seller order ID associated with this order. - * `sellerOrganizationName` (*type:* `String.t`, *default:* `nil`) - Name of the seller organization. - * `siteId` (*type:* `list(String.t)`, *default:* `nil`) - Site IDs this order is associated with. - * `siteNames` (*type:* `list(String.t)`, *default:* `nil`) - Free-form site names this order is associated with. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this order. - * `termsAndConditions` (*type:* `String.t`, *default:* `nil`) - Terms and conditions of this order. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :approverUserProfileIds => list(String.t()) | nil, - :buyerInvoiceId => String.t() | nil, - :buyerOrganizationName => String.t() | nil, - :comments => String.t() | nil, - :contacts => list(GoogleApi.DFAReporting.V35.Model.OrderContact.t()) | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :name => String.t() | nil, - :notes => String.t() | nil, - :planningTermId => String.t() | nil, - :projectId => String.t() | nil, - :sellerOrderId => String.t() | nil, - :sellerOrganizationName => String.t() | nil, - :siteId => list(String.t()) | nil, - :siteNames => list(String.t()) | nil, - :subaccountId => String.t() | nil, - :termsAndConditions => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:approverUserProfileIds, type: :list) - field(:buyerInvoiceId) - field(:buyerOrganizationName) - field(:comments) - field(:contacts, as: GoogleApi.DFAReporting.V35.Model.OrderContact, type: :list) - field(:id) - field(:kind) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:name) - field(:notes) - field(:planningTermId) - field(:projectId) - field(:sellerOrderId) - field(:sellerOrganizationName) - field(:siteId, type: :list) - field(:siteNames, type: :list) - field(:subaccountId) - field(:termsAndConditions) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Order do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Order.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Order do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_contact.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_contact.ex deleted file mode 100644 index 1584f4445d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_contact.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OrderContact do - @moduledoc """ - Contact of an order. - - ## Attributes - - * `contactInfo` (*type:* `String.t`, *default:* `nil`) - Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID. - * `contactName` (*type:* `String.t`, *default:* `nil`) - Name of this contact. - * `contactTitle` (*type:* `String.t`, *default:* `nil`) - Title of this contact. - * `contactType` (*type:* `String.t`, *default:* `nil`) - Type of this contact. - * `signatureUserProfileId` (*type:* `String.t`, *default:* `nil`) - ID of the user profile containing the signature that will be embedded into order documents. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :contactInfo => String.t() | nil, - :contactName => String.t() | nil, - :contactTitle => String.t() | nil, - :contactType => String.t() | nil, - :signatureUserProfileId => String.t() | nil - } - - field(:contactInfo) - field(:contactName) - field(:contactTitle) - field(:contactType) - field(:signatureUserProfileId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OrderContact do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OrderContact.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OrderContact do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_document.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_document.ex deleted file mode 100644 index 7e58a583cc..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_document.ex +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OrderDocument do - @moduledoc """ - Contains properties of a Planning order document. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this order document. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this order document. - * `amendedOrderDocumentId` (*type:* `String.t`, *default:* `nil`) - The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved. - * `approvedByUserProfileIds` (*type:* `list(String.t)`, *default:* `nil`) - IDs of users who have approved this order document. - * `cancelled` (*type:* `boolean()`, *default:* `nil`) - Whether this order document is cancelled. - * `createdInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this order document. - * `effectiveDate` (*type:* `Date.t`, *default:* `nil`) - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this order document. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocument". - * `lastSentRecipients` (*type:* `list(String.t)`, *default:* `nil`) - List of email addresses that received the last sent document. - * `lastSentTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `orderId` (*type:* `String.t`, *default:* `nil`) - ID of the order from which this order document is created. - * `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID of this order document. - * `signed` (*type:* `boolean()`, *default:* `nil`) - Whether this order document has been signed. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this order document. - * `title` (*type:* `String.t`, *default:* `nil`) - Title of this order document. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of this order document - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :amendedOrderDocumentId => String.t() | nil, - :approvedByUserProfileIds => list(String.t()) | nil, - :cancelled => boolean() | nil, - :createdInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :effectiveDate => Date.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastSentRecipients => list(String.t()) | nil, - :lastSentTime => DateTime.t() | nil, - :orderId => String.t() | nil, - :projectId => String.t() | nil, - :signed => boolean() | nil, - :subaccountId => String.t() | nil, - :title => String.t() | nil, - :type => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:amendedOrderDocumentId) - field(:approvedByUserProfileIds, type: :list) - field(:cancelled) - field(:createdInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:effectiveDate, as: Date) - field(:id) - field(:kind) - field(:lastSentRecipients, type: :list) - field(:lastSentTime, as: DateTime) - field(:orderId) - field(:projectId) - field(:signed) - field(:subaccountId) - field(:title) - field(:type) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OrderDocument do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OrderDocument.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OrderDocument do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_documents_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_documents_list_response.ex deleted file mode 100644 index 3de73abf3a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/order_documents_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse do - @moduledoc """ - Order document List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocumentsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `orderDocuments` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OrderDocument.t)`, *default:* `nil`) - Order document collection - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :orderDocuments => list(GoogleApi.DFAReporting.V35.Model.OrderDocument.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:orderDocuments, as: GoogleApi.DFAReporting.V35.Model.OrderDocument, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OrderDocumentsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/orders_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/orders_list_response.ex deleted file mode 100644 index 6577af2f9c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/orders_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.OrdersListResponse do - @moduledoc """ - Order List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#ordersListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `orders` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Order.t)`, *default:* `nil`) - Order collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :orders => list(GoogleApi.DFAReporting.V35.Model.Order.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:orders, as: GoogleApi.DFAReporting.V35.Model.Order, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.OrdersListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.OrdersListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.OrdersListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_filter.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_filter.ex deleted file mode 100644 index 05f1870364..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_filter.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PathFilter do - @moduledoc """ - Represents a DfaReporting path filter. - - ## Attributes - - * `eventFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.EventFilter.t)`, *default:* `nil`) - Event filters in path report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#pathFilter. - * `pathMatchPosition` (*type:* `String.t`, *default:* `nil`) - Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :eventFilters => list(GoogleApi.DFAReporting.V35.Model.EventFilter.t()) | nil, - :kind => String.t() | nil, - :pathMatchPosition => String.t() | nil - } - - field(:eventFilters, as: GoogleApi.DFAReporting.V35.Model.EventFilter, type: :list) - field(:kind) - field(:pathMatchPosition) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PathFilter do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PathFilter.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PathFilter do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_compatible_fields.ex deleted file mode 100644 index 209d2dde44..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_compatible_fields.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "PATH". - - ## Attributes - - * `channelGroupings` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "channelGroupings" section of the report. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensions" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#pathReportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - * `pathFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "pathFilters" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :channelGroupings => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :pathFilters => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil - } - - field(:channelGroupings, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:pathFilters, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PathReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_dimension_value.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_dimension_value.ex deleted file mode 100644 index 1653a2bf1a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_report_dimension_value.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue do - @moduledoc """ - Represents a PathReportDimensionValue resource. - - ## Attributes - - * `dimensionName` (*type:* `String.t`, *default:* `nil`) - The name of the dimension. - * `ids` (*type:* `list(String.t)`, *default:* `nil`) - The possible ID's associated with the value if available. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#pathReportDimensionValue. - * `matchType` (*type:* `String.t`, *default:* `nil`) - Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. - * `values` (*type:* `list(String.t)`, *default:* `nil`) - The possible values of the dimension. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionName => String.t() | nil, - :ids => list(String.t()) | nil, - :kind => String.t() | nil, - :matchType => String.t() | nil, - :values => list(String.t()) | nil - } - - field(:dimensionName) - field(:ids, type: :list) - field(:kind) - field(:matchType) - field(:values, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PathReportDimensionValue do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_to_conversion_report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_to_conversion_report_compatible_fields.ex deleted file mode 100644 index 62e5ed89fe..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/path_to_conversion_report_compatible_fields.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "PATH_TO_CONVERSION". - - ## Attributes - - * `conversionDimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Conversion dimensions which are compatible to be selected in the "conversionDimensions" section of the report. - * `customFloodlightVariables` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Custom floodlight variables which are compatible to be selected in the "customFloodlightVariables" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - * `perInteractionDimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Per-interaction dimensions which are compatible to be selected in the "perInteractionDimensions" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :conversionDimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :customFloodlightVariables => - list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :perInteractionDimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil - } - - field(:conversionDimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:customFloodlightVariables, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:perInteractionDimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.PathToConversionReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement.ex deleted file mode 100644 index 8a18d4be97..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement.ex +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Placement do - @moduledoc """ - Contains properties of a placement. - - ## Attributes - - * `contentCategoryId` (*type:* `String.t`, *default:* `nil`) - ID of the content category assigned to this placement. - * `additionalSizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used. - * `externalId` (*type:* `String.t`, *default:* `nil`) - External ID for this placement. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this placement. This field can be left blank. - * `size` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion. - * `keyName` (*type:* `String.t`, *default:* `nil`) - Key name of this placement. This is a read-only, auto-generated field. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this placement. This field can be left blank. - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this placement. This is a read-only field. - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this placement. This field can be left blank. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `publisherUpdateInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the last publisher update. This is a read-only field. - * `createInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this placement. This is a read-only field. - * `adBlockingOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement". - * `lookbackConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t`, *default:* `nil`) - Lookback window settings for this placement. - * `campaignId` (*type:* `String.t`, *default:* `nil`) - Campaign ID of this placement. This field is a required field on insertion. - * `placementGroupId` (*type:* `String.t`, *default:* `nil`) - ID of this placement's group, if applicable. - * `vpaidAdapterChoice` (*type:* `String.t`, *default:* `nil`) - VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this placement.This is a required field and must be less than or equal to 512 characters long. - * `campaignIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field. - * `videoSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoSettings.t`, *default:* `nil`) - A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility. - * `placementGroupIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the placement group. This is a read-only, auto-generated field. - * `status` (*type:* `String.t`, *default:* `nil`) - Third-party placement status. - * `primary` (*type:* `boolean()`, *default:* `nil`) - Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether this placement is archived. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this placement. This is a read-only, auto-generated field. - * `tagSetting` (*type:* `GoogleApi.DFAReporting.V35.Model.TagSetting.t`, *default:* `nil`) - Tag settings for this placement. - * `siteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the site. This is a read-only, auto-generated field. - * `compatibility` (*type:* `String.t`, *default:* `nil`) - Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this placement. This is a read-only, auto-generated field. - * `paymentSource` (*type:* `String.t`, *default:* `nil`) - Payment source for this placement. This is a required field that is read-only after insertion. - * `partnerWrappingData` (*type:* `GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData.t`, *default:* `nil`) - Measurement partner provided settings for a wrapped placement. - * `siteId` (*type:* `String.t`, *default:* `nil`) - Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion. - * `paymentApproved` (*type:* `boolean()`, *default:* `nil`) - Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements. - * `sslRequired` (*type:* `boolean()`, *default:* `nil`) - Whether creatives assigned to this placement must be SSL-compliant. - * `placementStrategyId` (*type:* `String.t`, *default:* `nil`) - ID of the placement strategy assigned to this placement. - * `pricingSchedule` (*type:* `GoogleApi.DFAReporting.V35.Model.PricingSchedule.t`, *default:* `nil`) - Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType. - * `wrappingOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether this placement opts out of tag wrapping. - * `videoActiveViewOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView. - * `directorySiteId` (*type:* `String.t`, *default:* `nil`) - Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion. - * `comment` (*type:* `String.t`, *default:* `nil`) - Comments for this placement. - * `tagFormats` (*type:* `list(String.t)`, *default:* `nil`) - Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT" - * `directorySiteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the directory site. This is a read-only, auto-generated field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :contentCategoryId => String.t() | nil, - :additionalSizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil, - :externalId => String.t() | nil, - :advertiserId => String.t() | nil, - :size => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :keyName => String.t() | nil, - :subaccountId => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :accountId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :publisherUpdateInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :createInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :adBlockingOptOut => boolean() | nil, - :kind => String.t() | nil, - :lookbackConfiguration => - GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t() | nil, - :campaignId => String.t() | nil, - :placementGroupId => String.t() | nil, - :vpaidAdapterChoice => String.t() | nil, - :name => String.t() | nil, - :campaignIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :videoSettings => GoogleApi.DFAReporting.V35.Model.VideoSettings.t() | nil, - :placementGroupIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :status => String.t() | nil, - :primary => boolean() | nil, - :archived => boolean() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :tagSetting => GoogleApi.DFAReporting.V35.Model.TagSetting.t() | nil, - :siteIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :compatibility => String.t() | nil, - :id => String.t() | nil, - :paymentSource => String.t() | nil, - :partnerWrappingData => - GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData.t() | nil, - :siteId => String.t() | nil, - :paymentApproved => boolean() | nil, - :sslRequired => boolean() | nil, - :placementStrategyId => String.t() | nil, - :pricingSchedule => GoogleApi.DFAReporting.V35.Model.PricingSchedule.t() | nil, - :wrappingOptOut => boolean() | nil, - :videoActiveViewOptOut => boolean() | nil, - :directorySiteId => String.t() | nil, - :comment => String.t() | nil, - :tagFormats => list(String.t()) | nil, - :directorySiteIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil - } - - field(:contentCategoryId) - field(:additionalSizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) - field(:externalId) - field(:advertiserId) - field(:size, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:keyName) - field(:subaccountId) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:accountId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:publisherUpdateInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:createInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:adBlockingOptOut) - field(:kind) - field(:lookbackConfiguration, as: GoogleApi.DFAReporting.V35.Model.LookbackConfiguration) - field(:campaignId) - field(:placementGroupId) - field(:vpaidAdapterChoice) - field(:name) - field(:campaignIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:videoSettings, as: GoogleApi.DFAReporting.V35.Model.VideoSettings) - field(:placementGroupIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:status) - field(:primary) - field(:archived) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:tagSetting, as: GoogleApi.DFAReporting.V35.Model.TagSetting) - field(:siteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:compatibility) - field(:id) - field(:paymentSource) - field(:partnerWrappingData, as: GoogleApi.DFAReporting.V35.Model.MeasurementPartnerWrappingData) - field(:siteId) - field(:paymentApproved) - field(:sslRequired) - field(:placementStrategyId) - field(:pricingSchedule, as: GoogleApi.DFAReporting.V35.Model.PricingSchedule) - field(:wrappingOptOut) - field(:videoActiveViewOptOut) - field(:directorySiteId) - field(:comment) - field(:tagFormats, type: :list) - field(:directorySiteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Placement do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Placement.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Placement do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_assignment.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_assignment.ex deleted file mode 100644 index 09716e92ed..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_assignment.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementAssignment do - @moduledoc """ - Placement Assignment. - - ## Attributes - - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this placement assignment is active. When true, the placement will be included in the ad's rotation. - * `placementId` (*type:* `String.t`, *default:* `nil`) - ID of the placement to be assigned. This is a required field. - * `placementIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the placement. This is a read-only, auto-generated field. - * `sslRequired` (*type:* `boolean()`, *default:* `nil`) - Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :active => boolean() | nil, - :placementId => String.t() | nil, - :placementIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :sslRequired => boolean() | nil - } - - field(:active) - field(:placementId) - field(:placementIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:sslRequired) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementAssignment do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementAssignment.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementAssignment do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_group.ex deleted file mode 100644 index c047c936f6..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_group.ex +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementGroup do - @moduledoc """ - Contains properties of a package or roadblock. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this placement group. This is a read-only field that can be left blank. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this placement group. This is a required field on insertion. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `archived` (*type:* `boolean()`, *default:* `nil`) - Whether this placement group is archived. - * `campaignId` (*type:* `String.t`, *default:* `nil`) - Campaign ID of this placement group. This field is required on insertion. - * `campaignIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the campaign. This is a read-only, auto-generated field. - * `childPlacementIds` (*type:* `list(String.t)`, *default:* `nil`) - IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field. - * `comment` (*type:* `String.t`, *default:* `nil`) - Comments for this placement group. - * `contentCategoryId` (*type:* `String.t`, *default:* `nil`) - ID of the content category assigned to this placement group. - * `createInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this placement group. This is a read-only field. - * `directorySiteId` (*type:* `String.t`, *default:* `nil`) - Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion. - * `directorySiteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the directory site. This is a read-only, auto-generated field. - * `externalId` (*type:* `String.t`, *default:* `nil`) - External ID for this placement. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this placement group. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this placement group. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup". - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this placement group. This is a read-only field. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this placement group. This is a required field and must be less than 256 characters long. - * `placementGroupType` (*type:* `String.t`, *default:* `nil`) - Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion. - * `placementStrategyId` (*type:* `String.t`, *default:* `nil`) - ID of the placement strategy assigned to this placement group. - * `pricingSchedule` (*type:* `GoogleApi.DFAReporting.V35.Model.PricingSchedule.t`, *default:* `nil`) - Pricing schedule of this placement group. This field is required on insertion. - * `primaryPlacementId` (*type:* `String.t`, *default:* `nil`) - ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements. - * `primaryPlacementIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the primary placement. This is a read-only, auto-generated field. - * `siteId` (*type:* `String.t`, *default:* `nil`) - Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion. - * `siteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the site. This is a read-only, auto-generated field. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this placement group. This is a read-only field that can be left blank. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :archived => boolean() | nil, - :campaignId => String.t() | nil, - :campaignIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :childPlacementIds => list(String.t()) | nil, - :comment => String.t() | nil, - :contentCategoryId => String.t() | nil, - :createInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :directorySiteId => String.t() | nil, - :directorySiteIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :externalId => String.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :kind => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :name => String.t() | nil, - :placementGroupType => String.t() | nil, - :placementStrategyId => String.t() | nil, - :pricingSchedule => GoogleApi.DFAReporting.V35.Model.PricingSchedule.t() | nil, - :primaryPlacementId => String.t() | nil, - :primaryPlacementIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :siteId => String.t() | nil, - :siteIdDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:archived) - field(:campaignId) - field(:campaignIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:childPlacementIds, type: :list) - field(:comment) - field(:contentCategoryId) - field(:createInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:directorySiteId) - field(:directorySiteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:externalId) - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:kind) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:name) - field(:placementGroupType) - field(:placementStrategyId) - field(:pricingSchedule, as: GoogleApi.DFAReporting.V35.Model.PricingSchedule) - field(:primaryPlacementId) - field(:primaryPlacementIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:siteId) - field(:siteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_groups_list_response.ex deleted file mode 100644 index 2e0e911dd1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_groups_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse do - @moduledoc """ - Placement Group List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroupsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `placementGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlacementGroup.t)`, *default:* `nil`) - Placement group collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :placementGroups => list(GoogleApi.DFAReporting.V35.Model.PlacementGroup.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:placementGroups, as: GoogleApi.DFAReporting.V35.Model.PlacementGroup, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex deleted file mode 100644 index 79146cc971..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse do - @moduledoc """ - Placement Strategy List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategiesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `placementStrategies` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t)`, *default:* `nil`) - Placement strategy collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :placementStrategies => - list(GoogleApi.DFAReporting.V35.Model.PlacementStrategy.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:placementStrategies, as: GoogleApi.DFAReporting.V35.Model.PlacementStrategy, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementStrategiesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex deleted file mode 100644 index b24ce2bb82..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementStrategy do - @moduledoc """ - Contains properties of a placement strategy. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this placement strategy.This is a read-only field that can be left blank. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this placement strategy. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:accountId) - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementStrategy do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementStrategy.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementStrategy do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex deleted file mode 100644 index f7985a81fd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_tag.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementTag do - @moduledoc """ - Placement Tag - - ## Attributes - - * `placementId` (*type:* `String.t`, *default:* `nil`) - Placement ID - * `tagDatas` (*type:* `list(GoogleApi.DFAReporting.V35.Model.TagData.t)`, *default:* `nil`) - Tags generated for this placement. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :placementId => String.t() | nil, - :tagDatas => list(GoogleApi.DFAReporting.V35.Model.TagData.t()) | nil - } - - field(:placementId) - field(:tagDatas, as: GoogleApi.DFAReporting.V35.Model.TagData, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementTag do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementTag.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementTag do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_generate_tags_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_generate_tags_response.ex deleted file mode 100644 index 6a3a62dc71..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_generate_tags_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse do - @moduledoc """ - Placement GenerateTags Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsGenerateTagsResponse". - * `placementTags` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlacementTag.t)`, *default:* `nil`) - Set of generated tags for the specified placements. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :placementTags => list(GoogleApi.DFAReporting.V35.Model.PlacementTag.t()) | nil - } - - field(:kind) - field(:placementTags, as: GoogleApi.DFAReporting.V35.Model.PlacementTag, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementsGenerateTagsResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_list_response.ex deleted file mode 100644 index 3dfd74afc8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placements_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlacementsListResponse do - @moduledoc """ - Placement List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `placements` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Placement.t)`, *default:* `nil`) - Placement collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :placements => list(GoogleApi.DFAReporting.V35.Model.Placement.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:placements, as: GoogleApi.DFAReporting.V35.Model.Placement, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlacementsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlacementsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlacementsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_type.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_type.ex deleted file mode 100644 index 451228ea69..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_type.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlatformType do - @moduledoc """ - Contains information about a platform type that can be targeted by ads. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this platform type. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this platform type. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlatformType do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlatformType.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlatformType do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_types_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_types_list_response.ex deleted file mode 100644 index 00f758c44d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/platform_types_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse do - @moduledoc """ - Platform Type List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformTypesListResponse". - * `platformTypes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlatformType.t)`, *default:* `nil`) - Platform type collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :platformTypes => list(GoogleApi.DFAReporting.V35.Model.PlatformType.t()) | nil - } - - field(:kind) - field(:platformTypes, as: GoogleApi.DFAReporting.V35.Model.PlatformType, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PlatformTypesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_code.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_code.ex deleted file mode 100644 index 2dcd2d049f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_code.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PostalCode do - @moduledoc """ - Contains information about a postal code that can be targeted by ads. - - ## Attributes - - * `code` (*type:* `String.t`, *default:* `nil`) - Postal code. This is equivalent to the id field. - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code of the country to which this postal code belongs. - * `countryDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the country to which this postal code belongs. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this postal code. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :code => String.t() | nil, - :countryCode => String.t() | nil, - :countryDartId => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil - } - - field(:code) - field(:countryCode) - field(:countryDartId) - field(:id) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PostalCode do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PostalCode.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PostalCode do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_codes_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_codes_list_response.ex deleted file mode 100644 index 5aaa302d9e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/postal_codes_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse do - @moduledoc """ - Postal Code List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCodesListResponse". - * `postalCodes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PostalCode.t)`, *default:* `nil`) - Postal code collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :postalCodes => list(GoogleApi.DFAReporting.V35.Model.PostalCode.t()) | nil - } - - field(:kind) - field(:postalCodes, as: GoogleApi.DFAReporting.V35.Model.PostalCode, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PostalCodesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing.ex deleted file mode 100644 index 2bead1330b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Pricing do - @moduledoc """ - Pricing Information - - ## Attributes - - * `capCostType` (*type:* `String.t`, *default:* `nil`) - Cap cost type of this inventory item. - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `flights` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Flight.t)`, *default:* `nil`) - Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time. - * `groupType` (*type:* `String.t`, *default:* `nil`) - Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary. - * `pricingType` (*type:* `String.t`, *default:* `nil`) - Pricing type of this inventory item. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :capCostType => String.t() | nil, - :endDate => Date.t() | nil, - :flights => list(GoogleApi.DFAReporting.V35.Model.Flight.t()) | nil, - :groupType => String.t() | nil, - :pricingType => String.t() | nil, - :startDate => Date.t() | nil - } - - field(:capCostType) - field(:endDate, as: Date) - field(:flights, as: GoogleApi.DFAReporting.V35.Model.Flight, type: :list) - field(:groupType) - field(:pricingType) - field(:startDate, as: Date) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Pricing do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Pricing.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Pricing do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule.ex deleted file mode 100644 index f9978258c5..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule.ex +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PricingSchedule do - @moduledoc """ - Pricing Schedule - - ## Attributes - - * `capCostOption` (*type:* `String.t`, *default:* `nil`) - Placement cap cost option. - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `flighted` (*type:* `boolean()`, *default:* `nil`) - Whether this placement is flighted. If true, pricing periods will be computed automatically. - * `floodlightActivityId` (*type:* `String.t`, *default:* `nil`) - Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA. - * `pricingPeriods` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod.t)`, *default:* `nil`) - Pricing periods for this placement. - * `pricingType` (*type:* `String.t`, *default:* `nil`) - Placement pricing type. This field is required on insertion. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - * `testingStartDate` (*type:* `Date.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :capCostOption => String.t() | nil, - :endDate => Date.t() | nil, - :flighted => boolean() | nil, - :floodlightActivityId => String.t() | nil, - :pricingPeriods => - list(GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod.t()) | nil, - :pricingType => String.t() | nil, - :startDate => Date.t() | nil, - :testingStartDate => Date.t() | nil - } - - field(:capCostOption) - field(:endDate, as: Date) - field(:flighted) - field(:floodlightActivityId) - - field(:pricingPeriods, - as: GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod, - type: :list - ) - - field(:pricingType) - field(:startDate, as: Date) - field(:testingStartDate, as: Date) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PricingSchedule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PricingSchedule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PricingSchedule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule_pricing_period.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule_pricing_period.ex deleted file mode 100644 index 96ce352002..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/pricing_schedule_pricing_period.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod do - @moduledoc """ - Pricing Period - - ## Attributes - - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `pricingComment` (*type:* `String.t`, *default:* `nil`) - Comments for this pricing period. - * `rateOrCostNanos` (*type:* `String.t`, *default:* `nil`) - Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - * `units` (*type:* `String.t`, *default:* `nil`) - Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :endDate => Date.t() | nil, - :pricingComment => String.t() | nil, - :rateOrCostNanos => String.t() | nil, - :startDate => Date.t() | nil, - :units => String.t() | nil - } - - field(:endDate, as: Date) - field(:pricingComment) - field(:rateOrCostNanos) - field(:startDate, as: Date) - field(:units) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.PricingSchedulePricingPeriod do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/project.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/project.ex deleted file mode 100644 index 7c6b2a9951..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/project.ex +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Project do - @moduledoc """ - Contains properties of a Planning project. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this project. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this project. - * `audienceAgeGroup` (*type:* `String.t`, *default:* `nil`) - Audience age group of this project. - * `audienceGender` (*type:* `String.t`, *default:* `nil`) - Audience gender of this project. - * `budget` (*type:* `String.t`, *default:* `nil`) - Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar. - * `clientBillingCode` (*type:* `String.t`, *default:* `nil`) - Client billing code of this project. - * `clientName` (*type:* `String.t`, *default:* `nil`) - Name of the project client. - * `endDate` (*type:* `Date.t`, *default:* `nil`) - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this project. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#project". - * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this project. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this project. - * `overview` (*type:* `String.t`, *default:* `nil`) - Overview of this project. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this project. - * `targetClicks` (*type:* `String.t`, *default:* `nil`) - Number of clicks that the advertiser is targeting. - * `targetConversions` (*type:* `String.t`, *default:* `nil`) - Number of conversions that the advertiser is targeting. - * `targetCpaNanos` (*type:* `String.t`, *default:* `nil`) - CPA that the advertiser is targeting. - * `targetCpcNanos` (*type:* `String.t`, *default:* `nil`) - CPC that the advertiser is targeting. - * `targetCpmActiveViewNanos` (*type:* `String.t`, *default:* `nil`) - vCPM from Active View that the advertiser is targeting. - * `targetCpmNanos` (*type:* `String.t`, *default:* `nil`) - CPM that the advertiser is targeting. - * `targetImpressions` (*type:* `String.t`, *default:* `nil`) - Number of impressions that the advertiser is targeting. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :audienceAgeGroup => String.t() | nil, - :audienceGender => String.t() | nil, - :budget => String.t() | nil, - :clientBillingCode => String.t() | nil, - :clientName => String.t() | nil, - :endDate => Date.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastModifiedInfo => GoogleApi.DFAReporting.V35.Model.LastModifiedInfo.t() | nil, - :name => String.t() | nil, - :overview => String.t() | nil, - :startDate => Date.t() | nil, - :subaccountId => String.t() | nil, - :targetClicks => String.t() | nil, - :targetConversions => String.t() | nil, - :targetCpaNanos => String.t() | nil, - :targetCpcNanos => String.t() | nil, - :targetCpmActiveViewNanos => String.t() | nil, - :targetCpmNanos => String.t() | nil, - :targetImpressions => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:audienceAgeGroup) - field(:audienceGender) - field(:budget) - field(:clientBillingCode) - field(:clientName) - field(:endDate, as: Date) - field(:id) - field(:kind) - field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V35.Model.LastModifiedInfo) - field(:name) - field(:overview) - field(:startDate, as: Date) - field(:subaccountId) - field(:targetClicks) - field(:targetConversions) - field(:targetCpaNanos) - field(:targetCpcNanos) - field(:targetCpmActiveViewNanos) - field(:targetCpmNanos) - field(:targetImpressions) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Project do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Project.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Project do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/projects_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/projects_list_response.ex deleted file mode 100644 index 76368eaec8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/projects_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ProjectsListResponse do - @moduledoc """ - Project List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#projectsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `projects` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Project.t)`, *default:* `nil`) - Project collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :projects => list(GoogleApi.DFAReporting.V35.Model.Project.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:projects, as: GoogleApi.DFAReporting.V35.Model.Project, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ProjectsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ProjectsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ProjectsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reach_report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reach_report_compatible_fields.ex deleted file mode 100644 index e7cf97cd3d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reach_report_compatible_fields.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "REACH". - - ## Attributes - - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensions" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#reachReportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - * `pivotedActivityMetrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. - * `reachByFrequencyMetrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "reachByFrequencyMetricNames" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :pivotedActivityMetrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :reachByFrequencyMetrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil - } - - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:pivotedActivityMetrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:reachByFrequencyMetrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReachReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/recipient.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/recipient.ex deleted file mode 100644 index a3d1aae7bc..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/recipient.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Recipient do - @moduledoc """ - Represents a recipient. - - ## Attributes - - * `deliveryType` (*type:* `String.t`, *default:* `nil`) - The delivery type for the recipient. - * `email` (*type:* `String.t`, *default:* `nil`) - The email address of the recipient. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#recipient. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :deliveryType => String.t() | nil, - :email => String.t() | nil, - :kind => String.t() | nil - } - - field(:deliveryType) - field(:email) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Recipient do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Recipient.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Recipient do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/region.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/region.ex deleted file mode 100644 index 78ad29d060..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/region.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Region do - @moduledoc """ - Contains information about a region that can be targeted by ads. - - ## Attributes - - * `countryCode` (*type:* `String.t`, *default:* `nil`) - Country code of the country to which this region belongs. - * `countryDartId` (*type:* `String.t`, *default:* `nil`) - DART ID of the country to which this region belongs. - * `dartId` (*type:* `String.t`, *default:* `nil`) - DART ID of this region. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#region". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this region. - * `regionCode` (*type:* `String.t`, *default:* `nil`) - Region code. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :countryCode => String.t() | nil, - :countryDartId => String.t() | nil, - :dartId => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :regionCode => String.t() | nil - } - - field(:countryCode) - field(:countryDartId) - field(:dartId) - field(:kind) - field(:name) - field(:regionCode) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Region do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Region.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Region do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/regions_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/regions_list_response.ex deleted file mode 100644 index 0b1c6a2ace..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/regions_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.RegionsListResponse do - @moduledoc """ - Region List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#regionsListResponse". - * `regions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Region.t)`, *default:* `nil`) - Region collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :regions => list(GoogleApi.DFAReporting.V35.Model.Region.t()) | nil - } - - field(:kind) - field(:regions, as: GoogleApi.DFAReporting.V35.Model.Region, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.RegionsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.RegionsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.RegionsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list.ex deleted file mode 100644 index de86df9c1c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list.ex +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.RemarketingList do - @moduledoc """ - Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this remarketing list is active. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Dimension value for the advertiser ID that owns this remarketing list. This is a required field. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `description` (*type:* `String.t`, *default:* `nil`) - Remarketing list description. - * `id` (*type:* `String.t`, *default:* `nil`) - Remarketing list ID. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList". - * `lifeSpan` (*type:* `String.t`, *default:* `nil`) - Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive. - * `listPopulationRule` (*type:* `GoogleApi.DFAReporting.V35.Model.ListPopulationRule.t`, *default:* `nil`) - Rule used to populate the remarketing list with users. - * `listSize` (*type:* `String.t`, *default:* `nil`) - Number of users currently in the list. This is a read-only field. - * `listSource` (*type:* `String.t`, *default:* `nil`) - Product from which this remarketing list was originated. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the remarketing list. This is a required field. Must be no greater than 128 characters long. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :active => boolean() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :description => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lifeSpan => String.t() | nil, - :listPopulationRule => GoogleApi.DFAReporting.V35.Model.ListPopulationRule.t() | nil, - :listSize => String.t() | nil, - :listSource => String.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:active) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:description) - field(:id) - field(:kind) - field(:lifeSpan) - field(:listPopulationRule, as: GoogleApi.DFAReporting.V35.Model.ListPopulationRule) - field(:listSize) - field(:listSource) - field(:name) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.RemarketingList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list_share.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list_share.ex deleted file mode 100644 index 5c248dd138..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_list_share.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.RemarketingListShare do - @moduledoc """ - Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare". - * `remarketingListId` (*type:* `String.t`, *default:* `nil`) - Remarketing list ID. This is a read-only, auto-generated field. - * `sharedAccountIds` (*type:* `list(String.t)`, *default:* `nil`) - Accounts that the remarketing list is shared with. - * `sharedAdvertiserIds` (*type:* `list(String.t)`, *default:* `nil`) - Advertisers that the remarketing list is shared with. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :remarketingListId => String.t() | nil, - :sharedAccountIds => list(String.t()) | nil, - :sharedAdvertiserIds => list(String.t()) | nil - } - - field(:kind) - field(:remarketingListId) - field(:sharedAccountIds, type: :list) - field(:sharedAdvertiserIds, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingListShare do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.RemarketingListShare.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingListShare do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_lists_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_lists_list_response.ex deleted file mode 100644 index 06c7607732..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/remarketing_lists_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse do - @moduledoc """ - Remarketing list response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `remarketingLists` (*type:* `list(GoogleApi.DFAReporting.V35.Model.RemarketingList.t)`, *default:* `nil`) - Remarketing list collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :remarketingLists => list(GoogleApi.DFAReporting.V35.Model.RemarketingList.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:remarketingLists, as: GoogleApi.DFAReporting.V35.Model.RemarketingList, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.RemarketingListsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report.ex deleted file mode 100644 index 01685fb788..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report.ex +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Report do - @moduledoc """ - Represents a Report resource. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - The account ID to which this report belongs. - * `criteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportCriteria.t`, *default:* `nil`) - The report criteria for a report of type "STANDARD". - * `crossDimensionReachCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria.t`, *default:* `nil`) - The report criteria for a report of type "CROSS_DIMENSION_REACH". - * `delivery` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportDelivery.t`, *default:* `nil`) - The report's email delivery settings. - * `etag` (*type:* `String.t`, *default:* `nil`) - The eTag of this response for caching purposes. - * `fileName` (*type:* `String.t`, *default:* `nil`) - The filename used when generating report files for this report. - * `floodlightCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria.t`, *default:* `nil`) - The report criteria for a report of type "FLOODLIGHT". - * `format` (*type:* `String.t`, *default:* `nil`) - The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format. - * `id` (*type:* `String.t`, *default:* `nil`) - The unique ID identifying this report resource. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#report. - * `lastModifiedTime` (*type:* `String.t`, *default:* `nil`) - The timestamp (in milliseconds since epoch) of when this report was last modified. - * `name` (*type:* `String.t`, *default:* `nil`) - The name of the report. - * `ownerProfileId` (*type:* `String.t`, *default:* `nil`) - The user profile id of the owner of this report. - * `pathAttributionCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria.t`, *default:* `nil`) - The report criteria for a report of type "PATH_ATTRIBUTION". - * `pathCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportPathCriteria.t`, *default:* `nil`) - The report criteria for a report of type "PATH". - * `pathToConversionCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria.t`, *default:* `nil`) - The report criteria for a report of type "PATH_TO_CONVERSION". - * `reachCriteria` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportReachCriteria.t`, *default:* `nil`) - The report criteria for a report of type "REACH". - * `schedule` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportSchedule.t`, *default:* `nil`) - The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY". - * `subAccountId` (*type:* `String.t`, *default:* `nil`) - The subaccount ID to which this report belongs if applicable. - * `type` (*type:* `String.t`, *default:* `nil`) - The type of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :criteria => GoogleApi.DFAReporting.V35.Model.ReportCriteria.t() | nil, - :crossDimensionReachCriteria => - GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria.t() | nil, - :delivery => GoogleApi.DFAReporting.V35.Model.ReportDelivery.t() | nil, - :etag => String.t() | nil, - :fileName => String.t() | nil, - :floodlightCriteria => - GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria.t() | nil, - :format => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastModifiedTime => String.t() | nil, - :name => String.t() | nil, - :ownerProfileId => String.t() | nil, - :pathAttributionCriteria => - GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria.t() | nil, - :pathCriteria => GoogleApi.DFAReporting.V35.Model.ReportPathCriteria.t() | nil, - :pathToConversionCriteria => - GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria.t() | nil, - :reachCriteria => GoogleApi.DFAReporting.V35.Model.ReportReachCriteria.t() | nil, - :schedule => GoogleApi.DFAReporting.V35.Model.ReportSchedule.t() | nil, - :subAccountId => String.t() | nil, - :type => String.t() | nil - } - - field(:accountId) - field(:criteria, as: GoogleApi.DFAReporting.V35.Model.ReportCriteria) - - field(:crossDimensionReachCriteria, - as: GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria - ) - - field(:delivery, as: GoogleApi.DFAReporting.V35.Model.ReportDelivery) - field(:etag) - field(:fileName) - field(:floodlightCriteria, as: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria) - field(:format) - field(:id) - field(:kind) - field(:lastModifiedTime) - field(:name) - field(:ownerProfileId) - - field(:pathAttributionCriteria, - as: GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria - ) - - field(:pathCriteria, as: GoogleApi.DFAReporting.V35.Model.ReportPathCriteria) - - field(:pathToConversionCriteria, - as: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria - ) - - field(:reachCriteria, as: GoogleApi.DFAReporting.V35.Model.ReportReachCriteria) - field(:schedule, as: GoogleApi.DFAReporting.V35.Model.ReportSchedule) - field(:subAccountId) - field(:type) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Report do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Report.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Report do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_compatible_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_compatible_fields.ex deleted file mode 100644 index b45bd5eb2f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_compatible_fields.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields do - @moduledoc """ - Represents fields that are compatible to be selected for a report of type "STANDARD". - - ## Attributes - - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Dimension.t)`, *default:* `nil`) - Dimensions which are compatible to be selected in the "dimensions" section of the report. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#reportCompatibleFields. - * `metrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected in the "metricNames" section of the report. - * `pivotedActivityMetrics` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Metric.t)`, *default:* `nil`) - Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.Dimension.t()) | nil, - :kind => String.t() | nil, - :metrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil, - :pivotedActivityMetrics => list(GoogleApi.DFAReporting.V35.Model.Metric.t()) | nil - } - - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.Dimension, type: :list) - field(:kind) - field(:metrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) - field(:pivotedActivityMetrics, as: GoogleApi.DFAReporting.V35.Model.Metric, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportCompatibleFields do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_criteria.ex deleted file mode 100644 index 92d48466a1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_criteria.ex +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportCriteria do - @moduledoc """ - The report criteria for a report of type "STANDARD". - - ## Attributes - - * `activities` (*type:* `GoogleApi.DFAReporting.V35.Model.Activities.t`, *default:* `nil`) - Activity group. - * `customRichMediaEvents` (*type:* `GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents.t`, *default:* `nil`) - Custom Rich Media Events group. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range for which this report should be run. - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of standard dimensions the report should include. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activities => GoogleApi.DFAReporting.V35.Model.Activities.t() | nil, - :customRichMediaEvents => - GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents.t() | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :metricNames => list(String.t()) | nil - } - - field(:activities, as: GoogleApi.DFAReporting.V35.Model.Activities) - field(:customRichMediaEvents, as: GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:metricNames, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_cross_dimension_reach_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_cross_dimension_reach_criteria.ex deleted file mode 100644 index d4a72352c9..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_cross_dimension_reach_criteria.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria do - @moduledoc """ - The report criteria for a report of type "CROSS_DIMENSION_REACH". - - ## Attributes - - * `breakdown` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of dimensions the report should include. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `dimension` (*type:* `String.t`, *default:* `nil`) - The dimension option. - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of filters on which dimensions are filtered. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `overlapMetricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of overlap metrics the report should include. - * `pivoted` (*type:* `boolean()`, *default:* `nil`) - Whether the report is pivoted or not. Defaults to true. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :breakdown => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimension => String.t() | nil, - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :metricNames => list(String.t()) | nil, - :overlapMetricNames => list(String.t()) | nil, - :pivoted => boolean() | nil - } - - field(:breakdown, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimension) - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:metricNames, type: :list) - field(:overlapMetricNames, type: :list) - field(:pivoted) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportCrossDimensionReachCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_delivery.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_delivery.ex deleted file mode 100644 index 76fb70ec02..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_delivery.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportDelivery do - @moduledoc """ - The report's email delivery settings. - - ## Attributes - - * `emailOwner` (*type:* `boolean()`, *default:* `nil`) - Whether the report should be emailed to the report owner. - * `emailOwnerDeliveryType` (*type:* `String.t`, *default:* `nil`) - The type of delivery for the owner to receive, if enabled. - * `message` (*type:* `String.t`, *default:* `nil`) - The message to be sent with each email. - * `recipients` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Recipient.t)`, *default:* `nil`) - The list of recipients to which to email the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :emailOwner => boolean() | nil, - :emailOwnerDeliveryType => String.t() | nil, - :message => String.t() | nil, - :recipients => list(GoogleApi.DFAReporting.V35.Model.Recipient.t()) | nil - } - - field(:emailOwner) - field(:emailOwnerDeliveryType) - field(:message) - field(:recipients, as: GoogleApi.DFAReporting.V35.Model.Recipient, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportDelivery do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportDelivery.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportDelivery do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria.ex deleted file mode 100644 index 80e10ff9e2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria.ex +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria do - @moduledoc """ - The report criteria for a report of type "FLOODLIGHT". - - ## Attributes - - * `customRichMediaEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of custom rich media events to include. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of dimensions the report should include. - * `floodlightConfigId` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `reportProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties.t`, *default:* `nil`) - The properties of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :customRichMediaEvents => - list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :floodlightConfigId => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :metricNames => list(String.t()) | nil, - :reportProperties => - GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties.t() | nil - } - - field(:customRichMediaEvents, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:floodlightConfigId, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:metricNames, type: :list) - - field(:reportProperties, - as: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria_report_properties.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria_report_properties.ex deleted file mode 100644 index 8afcac0fd8..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_floodlight_criteria_report_properties.ex +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties do - @moduledoc """ - The properties of the report. - - ## Attributes - - * `includeAttributedIPConversions` (*type:* `boolean()`, *default:* `nil`) - Include conversions that have no cookie, but do have an exposure path. - * `includeUnattributedCookieConversions` (*type:* `boolean()`, *default:* `nil`) - Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window. - * `includeUnattributedIPConversions` (*type:* `boolean()`, *default:* `nil`) - Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :includeAttributedIPConversions => boolean() | nil, - :includeUnattributedCookieConversions => boolean() | nil, - :includeUnattributedIPConversions => boolean() | nil - } - - field(:includeAttributedIPConversions) - field(:includeUnattributedCookieConversions) - field(:includeUnattributedIPConversions) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.ReportFloodlightCriteriaReportProperties do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_list.ex deleted file mode 100644 index bbcef5264b..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_list.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportList do - @moduledoc """ - Represents the list of reports. - - ## Attributes - - * `etag` (*type:* `String.t`, *default:* `nil`) - The eTag of this response for caching purposes. - * `items` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Report.t)`, *default:* `nil`) - The reports returned in this response. - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of list this is, in this case dfareporting#reportList. - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Continuation token used to page through reports. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :etag => String.t() | nil, - :items => list(GoogleApi.DFAReporting.V35.Model.Report.t()) | nil, - :kind => String.t() | nil, - :nextPageToken => String.t() | nil - } - - field(:etag) - field(:items, as: GoogleApi.DFAReporting.V35.Model.Report, type: :list) - field(:kind) - field(:nextPageToken) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_attribution_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_attribution_criteria.ex deleted file mode 100644 index 522f2ce5f9..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_attribution_criteria.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria do - @moduledoc """ - The report criteria for a report of type "PATH_ATTRIBUTION". - - ## Attributes - - * `activityFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of 'dfa:activity' values to filter on. - * `customChannelGrouping` (*type:* `GoogleApi.DFAReporting.V35.Model.ChannelGrouping.t`, *default:* `nil`) - Channel Grouping. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of dimensions the report should include. - * `floodlightConfigId` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `pathFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PathFilter.t)`, *default:* `nil`) - Path Filters. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activityFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :customChannelGrouping => GoogleApi.DFAReporting.V35.Model.ChannelGrouping.t() | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :floodlightConfigId => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :metricNames => list(String.t()) | nil, - :pathFilters => list(GoogleApi.DFAReporting.V35.Model.PathFilter.t()) | nil - } - - field(:activityFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:customChannelGrouping, as: GoogleApi.DFAReporting.V35.Model.ChannelGrouping) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:floodlightConfigId, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:metricNames, type: :list) - field(:pathFilters, as: GoogleApi.DFAReporting.V35.Model.PathFilter, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathAttributionCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_criteria.ex deleted file mode 100644 index a82b30b086..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_criteria.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportPathCriteria do - @moduledoc """ - The report criteria for a report of type "PATH". - - ## Attributes - - * `activityFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of 'dfa:activity' values to filter on. - * `customChannelGrouping` (*type:* `GoogleApi.DFAReporting.V35.Model.ChannelGrouping.t`, *default:* `nil`) - Channel Grouping. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of dimensions the report should include. - * `floodlightConfigId` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `pathFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PathFilter.t)`, *default:* `nil`) - Path Filters. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activityFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :customChannelGrouping => GoogleApi.DFAReporting.V35.Model.ChannelGrouping.t() | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :floodlightConfigId => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :metricNames => list(String.t()) | nil, - :pathFilters => list(GoogleApi.DFAReporting.V35.Model.PathFilter.t()) | nil - } - - field(:activityFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:customChannelGrouping, as: GoogleApi.DFAReporting.V35.Model.ChannelGrouping) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:floodlightConfigId, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:metricNames, type: :list) - field(:pathFilters, as: GoogleApi.DFAReporting.V35.Model.PathFilter, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportPathCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria.ex deleted file mode 100644 index 9402661972..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria.ex +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria do - @moduledoc """ - The report criteria for a report of type "PATH_TO_CONVERSION". - - ## Attributes - - * `activityFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of 'dfa:activity' values to filter on. - * `conversionDimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of conversion dimensions the report should include. - * `customFloodlightVariables` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of custom floodlight variables the report should include. - * `customRichMediaEvents` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of custom rich media events to include. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `floodlightConfigId` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `perInteractionDimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of per interaction dimensions the report should include. - * `reportProperties` (*type:* `GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties.t`, *default:* `nil`) - The properties of the report. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activityFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :conversionDimensions => - list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :customFloodlightVariables => - list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :customRichMediaEvents => - list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :floodlightConfigId => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :metricNames => list(String.t()) | nil, - :perInteractionDimensions => - list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :reportProperties => - GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties.t() - | nil - } - - field(:activityFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:conversionDimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - - field(:customFloodlightVariables, - as: GoogleApi.DFAReporting.V35.Model.SortedDimension, - type: :list - ) - - field(:customRichMediaEvents, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:floodlightConfigId, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:metricNames, type: :list) - - field(:perInteractionDimensions, - as: GoogleApi.DFAReporting.V35.Model.SortedDimension, - type: :list - ) - - field(:reportProperties, - as: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria_report_properties.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria_report_properties.ex deleted file mode 100644 index e095825a92..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_path_to_conversion_criteria_report_properties.ex +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties do - @moduledoc """ - The properties of the report. - - ## Attributes - - * `clicksLookbackWindow` (*type:* `integer()`, *default:* `nil`) - CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90. - * `impressionsLookbackWindow` (*type:* `integer()`, *default:* `nil`) - CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90. - * `includeAttributedIPConversions` (*type:* `boolean()`, *default:* `nil`) - Deprecated: has no effect. - * `includeUnattributedCookieConversions` (*type:* `boolean()`, *default:* `nil`) - Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window. - * `includeUnattributedIPConversions` (*type:* `boolean()`, *default:* `nil`) - Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion. - * `maximumClickInteractions` (*type:* `integer()`, *default:* `nil`) - The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report. - * `maximumImpressionInteractions` (*type:* `integer()`, *default:* `nil`) - The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report. - * `maximumInteractionGap` (*type:* `integer()`, *default:* `nil`) - The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90. - * `pivotOnInteractionPath` (*type:* `boolean()`, *default:* `nil`) - Enable pivoting on interaction path. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clicksLookbackWindow => integer() | nil, - :impressionsLookbackWindow => integer() | nil, - :includeAttributedIPConversions => boolean() | nil, - :includeUnattributedCookieConversions => boolean() | nil, - :includeUnattributedIPConversions => boolean() | nil, - :maximumClickInteractions => integer() | nil, - :maximumImpressionInteractions => integer() | nil, - :maximumInteractionGap => integer() | nil, - :pivotOnInteractionPath => boolean() | nil - } - - field(:clicksLookbackWindow) - field(:impressionsLookbackWindow) - field(:includeAttributedIPConversions) - field(:includeUnattributedCookieConversions) - field(:includeUnattributedIPConversions) - field(:maximumClickInteractions) - field(:maximumImpressionInteractions) - field(:maximumInteractionGap) - field(:pivotOnInteractionPath) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.ReportPathToConversionCriteriaReportProperties do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_reach_criteria.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_reach_criteria.ex deleted file mode 100644 index 0619499088..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_reach_criteria.ex +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportReachCriteria do - @moduledoc """ - The report criteria for a report of type "REACH". - - ## Attributes - - * `activities` (*type:* `GoogleApi.DFAReporting.V35.Model.Activities.t`, *default:* `nil`) - Activity group. - * `customRichMediaEvents` (*type:* `GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents.t`, *default:* `nil`) - Custom Rich Media Events group. - * `dateRange` (*type:* `GoogleApi.DFAReporting.V35.Model.DateRange.t`, *default:* `nil`) - The date range this report should be run for. - * `dimensionFilters` (*type:* `list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t)`, *default:* `nil`) - The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. - * `dimensions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t)`, *default:* `nil`) - The list of dimensions the report should include. - * `enableAllDimensionCombinations` (*type:* `boolean()`, *default:* `nil`) - Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days. - * `metricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of metrics the report should include. - * `reachByFrequencyMetricNames` (*type:* `list(String.t)`, *default:* `nil`) - The list of names of Reach By Frequency metrics the report should include. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activities => GoogleApi.DFAReporting.V35.Model.Activities.t() | nil, - :customRichMediaEvents => - GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents.t() | nil, - :dateRange => GoogleApi.DFAReporting.V35.Model.DateRange.t() | nil, - :dimensionFilters => list(GoogleApi.DFAReporting.V35.Model.DimensionValue.t()) | nil, - :dimensions => list(GoogleApi.DFAReporting.V35.Model.SortedDimension.t()) | nil, - :enableAllDimensionCombinations => boolean() | nil, - :metricNames => list(String.t()) | nil, - :reachByFrequencyMetricNames => list(String.t()) | nil - } - - field(:activities, as: GoogleApi.DFAReporting.V35.Model.Activities) - field(:customRichMediaEvents, as: GoogleApi.DFAReporting.V35.Model.CustomRichMediaEvents) - field(:dateRange, as: GoogleApi.DFAReporting.V35.Model.DateRange) - field(:dimensionFilters, as: GoogleApi.DFAReporting.V35.Model.DimensionValue, type: :list) - field(:dimensions, as: GoogleApi.DFAReporting.V35.Model.SortedDimension, type: :list) - field(:enableAllDimensionCombinations) - field(:metricNames, type: :list) - field(:reachByFrequencyMetricNames, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportReachCriteria do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportReachCriteria.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportReachCriteria do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_schedule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_schedule.ex deleted file mode 100644 index ef026191b2..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/report_schedule.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportSchedule do - @moduledoc """ - The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY". - - ## Attributes - - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether the schedule is active or not. Must be set to either true or false. - * `every` (*type:* `integer()`, *default:* `nil`) - Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY". - * `expirationDate` (*type:* `Date.t`, *default:* `nil`) - - * `repeats` (*type:* `String.t`, *default:* `nil`) - The interval for which the report is repeated. Note: - "DAILY" also requires field "every" to be set. - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set. - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set. - * `repeatsOnWeekDays` (*type:* `list(String.t)`, *default:* `nil`) - List of week days "WEEKLY" on which scheduled reports should run. - * `runsOnDayOfMonth` (*type:* `String.t`, *default:* `nil`) - Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month. - * `startDate` (*type:* `Date.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :active => boolean() | nil, - :every => integer() | nil, - :expirationDate => Date.t() | nil, - :repeats => String.t() | nil, - :repeatsOnWeekDays => list(String.t()) | nil, - :runsOnDayOfMonth => String.t() | nil, - :startDate => Date.t() | nil - } - - field(:active) - field(:every) - field(:expirationDate, as: Date) - field(:repeats) - field(:repeatsOnWeekDays, type: :list) - field(:runsOnDayOfMonth) - field(:startDate, as: Date) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportSchedule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportSchedule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportSchedule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reports_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reports_configuration.ex deleted file mode 100644 index 189b800c2c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/reports_configuration.ex +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ReportsConfiguration do - @moduledoc """ - Reporting Configuration - - ## Attributes - - * `exposureToConversionEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting. - * `lookbackConfiguration` (*type:* `GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t`, *default:* `nil`) - Default lookback windows for new advertisers in this account. - * `reportGenerationTimeZoneId` (*type:* `String.t`, *default:* `nil`) - Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. Acceptable values are: - "1" for "America/New_York" - "2" for "Europe/London" - "3" for "Europe/Paris" - "4" for "Africa/Johannesburg" - "5" for "Asia/Jerusalem" - "6" for "Asia/Shanghai" - "7" for "Asia/Hong_Kong" - "8" for "Asia/Tokyo" - "9" for "Australia/Sydney" - "10" for "Asia/Dubai" - "11" for "America/Los_Angeles" - "12" for "Pacific/Auckland" - "13" for "America/Sao_Paulo" - "16" for "America/Asuncion" - "17" for "America/Chicago" - "18" for "America/Denver" - "19" for "America/St_Johns" - "20" for "Asia/Dhaka" - "21" for "Asia/Jakarta" - "22" for "Asia/Kabul" - "23" for "Asia/Karachi" - "24" for "Asia/Calcutta" - "25" for "Asia/Pyongyang" - "26" for "Asia/Rangoon" - "27" for "Atlantic/Cape_Verde" - "28" for "Atlantic/South_Georgia" - "29" for "Australia/Adelaide" - "30" for "Australia/Lord_Howe" - "31" for "Europe/Moscow" - "32" for "Pacific/Kiritimati" - "35" for "Pacific/Norfolk" - "36" for "Pacific/Tongatapu" - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :exposureToConversionEnabled => boolean() | nil, - :lookbackConfiguration => - GoogleApi.DFAReporting.V35.Model.LookbackConfiguration.t() | nil, - :reportGenerationTimeZoneId => String.t() | nil - } - - field(:exposureToConversionEnabled) - field(:lookbackConfiguration, as: GoogleApi.DFAReporting.V35.Model.LookbackConfiguration) - field(:reportGenerationTimeZoneId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ReportsConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ReportsConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ReportsConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rich_media_exit_override.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rich_media_exit_override.ex deleted file mode 100644 index 5cf2713d4e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rich_media_exit_override.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride do - @moduledoc """ - Rich Media Exit Override. - - ## Attributes - - * `clickThroughUrl` (*type:* `GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t`, *default:* `nil`) - Click-through URL of this rich media exit override. Applicable if the enabled field is set to true. - * `enabled` (*type:* `boolean()`, *default:* `nil`) - Whether to use the clickThroughUrl. If false, the creative-level exit will be used. - * `exitId` (*type:* `String.t`, *default:* `nil`) - ID for the override to refer to a specific exit in the creative. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :clickThroughUrl => GoogleApi.DFAReporting.V35.Model.ClickThroughUrl.t() | nil, - :enabled => boolean() | nil, - :exitId => String.t() | nil - } - - field(:clickThroughUrl, as: GoogleApi.DFAReporting.V35.Model.ClickThroughUrl) - field(:enabled) - field(:exitId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.RichMediaExitOverride do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rule.ex deleted file mode 100644 index 3ffa6ff8fd..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/rule.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Rule do - @moduledoc """ - A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. - - ## Attributes - - * `assetId` (*type:* `String.t`, *default:* `nil`) - A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. - * `name` (*type:* `String.t`, *default:* `nil`) - A user-friendly name for this rule. This is a required field. - * `targetingTemplateId` (*type:* `String.t`, *default:* `nil`) - A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :assetId => String.t() | nil, - :name => String.t() | nil, - :targetingTemplateId => String.t() | nil - } - - field(:assetId) - field(:name) - field(:targetingTemplateId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Rule do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Rule.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Rule do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site.ex deleted file mode 100644 index f95768733d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site.ex +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Site do - @moduledoc """ - Contains properties of a site. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this site. This is a read-only field that can be left blank. - * `approved` (*type:* `boolean()`, *default:* `nil`) - Whether this site is approved. - * `directorySiteId` (*type:* `String.t`, *default:* `nil`) - Directory site associated with this site. This is a required field that is read-only after insertion. - * `directorySiteIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the directory site. This is a read-only, auto-generated field. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this site. This is a read-only, auto-generated field. - * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this site. This is a read-only, auto-generated field. - * `keyName` (*type:* `String.t`, *default:* `nil`) - Key name of this site. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. - * `siteContacts` (*type:* `list(GoogleApi.DFAReporting.V35.Model.SiteContact.t)`, *default:* `nil`) - Site contacts. - * `siteSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SiteSettings.t`, *default:* `nil`) - Site-wide settings. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this site. This is a read-only field that can be left blank. - * `videoSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SiteVideoSettings.t`, *default:* `nil`) - Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :approved => boolean() | nil, - :directorySiteId => String.t() | nil, - :directorySiteIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :id => String.t() | nil, - :idDimensionValue => GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :keyName => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :siteContacts => list(GoogleApi.DFAReporting.V35.Model.SiteContact.t()) | nil, - :siteSettings => GoogleApi.DFAReporting.V35.Model.SiteSettings.t() | nil, - :subaccountId => String.t() | nil, - :videoSettings => GoogleApi.DFAReporting.V35.Model.SiteVideoSettings.t() | nil - } - - field(:accountId) - field(:approved) - field(:directorySiteId) - field(:directorySiteIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:id) - field(:idDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:keyName) - field(:kind) - field(:name) - field(:siteContacts, as: GoogleApi.DFAReporting.V35.Model.SiteContact, type: :list) - field(:siteSettings, as: GoogleApi.DFAReporting.V35.Model.SiteSettings) - field(:subaccountId) - field(:videoSettings, as: GoogleApi.DFAReporting.V35.Model.SiteVideoSettings) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Site do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Site.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Site do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_companion_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_companion_setting.ex deleted file mode 100644 index 14d93e0711..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_companion_setting.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting do - @moduledoc """ - Companion Settings - - ## Attributes - - * `companionsDisabled` (*type:* `boolean()`, *default:* `nil`) - Whether companions are disabled for this site template. - * `enabledSizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. - * `imageOnly` (*type:* `boolean()`, *default:* `nil`) - Whether to serve only static images as companions. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#siteCompanionSetting". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :companionsDisabled => boolean() | nil, - :enabledSizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil, - :imageOnly => boolean() | nil, - :kind => String.t() | nil - } - - field(:companionsDisabled) - field(:enabledSizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) - field(:imageOnly) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_contact.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_contact.ex deleted file mode 100644 index 9fad51818c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_contact.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteContact do - @moduledoc """ - Site Contact - - ## Attributes - - * `address` (*type:* `String.t`, *default:* `nil`) - Address of this site contact. - * `contactType` (*type:* `String.t`, *default:* `nil`) - Site contact type. - * `email` (*type:* `String.t`, *default:* `nil`) - Email address of this site contact. This is a required field. - * `firstName` (*type:* `String.t`, *default:* `nil`) - First name of this site contact. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this site contact. This is a read-only, auto-generated field. - * `lastName` (*type:* `String.t`, *default:* `nil`) - Last name of this site contact. - * `phone` (*type:* `String.t`, *default:* `nil`) - Primary phone number of this site contact. - * `title` (*type:* `String.t`, *default:* `nil`) - Title or designation of this site contact. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :address => String.t() | nil, - :contactType => String.t() | nil, - :email => String.t() | nil, - :firstName => String.t() | nil, - :id => String.t() | nil, - :lastName => String.t() | nil, - :phone => String.t() | nil, - :title => String.t() | nil - } - - field(:address) - field(:contactType) - field(:email) - field(:firstName) - field(:id) - field(:lastName) - field(:phone) - field(:title) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteContact do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteContact.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteContact do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_settings.ex deleted file mode 100644 index dcb6596ce1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_settings.ex +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteSettings do - @moduledoc """ - Site Settings - - ## Attributes - - * `activeViewOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether active view creatives are disabled for this site. - * `adBlockingOptOut` (*type:* `boolean()`, *default:* `nil`) - Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. - * `disableNewCookie` (*type:* `boolean()`, *default:* `nil`) - Whether new cookies are disabled for this site. - * `tagSetting` (*type:* `GoogleApi.DFAReporting.V35.Model.TagSetting.t`, *default:* `nil`) - Configuration settings for dynamic and image floodlight tags. - * `videoActiveViewOptOutTemplate` (*type:* `boolean()`, *default:* `nil`) - Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. - * `vpaidAdapterChoiceTemplate` (*type:* `String.t`, *default:* `nil`) - Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :activeViewOptOut => boolean() | nil, - :adBlockingOptOut => boolean() | nil, - :disableNewCookie => boolean() | nil, - :tagSetting => GoogleApi.DFAReporting.V35.Model.TagSetting.t() | nil, - :videoActiveViewOptOutTemplate => boolean() | nil, - :vpaidAdapterChoiceTemplate => String.t() | nil - } - - field(:activeViewOptOut) - field(:adBlockingOptOut) - field(:disableNewCookie) - field(:tagSetting, as: GoogleApi.DFAReporting.V35.Model.TagSetting) - field(:videoActiveViewOptOutTemplate) - field(:vpaidAdapterChoiceTemplate) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_skippable_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_skippable_setting.ex deleted file mode 100644 index 9e8358bfe7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_skippable_setting.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting do - @moduledoc """ - Skippable Settings - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#siteSkippableSetting". - * `progressOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true. - * `skipOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true. - * `skippable` (*type:* `boolean()`, *default:* `nil`) - Whether the user can skip creatives served to this site. This will act as default for new placements created under this site. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :progressOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :skipOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :skippable => boolean() | nil - } - - field(:kind) - field(:progressOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:skipOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:skippable) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_transcode_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_transcode_setting.ex deleted file mode 100644 index 1cc1f74e5f..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_transcode_setting.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting do - @moduledoc """ - Transcode Settings - - ## Attributes - - * `enabledVideoFormats` (*type:* `list(integer())`, *default:* `nil`) - Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#siteTranscodeSetting". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :enabledVideoFormats => list(integer()) | nil, - :kind => String.t() | nil - } - - field(:enabledVideoFormats, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_video_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_video_settings.ex deleted file mode 100644 index 3561bc647e..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/site_video_settings.ex +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SiteVideoSettings do - @moduledoc """ - Video Settings - - ## Attributes - - * `companionSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting.t`, *default:* `nil`) - Settings for the companion creatives of video creatives served to this site. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#siteVideoSettings". - * `obaEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether OBA icons are enabled for this placement. - * `obaSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.ObaIcon.t`, *default:* `nil`) - Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site. - * `orientation` (*type:* `String.t`, *default:* `nil`) - Orientation of a site template used for video. This will act as default for new placements created under this site. - * `skippableSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting.t`, *default:* `nil`) - Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site. - * `transcodeSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting.t`, *default:* `nil`) - Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :companionSettings => GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting.t() | nil, - :kind => String.t() | nil, - :obaEnabled => boolean() | nil, - :obaSettings => GoogleApi.DFAReporting.V35.Model.ObaIcon.t() | nil, - :orientation => String.t() | nil, - :skippableSettings => GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting.t() | nil, - :transcodeSettings => GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting.t() | nil - } - - field(:companionSettings, as: GoogleApi.DFAReporting.V35.Model.SiteCompanionSetting) - field(:kind) - field(:obaEnabled) - field(:obaSettings, as: GoogleApi.DFAReporting.V35.Model.ObaIcon) - field(:orientation) - field(:skippableSettings, as: GoogleApi.DFAReporting.V35.Model.SiteSkippableSetting) - field(:transcodeSettings, as: GoogleApi.DFAReporting.V35.Model.SiteTranscodeSetting) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SiteVideoSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SiteVideoSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SiteVideoSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sites_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sites_list_response.ex deleted file mode 100644 index 5141db7b37..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sites_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SitesListResponse do - @moduledoc """ - Site List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#sitesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `sites` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Site.t)`, *default:* `nil`) - Site collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :sites => list(GoogleApi.DFAReporting.V35.Model.Site.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:sites, as: GoogleApi.DFAReporting.V35.Model.Site, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SitesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SitesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SitesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sizes_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sizes_list_response.ex deleted file mode 100644 index 0b9e860932..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sizes_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SizesListResponse do - @moduledoc """ - Size List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#sizesListResponse". - * `sizes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Size.t)`, *default:* `nil`) - Size collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :sizes => list(GoogleApi.DFAReporting.V35.Model.Size.t()) | nil - } - - field(:kind) - field(:sizes, as: GoogleApi.DFAReporting.V35.Model.Size, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SizesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SizesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SizesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/skippable_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/skippable_setting.ex deleted file mode 100644 index d25d0c158c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/skippable_setting.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SkippableSetting do - @moduledoc """ - Skippable Settings - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting". - * `progressOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true. - * `skipOffset` (*type:* `GoogleApi.DFAReporting.V35.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true. - * `skippable` (*type:* `boolean()`, *default:* `nil`) - Whether the user can skip creatives served to this placement. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :progressOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :skipOffset => GoogleApi.DFAReporting.V35.Model.VideoOffset.t() | nil, - :skippable => boolean() | nil - } - - field(:kind) - field(:progressOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:skipOffset, as: GoogleApi.DFAReporting.V35.Model.VideoOffset) - field(:skippable) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SkippableSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SkippableSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SkippableSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sorted_dimension.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sorted_dimension.ex deleted file mode 100644 index 16f2d23c3d..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/sorted_dimension.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SortedDimension do - @moduledoc """ - Represents a sorted dimension. - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#sortedDimension. - * `name` (*type:* `String.t`, *default:* `nil`) - The name of the dimension. - * `sortOrder` (*type:* `String.t`, *default:* `nil`) - An optional sort order for the dimension column. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :name => String.t() | nil, - :sortOrder => String.t() | nil - } - - field(:kind) - field(:name) - field(:sortOrder) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SortedDimension do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SortedDimension.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SortedDimension do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccount.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccount.ex deleted file mode 100644 index 8fe4357a70..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccount.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.Subaccount do - @moduledoc """ - Contains properties of a Campaign Manager subaccount. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - ID of the account that contains this subaccount. This is a read-only field that can be left blank. - * `availablePermissionIds` (*type:* `list(String.t)`, *default:* `nil`) - IDs of the available user role permissions for this subaccount. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this subaccount. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :availablePermissionIds => list(String.t()) | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:accountId) - field(:availablePermissionIds, type: :list) - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Subaccount do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Subaccount.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Subaccount do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccounts_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccounts_list_response.ex deleted file mode 100644 index a145e167c3..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/subaccounts_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse do - @moduledoc """ - Subaccount List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccountsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `subaccounts` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Subaccount.t)`, *default:* `nil`) - Subaccount collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :subaccounts => list(GoogleApi.DFAReporting.V35.Model.Subaccount.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:subaccounts, as: GoogleApi.DFAReporting.V35.Model.Subaccount, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.SubaccountsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_data.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_data.ex deleted file mode 100644 index a0bf38e339..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_data.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TagData do - @moduledoc """ - Placement Tag Data - - ## Attributes - - * `adId` (*type:* `String.t`, *default:* `nil`) - Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. - * `clickTag` (*type:* `String.t`, *default:* `nil`) - Tag string to record a click. - * `creativeId` (*type:* `String.t`, *default:* `nil`) - Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. - * `format` (*type:* `String.t`, *default:* `nil`) - TagData tag format of this tag. - * `impressionTag` (*type:* `String.t`, *default:* `nil`) - Tag string for serving an ad. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :adId => String.t() | nil, - :clickTag => String.t() | nil, - :creativeId => String.t() | nil, - :format => String.t() | nil, - :impressionTag => String.t() | nil - } - - field(:adId) - field(:clickTag) - field(:creativeId) - field(:format) - field(:impressionTag) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TagData do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TagData.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TagData do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_setting.ex deleted file mode 100644 index fb1df4c864..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_setting.ex +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TagSetting do - @moduledoc """ - Tag Settings - - ## Attributes - - * `additionalKeyValues` (*type:* `String.t`, *default:* `nil`) - Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. - * `includeClickThroughUrls` (*type:* `boolean()`, *default:* `nil`) - Whether static landing page URLs should be included in the tags. This setting applies only to placements. - * `includeClickTracking` (*type:* `boolean()`, *default:* `nil`) - Whether click-tracking string should be included in the tags. - * `keywordOption` (*type:* `String.t`, *default:* `nil`) - Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :additionalKeyValues => String.t() | nil, - :includeClickThroughUrls => boolean() | nil, - :includeClickTracking => boolean() | nil, - :keywordOption => String.t() | nil - } - - field(:additionalKeyValues) - field(:includeClickThroughUrls) - field(:includeClickTracking) - field(:keywordOption) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TagSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TagSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TagSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_settings.ex deleted file mode 100644 index 175571ac69..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/tag_settings.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TagSettings do - @moduledoc """ - Dynamic and Image Tag Settings. - - ## Attributes - - * `dynamicTagEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether dynamic floodlight tags are enabled. - * `imageTagEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether image tags are enabled. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dynamicTagEnabled => boolean() | nil, - :imageTagEnabled => boolean() | nil - } - - field(:dynamicTagEnabled) - field(:imageTagEnabled) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TagSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TagSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TagSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/target_window.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/target_window.ex deleted file mode 100644 index e08899483a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/target_window.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TargetWindow do - @moduledoc """ - Target Window. - - ## Attributes - - * `customHtml` (*type:* `String.t`, *default:* `nil`) - User-entered value. - * `targetWindowOption` (*type:* `String.t`, *default:* `nil`) - Type of browser window for which the backup image of the flash creative can be displayed. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :customHtml => String.t() | nil, - :targetWindowOption => String.t() | nil - } - - field(:customHtml) - field(:targetWindowOption) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TargetWindow do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TargetWindow.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TargetWindow do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_list.ex deleted file mode 100644 index fa8629e719..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_list.ex +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList do - @moduledoc """ - Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. - * `active` (*type:* `boolean()`, *default:* `nil`) - Whether this targetable remarketing list is active. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Dimension value for the advertiser ID that owns this targetable remarketing list. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. - * `description` (*type:* `String.t`, *default:* `nil`) - Targetable remarketing list description. - * `id` (*type:* `String.t`, *default:* `nil`) - Targetable remarketing list ID. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingList". - * `lifeSpan` (*type:* `String.t`, *default:* `nil`) - Number of days that a user should remain in the targetable remarketing list without an impression. - * `listSize` (*type:* `String.t`, *default:* `nil`) - Number of users currently in the list. This is a read-only field. - * `listSource` (*type:* `String.t`, *default:* `nil`) - Product from which this targetable remarketing list was originated. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the targetable remarketing list. Is no greater than 128 characters long. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :active => boolean() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :description => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lifeSpan => String.t() | nil, - :listSize => String.t() | nil, - :listSource => String.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:active) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:description) - field(:id) - field(:kind) - field(:lifeSpan) - field(:listSize) - field(:listSource) - field(:name) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_lists_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_lists_list_response.ex deleted file mode 100644 index 40f7b7b249..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targetable_remarketing_lists_list_response.ex +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse do - @moduledoc """ - Targetable remarketing list response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingListsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `targetableRemarketingLists` (*type:* `list(GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList.t)`, *default:* `nil`) - Targetable remarketing list collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :targetableRemarketingLists => - list(GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList.t()) | nil - } - - field(:kind) - field(:nextPageToken) - - field(:targetableRemarketingLists, - as: GoogleApi.DFAReporting.V35.Model.TargetableRemarketingList, - type: :list - ) -end - -defimpl Poison.Decoder, - for: GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, - for: GoogleApi.DFAReporting.V35.Model.TargetableRemarketingListsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_template.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_template.ex deleted file mode 100644 index cf44c7376c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_template.ex +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TargetingTemplate do - @moduledoc """ - Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert. - * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V35.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. - * `dayPartTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.DayPartTargeting.t`, *default:* `nil`) - Time and day targeting criteria. - * `geoTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.GeoTargeting.t`, *default:* `nil`) - Geographical targeting criteria. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this targeting template. This is a read-only, auto-generated field. - * `keyValueTargetingExpression` (*type:* `GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression.t`, *default:* `nil`) - Key-value targeting criteria. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetingTemplate". - * `languageTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.LanguageTargeting.t`, *default:* `nil`) - Language targeting criteria. - * `listTargetingExpression` (*type:* `GoogleApi.DFAReporting.V35.Model.ListTargetingExpression.t`, *default:* `nil`) - Remarketing list targeting criteria. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. - * `technologyTargeting` (*type:* `GoogleApi.DFAReporting.V35.Model.TechnologyTargeting.t`, *default:* `nil`) - Technology platform targeting criteria. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :advertiserIdDimensionValue => - GoogleApi.DFAReporting.V35.Model.DimensionValue.t() | nil, - :dayPartTargeting => GoogleApi.DFAReporting.V35.Model.DayPartTargeting.t() | nil, - :geoTargeting => GoogleApi.DFAReporting.V35.Model.GeoTargeting.t() | nil, - :id => String.t() | nil, - :keyValueTargetingExpression => - GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression.t() | nil, - :kind => String.t() | nil, - :languageTargeting => GoogleApi.DFAReporting.V35.Model.LanguageTargeting.t() | nil, - :listTargetingExpression => - GoogleApi.DFAReporting.V35.Model.ListTargetingExpression.t() | nil, - :name => String.t() | nil, - :subaccountId => String.t() | nil, - :technologyTargeting => GoogleApi.DFAReporting.V35.Model.TechnologyTargeting.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V35.Model.DimensionValue) - field(:dayPartTargeting, as: GoogleApi.DFAReporting.V35.Model.DayPartTargeting) - field(:geoTargeting, as: GoogleApi.DFAReporting.V35.Model.GeoTargeting) - field(:id) - - field(:keyValueTargetingExpression, - as: GoogleApi.DFAReporting.V35.Model.KeyValueTargetingExpression - ) - - field(:kind) - field(:languageTargeting, as: GoogleApi.DFAReporting.V35.Model.LanguageTargeting) - field(:listTargetingExpression, as: GoogleApi.DFAReporting.V35.Model.ListTargetingExpression) - field(:name) - field(:subaccountId) - field(:technologyTargeting, as: GoogleApi.DFAReporting.V35.Model.TechnologyTargeting) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TargetingTemplate do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TargetingTemplate.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TargetingTemplate do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_templates_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_templates_list_response.ex deleted file mode 100644 index 5c15de13a7..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/targeting_templates_list_response.ex +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse do - @moduledoc """ - Targeting Template List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetingTemplatesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `targetingTemplates` (*type:* `list(GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t)`, *default:* `nil`) - Targeting template collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :targetingTemplates => - list(GoogleApi.DFAReporting.V35.Model.TargetingTemplate.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:targetingTemplates, as: GoogleApi.DFAReporting.V35.Model.TargetingTemplate, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TargetingTemplatesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/technology_targeting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/technology_targeting.ex deleted file mode 100644 index e5d18d218a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/technology_targeting.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TechnologyTargeting do - @moduledoc """ - Technology Targeting. - - ## Attributes - - * `browsers` (*type:* `list(GoogleApi.DFAReporting.V35.Model.Browser.t)`, *default:* `nil`) - Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated. - * `connectionTypes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.ConnectionType.t)`, *default:* `nil`) - Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated. - * `mobileCarriers` (*type:* `list(GoogleApi.DFAReporting.V35.Model.MobileCarrier.t)`, *default:* `nil`) - Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes. - * `operatingSystemVersions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.t)`, *default:* `nil`) - Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems. - * `operatingSystems` (*type:* `list(GoogleApi.DFAReporting.V35.Model.OperatingSystem.t)`, *default:* `nil`) - Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system. - * `platformTypes` (*type:* `list(GoogleApi.DFAReporting.V35.Model.PlatformType.t)`, *default:* `nil`) - Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :browsers => list(GoogleApi.DFAReporting.V35.Model.Browser.t()) | nil, - :connectionTypes => list(GoogleApi.DFAReporting.V35.Model.ConnectionType.t()) | nil, - :mobileCarriers => list(GoogleApi.DFAReporting.V35.Model.MobileCarrier.t()) | nil, - :operatingSystemVersions => - list(GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion.t()) | nil, - :operatingSystems => list(GoogleApi.DFAReporting.V35.Model.OperatingSystem.t()) | nil, - :platformTypes => list(GoogleApi.DFAReporting.V35.Model.PlatformType.t()) | nil - } - - field(:browsers, as: GoogleApi.DFAReporting.V35.Model.Browser, type: :list) - field(:connectionTypes, as: GoogleApi.DFAReporting.V35.Model.ConnectionType, type: :list) - field(:mobileCarriers, as: GoogleApi.DFAReporting.V35.Model.MobileCarrier, type: :list) - - field(:operatingSystemVersions, - as: GoogleApi.DFAReporting.V35.Model.OperatingSystemVersion, - type: :list - ) - - field(:operatingSystems, as: GoogleApi.DFAReporting.V35.Model.OperatingSystem, type: :list) - field(:platformTypes, as: GoogleApi.DFAReporting.V35.Model.PlatformType, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TechnologyTargeting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TechnologyTargeting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TechnologyTargeting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_authentication_token.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_authentication_token.ex deleted file mode 100644 index 64425bf71c..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_authentication_token.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken do - @moduledoc """ - Third Party Authentication Token - - ## Attributes - - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the third-party authentication token. - * `value` (*type:* `String.t`, *default:* `nil`) - Value of the third-party authentication token. This is a read-only, auto-generated field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :name => String.t() | nil, - :value => String.t() | nil - } - - field(:name) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ThirdPartyAuthenticationToken do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_tracking_url.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_tracking_url.ex deleted file mode 100644 index 850e136171..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_tracking_url.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl do - @moduledoc """ - Third-party Tracking URL. - - ## Attributes - - * `thirdPartyUrlType` (*type:* `String.t`, *default:* `nil`) - Third-party URL type for in-stream video and in-stream audio creatives. - * `url` (*type:* `String.t`, *default:* `nil`) - URL for the specified third-party URL type. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :thirdPartyUrlType => String.t() | nil, - :url => String.t() | nil - } - - field(:thirdPartyUrlType) - field(:url) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.ThirdPartyTrackingUrl do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/transcode_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/transcode_setting.ex deleted file mode 100644 index ec3c58efc0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/transcode_setting.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.TranscodeSetting do - @moduledoc """ - Transcode Settings - - ## Attributes - - * `enabledVideoFormats` (*type:* `list(integer())`, *default:* `nil`) - Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :enabledVideoFormats => list(integer()) | nil, - :kind => String.t() | nil - } - - field(:enabledVideoFormats, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.TranscodeSetting do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.TranscodeSetting.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.TranscodeSetting do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/universal_ad_id.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/universal_ad_id.ex deleted file mode 100644 index b4fd138abe..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/universal_ad_id.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UniversalAdId do - @moduledoc """ - A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. - - ## Attributes - - * `registry` (*type:* `String.t`, *default:* `nil`) - Registry used for the Ad ID value. - * `value` (*type:* `String.t`, *default:* `nil`) - ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\\-". Maximum length is 64 characters. Read only when registry is DCM. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :registry => String.t() | nil, - :value => String.t() | nil - } - - field(:registry) - field(:value) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UniversalAdId do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UniversalAdId.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UniversalAdId do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_defined_variable_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_defined_variable_configuration.ex deleted file mode 100644 index bf7027e6e0..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_defined_variable_configuration.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration do - @moduledoc """ - User Defined Variable configuration. - - ## Attributes - - * `dataType` (*type:* `String.t`, *default:* `nil`) - Data type for the variable. This is a required field. - * `reportName` (*type:* `String.t`, *default:* `nil`) - User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>". - * `variableType` (*type:* `String.t`, *default:* `nil`) - Variable name in the tag. This is a required field. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :dataType => String.t() | nil, - :reportName => String.t() | nil, - :variableType => String.t() | nil - } - - field(:dataType) - field(:reportName) - field(:variableType) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserDefinedVariableConfiguration do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex deleted file mode 100644 index 8519ee11c9..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserProfile do - @moduledoc """ - A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - The account ID to which this profile belongs. - * `accountName` (*type:* `String.t`, *default:* `nil`) - The account name this profile belongs to. - * `etag` (*type:* `String.t`, *default:* `nil`) - Etag of this resource. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userProfile". - * `profileId` (*type:* `String.t`, *default:* `nil`) - The unique ID of the user profile. - * `subAccountId` (*type:* `String.t`, *default:* `nil`) - The sub account ID this profile belongs to if applicable. - * `subAccountName` (*type:* `String.t`, *default:* `nil`) - The sub account name this profile belongs to if applicable. - * `userName` (*type:* `String.t`, *default:* `nil`) - The user name. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :accountName => String.t() | nil, - :etag => String.t() | nil, - :kind => String.t() | nil, - :profileId => String.t() | nil, - :subAccountId => String.t() | nil, - :subAccountName => String.t() | nil, - :userName => String.t() | nil - } - - field(:accountId) - field(:accountName) - field(:etag) - field(:kind) - field(:profileId) - field(:subAccountId) - field(:subAccountName) - field(:userName) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserProfile do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserProfile.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserProfile do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile_list.ex deleted file mode 100644 index cd47911f56..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_profile_list.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserProfileList do - @moduledoc """ - Represents the list of user profiles. - - ## Attributes - - * `etag` (*type:* `String.t`, *default:* `nil`) - Etag of this resource. - * `items` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserProfile.t)`, *default:* `nil`) - The user profiles returned in this response. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userProfileList". - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :etag => String.t() | nil, - :items => list(GoogleApi.DFAReporting.V35.Model.UserProfile.t()) | nil, - :kind => String.t() | nil - } - - field(:etag) - field(:items, as: GoogleApi.DFAReporting.V35.Model.UserProfile, type: :list) - field(:kind) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserProfileList do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserProfileList.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserProfileList do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role.ex deleted file mode 100644 index a7c59aad4a..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRole do - @moduledoc """ - Contains properties of auser role, which is used to manage user access. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this user role. This is a read-only field that can be left blank. - * `defaultUserRole` (*type:* `boolean()`, *default:* `nil`) - Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this user role. This is a read-only, auto-generated field. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account. - * `parentUserRoleId` (*type:* `String.t`, *default:* `nil`) - ID of the user role that this user role is based on or copied from. This is a required field. - * `permissions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserRolePermission.t)`, *default:* `nil`) - List of permissions associated with this user role. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this user role. This is a read-only field that can be left blank. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :defaultUserRole => boolean() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :parentUserRoleId => String.t() | nil, - :permissions => list(GoogleApi.DFAReporting.V35.Model.UserRolePermission.t()) | nil, - :subaccountId => String.t() | nil - } - - field(:accountId) - field(:defaultUserRole) - field(:id) - field(:kind) - field(:name) - field(:parentUserRoleId) - field(:permissions, as: GoogleApi.DFAReporting.V35.Model.UserRolePermission, type: :list) - field(:subaccountId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRole do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRole.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRole do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission.ex deleted file mode 100644 index 9678afae30..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRolePermission do - @moduledoc """ - Contains properties of a user role permission. - - ## Attributes - - * `availability` (*type:* `String.t`, *default:* `nil`) - Levels of availability for a user role permission. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this user role permission. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this user role permission. - * `permissionGroupId` (*type:* `String.t`, *default:* `nil`) - ID of the permission group that this user role permission belongs to. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :availability => String.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil, - :permissionGroupId => String.t() | nil - } - - field(:availability) - field(:id) - field(:kind) - field(:name) - field(:permissionGroupId) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermission do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRolePermission.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermission do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_group.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_group.ex deleted file mode 100644 index 7e44665646..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_group.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup do - @moduledoc """ - Represents a grouping of related user role permissions. - - ## Attributes - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this user role permission. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroup". - * `name` (*type:* `String.t`, *default:* `nil`) - Name of this user role permission group. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :id => String.t() | nil, - :kind => String.t() | nil, - :name => String.t() | nil - } - - field(:id) - field(:kind) - field(:name) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_groups_list_response.ex deleted file mode 100644 index b44c8522fa..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permission_groups_list_response.ex +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse do - @moduledoc """ - User Role Permission Group List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroupsListResponse". - * `userRolePermissionGroups` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup.t)`, *default:* `nil`) - User role permission group collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :userRolePermissionGroups => - list(GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup.t()) | nil - } - - field(:kind) - - field(:userRolePermissionGroups, - as: GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroup, - type: :list - ) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionGroupsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permissions_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permissions_list_response.ex deleted file mode 100644 index 6387b29195..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_role_permissions_list_response.ex +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse do - @moduledoc """ - User Role Permission List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionsListResponse". - * `userRolePermissions` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserRolePermission.t)`, *default:* `nil`) - User role permission collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :userRolePermissions => - list(GoogleApi.DFAReporting.V35.Model.UserRolePermission.t()) | nil - } - - field(:kind) - - field(:userRolePermissions, as: GoogleApi.DFAReporting.V35.Model.UserRolePermission, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRolePermissionsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_roles_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_roles_list_response.ex deleted file mode 100644 index 6190960edf..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/user_roles_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.UserRolesListResponse do - @moduledoc """ - User Role List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolesListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `userRoles` (*type:* `list(GoogleApi.DFAReporting.V35.Model.UserRole.t)`, *default:* `nil`) - User role collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :userRoles => list(GoogleApi.DFAReporting.V35.Model.UserRole.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:userRoles, as: GoogleApi.DFAReporting.V35.Model.UserRole, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.UserRolesListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.UserRolesListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.UserRolesListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_format.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_format.ex deleted file mode 100644 index 1ed3e63798..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_format.ex +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.VideoFormat do - @moduledoc """ - Contains information about supported video formats. - - ## Attributes - - * `fileType` (*type:* `String.t`, *default:* `nil`) - File type of the video format. - * `id` (*type:* `integer()`, *default:* `nil`) - ID of the video format. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormat". - * `resolution` (*type:* `GoogleApi.DFAReporting.V35.Model.Size.t`, *default:* `nil`) - The resolution of this video format. - * `targetBitRate` (*type:* `integer()`, *default:* `nil`) - The target bit rate of this video format. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :fileType => String.t() | nil, - :id => integer() | nil, - :kind => String.t() | nil, - :resolution => GoogleApi.DFAReporting.V35.Model.Size.t() | nil, - :targetBitRate => integer() | nil - } - - field(:fileType) - field(:id) - field(:kind) - field(:resolution, as: GoogleApi.DFAReporting.V35.Model.Size) - field(:targetBitRate) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.VideoFormat do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.VideoFormat.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.VideoFormat do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_formats_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_formats_list_response.ex deleted file mode 100644 index fc450a8327..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_formats_list_response.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse do - @moduledoc """ - Video Format List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormatsListResponse". - * `videoFormats` (*type:* `list(GoogleApi.DFAReporting.V35.Model.VideoFormat.t)`, *default:* `nil`) - Video format collection. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :videoFormats => list(GoogleApi.DFAReporting.V35.Model.VideoFormat.t()) | nil - } - - field(:kind) - field(:videoFormats, as: GoogleApi.DFAReporting.V35.Model.VideoFormat, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.VideoFormatsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_offset.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_offset.ex deleted file mode 100644 index 51d9909163..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_offset.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.VideoOffset do - @moduledoc """ - Video Offset - - ## Attributes - - * `offsetPercentage` (*type:* `integer()`, *default:* `nil`) - Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. - * `offsetSeconds` (*type:* `integer()`, *default:* `nil`) - Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :offsetPercentage => integer() | nil, - :offsetSeconds => integer() | nil - } - - field(:offsetPercentage) - field(:offsetSeconds) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.VideoOffset do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.VideoOffset.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.VideoOffset do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_settings.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_settings.ex deleted file mode 100644 index c8fb412336..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/video_settings.ex +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V35.Model.VideoSettings do - @moduledoc """ - Video Settings - - ## Attributes - - * `companionSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.CompanionSetting.t`, *default:* `nil`) - Settings for the companion creatives of video creatives served to this placement. - * `durationSeconds` (*type:* `integer()`, *default:* `nil`) - Duration of a video placement in seconds. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings". - * `obaEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether OBA icons are enabled for this placement. - * `obaSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.ObaIcon.t`, *default:* `nil`) - Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden. - * `orientation` (*type:* `String.t`, *default:* `nil`) - Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation. - * `skippableSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.SkippableSetting.t`, *default:* `nil`) - Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden. - * `transcodeSettings` (*type:* `GoogleApi.DFAReporting.V35.Model.TranscodeSetting.t`, *default:* `nil`) - Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :companionSettings => GoogleApi.DFAReporting.V35.Model.CompanionSetting.t() | nil, - :durationSeconds => integer() | nil, - :kind => String.t() | nil, - :obaEnabled => boolean() | nil, - :obaSettings => GoogleApi.DFAReporting.V35.Model.ObaIcon.t() | nil, - :orientation => String.t() | nil, - :skippableSettings => GoogleApi.DFAReporting.V35.Model.SkippableSetting.t() | nil, - :transcodeSettings => GoogleApi.DFAReporting.V35.Model.TranscodeSetting.t() | nil - } - - field(:companionSettings, as: GoogleApi.DFAReporting.V35.Model.CompanionSetting) - field(:durationSeconds) - field(:kind) - field(:obaEnabled) - field(:obaSettings, as: GoogleApi.DFAReporting.V35.Model.ObaIcon) - field(:orientation) - field(:skippableSettings, as: GoogleApi.DFAReporting.V35.Model.SkippableSetting) - field(:transcodeSettings, as: GoogleApi.DFAReporting.V35.Model.TranscodeSetting) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.VideoSettings do - def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.VideoSettings.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.VideoSettings do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_active_ad_summaries.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_active_ad_summaries.ex index fcd86421da..8e5924abb3 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_active_ad_summaries.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_active_ad_summaries.ex @@ -88,11 +88,10 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountActiveAdSummaries do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", + "/dfareporting/v4/userprofiles/{+profileId}/accountActiveAdSummaries/{+summaryAccountId}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "summaryAccountId" => - URI.encode(summary_account_id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "summaryAccountId" => URI.encode(summary_account_id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permission_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permission_groups.ex index de28b07031..bde416118c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permission_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permission_groups.ex @@ -87,10 +87,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountPermissionGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountPermissionGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) + |> Request.url( + "/dfareporting/v4/userprofiles/{+profileId}/accountPermissionGroups/{+id}", + %{ + "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), + "id" => URI.encode(id, &URI.char_unreserved?/1) + } + ) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +163,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountPermissionGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountPermissionGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountPermissionGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permissions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permissions.ex index 69c90dbdaa..1f42c126f1 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permissions.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_permissions.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountPermissions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountPermissions/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountPermissions/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -158,7 +158,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountPermissions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountPermissions", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountPermissions", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_user_profiles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_user_profiles.ex index 5688839eb5..d00b013bb7 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_user_profiles.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/account_user_profiles.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +160,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountUserProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -248,7 +248,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountUserProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -262,13 +262,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do end @doc """ - Updates an existing account user profile. This method supports patch semantics. + Updates an existing user role. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - AccountUserProfile ID. + * `id` (*type:* `String.t`) - Required. AccountUserProfile ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -325,7 +325,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountUserProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -398,7 +398,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AccountUserProfiles do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accountUserProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accountUserProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/accounts.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/accounts.ex index d93199155f..d24e741608 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/accounts.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/accounts.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Accounts do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accounts/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accounts/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -156,7 +156,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Accounts do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -174,7 +174,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Accounts do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Account ID. + * `id` (*type:* `String.t`) - Required. Account ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -225,7 +225,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Accounts do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -288,7 +288,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Accounts do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/accounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/accounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/ads.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/ads.ex index 3a7ca1e858..08cd7c87b2 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/ads.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/ads.ex @@ -75,9 +75,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/ads/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/ads/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -138,7 +138,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/ads", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/ads", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -244,7 +244,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/ads", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/ads", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -256,13 +256,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do end @doc """ - Updates an existing ad. This method supports patch semantics. + Updates an existing event tag. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Ad ID. + * `id` (*type:* `String.t`) - Required. RemarketingList ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -307,7 +307,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/ads", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/ads", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -370,7 +370,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Ads do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/ads", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/ads", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_groups.ex index 43e5be4edd..526c71da2f 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_groups.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -157,9 +157,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -230,7 +230,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -307,7 +307,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -327,7 +327,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - AdvertiserGroup ID. + * `id` (*type:* `String.t`) - Required. Advertiser Group ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -384,7 +384,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -457,7 +457,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserGroups do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_invoices.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_invoices.ex index ae04bdfbde..70ace5d042 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_invoices.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_invoices.ex @@ -94,7 +94,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserInvoices do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/advertisers/{advertiserId}/invoices", + "/dfareporting/v4/userprofiles/{+profileId}/advertisers/{+advertiserId}/invoices", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_landing_pages.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_landing_pages.ex index 1c90d6773b..ad47b3c11d 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_landing_pages.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertiser_landing_pages.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserLandingPages/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserLandingPages/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +160,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserLandingPages", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserLandingPages", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -250,7 +250,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserLandingPages", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserLandingPages", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -264,13 +264,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do end @doc """ - Updates an existing advertiser landing page. This method supports patch semantics. + Updates an existing advertiser. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - LandingPage ID. + * `id` (*type:* `String.t`) - Required. Landing Page ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -327,7 +327,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserLandingPages", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserLandingPages", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -400,7 +400,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.AdvertiserLandingPages do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertiserLandingPages", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertiserLandingPages", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertisers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertisers.ex index d4bf99a4dd..726477fe58 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertisers.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/advertisers.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertisers/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertisers/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -144,7 +144,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertisers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertisers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -228,7 +228,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertisers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertisers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -248,7 +248,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Advertiser ID. + * `id` (*type:* `String.t`) - Required. Advertiser ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -305,7 +305,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertisers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertisers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -368,7 +368,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Advertisers do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/advertisers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/advertisers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_assignments.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_assignments.ex index c0f91ee6aa..c58fc1fce4 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_assignments.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_assignments.ex @@ -90,7 +90,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingAssignments do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/billingProfiles/{billingProfileId}/billingAssignments", + "/dfareporting/v4/userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "billingProfileId" => URI.encode(billing_profile_id, &URI.char_unreserved?/1) @@ -167,7 +167,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingAssignments do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/billingProfiles/{billingProfileId}/billingAssignments", + "/dfareporting/v4/userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "billingProfileId" => URI.encode(billing_profile_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_profiles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_profiles.ex index fd66112263..6f8eeed4e4 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_profiles.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_profiles.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingProfiles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/billingProfiles/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/billingProfiles/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -173,7 +173,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingProfiles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/billingProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/billingProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -242,7 +242,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingProfiles do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/billingProfiles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/billingProfiles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_rates.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_rates.ex index 9e3921c9d9..13f88ccccc 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_rates.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/billing_rates.ex @@ -88,7 +88,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.BillingRates do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/billingProfiles/{billingProfileId}/billingRates", + "/dfareporting/v4/userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingRates", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "billingProfileId" => URI.encode(billing_profile_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/browsers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/browsers.ex index 8b8bd9f44b..94ad3e2857 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/browsers.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/browsers.ex @@ -74,7 +74,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Browsers do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/browsers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/browsers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaign_creative_associations.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaign_creative_associations.ex index 9ca12e44ab..785cfef573 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaign_creative_associations.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaign_creative_associations.ex @@ -90,7 +90,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CampaignCreativeAssociations do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "/dfareporting/v4/userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "campaignId" => URI.encode(campaign_id, &URI.char_unreserved?/1) @@ -175,7 +175,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CampaignCreativeAssociations do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "/dfareporting/v4/userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "campaignId" => URI.encode(campaign_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaigns.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaigns.ex index 7c1f82f010..20689e31e8 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaigns.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/campaigns.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/campaigns/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/campaigns/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -144,7 +144,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/campaigns", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/campaigns", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -230,7 +230,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/campaigns", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/campaigns", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -242,13 +242,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do end @doc """ - Updates an existing campaign. This method supports patch semantics. + Updates an existing creative. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Campaign ID. + * `id` (*type:* `String.t`) - Required. Campaign ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -299,7 +299,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/campaigns", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/campaigns", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -362,7 +362,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Campaigns do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/campaigns", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/campaigns", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/change_logs.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/change_logs.ex index 9c044af595..416ffc5b55 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/change_logs.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/change_logs.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.ChangeLogs do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/changeLogs/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/changeLogs/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -162,7 +162,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ChangeLogs do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/changeLogs", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/changeLogs", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/cities.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/cities.ex index 294a448fa6..5bcc7f55de 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/cities.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/cities.ex @@ -82,7 +82,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Cities do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/cities", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/cities", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/connection_types.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/connection_types.ex index 81e80e1173..2c8dc9ed3c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/connection_types.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/connection_types.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.ConnectionTypes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/connectionTypes/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/connectionTypes/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -153,7 +153,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ConnectionTypes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/connectionTypes", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/connectionTypes", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/content_categories.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/content_categories.ex index efc5b376e6..c8ef7cd66d 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/content_categories.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/content_categories.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -157,9 +157,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -230,7 +230,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -307,7 +307,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -327,7 +327,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - ContentCategory ID. + * `id` (*type:* `String.t`) - Required. ContentCategory ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -384,7 +384,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -457,7 +457,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.ContentCategories do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/contentCategories", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/contentCategories", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/countries.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/countries.ex index 7dcd97c030..d24a3a7e7d 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/countries.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/countries.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Countries do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/countries/{dartId}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/countries/{+dartId}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "dartId" => URI.encode(dart_id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "dartId" => URI.encode(dart_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -148,7 +148,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Countries do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/countries", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/countries", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_assets.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_assets.ex index ecae0686f1..5819346757 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_assets.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_assets.ex @@ -90,7 +90,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/dfareporting/v4/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) @@ -176,7 +176,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/upload/dfareporting/v4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/upload/dfareporting/v4/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) @@ -265,7 +265,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeAssets do Request.new() |> Request.method(:post) |> Request.url( - "/upload/dfareporting/v4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "/upload/dfareporting/v4/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "advertiserId" => URI.encode(advertiser_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_field_values.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_field_values.ex index fcfe427197..1a05e16888 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_field_values.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_field_values.ex @@ -87,11 +87,11 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:delete) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -168,11 +168,11 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -248,7 +248,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) @@ -337,7 +337,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) @@ -421,7 +421,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:patch) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) @@ -501,7 +501,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFieldValues do Request.new() |> Request.method(:put) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "creativeFieldId" => URI.encode(creative_field_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_fields.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_fields.ex index 39381590d5..02e98759d9 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_fields.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_fields.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -157,9 +157,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -225,7 +225,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -299,7 +299,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -376,7 +376,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -444,7 +444,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeFields do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeFields", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeFields", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_groups.ex index 7664d24221..a6a2faf42c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creative_groups.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeGroups/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeGroups/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -155,7 +155,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -231,7 +231,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -251,7 +251,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - CreativeGroup ID. + * `id` (*type:* `String.t`) - Required. Creative Group ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -308,7 +308,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -376,7 +376,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.CreativeGroups do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creativeGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creativeGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creatives.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creatives.ex index 56d36ff85a..1d9effd276 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creatives.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/creatives.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creatives/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creatives/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -144,7 +144,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creatives", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creatives", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -236,7 +236,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creatives", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creatives", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -254,7 +254,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Creative ID. + * `id` (*type:* `String.t`) - Required. Creative ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -305,7 +305,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creatives", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creatives", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -368,7 +368,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Creatives do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/creatives", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/creatives", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/directory_sites.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/directory_sites.ex index 4496a4b856..b8ea51bf15 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/directory_sites.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/directory_sites.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.DirectorySites do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/directorySites/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/directorySites/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -155,7 +155,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.DirectorySites do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/directorySites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/directorySites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -237,7 +237,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.DirectorySites do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/directorySites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/directorySites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/dynamic_targeting_keys.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/dynamic_targeting_keys.ex index 5b9fa310de..9c3e2e6201 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/dynamic_targeting_keys.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/dynamic_targeting_keys.ex @@ -33,8 +33,8 @@ defmodule GoogleApi.DFAReporting.V4.Api.DynamicTargetingKeys do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. * `object_id` (*type:* `String.t`) - ID of the object of this dynamic targeting key. This is a required field. - * `name` (*type:* `String.t`) - Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - * `object_type` (*type:* `String.t`) - Type of the object of this dynamic targeting key. This is a required field. + * `name` (*type:* `String.t`) - Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. + * `object_type` (*type:* `String.t`) - Required. Type of the object of this dynamic targeting key. This is a required field. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -90,10 +90,10 @@ defmodule GoogleApi.DFAReporting.V4.Api.DynamicTargetingKeys do Request.new() |> Request.method(:delete) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", + "/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "objectId" => URI.encode(object_id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "objectId" => URI.encode(object_id, &URI.char_unreserved?/1) } ) |> Request.add_param(:query, :name, name) @@ -167,7 +167,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.DynamicTargetingKeys do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/dynamicTargetingKeys", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -245,7 +245,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.DynamicTargetingKeys do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/dynamicTargetingKeys", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/event_tags.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/event_tags.ex index 4c723cb73e..7aa69300fa 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/event_tags.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/event_tags.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -151,9 +151,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -214,7 +214,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -294,7 +294,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -312,7 +312,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - EventTag ID. + * `id` (*type:* `String.t`) - Required. EventTag ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -363,7 +363,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -426,7 +426,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.EventTags do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/eventTags", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/eventTags", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activities.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activities.ex index 1102e7204f..05e69bf666 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activities.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activities.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -157,7 +157,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do Request.new() |> Request.method(:post) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/floodlightActivities/generatetag", + "/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities/generatetag", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) } @@ -234,9 +234,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -307,7 +307,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -403,7 +403,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -417,13 +417,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do end @doc """ - Updates an existing floodlight activity. This method supports patch semantics. + Updates an existing event tag. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightActivity ID. + * `id` (*type:* `String.t`) - Required. EventTag ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -480,7 +480,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -553,7 +553,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivities do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivities", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivities", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activity_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activity_groups.ex index 4310f726ce..669fc84306 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activity_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_activity_groups.ex @@ -87,10 +87,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivityGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) + |> Request.url( + "/dfareporting/v4/userprofiles/{+profileId}/floodlightActivityGroups/{+id}", + %{ + "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), + "id" => URI.encode(id, &URI.char_unreserved?/1) + } + ) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -162,7 +165,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivityGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivityGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -252,7 +255,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivityGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivityGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -266,13 +269,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do end @doc """ - Updates an existing floodlight activity group. This method supports patch semantics. + Updates an existing event tag. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightActivityGroup ID. + * `id` (*type:* `String.t`) - Required. EventTag ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -329,7 +332,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivityGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivityGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -404,7 +407,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightActivityGroups do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightActivityGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightActivityGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_configurations.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_configurations.ex index 424d7da8e3..4ae5482d84 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_configurations.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/floodlight_configurations.ex @@ -87,10 +87,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightConfigurations do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightConfigurations/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) + |> Request.url( + "/dfareporting/v4/userprofiles/{+profileId}/floodlightConfigurations/{+id}", + %{ + "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), + "id" => URI.encode(id, &URI.char_unreserved?/1) + } + ) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -162,7 +165,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightConfigurations do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightConfigurations", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightConfigurations", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -176,13 +179,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightConfigurations do end @doc """ - Updates an existing floodlight configuration. This method supports patch semantics. + Updates an existing event tag. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - FloodlightConfiguration ID. + * `id` (*type:* `String.t`) - Required. EventTag ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -239,7 +242,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightConfigurations do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightConfigurations", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightConfigurations", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -314,7 +317,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.FloodlightConfigurations do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/floodlightConfigurations", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/floodlightConfigurations", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/inventory_items.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/inventory_items.ex index f5ed9103cc..3c7eb40eab 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/inventory_items.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/inventory_items.ex @@ -91,11 +91,11 @@ defmodule GoogleApi.DFAReporting.V4.Api.InventoryItems do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", + "/dfareporting/v4/userprofiles/{+profileId}/projects/{projectId}/inventoryItems/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -187,7 +187,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.InventoryItems do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/inventoryItems", + "/dfareporting/v4/userprofiles/{+profileId}/projects/{projectId}/inventoryItems", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/languages.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/languages.ex index 17a9f78686..61a8a36afa 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/languages.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/languages.ex @@ -74,7 +74,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Languages do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/languages", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/languages", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/metros.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/metros.ex index 420afcdba9..abc58d83e9 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/metros.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/metros.ex @@ -74,7 +74,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Metros do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/metros", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/metros", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_apps.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_apps.ex index e7768ed71b..243e6836e7 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_apps.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_apps.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.MobileApps do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/mobileApps/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/mobileApps/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -152,7 +152,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.MobileApps do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/mobileApps", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/mobileApps", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_carriers.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_carriers.ex index 074bbc71da..1fc91f2d91 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_carriers.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/mobile_carriers.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.MobileCarriers do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/mobileCarriers/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/mobileCarriers/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -148,7 +148,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.MobileCarriers do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/mobileCarriers", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/mobileCarriers", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_system_versions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_system_versions.ex index 79dd91c55d..be14986a1c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_system_versions.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_system_versions.ex @@ -87,10 +87,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.OperatingSystemVersions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/operatingSystemVersions/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) + |> Request.url( + "/dfareporting/v4/userprofiles/{+profileId}/operatingSystemVersions/{+id}", + %{ + "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), + "id" => URI.encode(id, &URI.char_unreserved?/1) + } + ) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +163,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.OperatingSystemVersions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/operatingSystemVersions", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/operatingSystemVersions", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_systems.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_systems.ex index 8122ef4749..5f22f20055 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_systems.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/operating_systems.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.OperatingSystems do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/operatingSystems/{dartId}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/operatingSystems/{+dartId}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "dartId" => URI.encode(dart_id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "dartId" => URI.encode(dart_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -153,7 +153,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.OperatingSystems do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/operatingSystems", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/operatingSystems", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/order_documents.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/order_documents.ex deleted file mode 100644 index acf8afe0d1..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/order_documents.ex +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V4.Api.OrderDocuments do - @moduledoc """ - API calls for all endpoints tagged `OrderDocuments`. - """ - - alias GoogleApi.DFAReporting.V4.Connection - alias GoogleApi.Gax.{Request, Response} - - @library_version Mix.Project.config() |> Keyword.get(:version, "") - - @doc """ - Gets one order document by ID. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `id` (*type:* `String.t`) - Order document ID. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V4.Model.OrderDocument{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_order_documents_get( - Tesla.Env.client(), - String.t(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V4.Model.OrderDocument.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_order_documents_get( - connection, - profile_id, - project_id, - id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode(opts ++ [struct: %GoogleApi.DFAReporting.V4.Model.OrderDocument{}]) - end - - @doc """ - Retrieves a list of order documents, possibly filtered. This method supports paging. - - ## Parameters - - * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server - * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `project_id` (*type:* `String.t`) - Project ID for order documents. - * `optional_params` (*type:* `keyword()`) - Optional parameters - * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. - * `:access_token` (*type:* `String.t`) - OAuth access token. - * `:alt` (*type:* `String.t`) - Data format for response. - * `:callback` (*type:* `String.t`) - JSONP - * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. - * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. - * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. - * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). - * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `:approved` (*type:* `boolean()`) - Select only order documents that have been approved by at least one user. - * `:ids` (*type:* `list(String.t)`) - Select only order documents with these IDs. - * `:maxResults` (*type:* `integer()`) - Maximum number of results to return. - * `:orderId` (*type:* `list(String.t)`) - Select only order documents for specified orders. - * `:pageToken` (*type:* `String.t`) - Value of the nextPageToken from the previous result page. - * `:searchString` (*type:* `String.t`) - Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "orderdocument" will match order documents with name "my orderdocument", "orderdocument 2015", or simply "orderdocument". - * `:siteId` (*type:* `list(String.t)`) - Select only order documents that are associated with these sites. - * `:sortField` (*type:* `String.t`) - Field by which to sort the list. - * `:sortOrder` (*type:* `String.t`) - Order of sorted results. - * `opts` (*type:* `keyword()`) - Call options - - ## Returns - - * `{:ok, %GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse{}}` on success - * `{:error, info}` on failure - """ - @spec dfareporting_order_documents_list( - Tesla.Env.client(), - String.t(), - String.t(), - keyword(), - keyword() - ) :: - {:ok, GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse.t()} - | {:ok, Tesla.Env.t()} - | {:ok, list()} - | {:error, any()} - def dfareporting_order_documents_list( - connection, - profile_id, - project_id, - optional_params \\ [], - opts \\ [] - ) do - optional_params_config = %{ - :"$.xgafv" => :query, - :access_token => :query, - :alt => :query, - :callback => :query, - :fields => :query, - :key => :query, - :oauth_token => :query, - :prettyPrint => :query, - :quotaUser => :query, - :uploadType => :query, - :upload_protocol => :query, - :approved => :query, - :ids => :query, - :maxResults => :query, - :orderId => :query, - :pageToken => :query, - :searchString => :query, - :siteId => :query, - :sortField => :query, - :sortOrder => :query - } - - request = - Request.new() - |> Request.method(:get) - |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/orderDocuments", - %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) - } - ) - |> Request.add_optional_params(optional_params_config, optional_params) - |> Request.library_version(@library_version) - - connection - |> Connection.execute(request) - |> Response.decode( - opts ++ [struct: %GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse{}] - ) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/orders.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/orders.ex index 5d3078da6c..e8cf4a45a7 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/orders.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/orders.ex @@ -91,11 +91,11 @@ defmodule GoogleApi.DFAReporting.V4.Api.Orders do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/orders/{id}", + "/dfareporting/v4/userprofiles/{+profileId}/projects/{projectId}/orders/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "projectId" => URI.encode(project_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -176,7 +176,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Orders do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/orders", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/projects/{projectId}/orders", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "projectId" => URI.encode(project_id, &URI.char_unreserved?/1) }) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_groups.ex index 79ac9c0d57..42c6c22d85 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_groups.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementGroups/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementGroups/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -155,7 +155,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -258,7 +258,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -278,7 +278,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - PlacementGroup ID. + * `id` (*type:* `String.t`) - Required. Placement ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -335,7 +335,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -403,7 +403,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementGroups do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_strategies.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_strategies.ex index e8fc23af7a..5d8c761807 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_strategies.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placement_strategies.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -157,9 +157,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -230,7 +230,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -312,7 +312,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -332,7 +332,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - PlacementStrategy ID. + * `id` (*type:* `String.t`) - Required. PlacementStrategy ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -389,7 +389,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -462,7 +462,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlacementStrategies do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placementStrategies", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placementStrategies", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placements.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placements.ex index 208383a393..5412f6eff9 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placements.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/placements.ex @@ -85,7 +85,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements/generatetags", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements/generatetags", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -154,9 +154,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -217,7 +217,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -321,7 +321,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -341,7 +341,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Placement ID. + * `id` (*type:* `String.t`) - Required. Placement ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -392,7 +392,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -455,7 +455,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Placements do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/placements", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/placements", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/platform_types.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/platform_types.ex index ee553dab12..ca5d5867c7 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/platform_types.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/platform_types.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlatformTypes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/platformTypes/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/platformTypes/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -148,7 +148,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PlatformTypes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/platformTypes", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/platformTypes", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/postal_codes.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/postal_codes.ex index 907cddc67b..54cd510b4c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/postal_codes.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/postal_codes.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.PostalCodes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/postalCodes/{code}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/postalCodes/{+code}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "code" => URI.encode(code, &(URI.char_unreserved?(&1) || &1 == ?/)) + "code" => URI.encode(code, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -148,7 +148,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.PostalCodes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/postalCodes", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/postalCodes", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/projects.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/projects.ex index 05a03c3b4c..ab26dfa4fd 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/projects.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/projects.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Projects do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/projects/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/projects/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -156,7 +156,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Projects do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/projects", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/projects", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/regions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/regions.ex index 194a7cc602..4aa2ae86e1 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/regions.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/regions.ex @@ -74,7 +74,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Regions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/regions", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/regions", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_list_shares.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_list_shares.ex index a3e95294d7..8f26fc68c3 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_list_shares.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_list_shares.ex @@ -88,11 +88,10 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingListShares do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/remarketingListShares/{remarketingListId}", + "/dfareporting/v4/userprofiles/{+profileId}/remarketingListShares/{+remarketingListId}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "remarketingListId" => - URI.encode(remarketing_list_id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "remarketingListId" => URI.encode(remarketing_list_id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -104,13 +103,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingListShares do end @doc """ - Updates an existing remarketing list share. This method supports patch semantics. + Updates an existing RemarketingListShare. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - RemarketingList ID. + * `id` (*type:* `String.t`) - Required. RemarketingList ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -167,7 +166,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingListShares do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingListShares", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingListShares", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -240,7 +239,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingListShares do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingListShares", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingListShares", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_lists.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_lists.ex index 6492bcb7f9..889cca987c 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_lists.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/remarketing_lists.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingLists/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingLists/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +160,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingLists", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingLists", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -178,7 +178,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `advertiser_id` (*type:* `String.t`) - Select only remarketing lists owned by this advertiser. + * `advertiser_id` (*type:* `String.t`) - Required. Select only remarketing lists owned by this advertiser. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -247,7 +247,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingLists", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingLists", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :advertiserId, advertiser_id) @@ -262,13 +262,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do end @doc """ - Updates an existing remarketing list. This method supports patch semantics. + Updates an existing RemarketingList. This method supports patch semantics. ## Parameters * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - RemarketingList ID. + * `id` (*type:* `String.t`) - Required. RemarketingList ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -325,7 +325,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingLists", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingLists", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -398,7 +398,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.RemarketingLists do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/remarketingLists", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/remarketingLists", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sites.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sites.ex index 369eec2b8d..a2349e1414 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sites.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sites.ex @@ -75,9 +75,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sites/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sites/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -138,7 +138,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -228,7 +228,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -246,7 +246,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Site ID. + * `id` (*type:* `String.t`) - Required. Site ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -291,7 +291,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -354,7 +354,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sites do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sites", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sites", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sizes.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sizes.ex index 24d566ed14..5992dacf1e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sizes.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/sizes.ex @@ -75,9 +75,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sizes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sizes/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sizes/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -138,7 +138,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sizes do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sizes", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sizes", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -206,7 +206,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Sizes do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/sizes", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/sizes", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/subaccounts.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/subaccounts.ex index 9961cf334b..adb879f495 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/subaccounts.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/subaccounts.ex @@ -81,9 +81,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/subaccounts/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/subaccounts/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -144,7 +144,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/subaccounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/subaccounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -216,7 +216,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/subaccounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/subaccounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -236,7 +236,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - Subaccount ID. + * `id` (*type:* `String.t`) - Required. Subaccount ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -293,7 +293,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/subaccounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/subaccounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -356,7 +356,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.Subaccounts do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/subaccounts", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/subaccounts", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targetable_remarketing_lists.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targetable_remarketing_lists.ex index 7a57f613f0..b2ca063052 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targetable_remarketing_lists.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targetable_remarketing_lists.ex @@ -88,10 +88,10 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetableRemarketingLists do Request.new() |> Request.method(:get) |> Request.url( - "/dfareporting/v4/userprofiles/{profileId}/targetableRemarketingLists/{id}", + "/dfareporting/v4/userprofiles/{+profileId}/targetableRemarketingLists/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) } ) |> Request.add_optional_params(optional_params_config, optional_params) @@ -111,7 +111,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetableRemarketingLists do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `advertiser_id` (*type:* `String.t`) - Select only targetable remarketing lists targetable by these advertisers. + * `advertiser_id` (*type:* `String.t`) - Required. Select only targetable remarketing lists targetable by these advertisers. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -178,7 +178,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetableRemarketingLists do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetableRemarketingLists", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetableRemarketingLists", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :advertiserId, advertiser_id) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targeting_templates.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targeting_templates.ex index f6f5a5fc14..bc4b282525 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targeting_templates.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/targeting_templates.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetingTemplates/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetingTemplates/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +160,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetingTemplates", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetingTemplates", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -244,7 +244,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetingTemplates", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetingTemplates", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -264,7 +264,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - TargetingTemplate ID. + * `id` (*type:* `String.t`) - Required. RemarketingList ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -321,7 +321,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetingTemplates", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetingTemplates", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -394,7 +394,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.TargetingTemplates do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/targetingTemplates", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/targetingTemplates", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permission_groups.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permission_groups.ex index 645246630a..8731d45816 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permission_groups.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permission_groups.ex @@ -87,10 +87,13 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRolePermissionGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRolePermissionGroups/{id}", %{ - "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) - }) + |> Request.url( + "/dfareporting/v4/userprofiles/{+profileId}/userRolePermissionGroups/{+id}", + %{ + "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), + "id" => URI.encode(id, &URI.char_unreserved?/1) + } + ) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +163,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRolePermissionGroups do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRolePermissionGroups", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRolePermissionGroups", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permissions.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permissions.ex index ccc9c63842..deda187621 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permissions.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_role_permissions.ex @@ -87,9 +87,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRolePermissions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRolePermissions/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRolePermissions/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -160,7 +160,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRolePermissions do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRolePermissions", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRolePermissions", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_roles.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_roles.ex index 74da837eac..6e39fef31a 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_roles.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/user_roles.ex @@ -83,9 +83,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:delete) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -151,9 +151,9 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), - "id" => URI.encode(id, &(URI.char_unreserved?(&1) || &1 == ?/)) + "id" => URI.encode(id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) |> Request.library_version(@library_version) @@ -214,7 +214,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:post) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -290,7 +290,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) @@ -308,7 +308,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do * `connection` (*type:* `GoogleApi.DFAReporting.V4.Connection.t`) - Connection to server * `profile_id` (*type:* `String.t`) - User profile ID associated with this request. - * `id` (*type:* `String.t`) - UserRole ID. + * `id` (*type:* `String.t`) - Required. UserRole ID. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -359,7 +359,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:patch) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_param(:query, :id, id) @@ -422,7 +422,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.UserRoles do request = Request.new() |> Request.method(:put) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/userRoles", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/userRoles", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/video_formats.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/video_formats.ex index cbec77c31e..80a049651b 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/video_formats.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/api/video_formats.ex @@ -87,7 +87,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.VideoFormats do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/videoFormats/{id}", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/videoFormats/{+id}", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1), "id" => id }) @@ -148,7 +148,7 @@ defmodule GoogleApi.DFAReporting.V4.Api.VideoFormats do request = Request.new() |> Request.method(:get) - |> Request.url("/dfareporting/v4/userprofiles/{profileId}/videoFormats", %{ + |> Request.url("/dfareporting/v4/userprofiles/{+profileId}/videoFormats", %{ "profileId" => URI.encode(profile_id, &URI.char_unreserved?/1) }) |> Request.add_optional_params(optional_params_config, optional_params) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/metadata.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/metadata.ex index 2cd72f405e..b14553fb1b 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/metadata.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DFAReporting.V4 do API client metadata for GoogleApi.DFAReporting.V4. """ - @discovery_revision "20220920" + @discovery_revision "20240201" def discovery_revision(), do: @discovery_revision end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/account_permission_groups_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/account_permission_groups_list_response.ex index d7389d7caf..f313d20789 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/account_permission_groups_list_response.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/account_permission_groups_list_response.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.AccountPermissionGroupsListResponse do ## Attributes * `accountPermissionGroups` (*type:* `list(GoogleApi.DFAReporting.V4.Model.AccountPermissionGroup.t)`, *default:* `nil`) - Account permission group collection. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupsListResponse". + * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupGroupsListResponse". """ use GoogleApi.Gax.ModelBase diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/content_category.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/content_category.ex index 28bdf00094..4c3fd5899e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/content_category.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/content_category.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.ContentCategory do @moduledoc """ - Organizes placements according to the contents of their associated webpages. + ## Attributes diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/conversion.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/conversion.ex index b5a356cd67..d08320ebb1 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/conversion.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/conversion.ex @@ -21,6 +21,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Conversion do ## Attributes + * `adUserDataConsent` (*type:* `String.t`, *default:* `nil`) - This represents consent for ad user data. * `childDirectedTreatment` (*type:* `boolean()`, *default:* `nil`) - Whether this particular request may come from a user under the age of 13, under COPPA compliance. * `customVariables` (*type:* `list(GoogleApi.DFAReporting.V4.Model.CustomFloodlightVariable.t)`, *default:* `nil`) - Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate. * `dclid` (*type:* `String.t`, *default:* `nil`) - The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or impressionId is a required field. @@ -36,15 +37,17 @@ defmodule GoogleApi.DFAReporting.V4.Model.Conversion do * `mobileDeviceId` (*type:* `String.t`, *default:* `nil`) - The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid or impressionId is a required field. * `nonPersonalizedAd` (*type:* `boolean()`, *default:* `nil`) - Whether the conversion was for a non personalized ad. * `ordinal` (*type:* `String.t`, *default:* `nil`) - The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field. - * `quantity` (*type:* `String.t`, *default:* `nil`) - The quantity of the conversion. + * `quantity` (*type:* `String.t`, *default:* `nil`) - The quantity of the conversion. This is a required field. * `timestampMicros` (*type:* `String.t`, *default:* `nil`) - The timestamp of conversion, in Unix epoch micros. This is a required field. * `treatmentForUnderage` (*type:* `boolean()`, *default:* `nil`) - Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). - * `value` (*type:* `float()`, *default:* `nil`) - The value of the conversion. + * `userIdentifiers` (*type:* `list(GoogleApi.DFAReporting.V4.Model.UserIdentifier.t)`, *default:* `nil`) - The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5. + * `value` (*type:* `float()`, *default:* `nil`) - The value of the conversion. This is a required field. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :adUserDataConsent => String.t() | nil, :childDirectedTreatment => boolean() | nil, :customVariables => list(GoogleApi.DFAReporting.V4.Model.CustomFloodlightVariable.t()) | nil, @@ -64,9 +67,11 @@ defmodule GoogleApi.DFAReporting.V4.Model.Conversion do :quantity => String.t() | nil, :timestampMicros => String.t() | nil, :treatmentForUnderage => boolean() | nil, + :userIdentifiers => list(GoogleApi.DFAReporting.V4.Model.UserIdentifier.t()) | nil, :value => float() | nil } + field(:adUserDataConsent) field(:childDirectedTreatment) field(:customVariables, @@ -90,6 +95,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Conversion do field(:quantity) field(:timestampMicros) field(:treatmentForUnderage) + field(:userIdentifiers, as: GoogleApi.DFAReporting.V4.Model.UserIdentifier, type: :list) field(:value) end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/creative.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/creative.ex index eb1feaafc3..57e01b2f8e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/creative.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/creative.ex @@ -26,7 +26,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Creative do * `additionalSizes` (*type:* `list(GoogleApi.DFAReporting.V4.Model.Size.t)`, *default:* `nil`) - Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. * `skippable` (*type:* `boolean()`, *default:* `nil`) - Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. * `studioAdvertiserId` (*type:* `String.t`, *default:* `nil`) - Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this creative. This is a required field. Applicable to all creative types. + * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Required. Advertiser ID of this creative. This is a required field. Applicable to all creative types. * `size` (*type:* `GoogleApi.DFAReporting.V4.Model.Size.t`, *default:* `nil`) - Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. * `autoAdvanceImages` (*type:* `boolean()`, *default:* `nil`) - Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. @@ -42,7 +42,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Creative do * `requiredFlashPluginVersion` (*type:* `String.t`, *default:* `nil`) - The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. * `thirdPartyUrls` (*type:* `list(GoogleApi.DFAReporting.V4.Model.ThirdPartyTrackingUrl.t)`, *default:* `nil`) - Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. * `customKeyValues` (*type:* `list(String.t)`, *default:* `nil`) - Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - * `name` (*type:* `String.t`, *default:* `nil`) - Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. + * `name` (*type:* `String.t`, *default:* `nil`) - Required. Name of the creative. This must be less than 256 characters long. Applicable to all creative types. * `backupImageFeatures` (*type:* `list(String.t)`, *default:* `nil`) - List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. * `progressOffset` (*type:* `GoogleApi.DFAReporting.V4.Model.VideoOffset.t`, *default:* `nil`) - Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. * `backupImageClickThroughUrl` (*type:* `GoogleApi.DFAReporting.V4.Model.CreativeClickThroughUrl.t`, *default:* `nil`) - Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. @@ -58,7 +58,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Creative do * `companionCreatives` (*type:* `list(String.t)`, *default:* `nil`) - List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. * `backupImageTargetWindow` (*type:* `GoogleApi.DFAReporting.V4.Model.TargetWindow.t`, *default:* `nil`) - Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. * `thirdPartyBackupImageImpressionsUrl` (*type:* `String.t`, *default:* `nil`) - Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. + * `type` (*type:* `String.t`, *default:* `nil`) - Required. Type of this creative. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. * `creativeFieldAssignments` (*type:* `list(GoogleApi.DFAReporting.V4.Model.CreativeFieldAssignment.t)`, *default:* `nil`) - Creative field assignments for this creative. Applicable to all creative types. * `requiredFlashVersion` (*type:* `integer()`, *default:* `nil`) - The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. * `active` (*type:* `boolean()`, *default:* `nil`) - Whether the creative is active. Applicable to all creative types. diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/floodlight_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/floodlight_configuration.ex index 7dec6df2a2..9de03efd44 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/floodlight_configuration.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/floodlight_configuration.ex @@ -27,7 +27,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.FloodlightConfiguration do * `analyticsDataSharingEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether advertiser data is shared with Google Analytics. * `customViewabilityMetric` (*type:* `GoogleApi.DFAReporting.V4.Model.CustomViewabilityMetric.t`, *default:* `nil`) - Custom Viewability metric for the floodlight configuration. * `exposureToConversionEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting. - * `firstDayOfWeek` (*type:* `String.t`, *default:* `nil`) - Day that will be counted as the first day of the week in reports. This is a required field. + * `firstDayOfWeek` (*type:* `String.t`, *default:* `nil`) - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this floodlight configuration. This is a read-only, auto-generated field. * `idDimensionValue` (*type:* `GoogleApi.DFAReporting.V4.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field. * `inAppAttributionTrackingEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether in-app attribution tracking is enabled. diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/measurement_partner_advertiser_link.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/measurement_partner_advertiser_link.ex index cf13120bc0..4bec48d13e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/measurement_partner_advertiser_link.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/measurement_partner_advertiser_link.ex @@ -21,9 +21,9 @@ defmodule GoogleApi.DFAReporting.V4.Model.MeasurementPartnerAdvertiserLink do ## Attributes - * `linkStatus` (*type:* `String.t`, *default:* `nil`) - . + * `linkStatus` (*type:* `String.t`, *default:* `nil`) - Status of the partner link. * `measurementPartner` (*type:* `String.t`, *default:* `nil`) - Measurement partner used for tag wrapping. - * `partnerAdvertiserId` (*type:* `String.t`, *default:* `nil`) - . + * `partnerAdvertiserId` (*type:* `String.t`, *default:* `nil`) - partner Advertiser Id. """ use GoogleApi.Gax.ModelBase diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/metric.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/metric.ex index 4cca8a14a2..f4ec8c307e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/metric.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/metric.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Metric do ## Attributes * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#metric. - * `name` (*type:* `String.t`, *default:* `nil`) - The metric name, e.g. dfa:impressions + * `name` (*type:* `String.t`, *default:* `nil`) - The metric name, e.g. impressions """ use GoogleApi.Gax.ModelBase diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/offline_user_address_info.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/offline_user_address_info.ex new file mode 100644 index 0000000000..aa51989c3d --- /dev/null +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/offline_user_address_info.ex @@ -0,0 +1,64 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo do + @moduledoc """ + Identify a user by name and address. + + ## Attributes + + * `city` (*type:* `String.t`, *default:* `nil`) - City of the address. + * `countryCode` (*type:* `String.t`, *default:* `nil`) - 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + * `hashedFirstName` (*type:* `String.t`, *default:* `nil`) - First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). + * `hashedLastName` (*type:* `String.t`, *default:* `nil`) - Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). + * `hashedStreetAddress` (*type:* `String.t`, *default:* `nil`) - The street address of the user hashed using SHA-256 hash function after normalization (lower case only). + * `postalCode` (*type:* `String.t`, *default:* `nil`) - Postal code of the user's address. + * `state` (*type:* `String.t`, *default:* `nil`) - State code of the address. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :city => String.t() | nil, + :countryCode => String.t() | nil, + :hashedFirstName => String.t() | nil, + :hashedLastName => String.t() | nil, + :hashedStreetAddress => String.t() | nil, + :postalCode => String.t() | nil, + :state => String.t() | nil + } + + field(:city) + field(:countryCode) + field(:hashedFirstName) + field(:hashedLastName) + field(:hashedStreetAddress) + field(:postalCode) + field(:state) +end + +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo do + def decode(value, options) do + GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_document.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_document.ex deleted file mode 100644 index 3a55f8f9e9..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_document.ex +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V4.Model.OrderDocument do - @moduledoc """ - Contains properties of a Planning order document. - - ## Attributes - - * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this order document. - * `advertiserId` (*type:* `String.t`, *default:* `nil`) - Advertiser ID of this order document. - * `amendedOrderDocumentId` (*type:* `String.t`, *default:* `nil`) - The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved. - * `approvedByUserProfileIds` (*type:* `list(String.t)`, *default:* `nil`) - IDs of users who have approved this order document. - * `cancelled` (*type:* `boolean()`, *default:* `nil`) - Whether this order document is cancelled. - * `createdInfo` (*type:* `GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the creation of this order document. - * `effectiveDate` (*type:* `Date.t`, *default:* `nil`) - - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this order document. - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocument". - * `lastSentRecipients` (*type:* `list(String.t)`, *default:* `nil`) - List of email addresses that received the last sent document. - * `lastSentTime` (*type:* `DateTime.t`, *default:* `nil`) - - * `orderId` (*type:* `String.t`, *default:* `nil`) - ID of the order from which this order document is created. - * `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID of this order document. - * `signed` (*type:* `boolean()`, *default:* `nil`) - Whether this order document has been signed. - * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this order document. - * `title` (*type:* `String.t`, *default:* `nil`) - Title of this order document. - * `type` (*type:* `String.t`, *default:* `nil`) - Type of this order document - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :accountId => String.t() | nil, - :advertiserId => String.t() | nil, - :amendedOrderDocumentId => String.t() | nil, - :approvedByUserProfileIds => list(String.t()) | nil, - :cancelled => boolean() | nil, - :createdInfo => GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t() | nil, - :effectiveDate => Date.t() | nil, - :id => String.t() | nil, - :kind => String.t() | nil, - :lastSentRecipients => list(String.t()) | nil, - :lastSentTime => DateTime.t() | nil, - :orderId => String.t() | nil, - :projectId => String.t() | nil, - :signed => boolean() | nil, - :subaccountId => String.t() | nil, - :title => String.t() | nil, - :type => String.t() | nil - } - - field(:accountId) - field(:advertiserId) - field(:amendedOrderDocumentId) - field(:approvedByUserProfileIds, type: :list) - field(:cancelled) - field(:createdInfo, as: GoogleApi.DFAReporting.V4.Model.LastModifiedInfo) - field(:effectiveDate, as: Date) - field(:id) - field(:kind) - field(:lastSentRecipients, type: :list) - field(:lastSentTime, as: DateTime) - field(:orderId) - field(:projectId) - field(:signed) - field(:subaccountId) - field(:title) - field(:type) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.OrderDocument do - def decode(value, options) do - GoogleApi.DFAReporting.V4.Model.OrderDocument.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.OrderDocument do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_documents_list_response.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_documents_list_response.ex deleted file mode 100644 index 21773b3b76..0000000000 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/order_documents_list_response.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse do - @moduledoc """ - Order document List Response - - ## Attributes - - * `kind` (*type:* `String.t`, *default:* `nil`) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocumentsListResponse". - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Pagination token to be used for the next list operation. - * `orderDocuments` (*type:* `list(GoogleApi.DFAReporting.V4.Model.OrderDocument.t)`, *default:* `nil`) - Order document collection - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :kind => String.t() | nil, - :nextPageToken => String.t() | nil, - :orderDocuments => list(GoogleApi.DFAReporting.V4.Model.OrderDocument.t()) | nil - } - - field(:kind) - field(:nextPageToken) - field(:orderDocuments, as: GoogleApi.DFAReporting.V4.Model.OrderDocument, type: :list) -end - -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse do - def decode(value, options) do - GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.OrderDocumentsListResponse do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement.ex index ffd0946a0a..597bba8e93 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement.ex @@ -29,6 +29,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Placement do * `keyName` (*type:* `String.t`, *default:* `nil`) - Key name of this placement. This is a read-only, auto-generated field. * `subaccountId` (*type:* `String.t`, *default:* `nil`) - Subaccount ID of this placement. This field can be left blank. * `lastModifiedInfo` (*type:* `GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the most recent modification of this placement. This is a read-only field. + * `conversionDomainOverride` (*type:* `GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride.t`, *default:* `nil`) - Optional. Conversion domain overrides for a placement. * `accountId` (*type:* `String.t`, *default:* `nil`) - Account ID of this placement. This field can be left blank. * `advertiserIdDimensionValue` (*type:* `GoogleApi.DFAReporting.V4.Model.DimensionValue.t`, *default:* `nil`) - Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. * `publisherUpdateInfo` (*type:* `GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t`, *default:* `nil`) - Information about the last publisher update. This is a read-only field. @@ -77,6 +78,8 @@ defmodule GoogleApi.DFAReporting.V4.Model.Placement do :keyName => String.t() | nil, :subaccountId => String.t() | nil, :lastModifiedInfo => GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t() | nil, + :conversionDomainOverride => + GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride.t() | nil, :accountId => String.t() | nil, :advertiserIdDimensionValue => GoogleApi.DFAReporting.V4.Model.DimensionValue.t() | nil, :publisherUpdateInfo => GoogleApi.DFAReporting.V4.Model.LastModifiedInfo.t() | nil, @@ -126,6 +129,11 @@ defmodule GoogleApi.DFAReporting.V4.Model.Placement do field(:keyName) field(:subaccountId) field(:lastModifiedInfo, as: GoogleApi.DFAReporting.V4.Model.LastModifiedInfo) + + field(:conversionDomainOverride, + as: GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride + ) + field(:accountId) field(:advertiserIdDimensionValue, as: GoogleApi.DFAReporting.V4.Model.DimensionValue) field(:publisherUpdateInfo, as: GoogleApi.DFAReporting.V4.Model.LastModifiedInfo) diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag_override.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_conversion_domain_override.ex similarity index 55% rename from clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag_override.ex rename to clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_conversion_domain_override.ex index a0f19cddf0..fb171dfab6 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/event_tag_override.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_conversion_domain_override.ex @@ -15,34 +15,35 @@ # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. -defmodule GoogleApi.DFAReporting.V35.Model.EventTagOverride do +defmodule GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride do @moduledoc """ - Event tag override information. + ## Attributes - * `enabled` (*type:* `boolean()`, *default:* `nil`) - Whether this override is enabled. - * `id` (*type:* `String.t`, *default:* `nil`) - ID of this event tag override. This is a read-only, auto-generated field. + * `conversionDomains` (*type:* `list(GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain.t)`, *default:* `nil`) - """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :enabled => boolean() | nil, - :id => String.t() | nil + :conversionDomains => + list(GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain.t()) | nil } - field(:enabled) - field(:id) + field(:conversionDomains, + as: GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain, + type: :list + ) end -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.EventTagOverride do +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride do def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.EventTagOverride.decode(value, options) + GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride.decode(value, options) end end -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.EventTagOverride do +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.PlacementConversionDomainOverride do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_single_conversion_domain.ex similarity index 58% rename from clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension.ex rename to clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_single_conversion_domain.ex index 11b2a1a6ea..05fea113be 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/dimension.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/placement_single_conversion_domain.ex @@ -15,34 +15,34 @@ # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. -defmodule GoogleApi.DFAReporting.V35.Model.Dimension do +defmodule GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain do @moduledoc """ - Represents a dimension. + ## Attributes - * `kind` (*type:* `String.t`, *default:* `nil`) - The kind of resource this is, in this case dfareporting#dimension. - * `name` (*type:* `String.t`, *default:* `nil`) - The dimension name, e.g. dfa:advertiser + * `conversionDomainId` (*type:* `String.t`, *default:* `nil`) - + * `conversionDomainValue` (*type:* `String.t`, *default:* `nil`) - """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :kind => String.t() | nil, - :name => String.t() | nil + :conversionDomainId => String.t() | nil, + :conversionDomainValue => String.t() | nil } - field(:kind) - field(:name) + field(:conversionDomainId) + field(:conversionDomainValue) end -defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V35.Model.Dimension do +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain do def decode(value, options) do - GoogleApi.DFAReporting.V35.Model.Dimension.decode(value, options) + GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain.decode(value, options) end end -defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V35.Model.Dimension do +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.PlacementSingleConversionDomain do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing.ex index b977efa54a..4bb68e5173 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.Pricing do @moduledoc """ - Pricing Information + ## Attributes diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing_schedule_pricing_period.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing_schedule_pricing_period.ex index d517639107..d52f30253f 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing_schedule_pricing_period.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/pricing_schedule_pricing_period.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.PricingSchedulePricingPeriod do * `endDate` (*type:* `Date.t`, *default:* `nil`) - * `pricingComment` (*type:* `String.t`, *default:* `nil`) - Comments for this pricing period. - * `rateOrCostNanos` (*type:* `String.t`, *default:* `nil`) - Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive. + * `rateOrCostNanos` (*type:* `String.t`, *default:* `nil`) - Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive. * `startDate` (*type:* `Date.t`, *default:* `nil`) - * `units` (*type:* `String.t`, *default:* `nil`) - Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive. """ diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/report_schedule.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/report_schedule.ex index 37ef5d20f4..ba90e50400 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/report_schedule.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/report_schedule.ex @@ -28,6 +28,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.ReportSchedule do * `repeatsOnWeekDays` (*type:* `list(String.t)`, *default:* `nil`) - List of week days "WEEKLY" on which scheduled reports should run. * `runsOnDayOfMonth` (*type:* `String.t`, *default:* `nil`) - Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month. * `startDate` (*type:* `Date.t`, *default:* `nil`) - + * `timezone` (*type:* `String.t`, *default:* `nil`) - The timezone when the report will run. """ use GoogleApi.Gax.ModelBase @@ -39,7 +40,8 @@ defmodule GoogleApi.DFAReporting.V4.Model.ReportSchedule do :repeats => String.t() | nil, :repeatsOnWeekDays => list(String.t()) | nil, :runsOnDayOfMonth => String.t() | nil, - :startDate => Date.t() | nil + :startDate => Date.t() | nil, + :timezone => String.t() | nil } field(:active) @@ -49,6 +51,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.ReportSchedule do field(:repeatsOnWeekDays, type: :list) field(:runsOnDayOfMonth) field(:startDate, as: Date) + field(:timezone) end defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.ReportSchedule do diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/reports_configuration.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/reports_configuration.ex index 939794141b..fb944588be 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/reports_configuration.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/reports_configuration.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.ReportsConfiguration do * `exposureToConversionEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting. * `lookbackConfiguration` (*type:* `GoogleApi.DFAReporting.V4.Model.LookbackConfiguration.t`, *default:* `nil`) - Default lookback windows for new advertisers in this account. - * `reportGenerationTimeZoneId` (*type:* `String.t`, *default:* `nil`) - Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. Acceptable values are: - "1" for "America/New_York" - "2" for "Europe/London" - "3" for "Europe/Paris" - "4" for "Africa/Johannesburg" - "5" for "Asia/Jerusalem" - "6" for "Asia/Shanghai" - "7" for "Asia/Hong_Kong" - "8" for "Asia/Tokyo" - "9" for "Australia/Sydney" - "10" for "Asia/Dubai" - "11" for "America/Los_Angeles" - "12" for "Pacific/Auckland" - "13" for "America/Sao_Paulo" - "16" for "America/Asuncion" - "17" for "America/Chicago" - "18" for "America/Denver" - "19" for "America/St_Johns" - "20" for "Asia/Dhaka" - "21" for "Asia/Jakarta" - "22" for "Asia/Kabul" - "23" for "Asia/Karachi" - "24" for "Asia/Calcutta" - "25" for "Asia/Pyongyang" - "26" for "Asia/Rangoon" - "27" for "Atlantic/Cape_Verde" - "28" for "Atlantic/South_Georgia" - "29" for "Australia/Adelaide" - "30" for "Australia/Lord_Howe" - "31" for "Europe/Moscow" - "32" for "Pacific/Kiritimati" - "35" for "Pacific/Norfolk" - "36" for "Pacific/Tongatapu" + * `reportGenerationTimeZoneId` (*type:* `String.t`, *default:* `nil`) - Report generation time zone ID of this account. This is a required field that cannot be changed on update. Acceptable values are: - "1" for "America/New_York" - "2" for "Europe/London" - "3" for "Europe/Paris" - "4" for "Africa/Johannesburg" - "5" for "Asia/Jerusalem" - "6" for "Asia/Shanghai" - "7" for "Asia/Hong_Kong" - "8" for "Asia/Tokyo" - "9" for "Australia/Sydney" - "10" for "Asia/Dubai" - "11" for "America/Los_Angeles" - "12" for "Pacific/Auckland" - "13" for "America/Sao_Paulo" - "16" for "America/Asuncion" - "17" for "America/Chicago" - "18" for "America/Denver" - "19" for "America/St_Johns" - "20" for "Asia/Dhaka" - "21" for "Asia/Jakarta" - "22" for "Asia/Kabul" - "23" for "Asia/Karachi" - "24" for "Asia/Calcutta" - "25" for "Asia/Pyongyang" - "26" for "Asia/Rangoon" - "27" for "Atlantic/Cape_Verde" - "28" for "Atlantic/South_Georgia" - "29" for "Australia/Adelaide" - "30" for "Australia/Lord_Howe" - "31" for "Europe/Moscow" - "32" for "Pacific/Kiritimati" - "35" for "Pacific/Norfolk" - "36" for "Pacific/Tongatapu" """ use GoogleApi.Gax.ModelBase diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/tag_setting.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/tag_setting.ex index 256a01daf1..7d5ee34c5e 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/tag_setting.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/tag_setting.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.TagSetting do ## Attributes * `additionalKeyValues` (*type:* `String.t`, *default:* `nil`) - Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field. - * `includeClickThroughUrls` (*type:* `boolean()`, *default:* `nil`) - Whether static landing page URLs should be included in the tags. This setting applies only to placements. + * `includeClickThroughUrls` (*type:* `boolean()`, *default:* `nil`) - Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site. * `includeClickTracking` (*type:* `boolean()`, *default:* `nil`) - Whether click-tracking string should be included in the tags. * `keywordOption` (*type:* `String.t`, *default:* `nil`) - Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. """ diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/targetable_remarketing_list.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/targetable_remarketing_list.ex index c57c6a38a0..872b494a46 100644 --- a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/targetable_remarketing_list.ex +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/targetable_remarketing_list.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DFAReporting.V4.Model.TargetableRemarketingList do @moduledoc """ - Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource. + Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to facilitate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource. ## Attributes diff --git a/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/user_identifier.ex b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/user_identifier.ex new file mode 100644 index 0000000000..f5bb7001d9 --- /dev/null +++ b/clients/dfa_reporting/lib/google_api/dfa_reporting/v4/model/user_identifier.ex @@ -0,0 +1,52 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DFAReporting.V4.Model.UserIdentifier do + @moduledoc """ + User identifying information. Exactly one type of identifier must be specified. + + ## Attributes + + * `addressInfo` (*type:* `GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo.t`, *default:* `nil`) - Address information. + * `hashedEmail` (*type:* `String.t`, *default:* `nil`) - Hashed email address using SHA-256 hash function after normalization. + * `hashedPhoneNumber` (*type:* `String.t`, *default:* `nil`) - Hashed phone number using SHA-256 hash function after normalization (E164 standard). + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :addressInfo => GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo.t() | nil, + :hashedEmail => String.t() | nil, + :hashedPhoneNumber => String.t() | nil + } + + field(:addressInfo, as: GoogleApi.DFAReporting.V4.Model.OfflineUserAddressInfo) + field(:hashedEmail) + field(:hashedPhoneNumber) +end + +defimpl Poison.Decoder, for: GoogleApi.DFAReporting.V4.Model.UserIdentifier do + def decode(value, options) do + GoogleApi.DFAReporting.V4.Model.UserIdentifier.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.DFAReporting.V4.Model.UserIdentifier do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end