Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service account not working with version 0.2.13 #163

Open
webmarcus opened this issue Sep 8, 2024 · 1 comment
Open

Service account not working with version 0.2.13 #163

webmarcus opened this issue Sep 8, 2024 · 1 comment

Comments

@webmarcus
Copy link

Description: I encountered an issue with line_item_manager when trying to authenticate using a service account after downloading version 0.2.13. The following command fails with an authentication error related to accessing the service account:

line_item_manager create my_config.yml
--dry-run
--verbose
--private-key-file gam_creds.json
--skip-auto-archive
--bidder-code rubicon
--bidder-code ix

Error Message:

Error: Check your network code and permissions. Not able to successfully access your service account.

I verified that the service account is correctly set up, and authentication works when tested separately through a Python script. However, the issue persists when using line_item_manager v0.2.13.
I downgraded to version 0.2.12, and everything works as expected. It appears that the issue is introduced in v0.2.13, possibly due to the upgrade to Google Ad Manager API v202408 or other changes made in this version.

Steps to reproduce:

Download line_item_manager v0.2.13.
Attempt to create line items using a service account.
Receive the service account authentication error.
Workaround: Downgrading to v0.2.12 resolves the issue.

Could you please investigate this issue?

@dshore
Copy link
Collaborator

dshore commented Sep 23, 2024

@webmarcus I am a bit confused as v0.2.12 should not run at all due to the GAM API being deprecated. I will not be able to reproduce what you are experiencing. Can you post config and output with multiple '-v' like this '-v -v' to increase verbosity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants