Re: How to Update the Labels for Dynamic Page Feed Assets?

2022-05-17 Thread Nellle Rickchards
Hi Carmela, Thanks for the input. I was able to create a page_feed_asset (https://developers.google.com/google-ads/api/reference/rpc/v10/PageFeedAsset) but I'm having difficulty UPDATING the "labels" field of existing page_feed_asset. I could not find any code examples showing how to do this.

How to Update the Labels for Dynamic Page Feed Assets?

2022-05-15 Thread Nellle Rickchards
Hello, I've followed the Google guide for creating Dynamic Page Feeds in our Google account: https://developers.google.com/google-ads/api/docs/dynamic-search-ads/dsa-page-feeds#asset-based_workflow_for_creating_dsa_page_feeds. I'm now trying to write a script to help us update the Dynamic Page

Re: Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

2021-12-16 Thread Nellle Rickchards
PS: I'm connecting via the OAuth Desktop Application method (https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-desktop). I was connecting fine with the old Google Adwords API. On Thursday, December 16, 2021 at 11:46:24 AM UTC-5 Nellle Rickchards wrote: > He

Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

2021-12-16 Thread Nellle Rickchards
Hello, I'm running into the following error when calling campaign_budget_service.mutate_campaign_budgets ``` FaultMessage: Google Ads API has not been used in project before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/googleads.googleapis.com/ove

Re: How to remove FinalUrls on the Keyword level?

2018-12-03 Thread Nellle Rickchards
wever, using the Java client > library, I have tried the following code snippet (setting its final URL as > a new instance of a UrlList) to remove the current values of my test > account's finalUrl. > > UrlList urlList = new UrlList(); > biddableAdGroupCriterion.setFinalUrls(url

How to remove FinalUrls on the Keyword level?

2018-12-03 Thread Nellle Rickchards
Hello, I exadently uploaded our root domain as the finalURL for multiple keywords. I fix this error by removeing the finalUrl in on the keyword level so that we use the text ads final url. I tried passing "NULL" as the keyword final url but it returns and error for being to short. I can't see

Re: How to Update Product Partition Tree for an Adgroup?

2018-11-20 Thread Nellle Rickchards
er clarifications. > > Thanks, > Luis > AdWords API Team > > On Tuesday, November 20, 2018 at 4:56:43 AM UTC+8, Nellle Rickchards wrote: >> >> Creating a product partition tree straight is forward when following your >> guide ( >> https://developers.goo

How to Update Product Partition Tree for an Adgroup?

2018-11-19 Thread Nellle Rickchards
Creating a product partition tree straight is forward when following your guide (https://developers.google.com/adwords/api/docs/samples/python/shopping-campaigns#build-a-product-partition-tree-for-an-ad-group). But how do we update a partition tree? For example my tree is subdivide by brands. I

Adwords API - Product Partition: KeyError: None

2018-11-19 Thread Nellle Rickchards
Hello, I'm following the "Build a product partition tree for an ad group" example in Python (https://developers.google.com/adwords/api/docs/samples/python/shopping-campaigns#build-a-product-partition-tree-for-an-ad-group) I ran the code after I updated the adgroup and merchant ids. The new pro

search_query_performance_report is only returning Search terms with 1 or more clicks

2018-10-09 Thread Nellle Rickchards
Hello, I'm using the search_query_performance_report to find additional keywords for our account. I'm running into an issue as my query is only returning search terms with atleast one click. Ideally, it should return search terms with one ore more impressions (even if it had 0 clicks). Here

Re: PolicyViolationError Troubleshooting during batch uploads

2018-09-18 Thread Nellle Rickchards
For some reason the responses in PrintResponse() would causes errors making the entire batch upload stop. I commented out the print statements and it runs fine, however it's not ideal as I no longer get helpful error messages. On Thursday, September 6, 2018 at 3:43:42 PM UTC-4, Milind Sankeshw

Re: BatchJone: UploadOperations Timeout

2018-09-14 Thread Nellle Rickchards
Found the problem... I had an indented if statement which was causing the "max_poles" look to only run once. On Friday, September 14, 2018 at 12:26:18 PM UTC-4, Nellle Rickchards wrote: > > Error: > > Traceback (most recent call last): > File "src/update-keyword

Re: BatchJone: UploadOperations Timeout

2018-09-14 Thread Nellle Rickchards
job_id) File "/src/campaign_batch_upload.py", line 333, in GetBatchJobDownloadUrlWhenReady url = batch_job['downloadUrl']['url'] TypeError: 'NoneType' object is not subscriptable On Friday, September 14, 2018 at 12:22:07 PM UTC-4, Nellle Ric

BatchJone: UploadOperations Timeout

2018-09-14 Thread Nellle Rickchards
My batchjob upload is not dependable. The batch_job_helper.UploadOperations takes too long. This is cause an error as None object is being passed to batch_job_helper. This is happening about 75% of the time I run the script. Any fix to this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Create New Campaigns with Target CPA Bidding?

2018-09-06 Thread Nellle Rickchards
Edit: Is it possible that I can't use CPA Bidding because I'm currently using an Adwords Test Account? On Thursday, September 6, 2018 at 4:31:55 PM UTC-4, Nellle Rickchards wrote: > > > I'm getting the following error when batch uploading new campaigns: > > err

Create New Campaigns with Target CPA Bidding?

2018-09-06 Thread Nellle Rickchards
I'm getting the following error when batch uploading new campaigns: errorType=BiddingErrors trigger=TARGET_CPA errorString=BiddingErrors.CONVERSION_TRACKING_NOT_ENABLED fieldPath=operations[128].operand.biddingStrategyConfiguration.biddingStrategyType reason=CONVERSION_TRACKING_NOT_ENABLED I'de

Re: PolicyViolationError Troubleshooting during batch uploads

2018-09-05 Thread Nellle Rickchards
Sounds good! Do you know if I can update the script to continue to the next Operation after a policy error? Currently the policy errors are causing the batch upload to completely stop. On Thursday, August 30, 2018 at 5:26:13 PM UTC-4, Milind Sankeshware (AdWords API Team) wrote: > > Hi Nellle,

Re: PolicyViolationError Troubleshooting during batch uploads

2018-08-30 Thread Nellle Rickchards
Thanks! I figured out the problem. Our ad is for motorcycle exhausts and pipes. "pipes" is triggered as advertising tobacco. The issue is I can't figure out how to set isExempted = True in a batch upload. The documentation using the AdGroupService. Here is my code: if create_ads: # Initial

PolicyViolationError Troubleshooting during batch uploads

2018-08-28 Thread Nellle Rickchards
Hello, I'm batch uploading 1000s of adds. I'm running into this failure: Operation 221 - FAILURE: errorType=PolicyViolationError trigger=None errorString=AdPolicyError.POLICY_ERROR fieldPath=operations[221].operand.ad.headlinePart1 Traceback (most recent call last): File "create-text-ads.py", l

Re: How to get a campaign performance report for list of campaign IDs?

2018-06-01 Thread Nellle Rickchards
Hello, Thanks! I'm running into a small issue. Causes Error: campaign_ids = ['1','2','3'] query = (adwords.ServiceQueryBuilder() .Select('Id') .Where('Id').In(campaign_ids) .Build()) No Errors: query = (adwords.ServiceQueryBuilder()

Re: Write Report to Variable?

2018-05-16 Thread Nellle Rickchards
I'm trying to save data directly to a database. It's not a lot as I only need account level data. I was hoping I could do this without downloading to a CSV first. On Tuesday, May 15, 2018 at 5:35:50 PM UTC-4, Teja Makani wrote: > > Hello Nellle, > > Based on the how you need the data you may nee

Write Report to Variable?

2018-05-15 Thread Nellle Rickchards
The reporting documentation provides this example: report_downloader.DownloadReportWithAwql( report_query, 'CSV', sys.stdin, skip_report_header=False, skip_column_header=False, skip_report_summary=False, include_zero_impressions=True) I have updated that code to download to to a CSV f

How to get a campaign performance report for list of campaign IDs?

2018-05-09 Thread Nellle Rickchards
Hello, I have a list of campaign ID's and I need to download the campaign performance report for them Here is my code: campaign_performance_report = [(adwords.ReportQueryBuilder() .Select('Date', 'CampaignId', 'AdNetworkType2',

Best Practices for working with reports?

2018-05-08 Thread Nellle Rickchards
Hello, I'm working with GetReportDownloader and following some of the examples Google has provided (https://developers.google.com/adwords/api/docs/samples/python/reporting#download-criteria-report-as-a-stream-with-awql). Currently I do this: Sctipt 1: - Download adwords report to a CSV file S