googleads / googleads-python-lib

The Python client library for Google's Ads APIs
Apache License 2.0
681 stars 974 forks source link

Can't complete all the steps for the test network creation #505

Closed MilovanovM closed 5 months ago

MilovanovM commented 2 years ago

According to the code sample, after the test network is created I can sign in to the UI, but the URL http://www.google.com/admanager/main?networkCode=%s points to 404

MilovanovM commented 2 years ago

Also, the comment in the same sample says:

You do not need to have an Ad Manager account to run this example, but you do need to have a Google account

but the LoadFromStorage method reads an Ad Manager account's config

christopherseeley commented 2 years ago

Looks like the URL is out of date, can you try https://admanager.google.com ? Also, if you called makeTestNetwork while authenticating with a Service Account then you'll need to add your Google account to the network in order to log in to the UI. You can do so by calling UserService.createUsers. You can assign the system-defined Administrator role by setting roleId to -1.