Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
Updating to v201809 of the adwords API
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatryx authored and christianblunden committed Jan 9, 2019
1 parent 11a945e commit 20ed8c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/adworj/conversion.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[clj-time.format :as tf]
[clojure.set :as s]
[clojure.string :as st])
(:import [com.google.api.ads.adwords.axis.v201806.cm ApiError RateExceededError ApiException OfflineConversionFeed OfflineConversionFeedReturnValue OfflineConversionFeedOperation OfflineConversionFeedServiceInterface ConversionTrackerCategory UploadConversion ConversionTrackerOperation ConversionTrackerServiceInterface Operator Selector]
(:import [com.google.api.ads.adwords.axis.v201809.cm ApiError RateExceededError ApiException OfflineConversionFeed OfflineConversionFeedReturnValue OfflineConversionFeedOperation OfflineConversionFeedServiceInterface ConversionTrackerCategory UploadConversion ConversionTrackerOperation ConversionTrackerServiceInterface Operator Selector]
[com.google.api.ads.adwords.axis.factory AdWordsServices]))


Expand Down
2 changes: 1 addition & 1 deletion src/adworj/customer.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns adworj.customer
(:import [com.google.api.ads.adwords.axis.v201806.mcm CustomerServiceInterface]
(:import [com.google.api.ads.adwords.axis.v201809.mcm CustomerServiceInterface]
[com.google.api.ads.adwords.axis.factory AdWordsServices]))

(defrecord Customer [currency-code customer-id date-time-zone descriptive-name tracking-url-template test-account?])
Expand Down
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.v201806 ReportDefinition ReportDefinitionReportType]
[com.google.api.ads.adwords.lib.jaxb.v201806 DownloadFormat]
[com.google.api.ads.adwords.lib.jaxb.v201806 DateRange Selector ReportDefinitionDateRangeType]
(:import [com.google.api.ads.adwords.lib.jaxb.v201809 ReportDefinition ReportDefinitionReportType]
[com.google.api.ads.adwords.lib.jaxb.v201809 DownloadFormat]
[com.google.api.ads.adwords.lib.jaxb.v201809 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.v201806 ReportDownloader DetailedReportDownloadResponseException]
; [com.google.api.ads.adwords.axis.v201806.cm ReportDefinitionServiceInterface]
[com.google.api.ads.adwords.lib.utils.v201809 ReportDownloader DetailedReportDownloadResponseException]
; [com.google.api.ads.adwords.axis.v201809.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.v201806 ReportDefinitionDateRangeType]
[com.google.api.ads.adwords.lib.jaxb.v201806 ReportDefinitionReportType]))
(:import [com.google.api.ads.adwords.lib.jaxb.v201809 ReportDefinitionDateRangeType]
[com.google.api.ads.adwords.lib.jaxb.v201809 ReportDefinitionReportType]))

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

0 comments on commit 20ed8c2

Please sign in to comment.