Re: Bug? existing_count wrong when adding Responsive Search Ads

2022-02-02 Thread Hans Sjulstad
Hi Ernie,

This is Hans, in a different timezone as Greg mentioned.

Please see attachment for another request and response with request ID and
request header, no redacted information this time.

Note that this request is for *Responsive Search Ads* *only*, and that the
only issue I have is the existing_count: 3, existing_count should have
returned 0 in this case or perhaps not part of the response at all.

(Note that a similar test with too many expanded text ads things work
properly, with existing_count excluded, assuming none in that case)

Thanks,

Hans

On Wed, Feb 2, 2022 at 10:38 AM 'Google Ads API Forum Advisor' via Google
Ads API and AdWords API Forum  wrote:

> Hi Greg,
>
> Thank you for providing more details to your concern. I am also a member
> of the Google Ads API team and let me provide support to your concern.
>
> So that I can discuss your concern to my team, could you provide the
> complete request
> 
> and response
> 
> logs with request ID
> 
> and request header
> 
> generated on your end for the expanded text ads with the expected response
> and for the responsive search ad that you think have issue, without
> redacted information?
>
> You can provide it via *Reply privately to author* option. If this option
> is not available, then send it instead on this email address
> googleadsapi-supp...@google.com.
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2W2rMl:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "Google Ads API and AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/h4UBfP5IvPY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/jKG_V0R6O83500rPvPmmtQTw2bo9MJ9Jq4Ew%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAFU9o7Suajd8tc2RB25kGiWN%3DivJHcD3JV4gisc6ENGbynKcxQ%40mail.gmail.com.
2022-02-02 11:02:42.234  [grpc-default-executor-2] WARN summary: FAILURE 
REQUEST SUMMARY. Method: 
google.ads.googleads.v9.services.AdGroupAdService/MutateAdGroupAds, Endpoint: 
googleads.googleapis.com:443, CustomerID: 6257802538, RequestID: 
n1CYbkjBXmBvetAT7bM_xQ, ResponseCode: INVALID_ARGUMENT, Fault: Request contains 
an invalid argument..
2022-02-02 11:02:42.285  [grpc-default-executor-2] INFO detail: FAILURE REQUEST 
DETAIL.
Request
---
MethodName: google.ads.googleads.v9.services.AdGroupAdService/MutateAdGroupAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6945922478, 
x-goog-api-client=gl-java/11.0.7 gccl/16.0.2 gapic/16.0.2 gax/2.7.1 grpc/1.43.1}
Body: customer_id: "6257802538"
operations {
  create {
status: ENABLED
ad {
  responsive_search_ad {
headlines {
  text: "40a00ed4-840f-11ec-b8ea-e"
}
headlines {
  text: 

Bug? existing_count wrong when adding Responsive Search Ads

2022-01-31 Thread Hans Sjulstad
Hi,

When adding too many Responsive Search Ads via MutateAdGroupAds, there 
seems to be a bug on your end within the error response. I get the main 
error as expected, "resource_count_limit_exceeded_error: RESOURCE_LIMIT". 
 This part OK. But the "existing_count" seem wrong. I always get 
existing_count: 3. Should be 0 in my case as new campaign and adgroup

I am guessing that somewhere in your code when populating  existing_count, 
it is not populated with live ads, but rather populated with the limit?  If 
this is the case, should be an easy fix perhaps.

I am including the whole request/response (without any sensitive 
information). request_id: "PG3z92tNF_rs4Bghi3eRhA"

Can you look into this please?

Thanks, Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/83af8ab1-a85e-4b56-8b9e-6322328d2ccfn%40googlegroups.com.
2022-01-31 12:30:32.481  [grpc-default-executor-0] INFO detail: FAILURE REQUEST 
DETAIL.
Request
---
MethodName: google.ads.googleads.v9.services.AdGroupAdService/MutateAdGroupAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=XX, 
x-goog-api-client=gl-java/11.0.7 gccl/16.0.2 gapic/16.0.2 gax/2.7.1 grpc/1.43.1}
Body: customer_id: ""
operations {
  create {
status: ENABLED
ad {
  responsive_search_ad {
headlines {
  text: "26e931b1-8289-11ec-a15d-e"
}
headlines {
  pinned_field: HEADLINE_1
  text: "26e931b2-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b3-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b4-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b5-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b6-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b7-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b8-8289-11ec-a15d-e"
}
headlines {
  text: "26e931b9-8289-11ec-a15d-e"
}
descriptions {
  text: "26e931ba-8289-11ec-a15d-e"
}
descriptions {
  text: "26e931bb-8289-11ec-a15d-e"
}
descriptions {
  pinned_field: DESCRIPTION_2
  text: "26e931bc-8289-11ec-a15d-e"
}
descriptions {
  text: "26e931bd-8289-11ec-a15d-e"
}
path1: "26e958c0-8289-1"
path2: "26e958c1-8289-1"
  }
  id: 314351868
  final_urls: "http://www.anywhere.com/26e90aa5-8289-11ec-a15d-ee5c6897ba9f;
}
ad_group: "customers/XXX/adGroups/"
  }
}
operations {
  create {
status: ENABLED
ad {
  responsive_search_ad {
headlines {
  text: "26e97fd4-8289-11ec-a15d-e"
}
headlines {
  pinned_field: HEADLINE_1
  text: "26e97fd5-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fd6-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fd7-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fd8-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fd9-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fda-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fdb-8289-11ec-a15d-e"
}
headlines {
  text: "26e97fdc-8289-11ec-a15d-e"
}
descriptions {
  text: "26e97fdd-8289-11ec-a15d-e"
}
descriptions {
  text: "26e97fde-8289-11ec-a15d-e"
}
descriptions {
  pinned_field: DESCRIPTION_2
  text: "26e97fdf-8289-11ec-a15d-e"
}
descriptions {
  text: "26e97fe0-8289-11ec-a15d-e"
}
path1: "26e97fe1-8289-1"
path2: "26e97fe2-8289-1"
  }
  id: 1046948616
  final_urls: "http://www.anywhere.com/26e97fd2-8289-11ec-a15d-ee5c6897ba9f;
}
ad_group: "customers/XX/adGroups/XX"
  }
}
operations {
  create {
status: ENABLED
ad {
  responsive_search_ad {
headlines {
  text: "26e97ff0-8289-11ec-a15d-e"
}
headlines {
   

Odd error with ad_group_ads search query

2021-08-12 Thread Hans Sjulstad
Hi, 
I am getting an strange error running a search query for ad_group_ad 
when ad_group_ad.labels is part of the select clause and when campaign.id = 
11 is in the where clause. At least it seems odd to me.

Query shows ok in query builder. Also OK when live if I remove 
ad_group_ad.labels from the query, or if having ad_group.id in where clause 
instead of campaign.id

Please see the full query and response in attached file. Running Google Ads 
Api version 7, but have also tried version 8 with exact same problem.

message: "The error code is not in this version."
  trigger {
string_value: "A_campaign__Campaign.campaign_id"
..

If someone have a chance to look into this that would be great.

Thanks,

Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1ccfebc0-b4be-430c-a779-e3005e3e227an%40googlegroups.com.
MethodName: google.ads.googleads.v7.services.GoogleAdsService/Search
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=X, 
x-goog-api-client=gl-java/11.0.7 gapic/ gax/1.63.0 grpc/1.36.0}
Body: customer_id: ""
query: "select ad_group_ad.ad.id, ad_group.id, ad_group.name, 
ad_group_ad.status, ad_group_ad.policy_summary.approval_status, 
ad_group_ad.ad.type, ad_group_ad.ad.final_urls, ad_group_ad.ad.display_url, 
ad_group_ad.ad.final_mobile_urls, ad_group_ad.ad.device_preference, 
ad_group_ad.ad.tracking_url_template, ad_group_ad.ad.url_custom_parameters, 
ad_group_ad.ad.final_app_urls, ad_group_ad.ad.call_only_ad.headline1, 
ad_group_ad.ad.call_only_ad.headline2, 
ad_group_ad.ad.call_only_ad.description1, 
ad_group_ad.ad.call_only_ad.description2, 
ad_group_ad.ad.call_only_ad.phone_number_verification_url, 
ad_group_ad.ad.call_only_ad.call_tracked, 
ad_group_ad.ad.call_only_ad.business_name, 
ad_group_ad.ad.call_only_ad.country_code, 
ad_group_ad.ad.call_only_ad.phone_number, 
ad_group_ad.ad.call_only_ad.conversion_action, 
ad_group_ad.ad.call_only_ad.disable_call_conversion, 
ad_group_ad.ad.responsive_search_ad.headlines, 
ad_group_ad.ad.responsive_search_ad.descriptions, 
ad_group_ad.ad.responsive_search_ad.path1, 
ad_group_ad.ad.responsive_search_ad.path2, 
ad_group_ad.ad.expanded_text_ad.headline_part1, 
ad_group_ad.ad.expanded_text_ad.headline_part2, 
ad_group_ad.ad.expanded_text_ad.headline_part3, 
ad_group_ad.ad.expanded_text_ad.description, 
ad_group_ad.ad.expanded_text_ad.description2, 
ad_group_ad.ad.expanded_text_ad.path1, ad_group_ad.ad.expanded_text_ad.path2, 
ad_group_ad.ad.text_ad.description1, ad_group_ad.ad.text_ad.description2, 
ad_group_ad.ad.text_ad.headline, metrics.impressions, metrics.conversions, 
metrics.clicks, metrics.ctr, ad_group_ad.labels from ad_group_ad where 
campaign.id in (14251262334) and ad_group_ad.ad.type in 
(TEXT_AD,EXPANDED_TEXT_AD,CALL_ONLY_AD,RESPONSIVE_SEARCH_AD) and 
ad_group_ad.status in (ENABLED,PAUSED) order by ad_group_ad.ad.id asc, 
ad_group.id asc"


Response

Headers: 
Metadata(content-type=application/grpc,request-id=fmeazMlnZfnYwTVuzhsUuA,date=Thu,
 12 Aug 2021 19:56:38 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; 
ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "A_campaign__Campaign.campaign_id"
  }
}
request_id: "fmeazMlnZfnYwTVuzhsUuA"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid 
argument., cause=null}.
2021-08-12 21:57:08.938  [Test worker] WARN GoogleAdsApiExceptionUtil: Problem 
executing request
com.google.ads.googleads.v7.errors.GoogleAdsException: errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "A_campaign__Campaign.campaign_id"
  }
}
request_id: "fmeazMlnZfnYwTVuzhsUuA"

Re: Adwords/Ads API functionality change to segments.conversion_lag_bucket?

2020-07-06 Thread Hans Sjulstad
Is there anyway to get the number of days between the clicks and 
conversions, or any plan to add that?
Thanks,
Hans  

On Monday, July 6, 2020 at 12:27:31 PM UTC-6 Hans Sjulstad wrote:

> Thank you for the clarification. 
>
> Hans
>
> On Mon, Jul 6, 2020 at 7:15 AM Google Ads API Forum Advisor Prod <
> adsapifor...@gmail.com> wrote:
>
>> Hi Hans,
>>
>> I am able to confirm that this field should be the definition from Google 
>> Ads API. It will be  the number of days between the *impression* and the 
>> conversion.
>>
>> Regards,
>> Anthony
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q219SgC:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c1b2e671-0ece-4739-8e28-7aaf6435a4den%40googlegroups.com.


Re: Adwords/Ads API functionality change to segments.conversion_lag_bucket?

2020-07-06 Thread Hans Sjulstad
Thank you for the clarification.

Hans

On Mon, Jul 6, 2020 at 7:15 AM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Hans,
>
> I am able to confirm that this field should be the definition from Google
> Ads API. It will be  the number of days between the *impression* and the
> conversion.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219SgC:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAFU9o7T%2BD%2B_g%3Dk2tQjxzU_k2wgjYVJT0E5gg148%3DgX6qUWBX2A%40mail.gmail.com.


Adwords/Ads API functionality change to segments.conversion_lag_bucket?

2020-06-25 Thread Hans Sjulstad
Hi, 

We're looking to implement the Google Ads conversion_lag_bucket, currently 
have the older conversion_lag_bucket for Adwords implemented

The Field description for segments.conversion_lag_bucket shows a change 
between Ads and Adwords, and wondor if this is actually the case and indeed 
a functionality change, or documentation issue? 

Adwords mentions clicks, while Ads have impressions as the start event for 
collecting the lag data

Adwords have: Days between click and conversion.
Ads have: An enum value representing the number of days between the 
impression and the conversion

https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#conversionlagbucket

https://developers.google.com/google-ads/api/fields/v3/campaign#segments.conversion_lag_bucket

Thanks,

Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/30bedccc-5d00-4366-abe6-50fad9bbd01dn%40googlegroups.com.