Re: api down for ad_group_ad_asset_view

2023-07-26 Thread Pete Lavetsky (AdWords API Guru)
We had the same problem start overnight ... it's fixed via any place you reference the AssetType enum you now need to encapsulate as a String ... so your query needs to look like: "SELECT asset.id, asset.type, asset.resource_name, asset.youtube_video_asset.youtube_video_id FROM asset WHERE asse

Re: Refresh token

2023-06-20 Thread Pete Lavetsky (AdWords API Guru)
Google Ads API is on v14 now ... you're referencing v8 which is no longer supported https://developers.google.com/google-ads/api/docs/release-notes Pete On Tuesday, June 20, 2023 at 11:54:55 AM UTC-4 Giosuè Anastasi wrote: > My problem is that I can't even do a single "refresh token". I'm usin

Ongoing Issue : DEADLINE_EXCEEDED

2023-06-20 Thread Pete Lavetsky (AdWords API Guru)
Originally reported on an old thread here : [DEADLINE_EXCEEDED](https://github.com/googleads/google-ads-java/issues/671#issuecomment-1597506702) We are on v14 of the Java Client Library and have successfully been on it since June 9th. Example request-id xCSCtyZt4MvNZlGEVgdfVw For over 24 hours

Re: GAQL calls all giving INTERNAL_ERROR

2022-09-08 Thread Pete Lavetsky (AdWords API Guru)
Same here ./internal-error-test.sh /efs/api/google/requests/new-google-requests-summary.2022-09-06.log 67 /efs/api/google/requests/new-google-requests-summary.2022-09-07.log 449 /efs/api/google/requests/new-google-requests-summary.2022-09-08.log 18840 On Thursday, September 8, 2022 at 5:26:42

GAQL Query For Distinct Resource Names?

2022-05-27 Thread Pete Lavetsky (AdWords API Guru)
Hi all, Does the Distinct concept exist in GAQL when not segmenting by date or similar? For instance, if we had an account that had 100,000 CALL AdGroup Extensions, we could run this query to get all the ad_group resource names but it performs slowly because it's examining each ad_group_exten

Re: Updated Needed Regarding PHONE_NUMBER_IN_AD_TEXT Error

2022-02-24 Thread Pete Lavetsky (AdWords API Guru)
Yasar, I already did ask this question via that link : https://support.google.com/google-ads/thread/151964091?hl=en&msgid=152022694 I was told it is primarily a peer-to-peer community : https://support.google.com/google-ads/thread/151964091?hl=en&msgid=152022694 I was also told that my best co

Request: Expose Required Union Fields In Error Response

2022-02-23 Thread Pete Lavetsky (AdWords API Guru)
When mutating a resource that contains a union field, if there is a missing required field on the union field data, that required field name is not returned in the error message. This masks what the actual error is and what field is required. In my example below, attempting to create a Responsi

Re: Updated Needed Regarding PHONE_NUMBER_IN_AD_TEXT Error

2022-02-23 Thread Pete Lavetsky (AdWords API Guru)
Jinky, The complete request, response and request-id is literally in the initial post. request-id E1xHa8pD5WxhHpB_Ecuk2w Request --- MethodName: google.ads.googleads.v10.services.AdService/MutateAds Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id

Updated Needed Regarding PHONE_NUMBER_IN_AD_TEXT Error

2022-02-22 Thread Pete Lavetsky (AdWords API Guru)
Hi all, We're looking for an update regarding Google's effort to not falsely identify ad text as containing phone numbers and marking the ad disapproved because of the PHONE_NUMBER_IN_AD_TEXT topic This has previously been brought up by myself on this forum : https://groups.google.com/g/adword

Re: IMAGE_AD Immutable or Mutable?

2022-01-18 Thread Pete Lavetsky (AdWords API Guru)
Yasar, You can't set resource_name on ImageAdInfo as ImageAdInfo is not a resource : https://developers.google.com/google-ads/api/reference/rpc/v9/ImageAdInfo Here is a request, with no specific customer details, that fails when you only send in the resource_name and final_urls, with no empty i

Re: IMAGE_AD Immutable or Mutable?

2022-01-17 Thread Pete Lavetsky (AdWords API Guru)
odify an ad." trigger { string_value: "" } location { field_path_elements { field_name: "operations" index: 0 } field_path_elements { field_name: "update" } field_path_elements { field_name: "resource_nam

Re: IMAGE_AD Immutable or Mutable?

2022-01-17 Thread Pete Lavetsky (AdWords API Guru)
Hey Yasar, I apologize for the delayed response, I missed the notification that you had made an update to the thread. I've adjusted our code to not have the resource_name as part of the update_mask but my example still fails with the same error. Furthermore, if resource_name was *not* able to

IMAGE_AD Immutable or Mutable?

2022-01-12 Thread Pete Lavetsky (AdWords API Guru)
Hi all, This question boils down to: "Are final urls of Image Ads mutable?" According to this documentation it says that Image Ads are mutable : https://developers.google.com/google-ads/api/docs/ads/ad-types#description_of_each_ad_type However here it says that ImageAdInfo is immutable : http

Re: New Notifications / Explanations In UI Available in API?

2021-12-17 Thread Pete Lavetsky (AdWords API Guru)
Thank you Ernie. Really hope this gains internal traction as it has huge external value. Pete On Friday, December 17, 2021 at 1:25:09 AM UTC-5 adsapi wrote: > Hi Pete, > > Thank you for raising your concern to my team. > > Upon checking, it appears that there is no API service that is equivalen

FEATURE REQUEST: Expose Business Operations Verification Status

2021-11-30 Thread Pete Lavetsky (AdWords API Guru)
Already requested here: https://github.com/googleads/google-ads-java/issues/508 but asked to post here as this will kick off the official process. It would be helpful to have the ability to programmatically look at Customers and determine their Business Operations Verification status. Although

Re: Call extensions bug

2021-09-30 Thread Pete Lavetsky (AdWords API Guru)
Was there any resolution to this? We're running into the same thing. On an existing CallFeedItem, we are changing the CallConversionReportingState to USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION via setCallConversionReportingState ( Google Ads API Client Library for Java v 15.0.0 ) This mutate su

Re: How to set Keyword settting to Audience or Content when I add display keyword via adwords api?

2021-08-10 Thread Pete Lavetsky (AdWords API Guru)
Has there been any update to this issue with regard to availability with the Ads API? https://support.google.com/google-ads/answer/2404186#zippy=%2Cyou-choose-keywords-and-topics "Contextual targeting is one of a few different methods that you can use to get your display ads on sites, apps, and

Re: Update Image Extensions : Resource Was Not Found

2021-07-26 Thread Pete Lavetsky (AdWords API Guru)
Bump? please On Wednesday, July 21, 2021 at 10:36:59 AM UTC-4 adsapi wrote: > Hi Pete, > > Thanks for providing that. Please allow me to share this with our team and > we will provide an update shortly. > > Regards, > Matt > Google Ads API Team > > [image: Google Logo] > Matt > Google Ads API

Re: Update Image Extensions : Resource Was Not Found

2021-07-19 Thread Pete Lavetsky (AdWords API Guru)
I gave the request ID of o1chTC8UDgR0aEJ9kB6tGQ in the first sentence of the thread. Pete On Sunday, July 18, 2021 at 11:24:13 PM UTC-4 adsapi wrote: > Hi Pete, > > Thank you for posting your concern. > > To further investigate the issue, could you also provide the complete > request >

Update Image Extensions : Resource Was Not Found

2021-07-16 Thread Pete Lavetsky (AdWords API Guru)
The requestId discussed in this thread is: o1chTC8UDgR0aEJ9kB6tGQ We're running into issues when attempting to update existing ExtensionFeedItems for Image Extensions Are there any whitelisting preclusions for mutating Image Extensions or their ExtensionFeedItems ? Running this query: query: "

Re: V8 : CALL_AD : display_url VALUE_MUST_BE_UNSET

2021-07-15 Thread Pete Lavetsky (AdWords API Guru)
Anash, Thanks for the full explanation ... I appreciate the communication. Pete On Thursday, July 8, 2021 at 6:20:00 PM UTC-4 adsapi wrote: > Hi Pete, > > I read through the whole thread, the blog and the Java GitHub bug. > Unfortunately in this case, the "fix" you provided in the GitHub bug i

Re: GAQL String Query | How to Select Campaign by Campaign ID

2021-07-13 Thread Pete Lavetsky (AdWords API Guru)
Hey Reid, Use the GAQL query builder to validate your queries : https://developers.google.com/google-ads/api/fields/v8/campaign_query_builder SELECT campaign.id, campaign.name, campaign.vanity_pharma.vanity_pharma_text FROM campaign WHERE campaign.id = 11031113693 Pete On Monday, July 12, 20

Re: How to get list of all resource from Google Ads API?

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
you show url example like > https://googleads.googleapis.com/v8/googleAdsFields/ad_group for use > SearchGoogleAdsFieldsRequest > > there is no example in the documentation > вторник, 6 июля 2021 г. в 19:11:19 UTC+3, Pete Lavetsky (AdWords API > Guru): > >> You can use

Re: How to get list of all resource from Google Ads API?

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
You can use the GoogleAdsFieldsService to accomplish this https://ads-developers.googleblog.com/2021/04/the-query-builder-blog-series-part-3.html https://developers.google.com/google-ads/api/reference/rpc/v8/GoogleAdsFieldService Pete On Friday, July 2, 2021 at 11:53:14 AM UTC-4 alsey@gmail

Re: Cannot change campaign strategy

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
Ewin, Check out this thread for the answer: https://github.com/googleads/google-ads-java/issues/272 Pete On Monday, July 5, 2021 at 1:12:37 AM UTC-4 adsapi wrote: > Hi Ewin, > > Thank you for reaching out. > > So that our team may take a closer look, could you also provide > the complete requ

Re: Time to get geo targeting live?

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
It's immediate ... you would be able to mutate and then a search back to back and you'd get the newly added geo target in the search. Pete On Monday, July 5, 2021 at 10:39:40 AM UTC-4 zakwa...@gmail.com wrote: > I have the same question. Any updates? > > On Thursday, July 1, 2021 at 9:02:55 AM

Re: "conversion action" report

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
I see in the GAds UI view that there are some conversion actions, but > the query returns an empty result set - then how can I bridge that gap? > > > Intuitively I could have expanded the date range, but syntactically it's > not applicable. > > On Tue, Jul 6, 2021 at

Re: "conversion action" report

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
Hey Elad, You can use the Query Builder tool to validate your query: https://developers.google.com/google-ads/api/fields/v8/conversion_action_query_builder Pete On Tuesday, July 6, 2021 at 2:59:11 AM UTC-4 adsapi wrote: > Hi, > > It appears that your concern is related to the Google Ads Script

Re: java.lang.NoSuchMethodError: 'com.google.api.gax.rpc.StubSettings$Builder com.google.ads.googleads.v8.services.stub.GoogleAdsServiceStubSettings$Builder.setMtlsEndpoint(java.lang.String)'

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
Suchitra, That's interesting. I don't get that error. Here's my gradle definition for the Ads library: com.google.api-ads:google-ads:13.0.0 Coupled with this message this might be a bit concerning : https://groups.google.com/g/adwords-api/c/kgDoqrCMYw8 Creating an md5 hash on the jar gives me

Re: V8 : CALL_AD : display_url VALUE_MUST_BE_UNSET

2021-07-06 Thread Pete Lavetsky (AdWords API Guru)
The only thing it contained was the request-Id ... everything else was REDACTED ... what was sensitive about it? Pete On Sunday, July 4, 2021 at 10:43:08 PM UTC-4 adsapi wrote: > Hi Pete, > > I had to delete your recent response as it contained your logs. You may > instead use the *Reply priva

Re: V8 : CALL_AD : display_url VALUE_MUST_BE_UNSET

2021-06-30 Thread Pete Lavetsky (AdWords API Guru)
Thanks for the followup Peter. This is why I originally posted the bug to the Java Client Library forum because the solution you state, *which I had tried*, "Therefore, you need to explicitly set display_url ( on the Ad resource ) to be an empty string", does not work with the Java Client Libra

Non-Merchant Center Dynamic Remarketing Campaign Creation

2021-06-29 Thread Pete Lavetsky (AdWords API Guru)
Hello, We are trying to create a Dynamic Remarketing Campaign for a non-retailer. For this I'm under the impression that I do not attach a Merchant Center id to the Campaign. https://support.google.com/google-ads/answer/3124536 "You’ll upload your feed to the Business data section of your Shar

Re: Exclude resourceName from response

2021-06-24 Thread Pete Lavetsky (AdWords API Guru)
Hey Zhisheng, This question also came up recently in the Java client library board: https://github.com/googleads/google-ads-java/issues/438 Long story short it doesn't look like removing resource_name will be coming any time soon. They are working on compression toggles tho. Pete On Wednesda

Re: Google Ads Groups Campaigns Cost By Time Frame

2021-06-24 Thread Pete Lavetsky (AdWords API Guru)
Hey Ali, At this time you can only specify segments.date in -MM-DD format: https://developers.google.com/google-ads/api/docs/query/date-ranges Hope that helps Pete On Thursday, June 24, 2021 at 4:45:28 AM UTC-4 aliabdul...@gmail.com wrote: > > Dears, > > > Could you please help me finding

Re: AdWordsApiException - InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
Hey John, We also had issues with the API starting about 4pm EST yesterday. It cleared itself up around 4am EST today. Are you still having problems? Pete On Tuesday, June 22, 2021 at 11:15:16 PM UTC-4 john@motominer.com wrote: > Starting today, around 4pm CT, we began getting the followin

Re: question about campaign recommendations through the API

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
Hey there, I'm pretty sure recommendations were in V6. They're definitely in V8 as well as V7. It's possible ( but unlikely ) there's no recommendations for the customer you're querying. This query string should work: select recommendation.ad_group, recommendation.call_extension_recommendati

Re: Responses in CSV format for Google Ads API ?

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
Hey Sam, Currently I don't believe it is possible to get it back in CSV : https://groups.google.com/g/adwords-api/c/oBtx_3IKEEA/m/Uge9x6B-CwAJ Pete On Tuesday, June 22, 2021 at 5:38:53 PM UTC-4 zhisheng...@gmail.com wrote: > Hi. Is that possible to let Google Ads > API(*https://googleads.goog

Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
Hey Priya, We ran into this too and here's how we do it in Java: final String conversionDateTime = ZonedDateTime.of(conversion.getDateTime(), ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd hh:mm:ss")) + "+00:00"; // ignore the totaly hack tacked on at the end https://bugs.ope

Re: Migrated to V8 : Started Seeing Increased Rate of DEADLINE_EXCEEDED

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
same boat: > > [image: Bildschirmfoto vom 2021-06-23 07-16-40.png] > > > Regards > Mat > > Pete Lavetsky (AdWords API Guru) schrieb am Mittwoch, 23. Juni 2021 um > 04:22:52 UTC+2: > >> Even on mutates that don't make it to our DEADLINE threshold we

Re: Migrated to V8 : Started Seeing Increased Rate of DEADLINE_EXCEEDED

2021-06-22 Thread Pete Lavetsky (AdWords API Guru)
3481 22 14 9.4694 22 15 13.9076 22 16 13.1181 22 17 20.0910 22 18 16.3803 22 19 19.1051 22 20 38.2070 22 21 480.0347 22 22 61.2185 22 23 227.2379 On Tuesday, June 22, 2021 at 9:49:41 PM UTC-4 Pete Lavetsky (AdWords API Guru) wrote: > We're now seeing this on other calls as well. These a

Re: Migrated to V8 : Started Seeing Increased Rate of DEADLINE_EXCEEDED

2021-06-22 Thread Pete Lavetsky (AdWords API Guru)
Fault: deadline exceeded after 3599.998821696s. [buffered_nanos=66057372, buffered_nanos=77619715, remote_addr=googleads.googleapis.com/142.250.191.202:443]. On Tuesday, June 22, 2021 at 8:23:06 PM UTC-4 Pete Lavetsky (AdWords API Guru) wrote: > We put V8 into production earlier today. Everyt

Migrated to V8 : Started Seeing Increased Rate of DEADLINE_EXCEEDED

2021-06-22 Thread Pete Lavetsky (AdWords API Guru)
We put V8 into production earlier today. Everything was fine for about 6.5 hours and then we started seeing an increased rate of DEADLINE_EXCEEDED Our GrpcCallContext is configured for a 5m timeout and that's been fine for months I reverted back to V7 and we haven't seen a DEADLINE_EXCEEDED fo

V8 : CALL_AD : display_url VALUE_MUST_BE_UNSET

2021-06-22 Thread Pete Lavetsky (AdWords API Guru)
Originally posted in the Java library bug list : https://github.com/googleads/google-ads-java/issues/447 Was told to post here. All request IDs and logs are in the above thread. We are not passing in display_url to an existing CallAd but on mutation we receive an error back that display_url VA

Re: Ad Disapproved For PHONE_NUMBER_IN_AD_TEXT When Ad Does Not Have Phone Number

2021-06-17 Thread Pete Lavetsky (AdWords API Guru)
Thanks Peter, In this instance I'll have our team create a brand new identical Ad and we'll pass along the policy_validation_parameter on initial Add and see if the Ad gets approved. The "Subscribe" feature started working after my last post so ¯\_(ツ)_/¯ Pete On Wednesday, June 16, 2021 at 10:

Re: Ads API - which fields are of type Money?

2021-06-15 Thread Pete Lavetsky (AdWords API Guru)
Hey Mike, You can solve this by using the GoogleAdsFieldService : https://developers.google.com/google-ads/api/reference/rpc/v8/GoogleAdsFieldService SELECT name, category, data_type, selectable, filterable, sortable, selectable_with, metrics, segments, is_repeated, type_url, enum_values, att

Re: Ad Disapproved For PHONE_NUMBER_IN_AD_TEXT When Ad Does Not Have Phone Number

2021-06-15 Thread Pete Lavetsky (AdWords API Guru)
Ernie, Sorry for the delay. The "Subscribe" on this thread doesn't seem to be working so I'm not getting notified on responses. To be clear: we are not getting an error on the mutation of this Ad. I'm not trying to circumvent an error. We have a full resource name for this Ad. It exists at Goo

Re: Ad Disapproved For PHONE_NUMBER_IN_AD_TEXT When Ad Does Not Have Phone Number

2021-06-14 Thread Pete Lavetsky (AdWords API Guru)
e Oliquino > Google Ads API Team > > On Friday, June 11, 2021 at 9:37:28 PM UTC+8 Pete Lavetsky (AdWords API > Guru) wrote: > >> Good morning, >> >> We have an EXPANDED_TEXT_AD that is marked as following: >> >> policy_topic_entries : [type: PRO

Ad Disapproved For PHONE_NUMBER_IN_AD_TEXT When Ad Does Not Have Phone Number

2021-06-11 Thread Pete Lavetsky (AdWords API Guru)
Good morning, We have an EXPANDED_TEXT_AD that is marked as following: policy_topic_entries : [type: PROHIBITEDtopic: "PHONE_NUMBER_IN_AD_TEXT"] review_status : REVIEWED approval_status : DISAPPROVED The Ad looks like: resource_name : customers/3722803595/adGroupAds/126284834587~526601161599 st

Re: Unable To Change Bidding Strategy To MAXIMIZE_CONVERSION_VALUE

2021-03-15 Thread Pete Lavetsky (AdWords API Guru)
Mark, The reply privately to author is not allowed for me. I've jumped through the hoops here https://support.google.com/a/users/answer/9308783?hl=en and the button is still greyed out for me. My email is pete.lavet...@gmail.com if you want to contact me there to get this resolved. Pete On

Unable To Change Bidding Strategy To MAXIMIZE_CONVERSION_VALUE

2021-03-12 Thread Pete Lavetsky (AdWords API Guru)
This post will ask the same question that has been asked many times on this forum with no acceptable response by Google. https://groups.google.com/g/adwords-api/c/5i9y0NlD2to/m/_E721eKXCwAJ https://groups.google.com/g/adwords-api/c/6AyogtFnN1c/m/mXOKjYuXCAAJ https://groups.google.com/g/adwords-

Re: DEADLINE_EXCEEDED eror

2021-03-08 Thread Pete Lavetsky (AdWords API Guru)
There's no reply privately option I see ... maybe only for OP? This is 100% still happening. I have an open ticket on the Java API bug tracker, tho it's not a Java specific problem : https://github.com/googleads/google-ads-java/issues/407 The requests are not making it to Google's servers ... l

Re: DEADLINE_EXCEEDED eror

2021-03-06 Thread Pete Lavetsky (AdWords API Guru)
Same here. Started 3am EST March 3rd. Pete On Friday, March 5, 2021 at 10:54:23 AM UTC-5 Jack wrote: > Following Running into this too since March 2nd. > > On Thursday, March 4, 2021 at 7:01:25 PM UTC-7 dinesh...@sony.com wrote: > >> We have been seeing this error a few times in the last 24

Re: V6 Reporting Documentation Incorrect

2021-02-11 Thread Pete Lavetsky (AdWords API Guru)
Hi Anash, Any update on this matter? I noticed 6.1 had some Conversion work so wondering if we're getting any closer https://developers.google.com/google-ads/api/docs/release-notes#reporting-v6_1 Thanks Pete On Friday, December 11, 2020 at 5:20:30 PM UTC-5 adsapiforumadvisor wrote: > Hi Pete

Re: V6 Reporting Documentation Incorrect

2020-12-08 Thread Pete Lavetsky (AdWords API Guru)
Anthony, I've been using the query builder and that's why I'm here asking if the rules Google has put in place for conversion action segments is correct. Throw out everything I said above and just use the Interactive Google Ads Query Builder to start with customer resource and metrics.cost_micr

Re: V6 Reporting Documentation Incorrect

2020-12-07 Thread Pete Lavetsky (AdWords API Guru)
ber 7, 2020 at 12:42:49 PM UTC-5 Pete Lavetsky (AdWords API Guru) wrote: > Hi Abraham, > > Thanks for that insight. > > As stated, we're attempting to migrate the last of our reports over from > AdWords API to Ads API. > > As a more basic exa

Re: V6 Reporting Documentation Incorrect

2020-12-07 Thread Pete Lavetsky (AdWords API Guru)
Hi Abraham, Thanks for that insight. As stated, we're attempting to migrate the last of our reports over from AdWords API to Ads API. As a more basic example lets talk about migrating our ACCOUNT_PERFORMANCE_REPORT ( https://developers.google.com/google-ads/api/docs/migration/reports#accoun

V6 Reporting Documentation Incorrect

2020-11-30 Thread Pete Lavetsky (AdWords API Guru)
Hello! We're trying to migrate a few reports from v201809 of the AdWords API to V6 of the Ads API I'm referencing this documentation: https://developers.google.com/google-ads/api/fields/v6/campaign My query is: select customer.id, campaign.id, segments.date, segments.ad_network_type, segment

Can't Add Geos To Video Campaign

2020-11-09 Thread Pete Lavetsky (AdWords API Guru)
Hi All, We're seeing an issue with a VIDEO campaign where we can't add positive targeting Geos to it. The error we're getting back is: MutateResult{error= operation_access_denied_error : MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT message : A mutate action is not allowed on this campaign, from this

Re: Audience Sources : Google Ads Tag : Parameter Key and Values via API

2020-10-20 Thread Pete Lavetsky (AdWords API Guru)
Thank you Ernie. On Monday, October 19, 2020 at 10:09:48 PM UTC-4 adsapiforumadvisor wrote: > Hi Pete, > > Thanks for the reply. I work with Peter and let me provide support to your > concern. > > I am afraid that it is currently not possible to get the Google Ads Tag > parameter key and values

Re: Audience Sources : Google Ads Tag : Parameter Key and Values via API

2020-10-19 Thread Pete Lavetsky (AdWords API Guru)
Hi Peter, Just wanted to confirm a few things: https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/SetupAdvancedRemarketing.java At line 114 of that example code it reference a string value of "ecomm_pagetype"

Re: Discrepancy between UI and API for creation of portfolio bid strategy with Maximize Conversions

2020-08-12 Thread Pete Lavetsky (AdWords API Guru)
by using the old > adwords api. Im not event sure that the old one support > MaximizeConversionValue but it sure support MaximizeConversions. > > Claude > > On Wednesday, August 12, 2020 at 11:41:53 AM UTC-4 Pete Lavetsky (AdWords > API Guru) wrote: > >> Hi All, >&g

Re: Discrepancy between UI and API for creation of portfolio bid strategy with Maximize Conversions

2020-08-12 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Was there a resolution to this? We're on V4 of Ads API using the Java client library. MAXIMIZE_CONVERSIONS is not available to set as a portfolio bidding strategy. Others have indicated they've had Google fix this for them? https://support.google.com/google-ads/answer/6263072?hl=en c

Re: Setting up Google ADS API for the offline conversion upload service

2020-07-22 Thread Pete Lavetsky (AdWords API Guru)
Michel + Pablo: Here's what you do: Via the API, look at the Customer object for the CID you're attempting to upload the ConversionAction for. crossAccountConversionTrackingId = getCustomer().getConversionTrackingSetting().getCrossAccountConversionTrackingId() Now iterate through the Customer

Re: Optimization Recommendation Uplift Score?

2020-07-21 Thread Pete Lavetsky (AdWords API Guru)
Hi Xiaoming, Let me ask this a different way: If my current account level optimization score is 0.70314, how would I utilize the RecommendationImpact object to calculate what my optimization score would be after applying any individual recommendation? The RecommendationImpact object ( https:/

Optimization Recommendation Uplift Score?

2020-07-21 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Articles about optimization recommendations ( https://support.google.com/google-ads/answer/9061546?hl=en ) reference a "score uplift" being associated with each recommendation. Is this uplift number currently available through the API? We're on V4 FWIW. I see the RecommendationImpact o

Re: Setting up Google ADS API for the offline conversion upload service

2020-07-17 Thread Pete Lavetsky (AdWords API Guru)
Hi Pablo, I'm assuming this is a cross account conversion tracking problem. If there's only two accounts in the entirety of your account hierarchy it should be pretty straight forward. If not, reply back and I'll walk you through the hoops we had to jump through to figure this out. What you wa

Re: Cross Account Click Conversion Upload

2020-06-26 Thread Pete Lavetsky (AdWords API Guru)
Thanks Mitchell. How are we to know which manager account to use? In this instance the client account has 3 active CustomerManagerLinks. The ID in the cross_account_conversion_tracking_id is 9 digits, instead of an expected 10 for a CID I can get the conversion actions via the ConversionAction

Cross Account Click Conversion Upload

2020-06-26 Thread Pete Lavetsky (AdWords API Guru)
Hi All, We're running into issues uploading ClickConversions to a ConversionAction. Reading through https://developers.google.com/google-ads/api/docs/conversions/upload-clicks a couple times we've discovered that the Customer object of the account in question has a cross_account_conversion_tr

Re: Setting up Google ADS API for the offline conversion upload service

2020-06-25 Thread Pete Lavetsky (AdWords API Guru)
Also getting this same error ... attempting to upload click conversions. Here's the Conversion Action I'm attempting to upload to ... does everything look ok for uploading clicks? conversionAction= resource_name : customers/ABC/conversionActions/123 id : 123 name : "ABCCBA" status : ENABLED

Re: Location Extensions / Business Account Identifier

2020-06-22 Thread Pete Lavetsky (AdWords API Guru)
Hi Andrew, I appreciate the follow up. The Google Ads API example is great and will be utilized, however the two pieces of information in there are really what we're looking to immediately solve. .setEmailAddress(StringValue.of(gmbEmailAddress)) .setBusinessAccountId(StringValue.of(businessAcc

Re: Location Extensions / Business Account Identifier

2020-06-16 Thread Pete Lavetsky (AdWords API Guru)
Nirmita, My name is Pete, not Peta. Can you get a colleague to review my question and respond? You managed to answer every single part of my question either incorrectly or in a misleading manner. 1) I'm not asking if I can get the value back in String format. The "name" attribute is a resou

Location Extensions / Business Account Identifier

2020-06-15 Thread Pete Lavetsky (AdWords API Guru)
Good afternoon all, I'm attempting to integrate Google My Business and Location Extensions for our customers. Following the example: https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/extensions/AddGoogleMyBusinessLocatio

Retrieve Overdue Account Balance Alerts via API

2020-04-14 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Via the API, is it possible to retrieve account alerts like the one seen in the attached file? It's for an "overdue account balance" alert that results in Ads not running. Also, is the InvoiceService a Whitelist only service? https://developers.google.com/google-ads/api/docs/billing/in

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-04-09 Thread Pete Lavetsky (AdWords API Guru)
Good morning Anash, The bug report has been filed: https://github.com/googleads/google-ads-java/issues/272 Thanks Pete On Wednesday, April 8, 2020 at 3:11:34 PM UTC-4, adsapiforumadvisor wrote: > > Hi Pete, > > Could you file a bug on the Java library repo? > https://github.com/googleads/googl

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-04-08 Thread Pete Lavetsky (AdWords API Guru)
Hi Anash, Manually adding "maximize_conversions" as a fieldmask does correctly mutate the campaign. May I assume there will be an API library update made for this problem? Thanks, Pete On Tuesday, April 7, 2020 at 4:12:33 PM UTC-4, adsapiforumadvisor wrote: > > Hi Pete, > > Could you try manua

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-04-02 Thread Pete Lavetsky (AdWords API Guru)
Hi Mitchell, I did receive your message on the 30th and I did reply to it. In my private reply I included full creds / account numbers. I can include those again privately if needed. Here was my response: Hi Mitchell, I think we may be crossing streams a bit in our c

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-04-02 Thread Pete Lavetsky (AdWords API Guru)
Hi All, I've responded privately to Google about this but last heard back about 72 hours ago. Any update? Can provide more details if needed. Thanks Pete On Friday, March 27, 2020 at 1:17:10 PM UTC-4, Pete Lavetsky (AdWords API Guru) wrote: > > I've responded privately to

Re: Product Partition Report Migration Problem

2020-03-31 Thread Pete Lavetsky (AdWords API Guru)
Thanks Mitchell, Guess I glazed over that section of the page and didn't connect the dots. Pete On Tuesday, March 31, 2020 at 3:10:47 PM UTC-4, adsapiforumadvisor wrote: > > Hi Pete, > > Thank you for reaching out. As shown here >

Product Partition Report Migration Problem

2020-03-31 Thread Pete Lavetsky (AdWords API Guru)
Hi All, I am attempting to migrate our Product Partition report but running into a few problems. I'm referencing the fields here: https://developers.google.com/google-ads/api/docs/migration/reports#product_partition The question boils down to: what resource do I want in my from clause? Here a

Re: Problem With Report Segments

2020-03-30 Thread Pete Lavetsky (AdWords API Guru)
hose types into one, where the Ads API will segment them out. We're transforming the value to Search Network in order to maintain parity with previously expected values. I'll have to do some more work on my end for this. Pete On Monday, March 30, 2020 at 8:39:18 AM UTC-4, Pete La

Re: Problem With Report Segments

2020-03-30 Thread Pete Lavetsky (AdWords API Guru)
Good morning Mitchell, I've added in geographic_view.location_type to my query but still receiving "bad" results ... example query with redacted credentials: Request --- MethodName: google.ads.googleads.v3.services.GoogleAdsService/Search Endpoint: googleads.googleapis.com:443 Headers: {deve

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-03-27 Thread Pete Lavetsky (AdWords API Guru)
I've responded privately to author with the details. On Friday, March 27, 2020 at 1:06:49 PM UTC-4, adsapiforumadvisor wrote: > > Hi Pete, > > Thank you for reaching out. There are no updates on this. Can you please > share the complete detailed request and response logs for the call *via > Repl

Re: Maximum Conversions Bid Strategy Not Updating in Google Ads

2020-03-26 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Was there any resolution to this? We're having the same exact problem. A Campaign is TARGET_CPA at Google and we're attempting to update to MAXIMIZE_CONVERSIONS. No error on the request ... response comes back fine but the bidding strategy doesn't change. Thanks Pete On Thursday, Janu

Problem With Report Segments

2020-03-26 Thread Pete Lavetsky (AdWords API Guru)
Hi All, I'm attempting to migrate our Geo Performance report from AdWords -> Ads. I end up with this query: query: "select customer.id, geographic_view.country_criterion_id, segments.geo_target_most_specific_location, metrics.cost_micros, metrics.impressions, metrics.clicks, segments.ad_networ

MCC Level Reporting

2020-03-18 Thread Pete Lavetsky (AdWords API Guru)
Hi All, >From the looks of a couple different resources ( https://developers.google.com/adwords/api/docs/guides/reporting#reports_for_multiple_accounts ... https://groups.google.com/forum/#!searchin/adwords-api/mcc$20report|sort:date/adwords-api/iZo1Fym5XIY/VcCZOlPJEAAJ ) it looks like it's n

Re: Convert Google-Ads API GoogleAdsRow object to a dictionary or something useful to end up in a .CSV?

2020-03-02 Thread Pete Lavetsky (AdWords API Guru)
James, Look into the getAllFields method on the GeneratedMessageV3 object for each object returned within each GoogleAdsRow. Relatively straight forward exercise to map back to your query string. Google Reps: A toCSV option would be greatly appreciated and make everyone's lives easier. Header

Re: ExtensionFeedItem Targets

2020-01-29 Thread Pete Lavetsky (AdWords API Guru)
Bump On Tuesday, January 28, 2020 at 12:17:00 PM UTC-5, Pete Lavetsky (AdWords API Guru) wrote: > > Hello all, > > When adding an ExtensionFeedItem, is the intention that we set the > resource name for setTargetedAdGroup or setTargetedCampaign in order for > the mutated Ex

ExtensionFeedItem Targets

2020-01-28 Thread Pete Lavetsky (AdWords API Guru)
Hello all, When adding an ExtensionFeedItem, is the intention that we set the resource name for setTargetedAdGroup or setTargetedCampaign in order for the mutated ExtensionFeedItem to then be available as an attached resource under AdGroupExtensionSetting or CampaignExtensionSetting getExtensi

Adding Portfolio Bidding Strategy of type MAXIMIZE_CONVERSIONS Through New API

2020-01-23 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Is it possible to add a Portfolio Bidding Strategy of type MAXIMIZE_CONVERSIONS through the new API? Using this as a guide: https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/advancedoperations/UsePortfolioBidding

No RemarketingAction Returned

2020-01-09 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Migrating from Java library 201809 -> Ads v2 I have a question about Remarketing Settings and Remarketing Actions In 201809 we used the Customer -> RemarketingSettings object to get both the Google Global Site Tag as well as the Snippet. In Ads v2 we can still get the Google Global Sit

Re: No Details On UNEXPECTED_INTERNAL_API_ERROR

2019-12-20 Thread Pete Lavetsky (AdWords API Guru)
Hi Mitchell and All, I replied privately with the full SOAP logs yesterday. Any update? Thanks Pete On Thursday, December 19, 2019 at 3:40:39 PM UTC-5, adsapiforumadvisor wrote: > > Hi Pete, > > Thank you for reaching out. Please provide the complete request and > response logs *via reply pri

No Details On UNEXPECTED_INTERNAL_API_ERROR

2019-12-19 Thread Pete Lavetsky (AdWords API Guru)
Hi All, We have a Java library, v201809, CampaignService SET operation that is 100% of the time giving us a response of UNEXPECTED_INTERNAL_API_ERROR soap:Server [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.Inter

Re: Google Ads Optimisation Score

2019-10-28 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Has there been any update to this? Will the account optimization score be available in the API any time soon? Thanks Pete On Friday, July 12, 2019 at 5:23:40 PM UTC-4, adsapiforumadvisor wrote: > > Hi Joe, > > It is not possible to get optimization score via API.I have raised a > featu

Re: Continuing UNEXPECTED_INTERNAL_API_ERROR

2019-10-09 Thread Pete Lavetsky (AdWords API Guru)
Hi All, I responded privately to the author and have not received a response back. Should I post the SOAP messages publicly here? Pete On Tuesday, October 8, 2019 at 3:22:42 AM UTC-4, adsapiforumadvisor wrote: > > Hi Pete, > > Thank you for reaching out. > > The InternalApiError.UNEXPECTED_INTE

Continuing UNEXPECTED_INTERNAL_API_ERROR

2019-10-07 Thread Pete Lavetsky (AdWords API Guru)
Hi all, Usually when we see an UNEXPECTED_INTERNAL_API_ERROR it clears itself up after retry or two, but on a specific Account + Campaign combo we've been getting this error continuously for multiple days. There's no more details in the SOAP log so I really have nothing to go on, other than ou

Re: Setting sitelinkUrl throws DESTINATION_URL_DEPRECATED error

2019-08-21 Thread Pete Lavetsky (AdWords API Guru)
Suresh, What is the destination URL you're attempting to set? Pete On Wednesday, August 21, 2019 at 6:33:51 AM UTC-4, Suresh Kumar Shenbagam wrote: > > Hi, > > Language: Java. > > I am trying to create Sitelink extension for a campaign and I am not able > to set value to sitelinkUrl parameter

SharedSet EntityNotFound.INVALID_ID

2019-05-22 Thread Pete Lavetsky (AdWords API Guru)
Hi All, For the following problem I have a SOAP request ID: 0005897d05508c2c0a3f32078509c83e I am attempting to add a SharedCriterion to a SharedSet. When making the request, I get a response error: [EntityNotFound.INVALID_ID @ operations[0].operand.sharedSetId; trigger:'SharedSetId{id=148724

Are Responsive Search Ads Mutable?

2019-05-01 Thread Pete Lavetsky (AdWords API Guru)
Hi All, Basic question: are Responsive Search Ads mutable beyond status? Given the documentation here the answer appears to be yes: https://developers.google.com/adwords/api/docs/guides/ad-features Ad types that support mutability Only the following ad types are mutable via AdService: - E

Re: INVALID_PRODUCT_DIMENSION_TYPE When Adding CampaignCriterion To A Shopping Campaign

2018-12-11 Thread Pete Lavetsky (AdWords API Guru)
Peter, D'oh! I was testing the ProductScope stuff on a Campaign I had previously added under a different context. Thanks for clearing that up for me, and for the prompt response. Pete -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdevelope

INVALID_PRODUCT_DIMENSION_TYPE When Adding CampaignCriterion To A Shopping Campaign

2018-12-11 Thread Pete Lavetsky (AdWords API Guru)
Hi All, I am getting a CriterionError.INVALID_PRODUCT_DIMENSION_TYPE when attempting to add any product dimension other than ProductBrand to a ProductScope. After running into the error with my own code I tried with the github samples provided for Shopping Campaigns as located here: https://g

  1   2   3   >