Why campaigns of campaignService not download for specific ads accounts?

17 views
Skip to first unread message

Jeroen Donders

unread,
Jul 9, 2019, 6:28:46 AM7/9/19
to AdWords API and Google Ads API Forum
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': []
}

Google Ads API Forum Advisor Prod

unread,
Jul 9, 2019, 9:47:22 PM7/9/19
to adwor...@googlegroups.com
Hi Jeroen,

Thank you for reaching out.

To further investigate this, could you provide the complete SOAP request and response logs when you used the CampaignService, and the clientCustomeId used? Kindly use the reply privately to author option.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UCbm8x:ref
Reply all
Reply to author
Forward
0 new messages