Re: Add many keywords to the ad group via one request

2022-02-20 Thread Dmitry Shvetsov
customer_id=customer_id, operations=ad_group_criterion_operations, ) ) On Saturday, February 19, 2022 at 11:53:40 PM UTC+3 Dmitry Shvetsov wrote: > Hello! > Using this example > > https://github.com/googleads/google-ads-python/bl

Add many keywords to the ad group via one request

2022-02-19 Thread Dmitry Shvetsov
Hello! Using this example https://github.com/googleads/google-ads-python/blob/c0b02a2a3ee444e5e6a105417e6ffcdba27e7674/examples/basic_operations/add_keywords.py I can add to the ad group only one keyword via one API request. How to create many keywords using one API request? PS I'm creating ad g

Re: How to get keyword seed in KeywordPlanIdeaService

2022-01-22 Thread Dmitry Shvetsov
Hi! Do you mean I should send you a request id manually by email? If not, could you provide me with a code example in Python3 how to retrieve it programmatically? PS My application creates thousands of ad groups. Each keyword seed is a separate ad group. That's why I have to request each keyword s

Re: How to get keyword seed in KeywordPlanIdeaService

2022-01-16 Thread Dmitry Shvetsov
I can get idea.text, idea.keyword_idea_metrics.avg_monthly_searches. I'd like to get something like idea.keyword_seed On Saturday, January 15, 2022 at 11:32:46 PM UTC+3 Dmitry Shvetsov wrote: > Hi! > I'm using > > https://github.com/googleads/

How to get keyword seed in KeywordPlanIdeaService

2022-01-15 Thread Dmitry Shvetsov
Hi! I'm using https://github.com/googleads/google-ads-python/blob/310a488b6fdad9d5beea8fa4b166edce779a2511/examples/planning/generate_keyword_ideas.py to get keywords ideas. That example returns ideas texts, it's search volume and competitive level. How to get my keyword which I provided as a see

Not all images get by sample

2019-05-23 Thread Dmitry Shvetsov
Hello! I run this script https://developers.google.com/adwords/api/docs/samples/python/miscellaneous#get-all-images-and-videos and get images. If I upload new imageAd with new image it's url will be in respond. But some of old images urls are not in the respond. What could be a reason of this

Re: UnicodeDecodeError with uploadung image

2019-05-23 Thread Dmitry Shvetsov
I point file name as: IMAGE_FILENAME = 'test_01.05.01_160х600.jpg' On Thursday, May 23, 2019 at 1:49:48 PM UTC+3, Dmitry Shvetsov wrote: > > Hi! > I run this code sample > https://developers.google.com/adwords/api/docs/samples/python/miscellaneous#upload-an-image > &

UnicodeDecodeError with uploadung image

2019-05-23 Thread Dmitry Shvetsov
Hi! I run this code sample https://developers.google.com/adwords/api/docs/samples/python/miscellaneous#upload-an-image and it gives me an error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte" How to fix the issue? Thank you! -- -- =~=~=~=~=~=~=

Error during set ads

2019-05-14 Thread Dmitry Shvetsov
Hello! I setting ads with this code http://prntscr.com/nohqxz and got error below on 987 ad. What can be a reason of error and how to prevent it? Error: Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/zeep/loader.py", line 50, in parse_xml forbid_entities=s

Filtering by several fields with OR operator

2019-05-13 Thread Dmitry Shvetsov
Hi! Is it possible to filter by several fields with OR operator in AdwordsApi? How to do it? For example, I'm trying to get all ads witch contains text "Sale for 15 of May" in "ExpandedTextAdDescription2" OR in "Description" OR in "ExpandedTextAdHeadlinePart3" OR in "ExpandedDynamicSearchCreat

RE: Updating ads without setting all fields

2019-04-26 Thread Dmitry Shvetsov
Thak you for your answer! Are the same requirements in the new Ads API? May be it Will be better to use new Ads API. I worry that I could clear some fields in ads. My task is to change some sale text and images in the ads. Now I have to set all fields of all ads not to clear them. It's hard and

error: the following arguments are required: -c/--customer_id

2019-04-26 Thread Dmitry Shvetsov
Hello! I run example python script from the attachment. I use Googleads Api. It says me: "usage: example_get_campaigns_ads.py [-h] -c CUSTOMER_ID [-i CAMPAIGN_ID] example_get_campaigns_ads.py: error: the following arguments are required: -c/--customer_id" Screenshot: http://prntscr.com/nh995v

Re: Updating ads without setting all fields

2019-04-26 Thread Dmitry Shvetsov
The whole respond in the attachment. Screehshot: http://prntscr.com/nh3po2 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscri

Re: Updating ads without setting all fields

2019-04-26 Thread Dmitry Shvetsov
Hi Peter! Thank's for your answer. Yes, I got error. 'requestId': '0005876ac2a3f0900a37a1d082064f9c' Respond is: http://prntscr.com/nh3i6i Respond in text in the attachment. When I send request with header1 and desription it works good. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Als

Updating ads without setting all fields

2019-04-25 Thread Dmitry Shvetsov
Hi! I'm updating the expanded text ad via Adwords API. I use 'AdService', 'operator': 'SET'. It requared to fill in all of thees fields: 'headlinePart1' 'headlinePart2' 'description': But I need to update only 'headlinePart2'. Is it possible to fill in only 'headlinePart2'? I want other fields in

SystemExit: 2 error

2019-04-24 Thread Dmitry Shvetsov
Hi! I'm trying to get keywords usind google ads API (code in the attach) and get respond below. What can be a reason of error and how to fix it? Respond: "runfile('C:/Users/rp/Documents/python_scripts/adsAPI/change_action_content/example.py', wdir='C:/Users/rp/Documents/python_scripts/adsAPI/ch

google-ads.yaml file for google ads API

2019-04-24 Thread Dmitry Shvetsov
Hello! I made a request to the Google Ads API and got responce "A required field in the configuration data wasnot found. The required fields are: ('client_id', 'client_secret', 'refresh_token', 'developer_token')". Could you send me a google-ads.yaml template? I have googleads.yaml file for Adwo