when executing following code
ad_group_service = client.get_service("AdGroupService")
ad_group_criterion_service = client.get_service("AdGroupCriterionService")
ad_group_resource_name = ad_group_service.ad_group_path(
customer_id, ad_group_id
)
operation = client.get_type("AdGroupCriterionOperation")
affinity = operation.create
affinity.ad_group = ad_group_resource_name
affinity.user_list.user_list =
"customers/CUSTOMER_ID/userLists/UserListCriterionID"
operations = []
operations.append(operation)
ad_group_criterion_response = (
ad_group_criterion_service.mutate_ad_group_criteria(
customer_id=customer_id,
operations=operations,
)
)
I got the following error:
Request made: ClientCustomerId: CUSTOMER_ID , Host:
googleads.googleapis.com, Method:
/google.ads.googleads.v8.services.AdGroupCriterionService/MutateAdGroupCriteria,
RequestId: ZnE9QqL8OpziN1nRTz_Quw, IsFault: True, FaultMessage: Resource
was not found.
I have double-checked the CUSTOMER_ID, ad_group_id, and UserListCriterionID,
they are matched. Could you help to check this error?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit
https://groups.google.com/d/msgid/adwords-api/a0803bdb-d40d-42dd-896e-a5d457c486aen%40googlegroups.com.