Request
-------
MethodName: google.ads.googleads.v15.services.GoogleAdsService/Mutate
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6635497599, 
x-goog-api-client=gl-java/1.8.0_211 gccl/28.0.0 gapic/28.0.0 gax/2.32.0 
grpc/1.56.1}
Body: customer_id: "2757318850"
mutate_operations {
  ad_group_ad_label_operation {
    create {
      ad_group_ad: 
"customers/2757318850/adGroupAds/159976686918~691487860707"
      label: "customers/2757318850/labels/21942154067"
    }
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=LcwvnGwpA60t9in2RHyNgA,date=Thu,
 
22 Feb 2024 03:28:37 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000)
Body: null
Failure message: errors {
  error_code {
    label_error: INVALID_RESOURCE_FOR_MANAGER_LABEL
  }
  message: "Labels from a manager account cannot be applied to campaign, 
adgroup, adgroupad, or adgroupcriterion resources."
  location {
    field_path_elements {
      field_name: "mutate_operations"
      index: 0
    }
    field_path_elements {
      field_name: "ad_group_ad_label_operation"
    }
  }
}
request_id: "LcwvnGwpA60t9in2RHyNgA"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.
AdServingCommonServiceImpl.mutateAdLabel广告标签标记失败:{}errors {
  error_code {
    label_error: INVALID_RESOURCE_FOR_MANAGER_LABEL
  }
  message: "Labels from a manager account cannot be applied to campaign, 
adgroup, adgroupad, or adgroupcriterion resources."
  location {
    field_path_elements {
      field_name: "mutate_operations"
      index: 0
    }
    field_path_elements {
      field_name: "ad_group_ad_label_operation"
    }
  }
}
request_id: "LcwvnGwpA60t9in2RHyNgA"




I want to tag adgroupad with the tag 21942154067 of the administrator 
account. Is there any way to do that? This is possible on the ads page

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/be0ff34b-10f7-444a-9223-6e3f4ab79957n%40googlegroups.com.

Reply via email to