Giter VIP home page Giter VIP logo

Comments (11)

apurvis avatar apurvis commented on July 26, 2024

i would tend to think that's a bad idea... there's so much common code that is so important just in terms of sending the right HTTP requests, authorizations, etc...

the real answer is to just get incredibly solid VCR specs in the repo. i added specs for almost everything i touched, but i'm sure there's a few holes here and there.

from appnexusapi.

joshuawscott avatar joshuawscott commented on July 26, 2024

It should be possible to have a common gem that wraps up the HTTP request and authorization stuff. I think it would be a lot smoother if there were a buyer and seller side gem, then you wouldn't have to bug us to get changes made that we are unable to really test (I get that VCR testing gets around this, but we still are unable to verify that it works, or work on fixing anything that might come up in the seller-side code)

from appnexusapi.

apurvis avatar apurvis commented on July 26, 2024

well, FWIW i am leaving my engagement at the place i updated the gem for on friday, so there won't be any more changes coming from me. i'm also pretty happy with where the gem is right now.

in general i feel you on why it would be nice, and if the scope of the project were larger i would endorse that approach. but this is just a simple wrapper for some REST API calls - do you really want to be managing 3 separate libraries (core, seller side, buyer side) for that? it's a lot of overhead for very minor return IMHO.

from appnexusapi.

apurvis avatar apurvis commented on July 26, 2024

also i think a lot of the seller side stuff did not come from me - it's code added by other people over the years. i am very surprised that our account has seller side access, given that we are not a seller.

from appnexusapi.

joshuawscott avatar joshuawscott commented on July 26, 2024

I think that's a fair point, unless @mcmoyer really wants to do the work of splitting it up 😜

from appnexusapi.

infinite-monkeys avatar infinite-monkeys commented on July 26, 2024

I’ve been communicating with Appnexus about a test system with permissions for both buyer and seller sides. It does not look like this will be available.

I'm not surprised... given that they have now consolidated to one, and synchronize production data to it, it'll probably be hard to get access to that. But you could ask about the older (unsupported, afaik, but it appears to have been updated to v1.17) sand.api.appnexus.com.

By the way, is there any specs that still need recording? I'll probably be taking a look at the version we're using to make sure we're still compatible with v1.18 so I might be able to record some things.

from appnexusapi.

mcmoyer avatar mcmoyer commented on July 26, 2024

the sand.api.appnexus.com is what we used to use to test against, but it does seem that some of the tests are no longer working against that.

Something I didn’t mention in the first post was that our testing endpoint is api-test.adnxs.com, whereas you guys are using api-test.appnexus.com — one more thing to work around

from appnexusapi.

apurvis avatar apurvis commented on July 26, 2024

re: breaking changes coming - see: #23

from appnexusapi.

infinite-monkeys avatar infinite-monkeys commented on July 26, 2024

There was also a api-console.client-testing.adnxs.net before ...

per https://wiki.appnexus.com/display/api/Client+Testing+Environment , api-test.adnxs.com is for the ImpBus API, whereas api-test.appnexus.com is for the Console API

from appnexusapi.

mcmoyer avatar mcmoyer commented on July 26, 2024

just to keep you guys in the loop. I’m working on the updates for the v1.18 changes. I started with the creative service specs as thats our main service we use. The way the specs are running right now, it fails. The current specs reference the Advertiser service which we don’t have access to.

My feeling with VCR specs is that they should always be runnable…and that they should periodically be deleted and refreshed.

Maybe this could be solved by having ImpBus specs and Console API specs?

from appnexusapi.

mcmoyer avatar mcmoyer commented on July 26, 2024

Also realizing that the endpoints aren’t a one for one analogue

Viewing a creative on ImpBus
https://api.adnxs.com/creative/MEMBER_ID/CREATIVE_ID

Viewing a creative on Console API
https://api.appnexus.com/creative?id=CREATIVE_ID

from appnexusapi.

Related Issues (3)

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.