Best way to moke up and test the code

37 views
Skip to first unread message

luigi.t...@gmail.com

unread,
Apr 30, 2019, 5:16:03 PM4/30/19
to AdWords API and Google Ads API Forum
Hi there,

Which one is the best way to moke up and test the code integration?

I can easily update the google library version in my code, but how can I create test to be sure the data fetched have the format and the type I expect?
I'd like to have some fake date instead of using real data.

Thanks in advance

googleadsapi...@google.com

unread,
May 1, 2019, 1:41:22 PM5/1/19
to luigi.t...@gmail.com, AdWords API and Google Ads API Forum
Hello Luigi,

You could use our Test account to create mock data like campaigns, keywords, Ad Groups except they cant be served and data related to that wont be available. Faking the data for testing is not possible in Google Ads accounts.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages