Google Ads Script Fails to Find Campaign Object Despite Successful GAQL Query

16 views
Skip to first unread message

김동훈

unread,
Aug 11, 2025, 8:45:17 AMAug 11
to Google Ads Scripts Forum

Description: We are encountering an issue where a Google Ads Script is unable to find a specific App promotion campaign (ID: 22871417260) to modify its Target CPA.

Details:

  1. Ad Account ID: 279-869-5211

  2. Standard Method Failure: Standard script functions, such as AdsApp.campaigns().withIds(['22871417260']), fail to find the campaign and return an error.

  3. GAQL Query Success: However, a direct GAQL query using AdsApp.search() (SELECT campaign.id FROM campaign WHERE campaign.id = '22871417260') successfully finds and returns the campaign.

  4. Core Problem: This discrepancy prevents us from obtaining the necessary campaign management object, making it impossible to programmatically change the Target CPA. We believe this points to an internal issue within the Ads Scripts platform rather than a problem with our code or permissions.

Google Ads Scripts Forum Advisor

unread,
Aug 11, 2025, 12:18:57 PMAug 11
to adwords...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads Scripts support team.

Please be informed that the method “AdsApp.campaigns()” will only retrieve search and display campaigns and App type campaigns are not yet supported via the Google Ads Scripts. I would suggest that you refer to the Blog Post for further updates on this feature. As the App type campaigns are not supported, it is not possible to update the CPA or any data value via Google Ads Scripts.

Feel free to get back to us if you still have any concerns.

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-11 16:18:19Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01syfzZ:ref" (ADR-00329519)



Reply all
Reply to author
Forward
0 new messages