I am trying to pull ad name for Gmail Sponsored Promotion Ads through the API but had no luck so far. I've gone through this link (https://developers.google.com/adwords/api/docs/appendix/templateads) and made some test calls to the API using the AdGroupAdService (on version 201710). Unfortunately, the response did not return data for ads built with the GSP template (template id = 464) even though these ads are active and can be seen in the Adwords console (adwords.google.com).
I was able to see the data come through for other template ids (e.g. templateId=491, 459). So I was wondering if anyone know if the adwords api currently supports getting data for GSP type ads (template id = 464) or is this template ad used for just creating and updating the ad? This is the SOAP request that I used to send the query. Any help would be much appreciated! <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>XXX</ns1:clientCustomerId> <ns1:developerToken>REDACTED</ns1:developerToken> <ns1:userAgent>campaign-analytics (AwApi-Java, AdWords-Axis/3.10.0, Common-Java/3.10.0, Axis/1.4, Java/1.8.0_73, maven, SelectorBuilder, SelectorField)</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <get xmlns="https://adwords.google.com/api/adwords/cm/v201710"> <serviceSelector> <fields>AdGroupId</fields> <fields>Id</fields> <fields>TemplateId</fields> <fields>TemplateAdName</fields> <fields>TemplateElementFieldName</fields> <fields>TemplateElementFieldText</fields> <fields>TemplateElementFieldType</fields> <predicates> <field>Status</field> <operator>IN</operator> <values>ENABLED</values> <values>PAUSED</values> <values>DISABLED</values> </predicates> <paging> <startIndex>0</startIndex> <numberResults>200</numberResults> </paging> </serviceSelector> </get> </soapenv:Body> </soapenv:Envelope> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/252f73b5-42ac-4c5d-a925-969c02a52eb9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
