Without set Target Cps Bidding Strategy is not update

2022-07-07 Thread Gagandeep Singh
Hello,

I try to add/update bidding strategy through google ads api. But if I try 
to without "target_cpa" bid then bidding strategy is not reflect on google 
ads UI following code:

if campaign_data["campaign_bidding_strategy"] == "maximize_conversions":
maximize_conversions = campaign.maximize_conversions

But when try to with "target_cpa" bid then bidding strategy reflect on 
google ads ui following code:
if campaign_data["campaign_bidding_strategy"] == "maximize_conversions":
maximize_conversions = campaign.maximize_conversions
maximize_conversions.target_cpa = campaign_data["target_cpa"]

Without set Target Cpa bidding strategy is not reflect on google ads ui. 
But on google ads ui target_cpa is optional.
With set Target Cpa bidding strategy is reflect on google ads ui. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/261ea386-7e19-4864-9721-3b6c1be2ddd7n%40googlegroups.com.


Get reach estimate

2022-07-07 Thread Quang Binh Dinh
I want to get reach estimate based on criteria like location, gender, age, 
keyword... currently I have taken reach from location, but reach from age 
and Gender is not possible. Can you guys help me out. Thanks a lot.

Here is my code:

$adGroupResourceName = ResourceNames::forAdGroup($customerId, $adGroupId);

$keywordText = 'mars cruise';
$campaignId = '17688751344';
$locationId = 21167;

// Creates a positive ad group criterion for gender.
$genderAdGroupCriterion = new AdGroupCriterion([
'ad_group' => $adGroupResourceName,
// Targets male.
'gender' => new GenderInfo(['type' => GenderType::UNDETERMINED])
]);

// Creates a negative ad group criterion for age range.
$ageRangeNegativeAdGroupCriterion = new AdGroupCriterion([
'ad_group' => $adGroupResourceName,
// Makes this ad group criterion negative.
'negative' => true,
// Targets the age range of 18 to 24.
'age_range' => new AgeRangeInfo(['type' => 
AgeRangeType::AGE_RANGE_UNDETERMINED])
]);

// Creates ad group criterion operations for both ad group criteria.
$operations = [
new AdGroupCriterionOperation(['create' => 
$genderAdGroupCriterion]),
new AdGroupCriterionOperation(['create' => 
$ageRangeNegativeAdGroupCriterion])
];

// Issues a mutate request to add the ad group criteria and print 
out some information.
$adGroupCriterionServiceClient = 
$googleAdsClient->getAdGroupCriterionServiceClient();
$response = $adGroupCriterionServiceClient->mutateAdGroupCriteria(
$customerId,
$operations
);

printf(
"Added %d demographic ad group criteria:%s ",
$response->getResults()->count(),
PHP_EOL
);

foreach ($response->getResults() as $addedAdGroupCriterion) {
/** @var AdGroupCriterion $addedAdGroupCriterion */
// dd($addedAdGroupCriterion);
print $addedAdGroupCriterion->getResourceName() . PHP_EOL;
}

$googleAdsServiceClient = 
$googleAdsClient->getGoogleAdsServiceClient();
// Creates a query that retrieves the targeting settings from a 
given ad group.

$query = "SELECT ad_group_criterion.age_range.type, " .
 "ad_group_criterion.gender.type, " .
 "ad_group_criterion.keyword.text " .
 "FROM ad_group_criterion " .
 "WHERE " .
 "ad_group_criterion.resource_name = '" . 
$response->getResults()[0]->getResourceName() . "'";

// Issues a search request.
$stream = $googleAdsServiceClient->searchStream($customerId, 
$query);
$paged = $googleAdsServiceClient->search($customerId, $query);
// $campaignBudget = self::createCampaignBudget($adWordsServices, 
$adWordsSession);

$results = [];
foreach($stream->iterateAllElements() as $googleAdsRow){
$results[] = 
json_decode($googleAdsRow->serializeToJsonString(), true);
}
dd($results);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ff1a29ca-b022-418a-8148-39ed64ebe71en%40googlegroups.com.


Feature Suggestion -- Passing Metadata Into ClickConversion of uploadClickConversion

