GenerateHistoricalMetrics API Limits and Quotas and RESOURCE_EXHAUSTED errors

2022-06-08 Thread Yusuf Coskun
Hi,

We have a tool that generates localized keyword suggestions to our clients 
based on historical search volumes. For that purpose we have been fetching 
historical metrics for ~3000 keywords on ~700 cities within US. And we have 
been doing this on a monthly basis. Up until last month we have been using 
adwords api without any problems and it was taking only a day to complete 
these requests.

We migrated to Google Ads API v10 and followed this 

 
guide to generate historical metrics. But we are struggling to make this 
work with the new API. We designed our app to create one KeywordPlan, one 
KeywordPlanCampaign and one KeywordPlanAdGroup for each city we are 
targeting (~700 cities) and create ~3000 KeywordPlanAdGroupKeyword under 
every KeywordPlan. However, without any luck, for the past week we haven't 
been able to successfully create all 3K  keywords for not even a single 
keyword plan. Everytime we make the api call for creating 
KeywordPlanAdGroupKeyword with 3000 create operations we got a 
RESOURCE_EXHAUSTED error.

I am aware of the Planning Service specific limitations explained here 

 
and we are putting a 2 seconds delay between each request to adhere the 1 
QPS requirement. Basically our app makes;
1 mutate request for creating 700 KeywordPlans
1 search request for fetching the KeywordPlans
1 mutate request for creating 700 KeywordPlanCampaigns
1 search request for fetching the KeywordPlanCampaigns
1 mutate request for creating 700 KeywordPlanAdGroups
1 search request for fetching the KeywordPlanAdGroups
700 mutate requests for creating 3000 KeywordPlanAdGroupKeywords under each 
KaywordPlanAdGroup.

Once again I want to emphasize that we are explicitly putting a 2 seconds 
delay between each request but nevertheless we are getting 
RESOURCE_EXHAUSTED error on the first mutate request for creating the 
KeywordPlanAdGroupKeywords.

I would think that we are hitting the 15K daily api operations limit as 
described in here 

but I would expect this to happen after the 4th mutate request to create 
KeywordPlanAdGroupKeywords. 


So my question is that what other rate/quota we are hitting here? What is 
the point that we are missing?

Finally, I would like to say that; this whole process of generating 
historical metrics along with 15K daily operations limit seems totally 
useless. A single keyword plan can have up to 10K keywords but we can make 
15K operations per day with basic access level. This just doesn't makes 
sense.

As described here 

 
an account can have 10K KeywordPlans and each KeywordPlan can have 10K 
keywords. In order to fully utilize these limits ~100M api operations are 
required and with 15K daily operations it takes ~18 years to accomplish 
this with basic access level.

I really believe that I am missing something here and I would appreciate 
any help to know what it is.

Thank you.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/41e9e18b-6d06-4f00-ba24-7c95afbf5802n%40googlegroups.com.


Re: Google Adwords metrics not in Google Ads API?

2022-06-08 Thread Reports1
Great answer, this is very helpful. Thanks Heidi and Google Ads API team.

On Tuesday, June 7, 2022 at 4:11:36 AM UTC-4 adsapi wrote:

> Hi,
>
> Thank you for reaching out to us.
>
> The *keyword state* is the status of the main object in a row, with this, 
> it will be the ad_group_criterion.status 
> 
>  
> in Google Ads API.
>
> For the *MaxCPC*, it is the Cost per click bid and upon checking the resource 
> mapping 
> , 
> it must be *ad_group* or *ad_group_criterion.effective_cpc_bid_micros*, 
> this should be campaign/ad group criterion depending on the view.
>
> For the *LandingPageExperience*, this is the quality score of the landing 
> page. That’s why it will be the 
> *ad_group_criterion.quality_info.post_click_quality_score*
>
> For the *expectedClickthroughRate*,it is Click Through rate compared to 
> that of other advertisers and this will be 
> *ad_group_criterion.quality_info.search_predicted_ctr*
>
> And for the *AdRelevance*, this is the quality score of the ad then this 
> is the *ad_group_criterion.quality_info.creative_quality_score*
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bcwyO: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/3977878c-e4b9-464b-9c62-3d9bed5a989an%40googlegroups.com.


