Hello,
I have the exact same issue that has been posted in this conversation:
https://groups.google.com/g/adwords-api/c/PDTIoDWRnJM/m/yFAmRav1BAAJ

But the conversation doesn't seem to provide a solution.
The last message mentions that:



*It appears as though the only way to retrieve these manager-owned labels 
is to query for them with the login_customer_id header set to the ID of the 
owning manager, and pass the client account ID as the customer_id.*
This is exactly how I'm constructing my query and yet I am still unable to 
retrieve the MCC owned labels on the client account campaigns.

Example request as cURL:
curl --request POST \
  --url 
https://googleads.googleapis.com/v18/customers/<CUSTOMER_CLIENT_ID>/googleAds:searchStream
 
\
  --header 'Authorization: Bearer <REDACTED>' \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: insomnia/10.3.0' \
  --header 'developer-token: <REDACTED>' \
  --header 'login-customer-id: <MCC_ACCOUNT_ID>' \
  --data '{
  "query": "SELECT campaign.id, campaign.name, 
campaign.network_settings.target_content_network, campaign.labels FROM 
campaign ORDER BY campaign.id"
}'

Request ID: W7iHFFaWCmCovASbXU8GLQ

Please advise at your earliest convenience.

Many thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/dcdca57f-8c15-42bb-94dd-a84a5d60412fn%40googlegroups.com.
  • Un... Abdelaziz Drissi Boutaybi
    • ... Abdelaziz Drissi Boutaybi
    • ... Matthew Davies
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Matthew Davies
          • ... Matthew Davies
            • ... Matthew Davies
              • ... Matthew Davies
                • ... Matthew Davies

Reply via email to