STATUS 500 Internal Error occurred while calling LSA API

2022-07-29 Thread ST
Till yesterday everything was working fine, but suddenly API is throwing 
Status-500 ERROR. Even trying after 12 hours, API is still not working.

API msg:





*"error": {"code": 500,"message": "Internal error encountered.",
"status": "INTERNAL"  }*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a437ec2c-d71a-499f-8e7c-b29461005b16n%40googlegroups.com.


Local Services Ads Dashboard missing data

2022-08-02 Thread ST
Hi,
In my Local Services Ads Dashboard, from Januaary to April, CONNECTED_CALLS 
data is completely zero. Can you please explain why is this the case, I 
mean is this an ERROR, or what's the theory behind it, because every calls 
got missed for 4 months is practically not possible and obviously didn't 
happen, but there it is showing 0. But still, it happened for some 
particular reason that I'm not aware of. please let me know with a proper 
explanation. 




Thank you Google Team in advance :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2d78464b-9c59-48c2-8109-3b65c70a089dn%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2022-07-24 Thread Lukas St
>From *keyword_view*, you can select "
*ad_group_criterion.system_serving_status*"*, *and if this has status* 
"*RARELY_SERVED" 
then it means that it's not eligible.

On Monday, 25 July 2022 at 07:28:16 UTC+2 cv wrote:

> Is there any resolution here?
> I am also looking to get same as mentioned on initial question. I need to 
> get non-eligible keywords.
>
> My goal is to create GAQL that would be able to query keywords that are 
> flagged as non eligible.
>
>
>
> On Tuesday, 30 November 2021 at 22:49:28 UTC+5:30 adsapi wrote:
>
>> Hi Lukas,
>>
>> Thank you for getting back to me, could you privately send us a full 
>> screenshot of the UI combined with a full request and response log of API 
>> communication showing this rarely served as non eligible and the below 
>> first page bid issue?
>>
>> The request and response appears similar to the JSON Mappings in our 
>> REST documentation 
>> .
>>  
>> Our client libraries have loggers with logging instructions, to see these 
>> instructions you can click on the client library you use in the sidebar of 
>> our client library guide 
>>  and 
>> click on "Logging". Setting the logger to 'DEBUG' will get the desired log.
>>
>>
>> Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
>> the 2021 Google Ads API and AdWords API Annual Survey 
>> 
>>  
>> Regards, 
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2R9UON: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 
"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/3f7e1968-f5e5-4986-8a6e-85e430383c8an%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2022-07-25 Thread Lukas St
It covers all of those that are not eligible for whatever reason, which was 
what I was looking for, I don't know how to get the specific reason.

You might have to create a new thread in order to get a reply from the 
Google Ads API team.

Have a nice day,
Lukas.
On Monday, 25 July 2022 at 08:34:08 UTC+2 cv wrote:

> Thanks for prompt response.
>
> Can I know  why it is 'Not Eligible'?  it's 'Not Eligible' because of low 
> search volume etc.. ?
>
> Thanks,
>
>
>
>
> On Monday, 25 July 2022 at 11:44:50 UTC+5:30 lukasmast...@gmail.com wrote:
>
>> From *keyword_view*, you can select "
>> *ad_group_criterion.system_serving_status*"*, *and if this has status* 
>> "*RARELY_SERVED" 
>> then it means that it's not eligible.
>>
>> On Monday, 25 July 2022 at 07:28:16 UTC+2 cv wrote:
>>
>>> Is there any resolution here?
>>> I am also looking to get same as mentioned on initial question. I need 
>>> to get non-eligible keywords.
>>>
>>> My goal is to create GAQL that would be able to query keywords that are 
>>> flagged as non eligible.
>>>
>>>
>>>
>>> On Tuesday, 30 November 2021 at 22:49:28 UTC+5:30 adsapi wrote:
>>>
 Hi Lukas,

 Thank you for getting back to me, could you privately send us a full 
 screenshot of the UI combined with a full request and response log of API 
 communication showing this rarely served as non eligible and the below 
 first page bid issue?

 The request and response appears similar to the JSON Mappings in our 
 REST documentation 
 .
  
 Our client libraries have loggers with logging instructions, to see these 
 instructions you can click on the client library you use in the sidebar of 
 our client library guide 
  and 
 click on "Logging". Setting the logger to 'DEBUG' will get the desired log.


 Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
 the 2021 Google Ads API and AdWords API Annual Survey 
 
  
 Regards, 
 [image: Google Logo] 
 Aryeh Baker 
 Google Ads API Team 
   

 ref:_00D1U1174p._5004Q2R9UON: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 
"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/080c1fa5-c3e7-41a6-8951-f3793b6694e3n%40googlegroups.com.


GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Hello,

I can't figure out from the documentation how should I get all the non 
eligible keywords (See screenshot).

What I found:
Keyword has an ad group criterion, and ad group criterion has 2 ENUM values:
ad_group_criterion.system_serving_status 
(ELIGIBLE,RARELY_SERVED,UNKNOWNUN,SPECIFIED) and ad_group_criterion.status 
(ENABLED,PAUSED,REMOVED,UNKNOWN,UNSPECIFIED).
I am not sure what the Rarely_served value means. I didn't find any value 
that would correspond to something like "Non eligible".