Re: Customer is not allowlisted for accessing this feature WBRAID

2022-06-08 Thread Ronak Shah
Hello,

We have already reached our google representative and its been a week but 
he is not responding to our emails. We also sent him reminder email but 
still he is being unresponsive, its very pathetic situation because we 
cannot properly optimise our accounts because of missing conversions.

Can you please get this API enabled as its a top priority for us now?

Thanks,
Ronak

On Tuesday, 7 June 2022 at 01:52:40 UTC+5:30 adsapi wrote:

> Hello Ronak,
>
> Thanks for your patience on this. Here is a quick update on the request, 
> you need to reach out to your assigned Google representative/Account 
> Manager for the allowlisting request instead.
>
> If you don’t have an account manager or Google representative, you can 
> reach out to the Product Support team via this link 
>  and ask them to provide 
> one. Let me know if you have any questions.
>
> Best Regards, 
> [image: Google Logo] 
> Jakeia 
> Google Ads API Team  
>
> ref:_00D1U1174p._5004Q2Ww4QF: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/ee4da316-36a6-485e-966b-fa68dca4eaa6n%40googlegroups.com.


LoginCustomerID issue

2022-06-08 Thread Reports1
Google Ads API team and all.
I have access to 3 Google Ads manager accounts. 
When getting Google Ads API data for each using C#/.Net client, it works 
only if for the specific manager customer in the App Config file:
  
   

I tried to populate it dynamically under "options". See info below,  but 
some how it gets ignored and Google API seems to only see/recognize the 
LoginCusomterID in the Apps.config.

I tried to add it in this section, but it is being ignored.
 codeExample.Run(new GoogleAdsClient(), options.CustomerId, 
*options.LoginCustomerId,*Start_date_new, End_date_new, DMS_STORE_ID);