2022-07-07 Thread Mike M
I have these database table IDs for my conversions to upload. It's a 
positive integer. When I upload a clickConversion via the REST API, it 
tells me the successes in the 'results' section, and the fails in the 
'partialFailureError->details[0]->errors' section, but now I have no way to 
know which status goes to what table record.

I'd like to suggest the feature to allow me to add some metadata like 
meta1, meta2, etc. so that I could get the record ID back (like if I push 
it to uploadClickConversions REST API) in either the array of fails or 
array of successes.

Since I don't have that, the way I'm parsing it is like so:

1. Iterate the 'results' section. 

2. When it's populated, then I know it's a success as the response status.

3. When it's not populated, then use PHP's array_shift() call to pop off an 
entry off the top of the fail pile 
(partialFailureError->details[0]->errors) and that's the fail response 
status.

However, this assumes that's how Google creates the fail pile -- it runs 
click conversions into the system, and when they fail, it starts to 
populate the fail pile, starting with index 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/74b600e1-59d8-4911-8dd1-43f993e2690an%40googlegroups.com.


No response GenerateKeywordIdeas method

2022-07-07 Thread masaha...@gmail.com
Hello,guys.

I gave the keyword "covid-19" to the GenerateKeywordIdeas method of the 
KeywordPlanIdeaService service, but there is no response. Why is there no 
response?

I can  provide a log. Please tell me the receiving address.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2f34ac5-c8f0-4f3f-b5bb-ba53d0350023n%40googlegroups.com.


Re: Unique , Index, or Primary Key.

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ahmad,

Thank you for getting back to us. I work with Peter and allow me to assist you 
here.


Regarding your question "I think you mean I should generate an index key 
manually by combining the metric and resource_name. that is true?", my 
colleague meant that reports would generate a new row for every unique 
combination of campaign.resource_name with other segment fields (for example, 
segments.date). You may refer to our documentation on segmentation for more 
information.

Let us know if you have further question.

Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2cTaj5: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/ajZOM0REOIR500thQkT0aFSt2OdBMTXRhrDw%40sfdc.net.


Conversion action - Primary / secondary

2022-07-07 Thread SR
When we create a conversion action with Action optimization as primary, it 
gets automatically added to all running campaigns. We don't want the newly 
added conversion action to impact the currently running campaign.

Is there any downside, if we set the action optimization as Secondary?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/35bc6fa0-a895-47fe-abf0-586a0831c214n%40googlegroups.com.


Interest search limited in API

2022-07-07 Thread SR
In Google Ads UI, when we type an interest, we are getting many 
suggestions. How to get all those categories through API.

In Codes and formats, we have only Affinity categories and In-market 
categories to download.
https://developers.google.com/google-ads/api/reference/data/codes-formats

Please let me know how to get the detailed demographics, other in-market 
and affinity segments that are not available in the codes and formats.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/715f2265-c37a-4f0d-a6ca-7a12e8d860c5n%40googlegroups.com.


Re: Timezone and click_view reports

2022-07-07 Thread John Heathco
Thank you - is this based upon the manager's account?  In this case, I 
could simply create a manager account with the proper timezone settings?  
Or is this based upon the client account's timezone setting, in which case 
if I wanted to switch timezones I would need to create an entirely new 
Adwords account and campaigns?

On Thursday, July 7, 2022 at 2:14:51 AM UTC-7 adsapi wrote:

> Hi John,
>
> Thank you for reaching out to us.
>
> Kindly note that in general all the reports that are pulled from an 
> account will be based on the account's time zone and not by specifying the 
> time zone in the query. You can only get data using segments.date 
> 
>  
> for the click_view 
>  
> report to get data at a specific date, and it's not possible to get the 
> exact time of a click using click_view 
>  
> report.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   ​​​
>
> ref:_00D1U1174p._5004Q2cTSrC: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/5ec00134-afb4-417a-b211-962ba4d822edn%40googlegroups.com.


Re: Error while importing googleadsclient. I installed python google-ads==17.0.0

2022-07-07 Thread jimmy m
I added logging but still same error. The error is during importation in 
this line *not in some api request.*  

*from google.ads.googleads.client import GoogleAdsClient*