My goal is to create GAQL that would be able to query keywords that are 
flagged as non eligible.

Thank you for help.
Lukas

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/75912311-6810-48f4-a1d4-dd4e2cdccad8n%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Just to be clear, this is about Google Ads API and not AdWords API

On Tuesday, 16 November 2021 at 16:12:14 UTC+1 Lukas St wrote:

> Hello,
>
> I can't figure out from the documentation how should I get all the non 
> eligible keywords (See screenshot).
>
> What I found:
> Keyword has an ad group criterion, and ad group criterion has 2 ENUM 
> values:
> ad_group_criterion.system_serving_status 
> (ELIGIBLE,RARELY_SERVED,UNKNOWNUN,SPECIFIED) and ad_group_criterion.status 
> (ENABLED,PAUSED,REMOVED,UNKNOWN,UNSPECIFIED).
> I am not sure what the Rarely_served value means. I didn't find any value 
> that would correspond to something like "Non eligible".
>
> My goal is to create GAQL that would be able to query keywords that are 
> flagged as non eligible.
>
> Thank you for help.
> Lukas
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1192fa3a-00a3-4f71-86d5-fe9474894a12n%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Hello Aryeh,

could you please guide me on how to send a private message here? Very 
appreciated.

Thank you.
Lukas.

On Tuesday, 16 November 2021 at 21:44:18 UTC+1 adsapi wrote:

> Hi Lukas,
>
> Thank you for bringing this to our attention. Could you privately send us 
> a full screenshot of the UI showing with the 'not eligible low search 
> volume' status?
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>
> Regards,
>   
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2R9UON: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/8fb176f2-d58a-4de8-ac09-b762899db1a3n%40googlegroups.com.


Overcoming healthcare and policy violation

2021-11-19 Thread Lukas St
Hello,

I tried to create a responsive search ad with description and keywords 
containing word "med". In Danish, "med" means with. However, I am getting 
error policy violation response from Google Ads saying that "med" is not 
allowed keyword. 
Campaigns are set to target Danish audience.

Part of the error:
policyViolationError":"POLICY_ERROR"},"message":"A policy was violated. See 
PolicyViolationDetails for more 
detail.","trigger":{"stringValue":"med"},"location":{"fieldPathElements":[{"fieldName":"operations","index":358},{"fieldName":"create"},{"fieldName":"keyword"},{"fieldName":"text"}]},"details":{"policyViolationDetails":{"externalPolicyDescription":"Not
 
all healthcare-related content can be advertised. Some content is allowed 
if the advertiser is certified by Google and only targets approved 
countries.","key":{"policyName":"pharma","violatingText":"med"},"externalPolicyName":"Healthcare
 
and 
medicines","isExemptible":true}}},{"errorCode":{"policyViolationError":"POLICY_ERROR"},"message":"A
 
policy was violated. See PolicyViolationDetails for more 
detail.","trigger":{"stringValue":"med"},"location":{"fieldPathElements":[{"fieldName":"operations","index":359},{"fieldName":"create"},{"fieldName":"keyword"},{"fieldName":"text"}]},"details":{"policyViolationDetails":{"externalPolicyDescription":"Not
 
all healthcare-related content can be advertised. Some content is allowed 
if the advertiser is certified by Google and only targets approved 
countries.","key":{"policyName":"pharma","violatingText":"med"},"externalPolicyName":"Healthcare
 
and 
medicines","isExemptible":true}}}],"requestId":"d2ImjCLQ9XB3Bth1klLDXg"} [] 
[]

Thank you for assistance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1f1d9b5e-6cfe-4693-863f-f6d721934b5dn%40googlegroups.com.


Re: Overcoming healthcare and policy violation

2021-11-19 Thread Lukas St
I forgot to mention that the content of the ad is not health related.

On Friday, 19 November 2021 at 13:12:09 UTC+1 Lukas St wrote:

> Hello,
>
> I tried to create a responsive search ad with description and keywords 
> containing word "med". In Danish, "med" means with. However, I am getting 
> error policy violation response from Google Ads saying that "med" is not 
> allowed keyword. 
> Campaigns are set to target Danish audience.
>
> Part of the error:
> policyViolationError":"POLICY_ERROR"},"message":"A policy was violated. 
> See PolicyViolationDetails for more 
> detail.","trigger":{"stringValue":"med"},"location":{"fieldPathElements":[{"fieldName":"operations","index":358},{"fieldName":"create"},{"fieldName":"keyword"},{"fieldName":"text"}]},"details":{"policyViolationDetails":{"externalPolicyDescription":"Not
>  
> all healthcare-related content can be advertised. Some content is allowed 
> if the advertiser is certified by Google and only targets approved 
> countries.","key":{"policyName":"pharma","violatingText":"med"},"externalPolicyName":"Healthcare
>  
> and 
> medicines","isExemptible":true}}},{"errorCode":{"policyViolationError":"POLICY_ERROR"},"message":"A
>  
> policy was violated. See PolicyViolationDetails for more 
> detail.","trigger":{"stringValue":"med"},"location":{"fieldPathElements":[{"fieldName":"operations","index":359},{"fieldName":"create"},{"fieldName":"keyword"},{"fieldName":"text"}]},"details":{"policyViolationDetails":{"externalPolicyDescription":"Not
>  
> all healthcare-related content can be advertised. Some content is allowed 
> if the advertiser is certified by Google and only targets approved 
> countries.","key":{"policyName":"pharma","violatingText":"med"},"externalPolicyName":"Healthcare
>  
> and 
> medicines","isExemptible":true}}}],"requestId":"d2ImjCLQ9XB3Bth1klLDXg"} [] 
> []
>
> Thank you for assistance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4e6f02bc-955a-4d46-b4be-b437d2ed6b71n%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2021-11-22 Thread Lukas St
Hello, I have sent the full screenshot privately to the the email address. 
I am curious if there is any update on this?

Thank you.

Best,
Lukas.

On Wednesday, 17 November 2021 at 11:12:55 UTC+1 adsapi wrote:

> Hi Lukas,
>
> This is Yasar and I work with Aryeh. Let me assist you with this.
>
> You may navigate to the right hand side for 3 vertical dots and use the 
> *Reply 
> privately to author* option. If this option is not available, you may 
> send the details directly to our googleadsa...@google.com alias instead.
>
> Regards,
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>  
>
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2R9UON: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/9109d796-5175-4785-8a3d-f442d12083d4n%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2021-11-23 Thread Lukas St
Hello Mark,

Don't get me wrong but my question wasn't directed towards requesting new 
features. 
I wanted to know what the attribute 
ad_group_criterion.system_serving_status (ELIGIBLE, RARELY_SERVED, 
UNKNOWNUN, SPECIFIED) really represents since the attributes in the UI are 
completely different, fx. there is not "RARELY_SERVED" attribute on 
keywords, on the other hand, keywords can be flagged as "Non Eligible" in 
the UI and I am not sure if this covers the RARELY_SERVED case.

Perhaps it would be a good idea to update the documentation.

Best,
Lukas.

On Tuesday, 23 November 2021 at 06:23:03 UTC+1 adsapi wrote:

> Hello Lukas,
>
> Thanks for getting back to us.
>
> As previously mentioned by Aryeh, a feature request has been raised for 
> this. Since this is still subject for review, there is no guarantee if this 
> will be supported in the API soon. That said, we recommend that you keep an 
> eye to our blog 
>  for 
> updates and new releases.
>
>
>
> Regards,
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>  
>
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2R9UON: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/739b54b5-9e98-4446-b9e6-869f62e2b64bn%40googlegroups.com.


Re: GAQL for obtaining Non eligible keywords

2021-11-29 Thread Lukas St
Hey Aryeh,

thank you for your answer, I tested it but I came to different conclusions 
than what you wrote.

1. "rarely served" maps only 'Non Eligible' keywords, not 'Eligible 
limited'.
2. The link that you provided (UI's about keyword status 
 ) describes 
what it means that a keyword is 'Not Eligible'. But there is missing one 
case - when it's 'Not Eligible' because of low search volume, below first 
page bid.

Best regards,
Lukas.

On Tuesday, 23 November 2021 at 19:47:09 UTC+1 adsapi wrote:

> Hi Lukas,
>
> The UI's about keyword status 
>  has a list 
> of status states.
>
> 'Not eligible' keyword status has to do with the campaign and adGroup 
> status causing this keyword to not serve and there's no field in 
> keyword_view that will combine this information into one. To get this 
> information currently you can use the fields 'campaign.status', 
> 'campaign.serving_status' and 'ad_group.status'.
>
> 'Eligible' and 'rarely served' seem to map to the UI's 'Eligible' and 
> 'Eligible limited'.
>
> 'ad_group_criterion.approval_status' will get if the keyword is 
> disapproved, mapping to 'Disapproved' in the UI.
>
> 'ad_group_criterion.status' will get if you paused or removed the keyword, 
> mapping to 'Removed' and 'Paused' in the UI.
>
> Feel free to get back to us.
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>  
> Regards,
>   
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
>
>
>  
>
> ref:_00D1U1174p._5004Q2R9UON: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/3bbf84af-3f72-492a-ab6c-844ce2e77b5cn%40googlegroups.com.


Request with violating medical policy

2021-11-29 Thread Lukas St
Hello,

as a response to this thread
https://groups.google.com/g/adwords-api/c/xtQUw5UUtSg
I am sending an example of a request and a response that violates medical
policy because it contains word "med" which in Danish means "with".

Thank you for your response.

Best,
Lukas.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAKxOB%2B2dN3mqmMQOE%3DFb1GDSZooG%2BktoijNaxznkaFyE1%2B1Fcw%40mail.gmail.com.
[2021-11-29T09:18:05.959996+00:00] migration-examples-logger.WARNING: Request 
made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v8.services.AdGroupCriterionService/MutateAdGroupCriteria",
 CustomerId: 9609868079, RequestId: "iDwX9s3sodlPouR9jbATQw", IsFault: 1, 