when calling the API as is does not accept the LognincustomeriD under:
 googleAdsService.SearchStream(customerId.ToString(),query,
delegate (SearchGoogleAdsStreamResponse resp)


Appreciate any help, thanks




public class Options : OptionsBase
{
[Option("customerId", Required = true, HelpText =
"The Google Ads customer ID for which the call is made.")]
public long CustomerId { get; set; }

[Option("LoginCustomerId", Required = false, HelpText =
 "Optional Login customer ID if your access to the CIDs is via 
a manager account.")]
public long* LoginCustomerId *{ get; set; }

}

 Options options = new Options();

CommandLine.Parser.Default.ParseArguments(args).MapResult(
delegate (Options o)
{
options = o;
return 0;
}, delegate (IEnumerable errors)
{

options.CustomerId = 
long.Parse(""); 
options.LoginCustomerId = 
long.Parse("XX);
return 0;
});

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b2509d9d-009a-4886-8401-bdf888594218n%40googlegroups.com.


Re: Unable to pull Discovery campaigns in v10.1 API call

2022-06-08 Thread 'Kyle Tremblay' via Google Ads API and AdWords API Forum
Attached is the complete log (Python) with an anonymized customer_id. 
Thanks. 

On Monday, May 30, 2022 at 5:58:18 AM UTC-4 adsapi wrote:

> Hi Kyle,
>  
>
> Thanks for reaching out to the Google Ads API Support team.
>  
>
> With regard to your concern, so our team can better check this concern, 
> could you provide the complete Ads API logs (response 
> 
>  with request-id 
> )
>  
> to further investigation on this?
>  
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bEGpm: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/8f1836ed-6cd8-49dc-b1ba-b6cb5a394530n%40googlegroups.com.


v10_sample_pull_stand_alone (2)
Description: Binary data


RE: API retrieving incorrect Adgroup ID

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi RK,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, could you please provide the complete request 
and response logs, with the request-id? If you haven't yet, logging can be 
enabled by navigating to the Client libraries > Your client library (ex. Java) 
> Logging documentation, which you can access from this link. Can you please 
provide full screen screenshot of the UI of where you are seeing different?You 
can provide it via Reply privately to author option. If this option is not 
available, you may send the details directly to our 
googleadsapi-supp...@google.com alias instead. Let me know if you have any 
questions.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2bdbED: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/TgxkA0RD64TU009H0ZSylWSfGP-G3v0B4lmQ%40sfdc.net.


Conversion actions upload

2022-06-08 Thread 'Paulo Henrique' via Google Ads API and AdWords API Forum
Hi all,

I'm trying to upload click conversions using the following example.
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks

I'm getting the following error:
"This customer does not have an import conversion action that matches the 
conversion action provided."

The conversion action is set up but I'm not able to upload the conversions.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1f1208e-0310-4edd-8195-3cb6bec363a7n%40googlegroups.com.


Re: Customer is not allowlisted for accessing this feature WBRAID

2022-06-08 Thread Ronak Shah
Hello,

We have already reached our google representative and its been a week but 
he is not responding to our emails. We also sent him reminder email but 
still he is being unresponsive, its very pathetic situation because we 
cannot properly optimise our accounts because of missing conversions.

Can you please get this API enabled as its a top priority for us now?

Thanks,
Ronak

On Tuesday, 7 June 2022 at 18:12:44 UTC+5:30 Ronak Shah wrote:

> Hello,
>
> Thank you for your response. It’s not just limited to one account because 
> we have an mcc account where we manage the campaigns of our clients. 
> Currently we need api access to client customer I’d 627-705-1548 where we 
> are making api calls to post the offline conversions, however we will make 
> api calls to other accounts too which are under the mcc account. So we need 
> to get this feature enabled for all accounts that we authorize in our 
> internal software. Our mcc customer id is 366-456-1482 which have standard 
> api access.
>
> Can you enable this feature for our developer token so that we can use 
> this api freely without having to make request for each account?
>
> Regards,
> Ronak 
>
>
>
>
>  
>
> On Mon, 6 Jun 2022 at 8:36 AM, Google Ads API Forum Advisor 
>  wrote:
>
>> Hi Ronak,
>>
>> Thank you for the reply.
>>
>> So that I can discuss this within the team, would you be able to provide 
>> the accounts that you want to allowlist for WBRAID?
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2Ww4QF: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/63ebe4a1-f5dd-43ca-9f8f-496563bca229n%40googlegroups.com.


RE: Google Adwords api giving low percentage of match rate

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

The AdWords API is no longer supported. Use the Google Ads API instead. You can 
refer to the migration guide. Should you have additional clarifications, you 
may send those over to our API support team via this thread so we can further 
assist you.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2bdZLM: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/_hUCn0RD60OQ00lSu8bd1STV-YCpPPZ4Sp3Q%40sfdc.net.


RE: Google Click ID could not be decoded., at conversions0.gclid - This Google Click ID could not be decoded.

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jen,

Thank you for raising this concern to the Google Ads API Forum.

First of all, I want to inform you that this email will be deleted as 
containing generated logs. Moving forward to your concern, I can see that you 
are encountering an error saying "Google Click ID could not be decoded., at 
conversions0.gclid ◉ This Google Click ID could not be decoded.".

The possible reason for this is that you are uploading GCLID that does not 
exist. With this, to help you determine the GCLIDs that you can upload as 
conversions, then I can recommend generating reports using the click_view 
report. If in the event that you are using GCLIDs that are generated from the 
said report but the error persists, then you may provide the updated logs for 
further checking. You can provide it via the Reply privately to author option. 
If this option is not available, then send it instead to this email address 
googleadsapi-supp...@google.com.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2bdU7f: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/G_V3U0RD60OK00VJREoMeASe23EEBeTxeQ-g%40sfdc.net.


API retrieving incorrect Adgroup ID

2022-06-08 Thread RK
Hi team,

I am trying to retrieve the ad group ID for one of my product pages using 
Google Ads API. But the Ad group ID I retrieve from the API is different 
from what I see inside the Google Ads account.

Regards,

RK

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aad9b560-f637-46ed-bbd0-33ab36865614n%40googlegroups.com.


Google Ads API - campaign_criterion_simulation

2022-06-08 Thread Jarek Zambrzycki
Hi,

I am trying to make an estimate of the budget and CPA increase based on the 
Google API and the table: campaign_criterion_simulation, my uery is:

$query = 'SELECT campaign_criterion_simulation.criterion_id, 
campaign_criterion_simulation.start_date, 
campaign_criterion_simulation.end_date, 
campaign_criterion_simulation.bid_modifier_point_list.points FROM 
campaign_criterion_simulation WHERE 
campaign_criterion_simulation.campaign_id = '.$campaignId.' AND 
campaign_criterion_simulation.criterion_id = 30002';

Unfortunately, every time I get a blank page (the query does not return 
anything, I checked on all campaigns).

A similar problem is here: Google Ads API - Campaign Target CPA 


I spent a few days on it. Do you know the answer what could be the reason?

thx

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0f2da199-05da-475d-9dac-76104590e275n%40googlegroups.com.


Error creating google ads with youtube video asset

2022-06-08 Thread 'Carlos Rodriguez' via Google Ads API and AdWords API Forum
Hi, 
I am trying to create an ad with YouTubeVideoId using google script. First, 
I create a youtube video asset:
>> result =  AdsApp.adMedia().newVideoBuilder() 
.withYouTubeVideoId(youtubeVideoId).build().getResult()

result.isSucessful() is True, result.getErrors() is an empty list, 
result.getEntityType() is 'Asset' but result.getType() is  UNSPECIFIED

If I try to create the ad:
 new_ad = 
adGroup.newVideoAd().inStreamAdBuilder().withAdName(ad_name).withVideo(result)
I get:
 >> InputError: Invalid input: "{entity: an object}". Expected an Asset 
which is a YouTube video

This last error can be explained because the asset has UNSPECIFIED type, 
but why the asset has this type?

Thanks

Carlos


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b7f03947-30c4-4bc1-b012-6491b8c996bbn%40googlegroups.com.


Re: Get Ad campaign reports based on country and state

2022-06-08 Thread Darren D'Mello
Sorry for my poor ability. I actually meant that it's giving me the non
state names instead it gives me ids.

So if my report gives 200 rows I need to call geo_target_constant 200 times?

This is not a good approach I think. Could you help me whether the same can
be achieved using location api?

https://prnt.sc/oG7ms7tOdVfH as shown like here

I wanted to get the spends daily for all states. Any help is
greatly appreciated

On Wed, Jun 8, 2022, 7:00 PM Google Ads API Forum Advisor
 wrote:

> Hi Darren,
>
> In addition to above, you may also share privately(for sensitive details)
> the API response where you are getting Non-US locations, so it will help in
> our investigation.
>
> Regards,
> [image: Google Logo]
> Yasar
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2bdUx2: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/CAHeo4XjYjYWb6LBxQOnu9BtJdCZU6ZqrcqBZpxzU50d9JeON5Q%40mail.gmail.com.


Re: Google Ads Get Campaign ads spends based on date and all states of USA

2022-06-08 Thread Darren D'Mello
Could you please help me get that via a Select statement?

I am looking for summary output as shown here, am I doing something wrong?

https://prnt.sc/oG7ms7tOdVfH

Do I need to get location based report? I am unsure how to get that via API.

On Wed, Jun 8, 2022, 7:01 PM Google Ads API Forum Advisor
 wrote:

> Hi Darren,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> You may need to perform a separate request for the geo_target_constant
> report after pulling segments.geo_target_state  from geographic_view report
> in order to get the name of those states. There is no way to combine two
> GAQL together in Google Ads API.
>
> Regards,
> [image: Google Logo]
> Yasar
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2bdUzg: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/CAHeo4XhNvCL3MNpK1sUaaihLgqi9vkvuECSbCMBYO410JmARhw%40mail.gmail.com.


Google Adwords api giving low percentage of match rate

2022-06-08 Thread Ramakumar Adavakkad
Hi 
We are using google adwords api to upload customer match feeds . The issue 
is we are getting low percentage of match rate when we use api to upload  
than directly uploading using the interface . We are using google suggested 
code only including hashing and lower casing . for few client match rate 
difference is very high like direct upload gives near 80 percentage but 
uploading via api gives less than 20 percetage of match rate 
what could be the reason ? 

Thanks
Ramakumar Adavakkad

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f399b5b8-abbb-4597-ad44-7c6f5f07dc3en%40googlegroups.com.


Re: How to fetch "User list name" & "segments.date"

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aarthi,

Thank you for reaching out to us.

For our team to further investigate the issue you are encountering, could you 
please provide to us the complete API logs(request and response with request-id 
) generated on your end so our team can further check it?

You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2bd8E5: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/vbtOJ0RD5VGK00mxXCeL8ZR4Cvy70kQ90O0A%40sfdc.net.


Re: Page token has expired

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alin,

Thank you for the reply.

As for the "Connection reset by peer" error, this issue appears to be client 
library specific. With this, I am afraid that our team would not be able to 
provide support here as it is outside of our scope already. I would suggest 
reaching out to the author of the client library instead via this link as they 
are more equipped here and provide insights to address the issue.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2bd4dK: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/8Wl7O0RD5UWX00RwwnRHCLS7WVvD-3P8Ybdg%40sfdc.net.


RE: Google Ads Get Campaign ads spends based on date and all states of USA

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Darren,

Thanks for reaching out to the Google Ads API Forum.

You may need to perform a separate request for the geo_target_constant report 
after pulling segments.geo_target_state  from geographic_view report in order 
to get the name of those states. There is no way to combine two GAQL together 
in Google Ads API.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2bdUzg: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/t88Dn0RD5UWJ00uqF5mCE5TaOrO37DnZ0RAw%40sfdc.net.


RE: Get Ad campaign reports based on country and state

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Darren,

In addition to above, you may also share privately(for sensitive details) the 
API response where you are getting Non-US locations, so it will help in our 
investigation.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2bdUx2: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/p0p4y0RD5UUL00dAZ2VF8YRMOjlJ5uCF7a2A%40sfdc.net.


RE: Get Ad campaign reports based on country and state

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Darren,

Thanks for reaching out to the Google Ads API Forum.

Since you mentioned that your GAQL gives you non US states, could you provide 
us customer ID so that I can impersonate on my end?

With regards to results does not summarize by state names, you may need to 
perform a separate request for the geo_target_constant report after pulling 
segments.geo_target_state from geographic_view report.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2bdUx2: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/X3oq60RD5UM0008Go2d3aBSjCduAr9QGFVHw%40sfdc.net.


Re: Issue on Customer Client Link with REST API

2022-06-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Kazi,

Thank you for the reply.

With regard to your question if it is possible to connect an external Google 
Ads account, then the procedure in this document but it appears that you are 
already doing it. With this, since the issue still persists, could you provide 
the following details below:

Customer Id of the accounts that you want to link.
Complete API request and response logs with request ID and request header that 
generated on your end
Email address that you've used in the authentication

For security purposes, you can provide it via the Reply privately to author 
option. If this option is not available, then send it instead on this email 
address googleadsapi-supp...@google.com.

But to give you an overview about the issue that you encountered encountered, 
the "USER_PERMISSION_DENIED" which means a user doesn't have permission to 
access a customer and you’re accessing a client customer using 
'login-customer-id’ in the request.

To address this, you will need to ensure that the user / email address you used 
to generate the credentials indeed has access to the account in your request. 
If the user / email address has access or is associated with the MCC / manager 
account, you will need to specify the said MCC / manager account ID as the 
value of the login-customer-id field.

As for the "Can I see them listed under the sub-account section in google ads 
manager account?", if the API request for linking accounts is successful, then 
I can confirm that the account will be listed under the sub-account section in 
Google Ads Manager account.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2bd2cU: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/JRkCi0RD5QI500lkgo_fyGQ0WaNrDHM8ykjw%40sfdc.net.


Get Ad campaign reports based on country and state

2022-06-08 Thread Darren D'Mello
I want to get the report as shown here https://prnt.sc/oG7ms7tOdVfH

The input is Country = USA
Date from and Date to

But this gives non US states and it doesnt summarize the resuly by *state 
names*

Can anyone help me to get the REST API?

curl 
"https://googleads.googleapis.com/v10/customers/${CUSTOMER_ID}/googleAds:searchStream;
 
\ --header "Content-Type: application/json" \ --header "developer-token: 
${DEVELOPER_TOKEN}" \ --header "login-customer-id: ${MANAGER_CUSTOMER_ID}" 
\ --header "Authorization: Bearer ${OAUTH2_ACCESS_TOKEN}" \ --data '{ 
"query": " SELECT campaign.name, segments.geo_target_state, 
metrics.cost_micros FROM geographic_view WHERE 
geographic_view.location_type = LOCATION_OF_PRESENCE AND segments.date 
BETWEEN 20220101 AND 20220430 " }'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a1d7287-5e9d-42fb-a54f-68aabb6afb06n%40googlegroups.com.


Google Ads Get Campaign ads spends based on date and all states of USA

2022-06-08 Thread Darren D'Mello


I am using ads API for getting the spends based on state names of USA.

The below query gives segments.geo_target_state will be returned as an ID 
instead of name How can I combine this query with SELECT 
geo_target_constant.name, geo_target_constant.canonical_name FROM 
geo_target_constant WHERE geo_target_constant.id = <>
curl 
"https://googleads.googleapis.com/v10/customers/${CUSTOMER_ID}/googleAds:searchStream;
 
\ --header "Content-Type: application/json" \ --header "developer-token: 
${DEVELOPER_TOKEN}" \ --header "login-customer-id: ${MANAGER_CUSTOMER_ID}" 
\ --header "Authorization: Bearer ${OAUTH2_ACCESS_TOKEN}" \ --data '{ 
"query": " SELECT campaign.name, segments.geo_target_state, 
metrics.cost_micros FROM geographic_view WHERE 
geographic_view.location_type = LOCATION_OF_PRESENCE AND segments.date 
BETWEEN 20220101 AND 20220430 " }'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4b8c432f-c957-467b-8d0f-e8c72908cfc8n%40googlegroups.com.


Re: How to fetch "User list name" & "segments.date"

2022-06-08 Thread Aarthi Ilangovan
Thanks for the reply. 

When I used query migration tool this field was not returned. Please fix 
it. 

Regards

On Wednesday, June 8, 2022 at 3:58:03 AM UTC+2 adsapi wrote:

> Hi Aarthi,
>
> Thank you for posting your concern.
>
> To answer your concern, I would suggest using the 
> *campaign_criterion.display_name* field instead or adding it in the 
> *campaign_audience_view* query as it can also get the user list name and 
> to address the issue.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bd8E5: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/91b7d6a2-81fa-4321-9328-f9c6c401bcf3n%40googlegroups.com.


Re: KeywordPlanService.GenerateHistoricalMetricsRequest only returns GLOBAL results

2022-06-08 Thread Jeff Reuter
The issue still persists for me.


adsapi schrieb am Mittwoch, 1. Juni 2022 um 06:01:27 UTC+2:

> Hello All,
>
> Sorry for keeping you waiting for many days. The issue should be fixed 
> now. Could you please retry your requests to see if it works? If it 
> doesn't, please *Reply privately to author* and attach your requests and 
> responses. If the issue is not related to the geo targets set at the 
> campaign level, please create a separate post, so we can track it better. 
> Again, I'm sorry for your inconvenience.
>
>
>
> Best,
> Thanet, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q2YbrjF: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/1b073f64-8075-4a22-bad8-90db563afa53n%40googlegroups.com.


Google Click ID could not be decoded., at conversions0.gclid - This Google Click ID could not be decoded.

2022-06-08 Thread Jen Brannstrom
Dear API Support team,
I am using Make.com to pass gclid of offline conversions. The API seems to 
be set up correctly, I have a bunch of gclids that I wish to upload coming 
from a real, live account.
The gclids are a months weeks old now though. 

some example GCLIDS:

616171693eb8670001856e22
616171693eb8670001856e22
6162760d3eb867000143c232
616466ee3eb86700012809a3
6166f19d3eb867000140b404

The Error I get is: 


"Google Click ID could not be decoded., at conversions0.gclid ◉ This Google 
Click ID could not be decoded."

This is the RAW request:

{
"response": {
"status": 200,
"headers": {
"request-id": "YiQ-jLZdo-laKyDdnrI1JA",
"content-type": "application/json; charset=UTF-8",
"vary": "X-Origin, Referer, Origin,Accept-Encoding",
"date": "Tue, 07 Jun 2022 15:06:03 GMT",
"server": "ESF",
"cache-control": "private",
"x-xss-protection": "0",
"x-frame-options": "SAMEORIGIN",
"x-content-type-options": "nosniff",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":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\"",
"accept-ranges": "none",
"connection": "close",
"transfer-encoding": "chunked"
},
"body": {
"partialFailureError": {
"code": 3,
"message": "This Google Click ID could not be decoded., at 
conversions[0].gclid",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"conversionUploadError": 
"UNPARSEABLE_GCLID"
},
"message": "This Google Click ID could not 
be decoded.",
"trigger": {
"stringValue": 
"612f9de8791b21000117a0e5"
},
"location": {
"fieldPathElements": [
{
"fieldName": "conversions",
"index": 0
},
{
"fieldName": "gclid"
}
]
}
}
]
}
]
},
"results": [
{}
]
}
},
"request": {
"url": "
https://googleads.googleapis.com/v9/customers/5988339676:uploadClickConversions
",
"headers": {
"user-agent": "Make/production",
"authorization": "***",
"developer-token": "***",
"login-customer-id": "6964960376",
"content-type": "application/json"
},
"method": "POST",
"body": {
"conversions": [
{
"gclid": "612f9de8791b21000117a0e5",
"conversionAction": 
"customers/5988339676/conversionActions/536803109",
"conversionDateTime": "2021-09-01 17:36:08+01:00"
}
],
"partialFailure": true
}
}
}



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1cfce6fb-a45f-49ee-bfdb-8685d4bdc899n%40googlegroups.com.


