Hi,
I am trying to get ProductExtensions for a test account but the call to 
CampaignAdExtensionService retrieves nothing. Here is a piece of a code:
 

            var predicateAdExensionType = new Predicate
            {
                @operator = PredicateOperator.EQUALS,
                field = "AdExtensionType",
                values = new [] { "PRODUCT_EXTENSION" };
            };
 
            var campaignAdExtensionService =
                (CampaignAdExtensionService) 
_user.GetService(AdWordsService.v201302.CampaignAdExtensionService);
            var selector = new Selector
            {
                fields = new[]
                              {
                                   "CampaignId", "Status", "Argument", 
"Operand", "AdvertiserName", "GoogleBaseCustomerId"
                              },
                predicates = new [] {predicateAdExensionType} //Removing this 
does not change the output
                                                              
//ProductExtensions are still missing
            };
            var page = campaignAdExtensionService.get(selector);
            if (page != null && page.entries != null)
            {
                ...
            }

 

Are there any other conditions to satisfy to successfully get ProductExtensions 
(like activate account, live feed, etc.)? Or am I doing something wrong 
code-wise?

 

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to