Hello Sai Teja,
I use the code snippet below but there's nothing in response.Results

            var googleAdsService = 
client.GetService(Google.Ads.GoogleAds.Services.V0.GoogleAdsService);

            SearchGoogleAdsRequest request = new SearchGoogleAdsRequest()
            {
                PageSize = _pageSize,
                Query = @"SELECT customer_client_link.resource_name FROM 
customer_client_link",
                CustomerId = "xxxx"
            };

            foreach (SearchGoogleAdsResponse response in 
searchPagedResponse.AsRawResponses())
            {
                   Console.WriteLine(response.FieldMask.Paths);
                   foreach (GoogleAdsRow googleAdsRow in response.Results)
                   {
                      * /// Nothing here*
                   }
            }

But when I switch to *Adwords API*, it does have something

            // Get the CustomerService.
            var customerService = 
(Google.Api.Ads.AdWords.v201809.CustomerService)user.GetService(AdWordsService.v201809.CustomerService);

            // Create a selector that filters by service type.
            Selector selector = new Selector()
            {
                fields = new string[] { ServiceLink.Fields.ServiceType },
                predicates = new Predicate[] {
                    Predicate.Equals(ServiceLink.Fields.ServiceType, 
ServiceType.MERCHANT_CENTER.ToString())
                }
            };

            // Get the service links.
            var serviceLinks = customerService.getServiceLinks(selector);

            // Display the results.
            if (serviceLinks != null)
            {
                    */// Yes, there's something here*
            }

Looks like I'll stick with Adwords API for now

What do you think?


On Saturday, 23 March 2019 06:03:14 UTC+11, googleadsapi-forumadvisor wrote:
>
> Hello Bodom0911,
>
> You could use the resource name as mentioned  resource_name*: 
> "customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}"*.
>  
> You could also get the resource name of the customerClientLinks by using 
> this query: *"SELECT customer_client_link.resource_name FROM 
> customer_client_link"*. Please let me know if you have any further 
> questions.
>
> @Kuba,
>
> Does the client have multiple AdWords account and want to choose which 
> account to connect to your manager account? If that is the case, you can 
> change the clientCustomerId, So that the API requests will be made with the 
> chosen account from the client. Same applies even while extending and 
> accepting the invitation. If you question is different please elaborate and 
> share any respective docs you are referring to? You could use reply 
> privately to the author option while sharing the information requested.
>
> Regards,
> Sai Teja, Google Ads API Team
>
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
>     http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>     https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=8-4353000024999&hl=en&ctx=1>
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4837b534-2759-40e1-aea1-75a9cf58aab5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: [PH... ludovic . web2roi
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
  • Re: [PH... ludovic . web2roi
  • Re: [PH... ludovic . web2roi
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
  • Re: [PH... Kuba Dev
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Van Vu
        • ... Kuba Dev
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... Van Vu
              • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to