Re: Page token has expired

2022-06-08 Thread Alin Alex
We fall back to pagination because on the search stream we encountered 
another error with the message "connection reset by peer", and now we end 
up in this token invalidation.

On Tuesday, June 7, 2022 at 9:41:23 PM UTC+3 adsapi wrote:

> Hi Alin,
>
> Is it possible for you to use the SearchStream method instead of Search? 
> If you do not require paginated results, the SearchStream method will work 
> better as the entire result is cached in a data buffer. Please see this 
> page 
>  
> on streaming for more details on Search/SearchStream. In general, we 
> recommend using SearchStream whenever possible. 
>
> Additionally, you may try breaking your report up into smaller date 
> ranges, or use fewer fields in your report, if possible.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bd4dK: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/8e8cd512-d1be-4cdf-add2-5ea06a430e34n%40googlegroups.com.


Re: Issue on Customer Client Link with REST API

2022-06-08 Thread Kazi Khayruzzaman
Hi, 
Thanks for the reply. It solved the problem but another problem arrived. 
Now, I'm getting this 

{
  "error": {
"status": "PERMISSION_DENIED", 
"message": "The caller does not have permission", 
"code": 403, 
"details": [
  {
"errors": [
  {
"errorCode": {
  "authorizationError": "USER_PERMISSION_DENIED"
}, 
"message": "User doesn't have permission to access customer. 
Note: If you're accessing a client customer, the manager's customer id must 
be set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
"
  }
], 
"@type": 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure", 
"requestId": "hH5m60oydlq04UL_uoSHUg"
  }
]
  }
}