FaultMessage: "["A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more 
detail.","A policy was violated. See PolicyViolationDetails for more detail."]" 
[] []
[2021-11-29T09:18:06.011610+00:00] migration-examples-logger.NOTICE: Request 
--- Method Name: 
/google.ads.googleads.v8.services.AdGroupCriterionService/MutateAdGroupCriteria 
Host: googleads.googleapis.com Headers: { "x-goog-api-client": 
"gl-php\/8.0.8 gapic\/ gax\/1.9.1 grpc\/1.36.0 rest\/1.9.1", 
"x-goog-request-params": "customer_id=9609868079", "developer-token": 
"REDACTED", "login-customer-id": "9208752556" } Request:  
{"customerId":"9609868079","operations":[{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521713","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
glas]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521753","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
glas]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521913","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
glas]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521713","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
krus]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521753","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
krus]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521913","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
krus]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521713","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kopper]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521753","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kopper]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521913","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kopper]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521713","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kop]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521753","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kop]","matchType":"EXACT"}}},{"create":{"status":"ENABLED","adGroup":"customers\/9609868079\/adGroups\/131760521913","cpcBidMicros":"400","keyword":{"text":"[Glasbrikker
 
kop]","matchType":"EXACT"}}

Making the app internal instead of external

2022-01-31 Thread Lukas St
Hello,
I am trying to publish my app in order to *prevent refreshing the refresh 
token every 7 days*.
In order to do that I have to change my user type from *External* to 
*Internal* in Google Cloud Platform OAuth consent screen.
However, the option is grayed out with statement:
"*Your app will only be available to users you add to the list of test 
users. Once your app is ready to publish, you may need to verify your 
app. Learn more about user type 
*"

The Google account where my ADS API is, is on Gmail. I signed up for Google 
Workspace but I can't add this account into the workspace since it's on a 
different domain.

Is there a way how to do this without having to create new account and go 
through the whole verification process of the developer token again?

Thank you for help.
Lukas. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a605f1c9-7d43-49da-a51f-51b4ba4c0e4en%40googlegroups.com.


Error says that I should get standard access but I already have it

2022-03-15 Thread Lukas St
Hello, I am getting an error message with quotaError "*RESOURCE_EXHAUSTED*". 
The error says that "*Get requests for standard access*", but I already 
have the standard access. If I click on Tools > API center, the access 
level says "Standard Access". Is this a wrong error message?

The full error was:

 Google\ApiCore\ApiException

  {
"message": "Resource has been exhausted (e.g. check quota).",
"code": 8,
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": 0,
"data": 
"type.googleapis.com\/google.ads.googleads.v8.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"quotaError": "RESOURCE_EXHAUSTED"
},
"message": "Too many requests. Retry in 81182 seconds.",
"details": {
"quotaErrorDetails": {
"rateScope": "DEVELOPER",
"rateName": "Get requests for standard access",
"retryDelay": "81182s"
}
}
}
]
},
{
"@type": 0,
"data": "5viHb82qY2k4vOCqMA6cWw"
}
]
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e0792de6-628a-444d-8162-9a8283c0c9bfn%40googlegroups.com.


Page token has expired

2021-05-12 Thread Lukas St
The error occurs when downloading several millions of keywords that take 
around 2 or 3 hours using the google ads PHP library. 
The error was already described on this GitHub 
repo https://github.com/googleads/google-ads-php/issues/366

However, a solution how to refresh the page token when paginating through 
the results was not provided, but that's exactly what my system would need.

Here is part of my code:
$gaql = "SELECT campaign.id, "
. "campaign.name, "
. "ad_group.id, "
. "ad_group.name, "
. "metrics.impressions, "
. "metrics.clicks, "
. "metrics.cost_micros "
. "FROM keyword_view";
$stream = $this->search($gaql, ['pageSize' => 5000]);
while (true) {
$page = $stream->getPage();

foreach ($page->getIterator() as $googleAdsRow) {
// work with data
}

$nextPageToken = $page->getNextPageToken();
$stream= $this->search($gaql, ['pageSize' => 5000, 'pageToken' 
=>$nextPageToken]);

if ($nextPageToken == false) {
echo "[INFO] There are no more pages" . "\n";
break;
}
}

*After running for an hour and more without problems:*

