Lag in Google Ads API Rename Account Name

149 views
Skip to first unread message

Vijay Bang

unread,
Mar 29, 2022, 5:52:28 AM3/29/22
to Google Ads API and AdWords API Forum
Hi,

We are facing lag in renaming google account using google ads api.
New Account Name is not getting reflected although call is Successful.

Checking after 5 mins Account name got reflected.

curl --location --request POST 'https://googleads.googleapis.com/v10/customers/1807819439:mutate?access_token=${access_token}' \
--header 'login-customer-id: 7766387250' \
--header 'developer-token: ${developer_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "validate_only": false,
    "operation": {
        "update": {
            "resourceName": "customers/1807819439",
            "descriptiveName": "Test dukan-rem account"
        },
        "updateMask" : "descriptiveName"
    },
    "customer_id": "1807819439"
}'

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 11:44:59 PM3/29/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Could you confirm if the lag in the update is observed through the Google Ads UI or the Google Ads API?

I asked because through a separate Google Ads API request, you should be able to perform a succeeding customer report request to check whether the updates to the said customer have already reflected.

For lags observed in the Google Ads UI, you may clarify this with the Google Ads Product support team, via this link.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsSJt:ref

Vijay Bang

unread,
Mar 30, 2022, 4:44:49 AM3/30/22
to Google Ads API and AdWords API Forum
Hi,

Lag is present in account rename Google Ads API.
My Concern is, If we are  updating Account using Google Ads API then Updated Account details should relfect is in google ads API fetch.
Currently Lag is present in both customer as well as customer_client API.

Also let us know, how much amount of lag can occur to reflect in this both fetch API's after Account rename

Google Ads API Forum Advisor

unread,
Mar 30, 2022, 8:23:45 PM3/30/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Thank you for the reply. I am also a member of the Google Ads API team and let me provide support to your concern.

I tried changing the name of my test client and requested a report to get the updated name, however, I wasn't able to replicate the issue on my end as the update reflected immediately. With this, could you provide the following details to further investigate?
You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsSJt:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Apr 1, 2022, 12:47:08 AM4/1/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Thank you for providing more details to your concern.

I would like to inform you that I am going to remove your latest post as it contains generated logs. However, allow me to paste below your reply without attached files:

"As requested, sharing more details for futher investigation.
Please find log attachment as below
  • Update Rename Call : "customer_rename_post_call.txt"
  • Fetch Call for customer_client, inital report: "customer_rename_fetch_call_not_updated.txt"
  • Fetch Call for customer_client, updated name report: "cutomer_rename_fetch_call_updated.txt"

This time it took around 20 mins to get updated in report, Let us know in case more details required"

Allow me to raise the issue to my team to further investigate. Rest assured that we will provide updates when available.

Google Ads API Forum Advisor

unread,
Apr 1, 2022, 1:32:23 PM4/1/22
to adwor...@googlegroups.com, vijay...@onlinesales.ai
Hi Vijay,

Thanks for sharing all of this information. So far we've been unable to reproduce this behavior, so I wonder if there might be something network related going on. First, a couple questions:
  1. Does this behavior occur with other resources? For example campaigns, ad_groups, etc?
  2. Are you running these requests from a network that might have some kind of response caching enabled? If you test this from a different network, is the behavior different?
Thanks,
Ben, Google Ads API Team

ref:_00D1U1174p._5004Q2YsSJt:ref

Vijay Bang

unread,
Apr 4, 2022, 1:34:02 AM4/4/22
to Google Ads API and AdWords API Forum
Hi Google Team,

Replying inline to the questions


On Friday, April 1, 2022 at 11:02:23 PM UTC+5:30 adsapi wrote:
Hi Vijay,

Thanks for sharing all of this information. So far we've been unable to reproduce this behavior, so I wonder if there might be something network related going on. First, a couple questions:
  1. Does this behavior occur with other resources? For example campaigns, ad_groups, etc?
=> We havn't yet identified such  behavior in other resources like campaigns
  1. Are you running these requests from a network that might have some kind of response caching enabled? If you test this from a different network, is the behavior different?
=> No We are not doing these requests from any caching enabled network, Also We are calling directly to the google ads api through curl command as shared above, also response-Id in header is different in each subsequent requests.

Please let us know in case more details are required.

Google Ads API Forum Advisor

unread,
Apr 4, 2022, 2:39:59 PM4/4/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Thanks for confirming this. Just to double-check, does this for all of your accounts, or only specific ones? And does it happen consistently any time you update, or just occassionaly? I'm going to share these details internally to see if there's an explanation.

Best,

Vijay Bang

unread,
Apr 5, 2022, 9:17:37 AM4/5/22
to Google Ads API and AdWords API Forum
Hi Google Team,

This issue is still present and happening very frequently for many accounts.

Google Ads API Forum Advisor

unread,
Apr 5, 2022, 2:38:16 PM4/5/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Thanks for confirming - we're looking into the issue and will follow up here with more details as soon as possible.

Vijay Bang

unread,
Apr 11, 2022, 12:16:07 AM4/11/22
to Google Ads API and AdWords API Forum
Hi Google Team,

any updates?

Google Ads API Forum Advisor

unread,
Apr 12, 2022, 10:33:59 AM4/12/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hi Vijay,

Apologies for the delay, I'm still coordinating internally to determine a root cause. I will follow up here as soon as I have more information.

Vijay Bang

unread,
May 9, 2022, 5:58:01 AM5/9/22
to Google Ads API and AdWords API Forum
Hi Google Team,

Any updates?
By when can we expect a fix here?  Adwords API are already deprecated now.

Google Ads API Forum Advisor

unread,
May 10, 2022, 12:01:16 PM5/10/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hello Vijay,

I'm taking over this thread from Ben. This is currently still under investigation. I'll continue to keep an eye on it.

Regards,
Google Logo
Nadine Wang
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsSJt:ref

Vijay Bang

unread,
Jun 20, 2022, 1:26:47 AM6/20/22
to Google Ads API and AdWords API Forum
Hi Google Team,

Any updates?
By when can we expect a fix here?

Google Ads API Forum Advisor

unread,
Jun 21, 2022, 9:14:55 AM6/21/22
to vijay...@onlinesales.ai, adwor...@googlegroups.com
Hello Vijay,

Thanks for checking in! Based on talking with the folks who are working on this, this appears to be quite challenging to resolve, and we don't have a date for when it will be resolved. There are multiple cases where this is happening. The case where accounts were going dormant and not being reflected in the query is now working. We're still working through resolving your use case.

Google Ads API Forum Advisor

unread,
Mar 21, 2023, 3:51:38 PM3/21/23
to adwor...@googlegroups.com, vijay...@onlinesales.ai
Hi Vijay,

Apologies for the delayed response here. I found a cause for this issue, and have a strategy for you to avoid the delay when updating client account details.

First, here's the cause. Say, for example, you have an account tree like the below:

M0 -> M1 -> M2 -> C0

Where each M node is a manager, and the C node is a client. In your requests to update the name of C0, it appears as though you're authenticating as M0 by using that MCCID as the login_customer_id. Subsequently, when generating the customer report, you're using M1. The way the backend is set up this is actually expected. The date propagation is immediate for M0 and C0 since they were part of the mutate request, however there is a delay for the other Ms in the tree.

If you want to resolve the delay, you would need to us M0 to generate the customer report. There is an effort to resolve the consistency issue for all nodes in the tree, but it's not clear when it will be released to the API.

Thanks,
Google Logo
Ben Karl
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsSJt:ref
Reply all
Reply to author
Forward
0 new messages