I have a manager account and i have a client who has his google ads 
account. I'm trying to connect his client account under my manager account 
so that I can manage his google ads and get report of his campaigns. I have 
completed the authentication & authorization, added the access token as 
header along with developer token, and login-customer-id. I found in the 
docs that, if I wanna connect my manager account with any other client 
account, I have to use the customers.customerClientLinks method. 
But it's throwing this error. 

So, my question is, Can I connect any external google ads account with my 
manager account through REST API? How?
And after adding them, Can I see them listed under the sub-account section 
in google ads manager account?

Can you help please?


On Tuesday, June 7, 2022 at 8:26:49 PM UTC+6 adsapi wrote:

> Hi Kazi,  Thank you for reaching out to Google Ads API support. The errors 
> returned are a good starting point to find out how to send a correct 
> request.
>
> For the error "RESOURCE_NAME_MALFORMED" for field Name "client_customer" 
> the specifics of the error returned is "Resource name '1650865311' is 
> malformed: expected 'customers/{customer_id}"for "fieldName": 
> "client_customer" To fix this you can replace the value of "1650865311" for 
> the key "clientCustomer" with  "customers/1650865311".
>
> For the error "CANNOT_SET_ID_FOR_CREATE" for field name "resource_name" 
> the specifics of the error returned is "Do not set the id field while 
> creating new resources." To fix this you can remove the key - value pair 
> of "managerLinkId", it is already implied by the HTTP header which should 
> be "
> https://googleads.googleapis.com/v10/customers/1650865311/customerClientLinks:mutate
> ".
>
> For the error IMMUTABLE_FIELD for the field name "hidden", the specifics 
> of the error is "Field 'hidden' cannot be modified by 'CREATE' operation.". 
> To fix this error you may take out the key - value pair of "hidden" from 
> the "create" operation and update the "hidden" field in a second "update" 
> operation.
>
> Here are 2 operations that will get you the desired outcome: 
>
>1. 
>
>
>{
>"operation": { 
>"create": {
> "status": "PENDING",
>  "clientCustomer": "customers/1650865311",
>   
>}
>},
> 
>}
>
>
>
>2. 
>
>
>{
>"operation": { 
>"updateMask": "hidden",
>"update": {
>"resourceName": 
> "customers/1650865311/customerClientLinks/1650865311~1650865311",
>"hidden": true
>   
>}
>},
> 
>}
>
>
>
>
>
> Feel free to get back to us.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bd2cU: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/7173b880-5d49-4131-83db-2faf234297fbn%40googlegroups.com.


Queries after AdWords to google-ads API migration

2022-06-08 Thread Abhishek Kushwaha

   
   - I am getting duplicates when pulling the data using the python package 
   for the google-ads api for the clicks performance report. I am using the 
   SearchStreaming method and inserting each batch into the DB as it comes. No 
   changes at all. So is there any bug in the python package?
   - Are the tables contextual, i.e. is it the intended behaviour that when 
   the METRO field is null, there is no data for the GEO Table?  Likewise, for 
   the Keyword table, when no keyword is available, there is no data.Earlier 
   in the Adwords reports account and campaigns were getting listed even if 
   keyword or metro field corresponding to it was null
   
   Thanks!
   

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ed9be764-394e-492c-8e18-edffaf030e06n%40googlegroups.com.