{
"errors": [{
"errorCode": {
"requestError": "EXPIRED_PAGE_TOKEN"
},
"message": "Page token has expired."
}]
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1c7720f-0344-465b-9aa3-d302ad73595fn%40googlegroups.com.


Re: Page token has expired

2021-05-12 Thread Lukas St
It seems like the page token expires after 120 minutes...

On Wednesday, 12 May 2021 at 09:31:42 UTC+2 Lukas St wrote:

> The error occurs when downloading several millions of keywords that take 
> around 2 or 3 hours using the google ads PHP library. 
> The error was already described on this GitHub repo 
> https://github.com/googleads/google-ads-php/issues/366
>
> However, a solution how to refresh the page token when paginating through 
> the results was not provided, but that's exactly what my system would need.
>
> Here is part of my code:
> $gaql = "SELECT campaign.id, "
> . "campaign.name, "
> . "ad_group.id, "
> . "ad_group.name, "
> . "metrics.impressions, "
> . "metrics.clicks, "
> . "metrics.cost_micros "
> . "FROM keyword_view";
> $stream = $this->search($gaql, ['pageSize' => 5000]);
> while (true) {
> $page = $stream->getPage();
>
> foreach ($page->getIterator() as $googleAdsRow) {
> // work with data
> }
>
> $nextPageToken = $page->getNextPageToken();
> $stream= $this->search($gaql, ['pageSize' => 5000, 'pageToken' 
> =>$nextPageToken]);
>
> if ($nextPageToken == false) {
> echo "[INFO] There are no more pages" . "\n";
> break;
> }
> }
>
> *After running for an hour and more without problems:*
>
> {
> "errors": [{
> "errorCode": {
> "requestError": "EXPIRED_PAGE_TOKEN"
> },
> "message": "Page token has expired."
> }]
> }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/be9fb7d6-ce39-4e6c-a033-d86108d38f8an%40googlegroups.com.


Re: Page token has expired

2021-05-17 Thread Lukas St
Hey Matt,

I made a workaround where I first download all campaign ids into my 
database and then I use the ids in a query that retrieves the keywords. 
This allows me to segment keywords into smaller chunks.
So the new feature won't be necessary and the team can work on more 
important tasks :).

Best,
Lukas.

On Wednesday, 12 May 2021 at 18:22:02 UTC+2 adsapiforumadvisor wrote:

> Hi Lukas,
>
> Thanks for reaching out. Would it be possible for you to retry this 
> request with a smaller page_size? This will break up the results into 
> several responses and will help the page token from expiring. 
>
> If this is not possible, we can submit a feature request on your behalf 
> for refreshing a page token. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HAFqj: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/589e7ffb-2759-4355-9982-8845db9f177en%40googlegroups.com.


Missing Search Terms

2021-05-17 Thread Lukas St
I am trying to retrieve all Search Terms via the Google Ads PHP API.
However, I noticed that a lot of them are missing. After investigation I 
found out that API  returns only those terms that belong to the type 
*SEARCH* campaigns. Others types are ignored. I don't understand why it 
works like this since when I click in Google Ads UI, the table containing 
these search terms has all of them in it.

My GAGL query that returns search terms that belong to *SEARCH* campaigns 
looks as follows:

















*SELECT search_term_view.resource_name, ad_group.id, ad_group.status, 
campaign.id, search_term_view.ad_group, search_term_view.resource_name, 
search_term_view.search_term, search_term_view.status, 
segments.keyword.info.match_type, segments.date, metrics.clicks, 
metrics.impressions, metrics.ctr, metrics.average_cpc FROM search_term_view 
WHERE segments.date DURING LAST_7_DAYS AND*

When I try to specify other campaign types, I get 0 results, despite in the 
UI these search terms exist:
...FROM search_term_view
WHERE segments.date DURING LAST_7_DAYS AND 
campaign.advertising_channel_type IN ('DISPLAY', 'SHOPPING')

How can I get all Search terms?

Best,
Lukas.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f856e982-95ab-4a1a-96cb-f33548fad6ean%40googlegroups.com.


Re: Missing Search Terms

2021-05-18 Thread Lukas St
Hello Matt,

Thanks for the reply. It seems a bit weird that such a basic feature - 
getting all search terms - using the search_term_view does not work as 
intended.
In some paid Google Ads tools I saw that they are getting all search terms, 
so I reckon it has to be possible, do you perhaps have an idea about 
direction how to get all search terms?

Best,
Lukas.

On Monday, 17 May 2021 at 16:57:51 UTC+2 adsapiforumadvisor wrote:

> Hi Lukas,
>
> Thanks for reaching out. The Ads API should mirror the Ads UI, although 
> the Ads API only includes a subset of features and capabilities found in 
> the UI. Please allow me to submit a feature request on your behalf to 
> include other advertising channels. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HBQJH: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/8a2c1d8a-c47c-41d0-b190-f02f20c10fe2n%40googlegroups.com.


Re: Missing Search Terms

2021-05-18 Thread Lukas St
Hello Matt,

I managed to get shopping campaigns by just removing attributes from my
GAQL, but I have no idea why it works like that:

This GAQL will return 0 results:

SELECT
search_term_view.resource_name,
ad_group.id,
campaign.id,
search_term_view.ad_group,
search_term_view.resource_name,
search_term_view.search_term,
search_term_view.status,
segments.keyword.info.match_type,
segments.date,
ad_group_ad.ad.name,
metrics.clicks,
metrics.impressions,
metrics.ctr,
metrics.average_cpc,
metrics.average_cost,
metrics.all_conversions_value,
metrics.all_conversions_value_per_cost,
metrics.conversions,
metrics.all_conversions
FROM search_term_view
WHERE segments.date during LAST_30_DAYS AND
campaign.advertising_channel_type = 'SHOPPING'

