Complete service response data structure available?

32 views
Skip to first unread message

Matthias Baader

unread,
Jun 20, 2018, 6:18:34 AM6/20/18
to AdWords API and Google Ads API Forum
Hi, 

is the complete service response data structure available?

I have difficulties processing the service responses because the responses seem inconsistent.

e.g. if I use 'AdGroupAdService' to get "CreativeFinalUrls", the response will look like this:
...
               'finalUrls': [
                    'https://domain.com/'
                ],
...                



Whereas if I use "AdGroupCriterionService", to get the "FinalUrls", the response will look like this:
...
            'finalUrls': {
                'urls': [
                    'https://domain.com'
                ]
            },
...

Therefore it would help me a lot to get an overview of the complete data structure of the service responses. Just like they are available e.g. for your Spreadsheet API:

Is there a similar information available for the AdWords API Services?

Best regards
Matthias


Dhanya Sundararaju (AdWords API Team)

unread,
Jun 20, 2018, 2:58:17 PM6/20/18
to AdWords API and Google Ads API Forum
Hi Matthias,

You can go to reference section in the guide and under each service, check for the object's Overview section. For example, for AdGroupAdService, the finalUrls is an array of strings. Whereas in AdGroupCriterionSevice, the finalUrs is a UrlList which is an array of strings.

Regards,
Dhanya, AdWords API Team

Matthias Baader

unread,
Jun 21, 2018, 4:52:53 AM6/21/18
to AdWords API and Google Ads API Forum
Hi Dhanya,

thank you very much for these insights. That's what I was looking for.

Best regards
Matthias
Reply all
Reply to author
Forward
Message has been deleted
0 new messages