Giter VIP home page Giter VIP logo

Comments (5)

dklimkin avatar dklimkin commented on May 14, 2024

You already set it here:

credentials.set_credential(:client_customer_id, load_master_mcc_account)

what you need is to skip use_mcc call, change

result = adwords.use_mcc {service.get(selector)}

to

result = service.get(selector)

We need to update examples for this and restrict calls w/o CID in the adwords gem.

from google-api-ads-ruby.

vladanm avatar vladanm commented on May 14, 2024

Thank you for quick response, unfortunately nothing changed.
I still having the same error even without 'adwords.use_mcc'

from google-api-ads-ruby.

vladanm avatar vladanm commented on May 14, 2024

Just to add, using for example :CampaignService with appropriate selector works ok on master account (it does not have any campaigns tho) and i tried couple of more services.
Only service that gives this error is :ManagedCustomerService.
With and without adwords.use_mcc

from google-api-ads-ruby.

dklimkin avatar dklimkin commented on May 14, 2024

Strange, as there is no special handling for MCS in the library (except to use_mcc())

Can you point us to the exact code you are using?

from google-api-ads-ruby.

vladanm avatar vladanm commented on May 14, 2024

Actualy your suggestion worked. Last night, i was to tired and made some mistakes.
Thank you Danial

p.s. Rails example, adwords_on_rails might need some work, seems outdated, no Gemfile etc. Just saying :)

from google-api-ads-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.