Conversation
I'm happy with reverting it as per our discussion in #79.
This behaviour generally makes sense to me (essentially setting |
Co-authored-by: Reuben <60552974+ReubenFrankel@users.noreply.github.com>
I'm happy with reverting it as per our discussion in #79.
This behaviour generally makes sense to me (essentially setting |
Co-authored-by: Reuben <60552974+ReubenFrankel@users.noreply.github.com>
Related to #79 and #83
I noticed that not all customers were coming through for me and after digging deeper it looks like the cause of the
403 Client Error: Forbidden for pathI was experiencing is due to our requests not passing the properlogin-customer-idwhen a customer account is a sub account. I reverted the changes in #83 as part of this and stopped seeing errors. I'm happy to not do that but I think this is the root cause so its better to throw errors again rather than silently skip.Hierarchy:
This is my best attempt to describe whats happening 😅 :
/customers/{customer_id}/googleAds:search?query=AccessibleCustomersparent request. These sub account need to be fetched slightly differently.login-customer-idto the account customer ID we get from the parent record context (defined by CustomerHierarchyStream)./customers/1234/googleAds:search?query=andlogin-customer-id=1234login-customer-idto the customer id passed down from AccessibleCustomers since we'll be querying through that customer to get the data./customers/5678/googleAds:search?query=andlogin-customer-id=1234