Could you check if there is the need to downgrade some subpackage or to 
install an extra one?
I think these are the packages that were updated
google-ads==17.0.0
proto-plus==1.19.6
protobuf==3.17.3
grpcio==1.47.0
grpcio-status==1.44.0
googleapis-common-protos==1.56.3

Thank you
Jimmy


On Thursday, July 7, 2022 at 5:11:31 AM UTC-4 adsapi wrote:

> Hi Jimmy,
>
> Thank you for sending us an email.
>
> Moving forward, I have seen your attached file. That said, to better check 
> and give accurate recommendations to you, could you provide the complete 
> request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  generated 
> on your end?
>
> If you haven't enabled the logging of the API transactions for the 
> specific client library that you are using, then please refer to the 
> specific guide below: 
>
>- Python - 
>
> https://developers.google.com/google-ads/api/docs/client-libs/python/logging 
>
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com 
> 
> .
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cTSp7: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/8ba86c43-c4c8-4fcd-a3c7-a03b57fdf794n%40googlegroups.com.


Re: Unique , Index, or Primary Key.

2022-07-07 Thread Ahmad Jafari
Thanks for your response.
Yes, I use campaign view.
 I think you mean I should generate an index key manually by combining the 
metric and resource_name. that is true?

On Thursday, July 7, 2022 at 1:14:55 PM UTC-4 adsapi wrote:

> Hi Ahmad,
>
> Thank you for your question.
>
> If you are using the campaign 
>  
> view, then, a single campaign.resource_name 
> 
>  
> can have multiple rows depending on the date returned by the segments.date 
> field, and also other rows if any of the other campaign report's segments 
> fields were used.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cTaj5: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/323594c8-0406-487f-b2a4-79611991c58fn%40googlegroups.com.


RE: Invalid enum value cannot be included in WHERE clause: 'PERFORMANCE_MAX'.

2022-07-07 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.

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.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,

Nirmitabahen Gaurav
Google Ads API Team
ref:_00D1U1174p._5004Q2cTXku: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/wdDUG0RENT050073yqPP-NSJqfP-skZxFcXA%40sfdc.net.


Re: Google ads migration missing HistoricalMetrics for some keyword

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anuj,

Thank you for the reply.

Moving forward, Since you followed the provided logging guide but still you are 
unable to generate complete logs on your end, then I would suggest you to reach 
out to the java client library owner instead by filing an issue in the Issue 
tab of github via this link.

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._5004Q2cT7R6: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/XQ_rG0RENON500CtVkuYEKSJW0w5UVbinjgg%40sfdc.net.


Unique , Index, or Primary Key.

2022-07-07 Thread Ahmad Jafari
Hi,
I get campaign performance based on segment Date and store it on DB, I want 
to know, is there any parameter as unique to avoid inserting duplicate 
records?
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/d378a6c4-7f68-4b11-be9c-e9d36b99bc93n%40googlegroups.com.


RE: How to convert low_top_of_page_bid_micros and high_top_of_page_bid_micros to the currencyncy

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jai,

Thank you for reaching out to us.

Moving forward, you may note that there is a difference between how the API and 
UI treat keyword plans, and it can result in seeming discrepancies when 
comparing results between the two. To avoid misinterpreting the results, you 
may refer to this documentation as it has the following rules.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2cTX9R: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/ojfjW0RENNVA00OPr9Eu-xSsmF-YzGJHIw1g%40sfdc.net.


Re: [KeywordPlanService.GenerateHistoricalMetrics]About avg_monthly_searches when specifying a period

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

Thank you for providing us with the requested information.

Upon checking the provided logs with us, I can see that avgMonthlySearches is 
301000 for the period of 2020/06-2021/05. It appears that this is working as 
intended since I have tried on my end as well, and I can confirm that the 
avgMonthlySearches is coming the same even though we have different date ranges 
using year_month_range. This is because our documentation says that the Average 
monthly searches is for the past 12 months. You may see below screenshot:




Could you please confirm if avgMonthlySearches is different for 2020/06-2021/05 
as compared with the last 12 months avgMonthlySearches value when using Ads 
UI’s Keyword Planner? If yes, could you please provide privately to our team 2 
screenshots from Ads UI’s Keyword Planner showing the different 
avgMonthlySearches for 2020/06-2021/05  and last 12 months date?

