Hello,
I'm using the ShareablePreviewService to generate preview URLs for all
asset group IDs in active Performance Max campaigns.
I'm authenticating via OAuth, using a refresh_token tied to a user in our
MCC account. In the request:
- I set login_customer_id to the MCC ID.
- I set customer_id to the client account ID (the account that owns the
asset groups).
However, I receive the following error:
partial_failure_error {
code: 3
message: "[ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER]"
}
When I omit login_customer_id, I get the expected error saying that it must
be included when accessing an account through an MCC, so I'm confident it’s
required.
I've confirmed:
- customer_id is a str
- asset_group_id is an int
The asset group ID is retrieved from a search() query run against that
exact client account
Here's a sample of my logging with request ID and payload:
Shareable Preview:
type of customer_id <class 'str'>
type of asset_group_id <class 'int'>
Request made:
ClientCustomerId: 3931028485
Method:
/google.ads.googleads.v19.services.ShareablePreviewService/GenerateShareablePreviews
RequestId: 6-YF0Ob8wQr_iHjIKw9Ghg
asset_group_identifier {
asset_group_id: 6538051618
}
partial_failure_error {
code: 3
message: "[ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER]"
}
Any insight into why this error is occurring would be greatly appreciated.
Could this be due to how the asset group ID is being passed? Or something
with authentication?
Thank you.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/adwords-api/905b778b-e5a3-4bfb-b326-99cfb9f783ccn%40googlegroups.com.