Hello, Since today I am getting the error 'ContextError.OPERATION_NOT_PERMITTED_FOR_CONTEXT: The operation is not allowed for the given context., trigger: PAGE_FEED' when I try to link an AssetSet to a campaign. However, it worked over the last months and I don't think I changed anything in the software that would have changed the "context".
It seems that the server doesn't want to connect an AssetSet of type PAGE_FEED with the campaign. What can I do to get it to work again? What context is taken into account, what are the requirements for linking an AssetSet to a search campaign? If I link the AssetSet via the GUI, everything works fine. I know you will ask for request an response and I will sent it, but I will also provide an example of my API request right here: Request ------- MethodName: google.ads.googleads.v17.services.CampaignAssetSetService/MutateCampaignAssetSets Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id=XXXXXXXXXX, x-goog-api-client=gl-java/21.0.4__Amazon.com-Inc.__Corretto-21.0.4.7.1 gccl/33.0.0 gapic/33.0.0 gax/2.51.0 grpc/1.65.1} Body: customer_id: "XXXXXXXXXX" operations { create { campaign: "customers/XXXXXXXXXX/campaigns/YYYYYYYYYYYY" asset_set: "customers/XXXXXXXXXX/assetSets/ZZZZZZZZZZZ" } } partial_failure: true Response -------- Headers: Metadata(content-disposition=attachment,content-type=application/grpc,request-id=AAAAAAAAAAAAAA,date=Fri, 06 Sep 2024 10:41:42 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000) Body: results { } partial_failure_error { code: 3 message: "The operation is not allowed for the given context., at operations[0]" details { type_url: "type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure" value: "\nY\n\003\340\003\002\0223The operation is not allowed for the given context.\032\v*\tPAGE_FEED\"\020\022\016\n\noperations\030\000\022\026LnGVZ_dqnCaFI8h3_83yBA" } } Failure message: null Status: Status{code=OK, description=null, cause=null}. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/835939ac-6a37-434e-af94-789048ecf096n%40googlegroups.com.