However, you may refer to this guide, for the differences when working with a 
keyword plan using the Google Ads API versus the UI. We also give some 
recommendations on how to avoid mismatches in historical metrics when mixing 
usage.

Regards,

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


Re: Google ads migration missing HistoricalMetrics for some keyword

2022-07-07 Thread anuj sen
Hi Team , 

I followed the same link given 
Logging  |  Google Ads API  |  Google Developers 



I have done the following steps : 
 1. added maven dependeny 


log4j
log4j
1.2.16


org.slf4j
slf4j-jdk14
1.7.25



2. added logger.properties
# Root logger option

handlers=java.util.logging.ConsoleHandler
.level=DEBUG
java.util.logging.ConsoleHandler.level=DEBUG
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
com.google.ads.googleads.lib.request.summary = WARN
com.google.ads.googleads.lib.request.detail = INFO

and then i am running my java application 
Do i need to to enable or set any other parameter to get desired logs .?? 
//Anuj 



On Thursday, July 7, 2022 at 3:20:14 PM UTC+2 adsapi wrote:

> Hi Anuj,
>
> I’m afraid that the provided stack trace is not enough to investigate the 
> issue further. Could you please provide us privately with the complete logs 
> in the format of the request 
> 
>  
> and response 
> 
>  
> logs as seen in their respective links.
>
> For you to enable complete logs on your end for the client library, 
> logging can be enabled by navigating to the Client libraries > Your client 
> library (ex .NET) > Logging documentation, which you can access from this 
> link .
>
> Regards,
> [image: Google Logo] 
> Yasar Ramjan 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2cT7R6: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/985fb3a3-88c9-49fd-bafa-9fa48b3c76bdn%40googlegroups.com.


Re: Google keyword planner using node js

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Haris,

Please refer to the REST interface for making HTTP requests to the Keyword 
Planner. You can find the endpoint at the top of each keyword plan method page 
(e.g. generateForecastCurve).

Regards,

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2cFp7F: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/9Tb8_0RENKH200Ha857Y1zT_qMFce0HD4iHg%40sfdc.net.


Re: PHP Get First Page Cpc Micros

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Shobha,

Thanks for getting back to us.

I can see that your GAQL is valid, however, your PHP code throws the Fatal 
error:  Uncaught Error: Call to a member function getFirstPageCpcMicros(). This 
seems to be more related to PHP code implementation.

You may refer to this PHP client library hosted at GitHub, and this PHP 
reporting example on how you can get report data on your end. If you’re using a 
PHP client library and still encountering said Fatal error, then I recommend 
you to reach out to PHP client library owners by opening a new issue with their 
team via issue tracker, for further assistance.

Regards,

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


Re: Google ads migration missing HistoricalMetrics for some keyword

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anuj,

I’m afraid that the provided stack trace is not enough to investigate the issue 
further. Could you please provide us privately with the complete logs in the 
format of the request and response logs as seen in their respective links.

For you to enable complete logs on your end for the client library, logging can 
be enabled by navigating to the Client libraries > Your client library (ex 
.NET) > Logging documentation, which you can access from this link.

Regards,

Yasar Ramjan
Google Ads API Team
ref:_00D1U1174p._5004Q2cT7R6: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/R7Q-10RENJP600sYG6sWn_T4-GaF2bSUIklA%40sfdc.net.


Invalid enum value cannot be included in WHERE clause: 'PERFORMANCE_MAX'.

2022-07-07 Thread 'Valerian Alphonso' via Google Ads API and AdWords API Forum
SELECT
campaign.id,
campaign.name,
campaign.advertising_channel_type,
metrics.clicks,
metrics.cost_micros,
metrics.impressions,
metrics.conversions
  FROM campaign
  WHERE campaign.status = 'ENABLED'
  AND campaign.advertising_channel_type = 'PERFORMANCE_MAX'
  AND segments.date DURING TODAY