But when I remove some attributes from it, I will get shopping campaigns:

SELECT
search_term_view.resource_name,
ad_group.id,
ad_group.status,
campaign.id,
search_term_view.ad_group,
search_term_view.resource_name,
search_term_view.search_term,
search_term_view.status,
ad_group_ad.ad.name
FROM search_term_view
WHERE segments.date during LAST_30_DAYS AND
campaign.advertising_channel_type = 'SHOPPING'

This doesn't make sense because according to the query builder in
documentation of the search_term_view, I should be able to use all of the
attributes no matter what the campaign type is..

Best,
Lukas.

On Tue, 18 May 2021 at 10:05, Lukas St  wrote:

> Hello Matt,
>
> Thanks for the reply. It seems a bit weird that such a basic feature -
> getting all search terms - using the search_term_view does not work as
> intended.
> In some paid Google Ads tools I saw that they are getting all search
> terms, so I reckon it has to be possible, do you perhaps have an idea about
> direction how to get all search terms?
>
> Best,
> Lukas.
>
> On Monday, 17 May 2021 at 16:57:51 UTC+2 adsapiforumadvisor wrote:
>
>> Hi Lukas,
>>
>> Thanks for reaching out. The Ads API should mirror the Ads UI, although
>> the Ads API only includes a subset of features and capabilities found in
>> the UI. Please allow me to submit a feature request on your behalf to
>> include other advertising channels.
>>
>> Regards,
>> Matt
>> Google Ads API Team
>>
>> [image: Google Logo]
>> Matt
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q2HBQJH: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 "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/OE4UDPJLmpM/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/8a2c1d8a-c47c-41d0-b190-f02f20c10fe2n%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/8a2c1d8a-c47c-41d0-b190-f02f20c10fe2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAKxOB%2B2ywbpv24Xgi2_60C22jP5djNZeQRSHdb5O9Qrr6C_kVA%40mail.gmail.com.


Re: Error using GenerateKeywordForecastMetrics: "The input has an invalid value"

2025-07-21 Thread st...@adcom.fr
  I just realized my mistake: I had set manual CPC bids on some keywords in 
my adgroup, which isn't compatible with the 'maximize conversions' bidding 
strategy.  

Le lundi 21 juillet 2025 à 12:28:20 UTC+2, st...@adcom.fr a écrit :

