Skip to content

Commit

Permalink
0.4.1-SNAPSHOT - update to v201710 reporting api
Browse files Browse the repository at this point in the history
  • Loading branch information
pingles committed Nov 17, 2017
1 parent 0b298cf commit 68346b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(defproject adworj "0.4.0"
(defproject adworj "0.4.1-SNAPSHOT"
:description "Clojure library to ease interacting with the Google AdWords API"
:url "https://github.com/uswitch/adworj"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.csv "0.1.2"]
[com.google.api-ads/ads-lib "3.5.0"]
[com.google.api-ads/adwords-axis "3.5.0"]
[com.google.api-ads/ads-lib "3.9.0"]
[com.google.api-ads/adwords-axis "3.9.0"]
[clj-time "0.8.0"]
[joda-time "2.6"]])
10 changes: 5 additions & 5 deletions src/adworj/reporting.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
[clojure.set :as set]
[clojure.java.io :as io]
[clojure.string :as s])
(:import [com.google.api.ads.adwords.lib.jaxb.v201705 ReportDefinition ReportDefinitionReportType]
[com.google.api.ads.adwords.lib.jaxb.v201705 DownloadFormat]
[com.google.api.ads.adwords.lib.jaxb.v201705 DateRange Selector ReportDefinitionDateRangeType]
(:import [com.google.api.ads.adwords.lib.jaxb.v201710 ReportDefinition ReportDefinitionReportType]
[com.google.api.ads.adwords.lib.jaxb.v201710 DownloadFormat]
[com.google.api.ads.adwords.lib.jaxb.v201710 DateRange Selector ReportDefinitionDateRangeType]
[com.google.api.ads.adwords.lib.client AdWordsSession]
[com.google.api.ads.adwords.lib.client.reporting ReportingConfiguration$Builder]
[com.google.api.client.auth.oauth2 Credential]
[com.google.api.ads.adwords.lib.utils.v201705 ReportDownloader DetailedReportDownloadResponseException]
[com.google.api.ads.adwords.axis.v201705.cm ReportDefinitionServiceInterface]
[com.google.api.ads.adwords.lib.utils.v201710 ReportDownloader DetailedReportDownloadResponseException]
[com.google.api.ads.adwords.axis.v201710.cm ReportDefinitionServiceInterface]
[com.google.api.ads.adwords.axis.factory AdWordsServices]
[java.util.zip GZIPInputStream]))

Expand Down
4 changes: 2 additions & 2 deletions test/adworj/reporting_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
(:require [adworj.reporting :as r]
[clj-time.format :as tf]
[clojure.test :refer :all])
(:import [com.google.api.ads.adwords.lib.jaxb.v201609 ReportDefinitionDateRangeType]
[com.google.api.ads.adwords.lib.jaxb.v201609 ReportDefinitionReportType]))
(:import [com.google.api.ads.adwords.lib.jaxb.v201710 ReportDefinitionDateRangeType]
[com.google.api.ads.adwords.lib.jaxb.v201710 ReportDefinitionReportType]))

(deftest report-specification-test
(let [d (r/report-definition r/search-query-performance
Expand Down

0 comments on commit 68346b8

Please sign in to comment.