google / if-this-then-ad

☀️ A game changer in rule-based marketing. Run marketing campaigns based on real world events.
Apache License 2.0
75 stars 13 forks source link

Unusable. Can't change project number #133

Closed talazriel closed 1 year ago

talazriel commented 1 year ago

When trying to deploy, it's not possible to change the project number on apps script project settings. The error received is: You cannot switch to a Cloud Platform project outside the script owner's Cloud Organization.

We do not recognize the default project number (120857752170) and do not have access to it.

When syncing with the API this is the error received: "error": { "code": 403, "message": "Display & Video 360 API has not been used in project 120857752170 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/displayvideo.googleapis.com/overview?project=120857752170 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", "status": "PERMISSION_DENIED",

paranerd commented 1 year ago

1) The error "You cannot switch to a Cloud Platform project outside the script owner's Cloud Organization" indicates that the owner of the script is not part of the Cloud project's organization. This usually happens when mixing private and corporate accounts

2) Every Apps Script has a default project assigned to it and in order to use the DV360 API you need to change it to one that you control

So as far as I can see everything is working as expected. Hope this helps you solve the issue!

talazriel commented 1 year ago

No. it didnt