Hi,

Could you please provide us the complete SOAP request and response logs via 
*Reply 
privately to author* so I could further investigate your issue? If you 
haven't enabled the SOAP logs yet, you can enable it by following this guide 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-dotnet-lib%23how-to-enable-logging&sa=D&sntz=1&usg=AFQjCNHl-WomkFVb1FbBf_SGzrlJwKgT4Q>
. 

Regards,
Dannison
AdWords API Team

On Tuesday, September 4, 2018 at 4:13:19 PM UTC+8, Миша Васильев wrote:
>
> Good afternoon! Some fields (biddingStrategyConfiguration, budget.amount) 
> of the Сompany 
> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignService.Campaign>are
>  
> empty. 
> I'm using the C # library v201806. 
> *I get the company like this:*
>
> public Campaign GetCampaign(long campaignId)
>         {
>             using (CampaignService campaignService = (CampaignService) 
> _user.GetService(AdWordsService.v201806.CampaignService))
>             {
>                 Selector selector = new Selector {
>                     fields = (from f in Campaign.Fields.All select 
> f.FieldName).ToArray(), // use all fields
>                     predicates = new Predicate[]
>                     {
>                         new Predicate
>                         {
>                             field = Campaign.Fields.Id,
>                             @operator = PredicateOperator.EQUALS,
>                             values = new [] { campaignId.ToString() }
>                         }
>                     }
>                 };
>                 var findedCampaign = 
> campaignService.get(selector).entries[0];
>                 return findedCampaign;
>             }
>         }
>
> *I get company properties*
>
>         public static void Export(Campaign campaign)
>         {
>             Console.WriteLine(campaign.id);
>             Console.WriteLine(campaign.name);
>             Console.WriteLine( ((UniversalAppCampaignSetting) 
> campaign.settings[1]).appId );
>             Console.WriteLine(campaign.budget.amount.microAmount); // -> 
> amount = null
>             Console.WriteLine( ((TargetCpaBiddingScheme) 
> campaign.biddingStrategyConfiguration.biddingScheme).targetCpa); // 
> biddingStrategyConfiguration = 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 [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/205674fa-1724-4f5e-9fe5-b74d741fa2ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Миша Васильев
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to