> Hi everyone,
>
> I'm trying to use the GenerateKeywordForecastMetrics method from the 
> KeywordPlanIdeaService in the Google Ads API (v20).
>
> I’m currently testing two different bidding strategies (manual_cpc and 
> maximize_conversions) within a CampaignToForecast object. However, when I 
> use the *maximize_conversions* strategy, I receive the following error:
>
>
>
>
> *Host: googleads.googleapis.com <http://googleads.googleapis.com>Method: 
> /google.ads.googleads.v20.services.KeywordPlanIdeaService/GenerateKeywordForecastMetricsRequestId:
>  
> WsA6v2K6NxA3uCehlA3VzgIsFault: TrueFaultMessage: The input has an invalid 
> value.*
>
> Here's a simplified version of the relevant code using the 
> *maximize_conversions* strategy:
> *campaign_to_forecast.bidding_strategy.maximize_conversions_bidding_strategy.daily_target_spend_micros
>  
> = 5000*
>
> When I switch back to manual_cpc_bidding_strategy, everything works fine 
> and I get expected results like:
>
>
>
> *Estimated daily clicks: 6381.6Estimated daily impressions: 
> 43575.5Estimated daily cost: 3612.25Estimated daily conversions: 1557.14*
>
> According to the documentation here:
>
> https://developers.google.com/google-ads/api/reference/rpc/v20/CampaignToForecast.CampaignBiddingStrategy
> ...this should be a valid setup.
>
> I’m wondering:
>
>- 
>
>Is maximize_conversions_bidding_strategy not supported by 
>GenerateKeywordForecastMetrics?
>- 
>
>Is there a specific combination of fields or requirements that I may 
>have missed?
>- 
>
>Or does this method only support manual_cpc?
>
> Any insight or clarification would be greatly appreciated. Thanks in 
> advance!
>
> Best regards,
>
> PS : This is how I create my campaign_to_forecast :
>
> def create_campaign_to_forecast(client):
> """Creates the campaign to forecast.
>
> A campaign to forecast lets you try out various configurations and 
> keywords
> to find the best optimization for your future campaigns. Once you've 
> found
> the best campaign configuration, create a serving campaign in your 
> Google
> Ads account with similar values and keywords. For more details, see:
> https://support.google.com/google-ads/answer/3022575
>
> Args:
> client: an initialized GoogleAdsClient instance.
>
> Returns:
> An CampaignToForecast instance.
> """
> googleads_service = client.get_service("GoogleAdsService")
> # Create a campaign to forecast.
> campaign_to_forecast = client.get_type("CampaignToForecast")
> campaign_to_forecast.keyword_plan_network = (
> client.enums.KeywordPlanNetworkEnum.GOOGLE_SEARCH
> )
>
> # Set the bidding strategy.
> # 
> campaign_to_forecast.bidding_strategy.manual_cpc_bidding_strategy.max_cpc_bid_micros
>  
> = 150
>
> 
> campaign_to_forecast.bidding_strategy.maximize_conversions_bidding_strategy.daily_target_spend_micros
>  
>  = 5000
>
> # For the list of geo target IDs, see:
> # 
> https://developers.google.com/google-ads/api/reference/data/geotargets
> criterion_bid_modifier = client.get_type("CriterionBidModifier")
> # Geo target constant 2840 is for USA. 2250 for France.
> criterion_bid_modifier.geo_target_constant = (
> googleads_service.geo_target_constant_path("2250")
> )
> campaign_to_forecast.geo_modifiers.append(criterion_bid_modifier)
>
> # For the list of language criteria IDs, see:
> # 
> https://developers.google.com/google-ads/api/reference/data/codes-formats#languages
> # Language criteria 1000 is for English. 1002 for French.
> campaign_to_forecast.language_constants.append(
> googleads_service.language_constant_path("1002")
> )
>
> # Create forecast ad groups based on themes such as creative 
> relevance,
> # product category, or cost per click.
> forecast_ad_group = client.get_type("ForecastAdGroup")
>
> # Create and configure three BiddableKeyword instances.
> biddable_keyword_1 = client.get_type("BiddableKeyword")
> biddable_keyword_1.max_cpc_bid_micros = 250
> biddable_keyword_1.keyword.text = "casserole"
> biddable_keyword_1.keyword.match_type = (
>

Re: error using generatekeywordforecastmetrics: "the input has an invalid value"

2025-07-21 Thread st...@adcom.fr
Thank you !

Le lundi 21 juillet 2025 à 16:03:56 UTC+2, Google Ads API Forum Advisor a 
écrit :

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand you are encountering the *INVALID_VALUE* 
> 
>  
> error which indicates that the field's value is invalid. It seems that with 
> additional parameters like maxCpcBidMicros combined with the 
> maximizeConversionsBiddingStrategy will cause the endpoint not returning a 
> forecast.
>
> Please refer to the below request body I tested with by removing the 
> additional parameters, which can get the successful forecast:
>
>
> {
>
>   "forecastPeriod": {
>
> "startDate": "2025-07-22",
>
> "endDate": "2025-08-20"
>
>   },
>
>   "campaign": {
>
> "languageConstants": [
>
>   "languageConstants/1002"
>
> ],
>
> "geoModifiers": [
>
>   {
>
> "geoTargetConstant": "geoTargetConstants/2250"
>
>   }
>
> ],
>
> "keywordPlanNetwork": "GOOGLE_SEARCH",
>
> "biddingStrategy": {
>
>   "maximizeConversionsBiddingStrategy": {
>
> "dailyTargetSpendMicros": 500
>
>   }
>
> },
>
> "adGroups": [
>
>   {
>
> "biddableKeywords": [
>
>   {
>
> "keyword": {
>
>   "matchType": "BROAD",
>
>   "text": "test1"
>
> }
>
>   }
>
> ]
>
>   },
>
>   {
>
> "biddableKeywords": [
>
>   {
>
> "keyword": {
>
>   "matchType": "PHRASE",
>
>   "text": "test2"
>
> }
>
>   }
>
> ]
>
>   },
>
>   {
>
> "biddableKeywords": [
>
>   {
>
> "keyword": {
>
>   "matchType": "EXACT",
>
>   "text": "test3"
>
> }
>
>   }
>
> ],
>
> "negativeKeywords": [
>
>   {
>
> "matchType": "BROAD",
>
> "text": "test4"
>
>   }
>
> ]
>
>   }
>
> ]
>
>   }
>
> }
>
> *Is maximize_conversions_bidding_strategy not supported by 
> GenerateKeywordForecastMetrics?*
>
> The maximize_conversions_bidding_strategy field is supported in the 
> *GenerateKeywordForecastMetrics* 
> 
>  
> method. But maximize_conversions_bidding_strategy combined with 
> maxCpcBidMicros is not supported.
>
> *Is there a specific combination of fields or requirements that I may have 
> missed?*
>
> No, you haven't missed any fields but you added additional fields like 
> maxCpcBidMicros which causes the APi to return an error.
>
> *Or does this method only support manual_cpc?*
>
> No, the *GenerateKeywordForecastMetrics* 
> 
>  
> method supports manual_CPC, maximize_conversions_bidding_strategy and also 
> maximize_clicks_bidding_strategy.
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> 
>   
>   [image: rating2] 
> 
>   
>   [image: rating3] 
> 
>   
>   [image: rating4] 
> 
>   
>   [image: rating5] 
> 
> [2025-07-21 14:03:14Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01swDn0:ref" (ADR-00319582)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Error using GenerateKeywordForecastMetrics: "The input has an invalid value"

2025-07-21 Thread st...@adcom.fr


Hi everyone,

I'm trying to use the GenerateKeywordForecastMetrics method from the 
KeywordPlanIdeaService in the Google Ads API (v20).

I’m currently testing two different bidding strategies (manual_cpc and 
maximize_conversions) within a CampaignToForecast object. However, when I 
use the *maximize_conversions* strategy, I receive the following error:




*Host: googleads.googleapis.comMethod: 
/google.ads.googleads.v20.services.KeywordPlanIdeaService/GenerateKeywordForecastMetricsRequestId:
 
WsA6v2K6NxA3uCehlA3VzgIsFault: TrueFaultMessage: The input has an invalid 
value.*

Here's a simplified version of the relevant code using the 
*maximize_conversions* strategy:
*campaign_to_forecast.bidding_strategy.maximize_conversions_bidding_strategy.daily_target_spend_micros
 
= 5000*

When I switch back to manual_cpc_bidding_strategy, everything works fine 
and I get expected results like:



*Estimated daily clicks: 6381.6Estimated daily impressions: 
43575.5Estimated daily cost: 3612.25Estimated daily conversions: 1557.14*

According to the documentation here:
https://developers.google.com/google-ads/api/reference/rpc/v20/CampaignToForecast.CampaignBiddingStrategy
...this should be a valid setup.

I’m wondering:

   - 
   
   Is maximize_conversions_bidding_strategy not supported by 
   GenerateKeywordForecastMetrics?
   - 
   
   Is there a specific combination of fields or requirements that I may 
   have missed?
   - 
   
   Or does this method only support manual_cpc?
   
Any insight or clarification would be greatly appreciated. Thanks in 
advance!

Best regards,

PS : This is how I create my campaign_to_forecast :

def create_campaign_to_forecast(client):
"""Creates the campaign to forecast.

A campaign to forecast lets you try out various configurations and 
keywords
to find the best optimization for your future campaigns. Once you've 
found
the best campaign configuration, create a serving campaign in your 
Google
Ads account with similar values and keywords. For more details, see:
https://support.google.com/google-ads/answer/3022575

Args:
client: an initialized GoogleAdsClient instance.

Returns:
An CampaignToForecast instance.
"""
googleads_service = client.get_service("GoogleAdsService")
# Create a campaign to forecast.
campaign_to_forecast = client.get_type("CampaignToForecast")
campaign_to_forecast.keyword_plan_network = (
client.enums.KeywordPlanNetworkEnum.GOOGLE_SEARCH
)

# Set the bidding strategy.
# 
campaign_to_forecast.bidding_strategy.manual_cpc_bidding_strategy.max_cpc_bid_micros
 
= 150


campaign_to_forecast.bidding_strategy.maximize_conversions_bidding_strategy.daily_target_spend_micros
 
 = 5000

# For the list of geo target IDs, see:
# https://developers.google.com/google-ads/api/reference/data/geotargets
criterion_bid_modifier = client.get_type("CriterionBidModifier")
# Geo target constant 2840 is for USA. 2250 for France.
criterion_bid_modifier.geo_target_constant = (
googleads_service.geo_target_constant_path("2250")
)
campaign_to_forecast.geo_modifiers.append(criterion_bid_modifier)

# For the list of language criteria IDs, see:
# 
https://developers.google.com/google-ads/api/reference/data/codes-formats#languages
# Language criteria 1000 is for English. 1002 for French.
campaign_to_forecast.language_constants.append(
googleads_service.language_constant_path("1002")
)

# Create forecast ad groups based on themes such as creative relevance,
# product category, or cost per click.
forecast_ad_group = client.get_type("ForecastAdGroup")

# Create and configure three BiddableKeyword instances.
biddable_keyword_1 = client.get_type("BiddableKeyword")
biddable_keyword_1.max_cpc_bid_micros = 250
biddable_keyword_1.keyword.text = "casserole"
biddable_keyword_1.keyword.match_type = (
client.enums.KeywordMatchTypeEnum.BROAD
)

biddable_keyword_2 = client.get_type("BiddableKeyword")
biddable_keyword_2.max_cpc_bid_micros = 150
biddable_keyword_2.keyword.text = "poele"
biddable_keyword_2.keyword.match_type = (
client.enums.KeywordMatchTypeEnum.PHRASE
)

biddable_keyword_3 = client.get_type("BiddableKeyword")
biddable_keyword_3.max_cpc_bid_micros = 199
biddable_keyword_3.keyword.text = "sauteuse"
biddable_keyword_3.keyword.match_type = (
client.enums.KeywordMatchTypeEnum.EXACT
)

# Add the biddable keywords to the forecast ad group.
forecast_ad_group.biddable_keywords.extend(
[biddable_keyword_1, biddable_keyword_2, biddable_keyword_3]
)

# Create and configure a negative keyword, then add it to the forecast 
ad
# group.
negative_keyword = client.get_type("KeywordInfo")
negative_keyword.text = "bourgignon"
negative_keyword.match_type = client.enums.KeywordMatchTypeEnum.BROAD