I cannot execute this particular gaql query.It gives an error:
GoogleAdsError {error_code: ErrorCode, message: 'Invalid enum value cannot 
be included in WHERE clause: 'PERFORMANCE_MAX'.'}
Checked this query on GAQL query builder 

 ,it 
says the query is valid but still getting this error.


However, this query gets executed without any error:
SELECT
campaign.id,
campaign.name,
campaign.advertising_channel_type,
metrics.clicks,
metrics.cost_micros,
metrics.impressions,
metrics.conversions
  FROM campaign
  WHERE campaign.status = 'ENABLED'
  AND campaign.advertising_channel_type = 'SEARCH'
  AND segments.date DURING TODAY

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15951508-1964-4dd9-86d9-84430272503cn%40googlegroups.com.


Re: Google keyword planner using node js

2022-07-07 Thread Haris Arif
Hi Ernie,

Thanks for the prompt feedback, 

My whole app is based on node so it will be very difficult for me to 
migrate on other language. 
So there is another question, I want to know if there is any way to call 
keyword planner API from postman?

Regards,
Haris
On Monday, July 4, 2022 at 7:16:26 AM UTC+5 adsapi wrote:

> Hi Haris,
>
> Thank you for posting your concern to our team.
>
> I would like to inform you that Node JS is a client library that our team 
> doesn't support, only the client libraries listed here 
> . With 
> this, I would suggest using one of the client libraries in the provided 
> link and you may refer to this document 
>  
> as it discussed there how to manage keyword planner and sample 
> implementation is also provided in the document. 
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cFp7F: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/1c6faa6a-9592-4295-85a9-b3f16c061d49n%40googlegroups.com.


RE: Get conversion action for uploading offline clic conversion

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi France,

Thank you for raising your concern to my team. I am also a member of the Google 
Ads API team and let me provide support to your concern.

So that we can have a closer look at the issue, kindly provide the information 
(complete request and response logs with request ID and request header 
generated on your end) that my colleague is asking so that we can address the 
issue. 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.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2cT7xD: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/jFpxr0RENIA5003AYXApRWTVm1lno5-NIFZQ%40sfdc.net.


How to convert low_top_of_page_bid_micros and high_top_of_page_bid_micros to the currencyncy

2022-07-07 Thread jai Antony
I'm getting this response from the API (GenerateKeywordIdeasRequest) as 
below 

text: "betasaurus"
keyword_annotations {
}

keyword_idea_metrics {
  competition: LOW
  monthly_search_volumes {
month: JUNE
year: 2021
monthly_searches: 260
  }
  monthly_search_volumes {
month: JULY
year: 2021
monthly_searches: 320
  }
  monthly_search_volumes {
month: AUGUST
year: 2021
monthly_searches: 210
  }
  monthly_search_volumes {
month: SEPTEMBER
year: 2021
monthly_searches: 210
  }
  monthly_search_volumes {
month: OCTOBER
year: 2021
monthly_searches: 140
  }
  monthly_search_volumes {
month: NOVEMBER
year: 2021
monthly_searches: 170
  }
  monthly_search_volumes {
month: DECEMBER
year: 2021
monthly_searches: 260
  }
  monthly_search_volumes {
month: JANUARY
year: 2022
monthly_searches: 320
  }
  monthly_search_volumes {
month: FEBRUARY
year: 2022
monthly_searches: 320
  }
  monthly_search_volumes {
month: MARCH
year: 2022
monthly_searches: 260
  }
  monthly_search_volumes {
month: APRIL
year: 2022
monthly_searches: 170
  }
  monthly_search_volumes {
month: MAY
year: 2022
monthly_searches: 260
  }
  avg_monthly_searches: 210
  competition_index: 13
  low_top_of_page_bid_micros: 16955320
  high_top_of_page_bid_micros: 301344750
}

I need to convert the below 

*  low_top_of_page_bid_micros: 16955320  high_top_of_page_bid_micros: 
301344750*

*to the Indian currency ,tried dividing it by 100.but it is not 
accurate as the result in Keyword planner UI*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/debb7147-3021-4329-96f5-baca2168eb81n%40googlegroups.com.


Re: [KeywordPlanService.GenerateHistoricalMetrics]About avg_monthly_searches when specifying a period

2022-07-07 Thread team AD-kwd
Hi Yasar,

Thank you for teaching me the procedure.

I just sent a message with a log file attached in a private setting.
If you do not receive it, we would appreciate it if you could point it out.
* It may be a specification, but I'm worried that the message sent to this 
account on the sending side may not be displayed for some reason and may 
not have been sent correctly.

2022年7月6日水曜日 16:39:29 UTC+9 adsapi:

> Hi,
>
> Thanks for getting back to us.
>
> I understand that the value of 301,000 for the API version is the same as 
> the monthly average search volume value for the last 12 
> months(2021/06-2022/05) on your end. However, for us to check the behavior 
> more closely, and investigate further, could you please provide us with the 
> complete request 
> 
>  
> and response 
> 
>  
> logs with the request-id 
> 
>  
> generated in text format? You may enable logging so you’ll get complete 
> request and response logs along with request-id by navigating to the Client 
> libraries > Your client library (ex Java) > Logging documentation, which 
> you can access from this link 
> . 
>
> You may then provide those logs by reply privately to author option.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cG8O0: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/8d21dec4-d286-4834-bc3e-e28c6ec69019n%40googlegroups.com.


Re: Google ads migration missing HistoricalMetrics for some keyword

2022-07-07 Thread anuj sen
Hi Matt,

thanks for responding .

please find the logs 

Jul 07, 2022 12:02:53 PM com.google.ads.googleads.lib.logging.RequestLogger 
logAtLevel
INFO: SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns,
 
Endpoint: googleads.googleapis.com:443, CustomerID: 5368088839, RequestID: 
QQznWrOtOowiayUipnb9tg, ResponseCode: OK, Fault: null.
Created campaign for keyword plan: 
customers/5368088839/keywordPlanCampaigns/436329584
Jul 07, 2022 12:02:53 PM com.google.ads.googleads.lib.logging.RequestLogger 
logAtLevel
INFO: SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups,
 
Endpoint: googleads.googleapis.com:443, CustomerID: 5368088839, RequestID: 
FAsCy2QBip20BgoejExEhQ, ResponseCode: OK, Fault: null.
Created ad group for keyword plan: 
customers/5368088839/keywordPlanAdGroups/445097377
Jul 07, 2022 12:02:54 PM com.google.ads.googleads.lib.logging.RequestLogger 
logAtLevel
INFO: SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords,
 
Endpoint: googleads.googleapis.com:443, CustomerID: 5368088839, RequestID: 
XRnWVX0M0xo7e0zbtrqOkg, ResponseCode: OK, Fault: null.
 Created MutateKeywordPlanAdGroupKeywordResult  for keyword plan: 9
Jul 07, 2022 12:02:54 PM com.google.ads.googleads.lib.logging.RequestLogger 
logAtLevel
INFO: SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.KeywordPlanService/GenerateHistoricalMetrics, 
Endpoint: googleads.googleapis.com:443, CustomerID: null, RequestID: 
eJDSZpVYKT4Bfrc3rtKZ0A, ResponseCode: OK, Fault: null.
### Recived  MutateKeywordPlanAdGroupKeywordResult  for keyword plan: 6


Let me know if you need any more information 

Regards
//Anuj 

On Wednesday, July 6, 2022 at 3:46:26 PM UTC+2 adsapi wrote:

> Hello,
>
> Thanks for reaching out. Can you please provide us with the complete 
> request and response logs so that we can further investigate?
>
> Thanks,
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cT7R6: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/983d402f-95c8-4322-86a3-0799efae6eebn%40googlegroups.com.


Re: Regarding the Google Ads API client library fo Go language

2022-07-07 Thread peng ares
+1 to request for Go lang client library.  

在2022年1月18日星期二 UTC+8 01:58:20 写道:

> Hi Miki,
>
> I raised with my team your request for a Go language Client library. This 
> request is subject to review. You may monitor our blog 
>  for 
> an update. 
>
> For now, we will continue to publish and support the Google Ads API’s 
> protocol buffer definitions 
> . 
> The compiled Go libraries can be generated by running protoc directly on 
> these source files. You can follow the instructions at 
> https://github.com/protocolbuffers/protobuf for Go to build these files. 
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q29Rahn: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/652a8145-bcee-4b11-874e-1286e56ff04en%40googlegroups.com.


Re: Get conversion action for uploading offline clic conversion

2022-07-07 Thread SAFTI France
Hello thanks for your answers, 
Indeed I had  to use a conversion action id in my query using php google 
ads library. (showing in my screen) 
But When I am performing my query I am still having this issue. 

I am using the same user for the login and linked customer id  in the 
google_ads.ini file.

ALso when I am performing the query 

'SELECT 
conversion_action.id, 
conversion_action.name,
conversion_action.owner_customer, 
conversion_action.resource_name
FROM 
conversion_action '

I retrieve the conversion action  that I want to use, and it's owned by my 
user. 

Le mercredi 6 juillet 2022 à 20:51:18 UTC+2, volo...@gmail.com a écrit :

> I had this same problem. I don't know if this will resolve you, but 
> basically I needed to understand that a Conversion Action is not the 
> physical string label of it. For instance, I had a Conversion Action with a 
> label "Upsell 1". I couldn't pass "Upsell 1" as the conversion action at 
> least in the REST API. (You might be using gRPC/SOAP, which might be 
> different here, by the way.) Instead, I had to find the numerical ID for 
> that conversion action labeled "Upsell 1". The trick is to go into Google 
> Ads Manager, find the Conversion Action, click to edit it, and then look in 
> the URL at the ctID parameter. Click Cancel on that Edit when you write 
> down that ID.
>
> Moreover, you have to put that numeric ID into a string that looks like so 
> (as far as my PHP code is concerned):
>
> "customers/$sLinkedCustomerID/conversionActions/$nConversionID"
>
> ...where $nConversionID is that number from the ctID parameter in the URL 
> that you saw.
>
> The docs don't appear to tell you this, do they?
>
> The other thing to denote is the confusion of Customer IDs. Use this rule 
> of thumb:
>
> - Used 2 Adwords accounts? One for developer and one for the actual 
> account you want to change? If so, then the URL for the API call as well as 
> the actual conversion needs the Customer ID to be the Linked Customer ID, 
> while the header for the REST API call needs to be the Login Customer ID 
> (ie, the developer account used for making the API calls).
>
> ---OR---
>
> - Used 1 Adword account for both API call and where you want to make the 
> change? If so, then the Linked Customer ID and Login Customer ID should be 
> the same value.
>
> Hope this helps.
>
>
> On Wednesday, July 6, 2022 at 9:22:19 AM UTC-4 SAFTI France wrote:
>
>> Hello, 
>> I have an error message trying to upload offline clic conversion : 
>>
>> Indeed, I am having this issue : 
>> ' This customer does not have an import conversion action that matches 
>> the conversion action provided., at conversions[0].conversion_action' 
>>
>> My conversion action is owned by the correct user that I am using for my 
>> program.  
>>
>> I don't know how to face this issue, do you have any idea ? 
>>
>> 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/9d7a3dab-1769-4163-ae69-d20a4a85392fn%40googlegroups.com.


Re: PHP Get First Page Cpc Micros

2022-07-07 Thread Anil
Hello Anthony,

Attached is the log with the request Id

[2022-07-06T13:48:09.967873+01:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v10.services.GoogleAdsService/Search", CustomerId: 
3087510920, RequestId: "ALPK8bpVCLadrFjySei31A", IsFault: 0, FaultMessage: 
"None"
Fatal error:  Uncaught Error: Call to a member function 
getFirstPageCpcMicros() on null in 
/var/www/sites/psmedia/perfectstormmedia/tools/class/AdWordsAPI.class.php:5626
Stack trace:
#0 
/var/www/sites/psmedia/perfectstormmedia/tools/bids/class/GoogleBidsTool.class.php(331):
 
AdWordsAPI->getReport(Array)
#1 
/var/www/sites/psmedia/perfectstormmedia/tools/bids/class/GoogleBidsTool.class.php(253):
 
GoogleBidsTool->getSearchCampaignsReport()
#2 /var/www/sites/psmedia/perfectstormmedia/tools/bids/bidsCron.php(241): 
GoogleBidsTool->Keyword_Report(1)
#3 {main}
  thrown in 
/var/www/sites/psmedia/perfectstormmedia/tools/class/AdWordsAPI.class.php 
on line 5626

Thanks,
Shobha

On Thursday, June 30, 2022 at 5:14:55 PM UTC+5:30 adsapi wrote:

> Hi Shobha,
>
> Thank you for that information.
>
> To help you with your 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 
> .You 
> can provide it via Reply privately to author option. If this option is not 
> available, you may send the details directly to our 
> googleadsa...@google.com alias instead. Let me know if you have any 
> questions.
>
>
> Best,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2a2Tfz: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/2dfc876c-e0a6-41d9-b59c-559ae051cbf3n%40googlegroups.com.


Geographic View Supports

2022-07-07 Thread Anh Tuấn
Hi Supporters,

I'm looking for a Query using Google Ads API on

- https://developers.google.com/google-ads/api/fields/v11/geographic_view

I've succeed on getting installations of each campaigns on this Query:

SELECT geographic_view.country_criterion_id, campaign.id, 
campaign.app_campaign_setting.app_id, campaign.app_campaign_setting.app_store, 
segments.date, metrics.clicks, metrics.conversions_value, 
metrics.impressions, metrics.cost_micros
FROM geographic_view WHERE segments.date DURING 
LAST_7_DAYS

However it worked only if we configured the campaign to have 
conversion_action is "install" or "download". Now we have to change 
conversion_action into another. So the conversion_value is not the 
installation anymore. Can you plz help us to look for another alternative 
solution ?

Thanks alot

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f9bd0a5f-0cf0-4036-84e6-07d1d1604552n%40googlegroups.com.


Error while importing googleadsclient. I installed python google-ads==17.0.0

2022-07-07 Thread jimmy m
-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ed3bbb64-25e6-4702-9b01-2e98d58289f4n%40googlegroups.com.


Re: Timezone and click_view reports

2022-07-07 Thread John Heathco
Also, if we cannot select a UTC date range, are we able to get the actual 
time of a given click_view/GCLID result so we know when the click occurred?
On Thursday, July 7, 2022 at 12:02:59 AM UTC-7 John Heathco wrote:

> Hi,
>
> I'm trying to get the GCLIDs for a given day in UTC.  More specifically, I 
> want the period to be 00:00 UTC to 23:59:59 UTC.  
>
> Does the API use UTC by default, or will it return results for the 
> account's timezone preference?  If the latter, is there anyway to override 
> this or to get the exact time of a click?
>
> We need to make sure the click took place on a specific day in UTC.
>
> 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/9381b37c-e2d1-48b5-b4cf-949e0a535739n%40googlegroups.com.


Im using Python google-ads==17.0.0 and got error while importing GoogleAdsClient

2022-07-07 Thread jimmy m
Traceback (most recent call last): File "G:\SQ\CRM\metrics2.py", line 7, in 
 from google.ads.googleads.client import GoogleAdsClient File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\ads\googleads\__init__.py",
 
line 15, in  import google.ads.googleads.client File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\ads\googleads\client.py",
 
line 20, in  from google.api_core.gapic_v1.client_info import 
ClientInfo File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\api_core\gapic_v1\__init__.py",
 
line 16, in  from google.api_core.gapic_v1 import config File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\api_core\gapic_v1\config.py",
 
line 25, in  from google.api_core import exceptions File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\api_core\exceptions.py",
 
line 29, in  from google.rpc import error_details_pb2 File 
"C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\rpc\error_details_pb2.py",
 
line 39, in  _RETRYINFO = 
DESCRIPTOR.message_types_by_name["RetryInfo"] AttributeError: 'NoneType' 
object has no attribute 'message_types_by_name'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c82416ec-762d-4ab5-a509-c6b861a81bbbn%40googlegroups.com.


Timezone and click_view reports

2022-07-07 Thread John Heathco
Hi,

I'm trying to get the GCLIDs for a given day in UTC.  More specifically, I 
want the period to be 00:00 UTC to 23:59:59 UTC.  

Does the API use UTC by default, or will it return results for the 
account's timezone preference?  If the latter, is there anyway to override 
this or to get the exact time of a click?

We need to make sure the click took place on a specific day in UTC.

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/7daf8649-7902-47a2-86db-293710462700n%40googlegroups.com.