AdWords API: Python2 -> Python3 which library to use?
Hi, a few days ago, you announced the deprecation for Python 2 in both the AdWords/Google Ad Manager and Google Ads Python client libraries soon in 2019: https://ads-developers.googleblog.com/2019/04/python-2-deprecation-in-ads-api-client.html In the AdWords-API library linked there, you'll find this information: This library supports both Python 2 and 3. To use this library, you will > need to have Python 2.7.9 (or higher) or Python 3.4 (or higher) installed. https://github.com/googleads/googleads-python-lib But the examples there clearly will only work for Python2, e.g.: print 'CustomerId, Name' from here https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_hierarchy.py ... and there is no "from __future__ import..." or something to make those examples viable for Python2 and Python3 So my question is: if I install this library with:. pip install googleads will Python3 work or do I have to install a different library? Regards -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/910dd70c-8cea-4dc5-ba9b-1c9490ba14ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
DistinctError.DUPLICATE_TYPE (while trying to add a ProductOfferId)
Hi, why is this working as expected: "Operations: [{'operator': 'ADD', 'operand': {'biddingStrategyConfiguration': {'bids': [{'bid': {'microAmount': '50', 'xsi_type': 'Money'}, 'xsi_type': 'CpcBid'}]}, 'adGroupId': 44514671217, 'criterion': {'parentCriterionId': 325642336954, 'partitionType': 'UNIT', 'caseValue': {'value': '1395 85471', 'xsi_type': 'ProductOfferId'}, 'xsi_type': 'ProductPartition'}, 'xsi_type': 'BiddableAdGroupCriterion'}}]" ... and this too: "Operations: [{'operator': 'ADD', 'operand': {'biddingStrategyConfiguration': {'bids': [{'bid': {'microAmount': '25', 'xsi_type': 'Money'}, 'xsi_type': 'CpcBid'}]}, 'adGroupId': 41835754450, 'criterion': {'parentCriterionId': 325642336954, 'partitionType': 'UNIT', 'caseValue': {'value': '6134 98336', 'xsi_type': 'ProductOfferId'}, 'xsi_type': 'ProductPartition'}, 'xsi_type': 'BiddableAdGroupCriterion'}}]" but this raises an error: "Operations: [{'operator': 'ADD', 'operand': {'biddingStrategyConfiguration': {'bids': [{'bid': {'microAmount': '25', 'xsi_type': 'Money'}, 'xsi_type': 'CpcBid'}]}, 'adGroupId': 46181851197, 'criterion': {'parentCriterionId': 319713678227, 'partitionType': 'UNIT', 'caseValue': {'value': '14314 125440', 'xsi_type': 'ProductOfferId'}, 'xsi_type': 'ProductPartition'}, 'xsi_type': 'BiddableAdGroupCriterion'}}]" googleads.errors.GoogleAdsServerFault: [DistinctError.DUPLICATE_TYPE @ operations[0].operand.criterion.caseValue; trigger:'ProductOfferId{type=OFFER_ID, value=14314 125440}'] What does "DUPLICATE_TYPE" mean? I'd appreciate any clue. Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/b188ad1f-d074-4c4b-a61f-564e3071e444%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to get the id of the root product partition [python]
Hi, if I understand that correctly, you can find the root product group id by searching for the product group that does not have a parent product id. Right? But how exactly does the AWQL query in Python have to look like? Is the following code correct? report_query = (adwords.ReportQueryBuilder() .Select('CampaignId', 'AdGroupId', 'Id', 'ParentCriterionId') .From('PRODUCT_PARTITION_REPORT') .Where('ParentCriterionId').In(0)#https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.ProductPartition#parentcriterionid ...whereas the report reference does not mention the root at all: https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report#parentcriterionid .Where('ParentCriterionId').In(None) ...throws an error. Or would you recommend using the AdGroupCriterionService for this task? Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/f0d316c0-c5fe-4b8e-871c-be4e7d372991%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
API Reference outdated (re AdWords Express)
Hi, I wanted to point out that the documentation regarding AdWords Express campaigns is no longer up to date. The following changes are effective, but have not been taken into account in the reference (v201809): https://ads-developers.googleblog.com/2017/11/changes-to-adwords-express-campaigns-in.html ... compared to: https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign#advertisingchanneltype https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign#advertisingchannelsubtype Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/0778572f-6340-4f48-98b8-721574094411%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Keywordless Category Report - cpcBid is missing. Where can I find it?
Hi Jaki, thank you very much! Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/cd166e06-4c23-4312-a877-e07ed0f02b40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Keywordless Category Report - cpcBid is missing. Where can I find it?
Hi, is there a report where I can get the cpcBid for a DSA "WEBPAGE" criterion, just as you can get the cpcBid for a "KEYWORD" criterion in the KEYWORDS_PERFORMANCE_REPORT? If not: why? :-) Or do I have to fetch the WEBPAGE criterion cpcBid using the AdGroupCriterionService? Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/8371b5e7-7b5d-4512-aecd-cdbaa34a1d02%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions
Thank you, Oliver and Bharani! Can I assume that the first two headlines remain "HeadlinePart1" and "HeadlinePart2" whereas the first description remains "Description"? I would like to ask you to explain these facts in more detail in the migration guide / release notes, where they are not mentioned at all at the moment. Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/6dfb79d6-23e3-4d9b-bad8-377c2c877242%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions
Never mind - I think I've found it. It's called: ResponsiveSearchAdHeadlines: "A JSON string including details about all headlines for a responsive search ad, including the asset text, pinning, and performance label. List elements are returned in JSON list format." and ResponsiveSearchAdDescriptions: "A JSON string including details about all descriptive text for a responsive search ad, including the asset text, pinning, and performance label. List elements are returned in JSON list format." But there is no information about these changes in the release notes: https://developers.google.com/adwords/api/docs/reference/release-notes/v201809 ... nor in the mirgration guide: https://developers.google.com/adwords/api/docs/guides/migration/v201809 ... maybe you should consider updating these information -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/2a750ab3-3e0a-48d3-bc35-d0506ff44129%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions
Hi, according to this post, AdWords API v.201809 is supporting the new expanded text ads (3 headlines/2 descriptions): https://developers.google.com/adwords/api/docs/reference/release-notes/v201809 But I can't find a HeadlinePart3 in the Ad Performance Report v.201809 there is only: Headline HeadlinePart1 HeadlinePart2 https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report?hl=de Is this a mistake in the doc or in the API itself? Further question: When it comes to descriptions, I can find: Description: "The descriptive text of an expanded text ad or responsive display ad." Description1: "Line 1 description of the Ad." Description2: "Line 2 description of the Ad." The latter ones used to contain the descriptions of the old, non extended Ads. Where can I find the new descriptions of the latest (3 headlines/2 descriptions)- version of the expanded text ads? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/51036dc4-f354-4c2f-a550-ba31a4a6813a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Getting ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE on Campaign Performance Report
Hi, same problem here ... Am Dienstag, 4. September 2018 14:50:12 UTC+2 schrieb Yosi Kalmanson: > > Hello, > > In the last 24 hours I keep > getting ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE when trying to > run Campaign Performance Report. If I run it 10 times in a sequence (with > same parameters) so chances are that one time it will be successful. > > What should I do? > > Thanks > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/88a0bf7d-c910-476f-b66b-c28734fb02aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Campaign level ADD Platform bidModifier issue (Python)
Hi Milind, ok, done: https://github.com/googleads/googleads-python-lib/issues/311 Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/9c3a7ac1-aa06-49e9-9c5f-0df0201b0aa8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Campaign level ADD Platform bidModifier issue (Python)
Hi, based on this example: https://developers.google.com/adwords/api/docs/samples/python/advanced-operations#add-an-ad-group-level-bid-modifier I've tried to add/set platform bid modifiers on campaign level: ... API_VERSION = "v201806" campaign_bid_modifier_service = client.GetService('CampaignBidModifierService', version=API_VERSION) criterion_id = '3' bid_modifier = 1.6 operation = { 'operator': 'ADD', 'operand': { 'campaignId': campaign_id, 'criterion': { 'xsi_type': 'Platform', 'id': criterion_id }, 'bidModifier': bid_modifier } } response = campaign_bid_modifier_service.mutate([operation]) ... But unfortunately this results in a strange error message: response = campaign_bid_modifier_service.mutate([operation]) File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1370, in MakeSoapRequest packed_args = self._PackArguments(method_name, args) File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1228, in _PackArguments for ((_, param), param_data) in izip(op_params, args)] File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1283, in _PackArgumentsHelper for item in data] File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1273, in _PackArgumentsHelper elem_type, type_override is not None, data_formatted, set_type_attrs) File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1340, in _CreateComplexTypeFromData for k, v in data if k != 'xsi_type'} File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1340, in for k, v in data if k != 'xsi_type'} File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1273, in _PackArgumentsHelper elem_type, type_override is not None, data_formatted, set_type_attrs) File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1340, in _CreateComplexTypeFromData for k, v in data if k != 'xsi_type'} File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1340, in for k, v in data if k != 'xsi_type'} File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1267, in _PackArgumentsHelper elem_type = self._DiscoverElementTypeFromLocalname(type_override) File "/home/skripte/.local/lib/python2.7/site-packages/googleads/common.py", line 1317, in _DiscoverElementTypeFromLocalname raise last_exception zeep.exceptions.LookupError: No type 'Platform' in namespace http://www.w3.org/2001/XMLSchema. Available types are: {http://www.w3.org/2001/XMLSchema}int, {http://www.w3.org/2001/XMLSchema}unsignedShort, {http://www.w3.org/2001/XMLSchema}unsignedByte, {http://www.w3.org/2001/XMLSchema}NMTOKENS, {http://www.w3.org/2001/XMLSchema}nonNegativeInteger, {http://www.w3.org/2001/XMLSchema}negativeInteger, {http://www.w3.org/2001/XMLSchema}gMonth, {http://www.w3.org/2001/XMLSchema}normalizedString, {http://www.w3.org/2001/XMLSchema}ENTITIES, {http://www.w3.org/2001/XMLSchema}gYearMonth, {http://www.w3.org/2001/XMLSchema}nonPositiveInteger, {http://www.w3.org/2001/XMLSchema}token, {http://www.w3.org/2001/XMLSchema}anyType, {http://www.w3.org/2001/XMLSchema}IDREFS, {http://www.w3.org/2001/XMLSchema}time, {http://www.w3.org/2001/XMLSchema}QName, {http://www.w3.org/2001/XMLSchema}unsignedLong, {http://www.w3.org/2001/XMLSchema}NCName, {http://www.w3.org/2001/XMLSchema}date, {http://www.w3.org/2001/XMLSchema}string, {http://www.w3.org/2001/XMLSchema}ID, {http://www.w3.org/2001/XMLSchema}positiveInteger, {http://www.w3.org/2001/XMLSchema}ENTITY, {http://www.w3.org/2001/XMLSchema}byte, {http://www.w3.org/2001/XMLSchema}gDay, {http://www.w3.org/2001/XMLSchema}language, {http://www.w3.org/2001/XMLSchema}IDREF, {http://www.w3.org/2001/XMLSchema}anyURI, {http://www.w3.org/2001/XMLSchema}NOTATION, {http://www.w3.org/2001/XMLSchema}float, {http://www.w3.org/2001/XMLSchema}base64Binary, {http://www.w3.org/2001/XMLSchema}dateTime, {http://www.w3.org/2001/XMLSchema}hexBinary, {http://www.w3.org/2001/XMLSchema}Name, {http://www.w3.org/2001/XMLSchema}boolean, {http://www.w3.org/2001/XMLSchema}duration, {http://www.w3.org/2001/XMLSchema}gYear, {http://www.w3.org/2001/XMLSchema}unsignedInt, {http://www.w3.org/2001/XMLSchema}anySimpleType, {http://www.w3.org/2001/XMLSchema}integer, {http://www.w3.org/2001/XMLSchema}gMonthDay, {http://www.w3.org/2001/XMLSchema}decimal, {http://www.w3.org/2001/XMLSchema}double, {http://www.w3.org/2001/XMLSchema}long, {http://www.w3.org/2001/XMLSchema}short, {http://www.w3.org/2001/XMLSchema}NMTOKEN When I googled this error message, I found this similar issue https://github.com/googleads/googleads-python-lib/issues/270 ... where zeep apparently was not looking in the right
Re: Complete service response data structure available?
Am Donnerstag, 21. Juni 2018 10:52:53 UTC+2 schrieb Matthias Baader: > > Hi Dhanya, > > thank you very much for these insights. That's what I have been looking > for. > > Best regards > Matthias > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/99782fba-89b7-4fb3-84fc-0acdcba4af87%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Complete service response data structure available?
Hi Dhanya, thank you very much for these insights. That's what I was looking for. Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/dc1696c5-a05d-4342-96cc-83ef41ffd1d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Complete service response data structure available?
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: https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request Is there a similar information available for the AdWords API Services? Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/90497842-bf3f-4d13-923f-aaa595e39675%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: AWQL - How to properly use a list as predicates values (Python)?
Hi Sai Teja, thank you for your answer, which unfortunately didn't help me at all. After many hours of trial and error (and I tried everything like str(), rep(), tuple(), for ... inside the .In() or in seperate variables or defs), I finally found the solution. It's called "unpacking argument-lists" in Python and "splat" in Ruby or Perl: https://docs.python.org/3/tutorial/controlflow.html#unpacking-argument-lists This is what the correct code looks like: campagin_ids = [1435278870, 2345678901, 3456789012] query = (adwords.ServiceQueryBuilder() .Select('Id', 'Status') .Where('BaseCampaignId').In(*campaign_ids)#Pay attention to the asterisk "*" in front of the object! .Build()) To be honest, I wonder why you couldn't call this solution. This is certainly a problem that everyone will encounter sooner or later if they want to use the AdWords-API. In my opinion, this should be prominently featured in the AWQL documentation. Best regads Matthias It's hard to believe that there is no -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/95e980e6-2535-4496-99f9-68e2d8c680c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
AWQL - How to properly use a list as predicates values (Python)?
Hi, how can I assign a list to predicates values in an AWQL query string? this code works: query = (adwords.ServiceQueryBuilder() .Select('Id', 'Status') .Where('BaseCampaignId').In("1435278870", "2345678901", "3456789012") .Build()) this code works too: query = (adwords.ServiceQueryBuilder() .Select('Id', 'Status') .Where('BaseCampaignId').In(1435278870, 2345678901, 3456789012) .Build()) and even this code works: campagin_ids = [1435278870, 2345678901, 3456789012] query = (adwords.ServiceQueryBuilder() .Select('Id', 'Status') .Where('BaseCampaignId').In(campaign_ids[0],campaign_ids[1], campaign_ids[2]) .Build()) unfortunately, this code throws an error: campagin_ids = [1435278870, 2345678901, 3456789012] query = (adwords.ServiceQueryBuilder() .Select('Id', 'Status') .Where('BaseCampaignId').In(campaign_ids) .Build()) > googleads.errors.GoogleAdsServerFault: [QueryError{reason=INVALID_WHERE_CLAUSE, message=}] So, how do I have to handle the list to make it work properly as predicates values (without having to assign the values manually)? Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/77b48ee8-c752-42cb-acce-886baaaf83b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to get product status (shopping campaign)
Hi, is there a way (e.g. report / service) to get the product status of products actively used in a shopping campaign? I'm referring to these values: https://support.google.com/merchants/answer/160491?hl=en I would have expected to find this attribute in the Shopping Performance Report - but unfortunately I can't find it: https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report Or, if that's not possible, is there a way to get at least the disapproved products? Best regards Matthias -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/992aff53-07d6-4419-b96f-f8b51abd16e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.