rudder-server icon indicating copy to clipboard operation
rudder-server copied to clipboard

Google Adwords Remarketing List 404 error

Open erikcw opened this issue 1 year ago • 1 comments

I'm trying to onboard data through Rudderstack open source to a Google Adwords Remarketing List.

When I view the Live Events, I see nothing but 404 errors. Interestingly, if I post the same data through the Rudderstack commercial edition, it works just fine. I'm guessing this has something to do with the developer-token or Authorization token.

{
  "response": "<!DOCTYPE html>\n<html lang=en>\n  <meta charset=utf-8>\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, width=device-width\">\n  <title>Error 404 (Not Found)!!1</title>\n  <style>\n    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n  </style>\n  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\n  <p><b>404.</b> <ins>That’s an error.</ins>\n  <p>The requested URL <code>/v13/customers/*CUSTOMER_ID*/offlineUserDataJobs?customerId=*CUSTOMER_ID*&amp;listId=*LIST_ID*</code> was not found on this server.  <ins>That’s all we know.</ins>\n",
  "firstAttemptedAt": "2023-06-14T16:26:04.185Z",
  "content-type": "text/html; charset=UTF-8"
}

Here is a sample payload:

[
    {
        "version": "1",
        "type": "REST",
        "method": "POST",
        "endpoint": "https://googleads.googleapis.com/v13/customers/*CUSTOMER_ID*/offlineUserDataJobs",
        "headers": {
            "Authorization": "Bearer ya29.a0AWY7CklVvSQZiO0tdRfmV6sWIrAN9xxfDbhzlEhgzhJ0jYmnm-ZuSWt4hfz_4I01y4txZm0HgkMaC-mBctLGUscQdD3Oh4r2t5AAQCXJsjbACWcettSPaxqT80nfthx2GR2_i7i9mW2oMFTlrhx92mLuGSZBaCgYKAfUSARMSFQG1tDrpwbC5KdZBRNAALn****************",
            "Content-Type": "application/json",
            "developer-token": "UZkP2EcI**********"
        },
        "params": {
            "listId": "*LIST_ID*",
            "customerId": "*CUSTOMER_ID*"
        },
        "body": {
            "JSON": {
                "operations": [
                    {
                        "create": {
                            "userIdentifiers": [
                                {
                                    "hashedEmail": "ffeed875d5d5a65e8bd86727896749b13e7bd3b1295fb5a81107356643075ed4"
                                },
                                {
                                    "hashedEmail": "ffdba782bebfe39161a27d8a7418c3cb5e6591afea250c4a628e740b754d4cb6"
                                },
                                {
                                    "hashedEmail": "ffce69da7a1322be79e7ee3e1584b710944062eef3a52ace9ddfec42cac0e08a"
                                },
                                {
                                    "hashedEmail": "ffb2ab4458abd5c784b0a59fdbf7d3085b34ecef2ba9aaa92192aec07ec91960"
                                },
                                {
                                    "hashedEmail": "ffb2ab4458abd5c784b0a59fdbf7d3085b34ecef2ba9aaa92192aec07ec91960"
                                },
                                {
                                    "hashedEmail": "ff973a7375e14e6602eee1cfcf94ba594606bd51f26e915a67abefd15908519c"
                                },
                                {
                                    "hashedEmail": "ff9611787096b11599bfd8607dd1e75cd69318de0d5433944bc7f1b88cf97edf"
                                },
                                {
                                    "hashedEmail": "ff90094e372bd15b75b308c5f2c03f6f80afdfe9b402f0b8480a85aa458ef431"
                                },
                                {
                                    "hashedEmail": "ff8bcb33966e962665fca941a0bf263599c9a5151dc64827e4cf5fb0eff92503"
                                },
                                {
                                    "hashedEmail": "ff527213c2e21b16aeaecdcd61a0693506d34d59cfbde0ab27f7423699001203"
                                },
                                {
                                    "hashedEmail": "ff5227a7c70db00107c6202663d7974fb738f8216a4b4876e11d3fe86e0d3ff8"
                                },
                                {
                                    "hashedEmail": "ff4b2fdfd6013facd2b6df8a6df3ca1a5b87ebe88b4f9d7e44ed0f3703ed1c59"
                                },
                                {
                                    "hashedEmail": "ff00719df6378e288b89a2560bf6c0c10d6911b9ed30928b5d9643b9538085ac"
                                },
                                {
                                    "hashedEmail": "fedc424fef92866151c348a8b74b5ca1583d1cd4960e9d7e9fca224bab4c80f2"
                                },
                                {
                                    "hashedEmail": "feda3b3144518ec4f53cd9e8008f769344d4b2d3804c4c60baf3494d49c4124a"
                                },
                                {
                                    "hashedEmail": "feb8fc89d6797263dd065b4579826f6f94a86581227dcc47ff27e3fe55dc4012"
                                },
                                {
                                    "hashedEmail": "feafc7cff0828da921b894a9aff9fdd6d16fb1208549729ee82d1b14ddee9edc"
                                },
                                {
                                    "hashedEmail": "fea714c500b9b8f3482229a045f1f8f5909763d72b40f5665d506bf6b974a626"
                                },
                                {
                                    "hashedEmail": "fe98a7ad48bfd9dfad78ab93862d8968dfd76b42f41e9fbd73ebf4ebc8a8ac78"
                                },
                                {
                                    "hashedEmail": "fe8fdc80d9c4d464814cb45b00077efa1346fd4478795ead7f8413cdac0408bc"
                                }
                            ]
                        }
                    },
                    {
                        "create": {
                            "userIdentifiers": [
                                {
                                    "hashedEmail": "fe6958c7b80cb06f88856b2ea2857756f74ab57b683b441325dcbf0a228be506"
                                },
                                {
                                    "hashedEmail": "fe60c5df8d7fe712314aa9d6d1fe64a3c4b75a9f7cfc68e496fce4d1fa1d5eb8"
                                },
                                {
                                    "hashedEmail": "fe4cfcb6e0ca3584641d07e30819e3a5cf42fecbfe012c42ce9ece78c498a222"
                                },
                                {
                                    "hashedEmail": "fdfdda4e3f122d186bbcc6344472f4ac32178b27aa63d27ca893438b6fa26ce0"
                                },
                                {
                                    "hashedEmail": "fdfdda4e3f122d186bbcc6344472f4ac32178b27aa63d27ca893438b6fa26ce0"
                                },
                                {
                                    "hashedEmail": "fdc862a67b387ac128db0b5e78cebf67e30c29d4447e5ad6d61d49f29122e631"
                                },
                                {
                                    "hashedEmail": "fda991d2373d0f494f4aac50cf91779988d45b8eeeba6b0c37b0aa6234707048"
                                },
                                {
                                    "hashedEmail": "fd65acb4e9d184ab9bbc76cb905b72f786bf93d404218ce8ce1293da97a5cd54"
                                },
                                {
                                    "hashedEmail": "fd61170b751195a68948ea9623a3b1431d9f7a21867fa5f023f91adc16e15879"
                                },
                                {
                                    "hashedEmail": "fd31968e6f90b5824c1485c36310125d69eb2288b9f660601fdc0a30f09a84c6"
                                },
                                {
                                    "hashedEmail": "fd1580f6a46f5db72e6478528489d7abdcaad10744bdc36f9aa2f52c9f36f5d4"
                                },
                                {
                                    "hashedEmail": "fcf8386e46e7d45f67557eaa8088c91671166d0ddf4e139ee35f9976b44d3456"
                                },
                                {
                                    "hashedEmail": "fcf61510ec826d982f9f03ddaff0008dc01d07483b626090af777e2c3acf0151"
                                },
                                {
                                    "hashedEmail": "fcf61510ec826d982f9f03ddaff0008dc01d07483b626090af777e2c3acf0151"
                                },
                                {
                                    "hashedEmail": "fcf542a6870608c17484973217f3700274faa79aa9644c2687c74bb8da7d1c60"
                                },
                                {
                                    "hashedEmail": "fce5561aafa4c43c95659934e711fffc02a2cdd2dc4d6aa984c9c2c0f5e2463e"
                                },
                                {
                                    "hashedEmail": "fcc8e03f7f3f081ce36bde95f569f125e512ff159eb4b730008e4db516ab47e1"
                                },
                                {
                                    "hashedEmail": "fca9332ab880dcb47cd4ca8b49bf0ed57981a2409a58a37557c3b04791c5a77f"
                                },
                                {
                                    "hashedEmail": "fc97831b482c09c24aafb9fa80924c818a7ff7ebb74e558311c6c8cd85a6f457"
                                },
                                {
                                    "hashedEmail": "fc8f8979e31545ab6421ff2be960d0056d12017edfe19e4bcd319a1fe0d33a5b"
                                }
                            ]
                        }
                    }
                ]
            },
            "JSON_ARRAY": {},
            "XML": {},
            "FORM": {}
        },
        "files": {}
    }
]

erikcw avatar Jun 14 '23 16:06 erikcw

Hi @erikcw what is the source of your data and which RudderStack SDK are you using? Note: Google Adwords Marketing List integration is available in Cloud mode, server-side. On first look, to me it seems that you're trying to directly send data to Google Cloud API and using their credentials, so would you mind checking in case those Google Cloud credentials are mixed up with your RudderStack credentials?

gitcommitshow avatar Jul 21 '23 17:07 gitcommitshow