AdWords reporting script limitations

30/11/2019

The AdWords script to set up a recurring report for automated mapping and cost import in Facebook Attribution may time out for some AdWords accounts due to a 30-minute maximum execution time limit for AdWords scripts. Learn more at https://developers.google.com/adwords/scripts/docs/limits.

The script's execution time is dependent on the number of AdWords accounts (if running the MCC script) and the number of entities within an AdWords account.

If you're experiencing this issue, you may reduce the number of entities to be processed in the script. The following examples provide ways of modifying the provided scripts:

Google AdWords (Search)

  • Original: 'WHERE CampaignStatus=ENABLED and AdGroupStatus=ENABLED'
  • Modified: 'WHERE Impressions > 0 and CampaignStatus=ENABLED and AdGroupStatus=ENABLED'

Google AdWords (Display)

  • Original: 'WHERE CampaignStatus=ENABLED'
  • Modified: 'WHERE Impressions > 0 and CampaignStatus=ENABLED'

If you still see unmapped campaigns in Facebook Attribution, you can also run a copy of the script to address the condition where 'Impressions = 0'. See the example below:

Google AdWords (Search)

  • Original: 'WHERE CampaignStatus=ENABLED and AdGroupStatus=ENABLED'
  • Modified: 'WHERE Impressions=0 and CampaignStatus=ENABLED and AdGroupStatus=ENABLED'

* Nguồn: Facebook