Thanks for filing the issue. I just replied with the root cause there - 
I'll post updates to that issue once we have it fixed.

Cheers,
Josh, AdWords API Team

On Thursday, February 19, 2015 at 7:21:29 AM UTC-5, David B. wrote:
>
>  Ok, done !
>
>  Regards
>
> Le mercredi 18 février 2015 18:51:21 UTC+1, Josh Radcliff (AdWords API 
> Team) a écrit :
>>
>> Hi,
>>
>> Thanks for pointing this out. Could you file an issue in the Java Client 
>> Library <https://github.com/googleads/googleads-java-lib/issues>? This 
>> will allow us to track the problem + will ensure you get updates once it's 
>> fixed.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, February 18, 2015 at 12:02:53 PM UTC-5, David B. wrote:
>>>
>>> Hi guys,
>>>
>>> Here a sample code, using the utility extension. I'm trying to get the 
>>> AdvertisingChannel value for each campaign, but I get a null value. I tried 
>>> (firstly) to get ExtendedManagedCampaigns, but nothing is set. 
>>>
>>> Is it a bug from the utility extension (so I'll post a feature request), 
>>> from the account (not updated ? - don't think so), or something not handled 
>>> by v201409 (open to shortlisted parters, as it can happend) ?
>>>
>>> Thanks for your help !
>>>
>>> Cheers
>>>
>>> import 
>>> com.google.api.ads.adwords.axis.utility.extension.ExtendedManagedCustomer;
>>> import com.google.api.ads.adwords.axis.utility.extension.ExtendedMcc;
>>> import com.google.api.ads.adwords.axis.v201409.cm.AdvertisingChannelType;
>>> import com.google.api.ads.adwords.axis.v201409.cm.Campaign;
>>> import com.google.api.ads.common.lib.conf.ConfigurationLoadException;
>>> import com.google.api.ads.common.lib.exception.OAuthException;
>>> import com.google.api.ads.common.lib.exception.ValidationException;
>>> import java.rmi.RemoteException;
>>> import java.util.List;
>>>
>>>
>>> public class NewMain {
>>>
>>>     /**
>>>      * @param args the command line arguments
>>>      */
>>>     public static void main(String[] args) throws OAuthException, 
>>> ValidationException, ConfigurationLoadException, RemoteException {
>>>         
>>>         ExtendedMcc mcc = ExtendedMcc.withOAuth2FromFile();
>>>         ExtendedManagedCustomer customer = 
>>> mcc.getExtendedManagedCustomer(accountIdLong);
>>>         List<Campaign> campaigns = customer.getCampaigns();
>>>         
>>>         for (Campaign c : campaigns) {
>>>             AdvertisingChannelType channelType = 
>>> c.getAdvertisingChannelType(); // null value;
>>>             
>>>             
>>>         }
>>>         
>>>     }
>>>     
>>> }
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c9f5e85b-a2b4-444e-b4e0-5417ed336839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to