AdWords API: Python2 -> Python3 which library to use?

2019-04-10 Thread Matthias Baader
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 f

DistinctError.DUPLICATE_TYPE (while trying to add a ProductOfferId)

2019-01-16 Thread Matthias Baader
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, 'partitionTy

How to get the id of the root product partition [python]

2018-10-26 Thread Matthias Baader
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.ReportQueryBu

API Reference outdated (re AdWords Express)

2018-10-25 Thread Matthias Baader
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-campaign

Re: Keywordless Category Report - cpcBid is missing. Where can I find it?

2018-10-15 Thread Matthias Baader
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 Gro

Keywordless Category Report - cpcBid is missing. Where can I find it?

2018-10-12 Thread Matthias Baader
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 Matt

Re: HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions

2018-09-27 Thread Matthias Baader
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 menti

Re: HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions

2018-09-26 Thread Matthias Baader
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 ResponsiveSearchAdDescri

HeadlinePart3 missing in Ad Performance Report? And confusing Descriptions

2018-09-26 Thread Matthias Baader
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 H

Re: Getting ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE on Campaign Performance Report

2018-09-04 Thread Matthias Baader
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 > sa

Re: Campaign level ADD Platform bidModifier issue (Python)

2018-08-01 Thread Matthias Baader
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

Campaign level ADD Platform bidModifier issue (Python)

2018-08-01 Thread Matthias Baader
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('CampaignB

Re: Complete service response data structure available?

2018-06-21 Thread Matthias Baader
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 > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Complete service response data structure available?

2018-06-21 Thread Matthias Baader
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

Complete service response data structure available?

2018-06-20 Thread Matthias Baader
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': [

Re: AWQL - How to properly use a list as predicates values (Python)?

2018-06-15 Thread Matthias Baader
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-lis

AWQL - How to properly use a list as predicates values (Python)?

2018-06-14 Thread Matthias Baader
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() .

How to get product status (shopping campaign)

2018-06-08 Thread Matthias Baader
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 u