AWQL x others API methods

37 views
Skip to first unread message

Eduardo Cesar

unread,
Oct 25, 2017, 7:12:10 PM10/25/17
to AdWords API Forum
Hi,

We have some doubts about AWQL. (We are using Python Adwords API)

1) There is something that we can do only using AWQL (That is impossible using others services methods)?
2) The AWQL is exaclty equals to equivalent service call without AWQL considering the HTTP request/response?
3) AWQL is more efficient than alternatives methods to query?

Regards,

Eduardo Cesar

Peter Oliquino

unread,
Oct 26, 2017, 2:34:45 AM10/26/17
to AdWords API Forum
Hi Eduardo,

For my answers to your questions, kindly refer below :

1) There is something that we can do only using AWQL (That is impossible using others services methods)?

    The AWQL query can be used in both the reports and in the services of the AdWords API. For the services, they are usually used when the .query() method is used instead of the .get() method. For more information regarding AWQL, you may refer to this discussion.

2) The AWQL is exaclty equals to equivalent service call without AWQL considering the HTTP request/response?

     As mentioned in my earlier answer, the AWQL can be used in services when developers opt to use the .query() method. If I misunderstood your point, please correct me with more details.

3) AWQL is more efficient than alternatives methods to query?

    AWQL could be considered more efficient as it requires less coding. Depending on the developer, it can be an alternative that they can utilize apart from the Selector fields when using the AdWords API services.

Thanks and regards,
Peter
AdWords API Team

Eduardo Cesar

unread,
Oct 26, 2017, 10:30:48 AM10/26/17
to AdWords API Forum
Some doubts:

1) Are All queries that we can do using AWQL possible using [.get methods + predicates + filters]?

2) Are the the soap response/request when we use AWQL query and [.get methods + predicates + filters]?

3) Is AWQL more efficient in Google Adwords API (The Google response is faster than the equivalent call using [.get methods + predicates + filters]) ?

Regards,

Eduardo Cesar

Peter Oliquino

unread,
Oct 27, 2017, 12:13:22 AM10/27/17
to AdWords API Forum
Hi Eduardo,

You may refer below for my answers :


1) Are All queries that we can do using AWQL possible using [.get methods + predicates + filters]?

    Yes. However, please take note of the following items to be considered when using AWQL in service calls.

2) Are the the soap response/request when we use AWQL query and [.get methods + predicates + filters]?

    SOAP request and response should be the same whether you use AWQL queries of the SELECTOR fields.

3) Is AWQL more efficient in Google Adwords API (The Google response is faster than the equivalent call using [.get methods + predicates + filters]) ?

    As previously mentioned and as discussed in this section of the guide, the advantage of using AWQL is that "AWQL is usually a more efficient way to code the same call." and does not necessarily affect the response time of your call.
Reply all
Reply to author
Forward
0 new messages