I am trying to call Adwords Api from Apache Spark and found OfflineCredentials 
error.
I tried to hack several times but couldnt fix. Can you help.

I am using Apache Spark - 2.20
My sbt looks like -

    "org.slf4j" % "slf4j-api" % "1.7.25" % "provided",
    // https://mvnrepository.com/artifact/com.google.api-ads/ads-lib
    "com.google.api-ads" % "ads-lib" % "3.13.0" exclude(
      "commons-beanutils", "commons-beanutils"),

    // https://mvnrepository.com/artifact/com.google.api-ads/adwords-axis
    "com.google.api-ads" % "adwords-axis" % "3.13.0" 
exclude("commons-beanutils", "commons-beanutils"),
    "com.google.api-ads" % "adwords-appengine" % "3.13.0" 
exclude("servlet-api","servlet-api"),

    // https://mvnrepository.com/artifact/com.google.api-ads/ads-lib-axis
//    "com.google.api-ads" % "ads-lib-axis" % "3.12.0",
    // 
https://mvnrepository.com/artifact/com.google.http-client/google-http-client-jackson2
    "com.google.http-client" % "google-http-client-jackson2" % "1.23.0" 
exclude("jackson-core","com.fasterxml.jackson.core"),
    // https://mvnrepository.com/artifact/com.beust/jcommander
    "com.beust" % "jcommander" % "1.48",

    // Testing
    "org.scalatest" %% "scalatest" % scalaTestVersion % "test",

    "com.typesafe" % "config" % typesafeConfigVersion,

    // Spark
    "org.apache.spark" %% "spark-core" % sparkVersion % "provided",
    "org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
    "org.apache.spark" %% "spark-hive" % sparkVersion % "provided",

    "com.holdenkarau" %% "spark-testing-base" % sparkTestVersion % "test",
    "org.apache.spark" %% "spark-hive" % sparkVersion % "test",

    "commons-beanutils" % "commons-beanutils" % "1.9.3",
    "com.google.http-client" % "google-http-client-gson" % "1.22.0",
    "com.google.inject" % "guice" % "4.0",
    "com.google.inject.extensions" % "guice-assistedinject" % "4.0",
    "com.google.inject.extensions" % "guice-multibindings" % "4.0"



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3798c6b7-1fbb-4547-ae29-143f2c203598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Abhishek choudhary
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to