adwords_api | Adwords API. Originally forked

 by   chromeragnarok Ruby Version: Current License: Apache-2.0

kandi X-RAY | adwords_api Summary

kandi X-RAY | adwords_api Summary

adwords_api is a Ruby library. adwords_api has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Welcome to the next generation Google-developed Ruby client library for the AdWords and DoubleClick Ad Exchange Buyer API!. Please note that this is an early PREVIEW of the client library, still under development. It contains full support for v13, v200909, v201003, v201008 and v201101, with full stubs, and a simplified programming interface that lets you handle everything in native Ruby collections, instead of forcing you to deal with SOAP library-generated objects.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              adwords_api has a low active ecosystem.
              It has 7 star(s) with 2 fork(s). There are no watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              adwords_api has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of adwords_api is current.

            kandi-Quality Quality

              adwords_api has no bugs reported.

            kandi-Security Security

              adwords_api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              adwords_api is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              adwords_api releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of adwords_api
            Get all kandi verified functions for this library.

            adwords_api Key Features

            No Key Features are available at this moment for adwords_api.

            adwords_api Examples and Code Snippets

            No Code Snippets are available at this moment for adwords_api.

            Community Discussions

            QUESTION

            cannot retrieve access token for oauth2
            Asked 2018-May-15 at 06:16

            I am trying to get an Oauth2 access token to use adwords api. I am using google-api-ads-ruby and trying to follow the instruction here, https://github.com/googleads/google-api-ads-ruby/wiki/API-access-using-own-credentials-(installed-application-flow). I have developer token, client id, secret, and every other info inserted into adwords_api.yml. And when I run setup_oauth2.rb it displays as below :

            ...

            ANSWER

            Answered 2018-May-15 at 06:16

            The way Oauth2 works is that it needs to know where to return the authentication to. This is done by defining a Redirect URI.

            With browser based applications its easy to know where the authentication should be returned to. In this case it should go to a page on the website designed to handle the response form the authentication server.

            With installed applications thats a little harder becouse there is no website to return to so no way of knowing an exact ip address where to send it to. In this case google creates two standard redirect uris that you can use.

            urn:ietf:wg:oauth:2.0:oob and and http://localhost

            Explanation of your error

            In your case if you read the error message you are sending a Native redirect uri to a browser client id.

            Your issue:

            Source https://stackoverflow.com/questions/50341257

            QUESTION

            How do I fetch best performing ads from adwords api
            Asked 2017-Aug-03 at 16:30

            I am trying to fetch top performing ads using attributes like impressions, clickx etc

            I tried google adwords reporting api first, but reporting api do not support ORDER BY clause. And I couldn't find any AdsService in the service list. Closest I could find AdGroupsAd which seeems do not have attributes like impressions clicks, etc. Am I missing something ?

            ...

            ANSWER

            Answered 2017-Aug-03 at 16:30

            AFAIK there's no way to have the Adwords API give you any entities ordered by stats. The reports don't support any ordering. With the services, you can order by attributes (e.g. alphabetically by headline for text ads), but not performance metrics.

            So the only way is to download the whole report and do the ordering on your end.

            Source https://stackoverflow.com/questions/45464224

            QUESTION

            Setting up oAuth with the Google AdWords API
            Asked 2017-Apr-10 at 07:54

            I am attempting to get get a Ruby on Rails project that uses the Google AdWords API.

            What I did so far, following the steps in this guide:

            • I created an AdWords Manager account.
            • I created a test account that is part of the AdWords Manager account.
            • I set up the Ruby client library in my Rails project.
            • I then attempted to set up OAuth2 authentication with the example code from the guide.

            However since the guide was written (and the video version of the guide was made) it seems that the interface has changed. I am able to create a Client ID client_secrets.json-file, or a Service Account .json file. I am able to export these and read the settings from .

            • I added the required settings, using an OAUTH2_SERVICE_ACCOUNT .json file.

            Now, when attempting to connect, I get back the AdwordsAPIException AuthenticationError.NOT_ADS_USER.

            I therefore know that the actual authentication works. However, the authorization does not.

            How can I turn on AdWords API support for the oAuth credentials from my google accounts? The Google Credentials Console lists many APIs that you can turn on, but the AdWords API is not in there. The AdWords guide does not mention turning on an API at all, and only tells you to create a new Credential.

            What is going on here?

            ...

            ANSWER

            Answered 2017-Apr-10 at 07:54

            The Adwords API does not need to be added to your project in the Google Cloud console (it's always enabled)—as indicated by the error message, the actual problem lies in the fact that your service account does not have access to any Adwords accounts.

            As a matter of fact, the only way to use service accounts to authenticate against the Adwords API is when you're also using a G Suite domain (see the corresponding documentation, section "Prerequisites".

            If you have a G Suite domain, you'll need to

            • Enable "G Suite Domain-wide Delegation" on your service account key

            • Add the project ID of the Google cloud project to your G Suite domain's authorized API client list

            • Use your service account to impersonate any user from your G suite domain that has Adwords access

            As you can see, it's quite an involved process. My recommendation (that is shared by the above article) is to use an OAuth2 installed application flow for any user that has Adwords access. This requires to store the obtained refresh token on your end, but is more flexible (and arguably safer) than a delegation-enabled service account and easier to set up.

            Source https://stackoverflow.com/questions/43211120

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install adwords_api

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/chromeragnarok/adwords_api.git

          • CLI

            gh repo clone chromeragnarok/adwords_api

          • sshUrl

            git@github.com:chromeragnarok/adwords_api.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link