I am also facing the same issue. I am trying to link my Customer Match UserList to the campaign. Getting the following error using the code:
CampaignCriterionServiceClient campaignCriterionServiceClient = googleAdsClient.getLatestVersion().createCampaignCriterionServiceClient();
UserListInfo userListInfo = UserListInfo.newBuilder().setUserList(userList).build();
CampaignCriterion campaignCriterion = CampaignCriterion.newBuilder().setCampaign(ResourceNames.campaign(customerId, campaignId)).mergeUserList(userListInfo).build();
CampaignCriterionOperation criterionOperation = CampaignCriterionOperation.newBuilder().setCreate(campaignCriterion).build();
MutateCampaignCriteriaResponse response = campaignCriterionServiceClient.mutateCampaignCriteria(Long.toString(customerId), ImmutableList.of(criterionOperation));
ERROR:
request_id: "2aU6KGGvOVHmF06kHCreNA"
Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid argument., cause=null}.Request ID 2aU6KGGvOVHmF06kHCreNA failed due to GoogleAdsException. Underlying errors: Error 0: error_code { context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT}message: "The operation is not allowed for the given context."trigger { string_value: "DISPLAY(DISPLAY_FULL_AUTOMATION)"}location { field_path_elements { field_name: "operations" index: 0 } field_path_elements { field_name: "create" } field_path_elements { field_name: "user_list" }}