We are using the selectorFields campaignService however for several 
customer id we do not receive any campaigns. For other ads accounts it does 
work fine.

We ruled out to possible causes:

1. The ads account has activity in past two weeks, so the last impressions 
severed were two weeks ago
2. The ads account is not an MCC

What else can cause that we do not recieve and campaign data?

This is the code were are using:

fields = ['AdServingOptimizationStatus', 'AdvertisingChannelSubType', 
'AdvertisingChannelType', 'Amount', 'AppId', 'AppVendor', 'BaseCampaignId', 
'BiddingStrategyGoalType', 'BiddingStrategyId', 'BiddingStrategyName', 
'BiddingStrategyType', 'BudgetId', 'BudgetName', 'BudgetReferenceCount', 
'BudgetStatus', 'CampaignGroupId', 'CampaignTrialType', 'DeliveryMethod', 
'Eligible', 'EndDate', 'EnhancedCpcEnabled', 'FinalUrlSuffix', 
'FrequencyCapMaxImpressions', 'Id', 'IsBudgetExplicitlyShared', 'Labels', 
'Level', 'MaximizeConversionValueTargetRoas', 'Name', 'RejectionReasons', 
'SelectiveOptimization', 'ServingStatus', 'Settings', 'StartDate', 
'Status', 'TargetContentNetwork', 'TargetCpa', 'TargetCpaMaxCpcBidCeiling', 
'TargetCpaMaxCpcBidFloor', 'TargetGoogleSearch', 
'TargetPartnerSearchNetwork', 'TargetRoas', 'TargetRoasBidCeiling', 
'TargetRoasBidFloor', 'TargetSearchNetwork', 'TargetSpendBidCeiling', 
'TargetSpendSpendTarget', 'TimeUnit', 'TrackingUrlTemplate', 
'UrlCustomParameters', 'VanityPharmaDisplayUrlMode', 'VanityPharmaText', 
'ViewableCpmEnabled']

elector = {
            'fields': fields,
            'paging': {
                'startIndex': 0,
                'numberResults': 500
            }
        }
 
adwords_client = adwords.AdWordsClient.LoadFromString(yaml_string)
campaign_service = adwords_client.GetService('CampaignService', 
version='v201809')
item = campaign_service.get(selector)
print(item)

This returns:

[12:14] Elezovic, A. (Ado)

{
    'totalNumEntries': 0,
    'Page.Type': 'CampaignPage',
    'entries': []
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/37e4bcb1-aa22-4393-8031-1943661d30b2%40googlegroups.com.

Reply via email to