Change email for alias when requesting permissions by oAuth2 for a Web App and in Change History

2018-08-10 Thread christianbohorquez
Right now, when our app request permissions to a customer adwords account 
to manage campaigns, Our developer email is showing as if he is going to 
manage the customer account, and not Our App name, we would like to show 
the customers to see our app name instead of our email when requesting the 
permissions.
Also, when our app makes changes to a customer account, when we check the 
Change History in the customer adwords account for a given campaign, it is 
showing @.com made a change, we would like it to 
show  made the change.

How could we achieve this from the Adwords API or from the GCP Project?

Thanks in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0c1196ec-ed9e-47a6-9a5b-e1a621d178f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How Can You Set a Campaign Bid Type to Maximize Clicks via the PHP Api Library?

2018-08-10 Thread Rick Simnett
Hello,
I want to setup campaigns via the api. I am trying to set the campaign to 
Maximize Clicks, however, it doesnt seem to be an option in the PHP library:

The BiddingStrategyType library doesnt have a predefined constant:


   const MANUAL_CPC = 'MANUAL_CPC';
const MANUAL_CPM = 'MANUAL_CPM';
const PAGE_ONE_PROMOTED = 'PAGE_ONE_PROMOTED';
const TARGET_SPEND = 'TARGET_SPEND';
const TARGET_CPA = 'TARGET_CPA';
const TARGET_ROAS = 'TARGET_ROAS';
const MAXIMIZE_CONVERSIONS = 'MAXIMIZE_CONVERSIONS';
const MAXIMIZE_CONVERSION_VALUE = 'MAXIMIZE_CONVERSION_VALUE';
const TARGET_OUTRANK_SHARE = 'TARGET_OUTRANK_SHARE';
const NONE = 'NONE';
const UNKNOWN = 'UNKNOWN';

   $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
  
 
$biddingStrategyConfiguration->setBiddingStrategyType(BidStrategyType::MANUAL_CPC);
  
 $campaign->setBiddingStrategyConfiguration($biddingStrategyConfiguration);


How do I set the campaign to maximize clicks?

Any help on this is much appreciated.

Thanks,
Rick

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7f2ef2cd-a889-4525-a769-ef869a5bb36b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to download the report from API as a data frame

2018-08-10 Thread zhaoyu . wang
Hello, 

I was trying to download report and save it as a data frame, using the 
*report_downloader.DownloadReport. 
*It do help me get the data and I can save it to a csv. However when I try 
to read the csv it give me the error as follow: 

Traceback (most recent call last):
  File "C:\Users\Desktop\new\download.py", line 40, in 
main(adwords_client)
  File "C:\Users\Desktop\new\download.py", line 28, in main
df = pd.read_csv('adwtemp.csv', index_col=None, header=1)
  File "C:\Python27\lib\site-packages\pandas\io\parsers.py", line 709, in 
parser_f
return _read(filepath_or_buffer, kwds)
  File "C:\Python27\lib\site-packages\pandas\io\parsers.py", line 449, in 
_read
parser = TextFileReader(filepath_or_buffer, **kwds)
  File "C:\Python27\lib\site-packages\pandas\io\parsers.py", line 818, in 
__init__
self._make_engine(self.engine)
  File "C:\Python27\lib\site-packages\pandas\io\parsers.py", line 1049, in 
_make_engine
self._engine = CParserWrapper(self.f, **self.options)
  File "C:\Python27\lib\site-packages\pandas\io\parsers.py", line 1695, in 
__init__
self._reader = parsers.TextReader(src, **kwds)
  File "pandas\_libs\parsers.pyx", line 565, in 
pandas._libs.parsers.TextReader.__cinit__
pandas.errors.EmptyDataError: No columns to parse from file

Is there any way I can get the data in the format of data frame? Thanks in 
advance. 

Plus, I tried to use *report_downloader.DownloadReportAsStream, *but 
stacked at the same place when I try to convert the instance to a data 
frame. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/280d5c26-a5c7-42bb-b942-db388ab98cef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multiple ads with same keyword ids

2018-08-10 Thread szusi
Hello, 

I am trying to pause certain ads by keyword id, however, there are multiple 
ads that all have the same keyword_id. Is there a work around for this?

Thanks,

Sean

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fef08d3f-70b7-428e-8a2e-64432348ff48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get "Cost" without interactions that can’t lead to conversions in AdWords API

2018-08-10 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Tiana, 

Thank you for sharing the screenshot. The conv. value/ cost is currently 
not a supported field through the API. It is also not possible to pull the 
cost that excludes interactions which did not lead to conversions. You 
could post your concern on the Advertisers Community forum 
,
 
so the product experts will be able to take a look and assist you as to how 
they calculate this value. 

Regards,
Bharani, AdWords API Team

On Thursday, August 9, 2018 at 7:41:23 AM UTC-4, Tiana S. wrote:
>
> Hi guys,
>
> As you don't provide a predefined metric to request "Conv. value / cost" 
> in the Reporting API, we're calculating it ourselves by doing `Total Conv. 
> Value / cost`. 
> We've been using this calculation for a while, however, since recently we 
> are noticing some discrepancies with the interface in some cases. Checking 
> the definition again, we found that it now includes the following: 
>
>> The cost in this metric excludes interactions that can’t lead to 
>> conversions, such as those that happen when you aren’t using conversion 
>> tracking.
>
>
> Is there anyway we can fetch that cost, so excluding the interactions that 
> can't lead to conversions, so we can calculate a correct "Conv. value / 
> cost"?
> And if not, are there by any chance plans to add "Conv. value / cost" and 
> "Conv. value / click" to the API?
>
> Thanks,
>
> Tiana
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e53a4ff6-dd41-4c66-95f8-c1ebfbf602f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get a list of conversions for source=Third-party application analysis tools? as the picture shows

2018-08-10 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Jia, 

I understand your concern. Unfortunately, third party conversion trackers 
are not supported through the API Services. You will be able to pull this 
data only through the reports as mentioned above. You will be able to add 
these trackers through the UI. I have shared your concern with the team. 
Please keep an eye on our blog 
 for any 
updates regarding this feature.

Thanks,
Bharani, AdWords API Team

On Thursday, August 9, 2018 at 7:40:54 AM UTC-4, jia zheng wrote:
>
> [image: 1.png]
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/438c8eb4-1c67-4ccf-a62d-78996aeaff67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I retrieve conversion using ConversionTrackerService

2018-08-10 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Jia, 

I see that you opened a new thread 

 for 
the same issue. Please continue the discussion on that thread for better 
tracking. 

Thanks,
Bharani, AdWords API Team

On Friday, November 24, 2017 at 5:34:08 AM UTC-5, Jikai Zhang wrote:
>
> Hi AdWords API Teams,
>
> I use AdWords integrate with Firebase project, I create Conversion with 
> Firebase events in the AdWords Platform, so I can see those conversions on 
> the adwords.
> But I can not retrieve those conversions 
> using ConversionTrackerServiceInterface API, How can I do this.
>
> Thanks.
>
> some code I used.
>
> CampaignServiceInterface campaignService =
> adWordsServices.get(session, CampaignServiceInterface.class);
>
> int offset = 0;
>
> SelectorBuilder builder1 = new SelectorBuilder();
> Selector selector1 = builder1.fields(ConversionTrackerField.Id, 
> ConversionTrackerField.AppId,
> ConversionTrackerField.Name).build();
> ConversionTrackerServiceInterface trackerServiceInterface = 
> adWordsServices.get(session, ConversionTrackerServiceInterface.class);
> ConversionTrackerPage page1 = null;
> do {
>   page1 = trackerServiceInterface.get(selector1);
>
>   if (page1.getEntries() != null) {
> for (ConversionTracker conversionTracker : page1.getEntries()) {
>   System.out.printf("ConversionTracker with name '%s' and ID %d was 
> found.%n", conversionTracker.getName(),
>   conversionTracker.getId());
> }
>   } else {
>   }
>
>   offset += PAGE_SIZE;
> } while (offset < page1.getTotalNumEntries());
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19919e40-b058-42c0-93d3-bcf688472ec7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ads (beta) api operation limits

2018-08-10 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Don,

The Google Ads API does not have a partial failure feature just yet, so all 
operations in a mutate request will fail if *any* operation in the request 
encounters an error.

Thanks for providing the error message for the operation count limit. I'm 
looking into that one and will get back to you.

Cheers,
Josh, AdWords API Team

On Friday, August 10, 2018 at 12:20:23 PM UTC-4, Don Mitchell wrote:
>
> [12:19:16] ERROR 
> {"google.ads.googleads.v0.errors.googleadsfailure-bin"=>"\n>\n\x02\b\r\x128Received
>  
> 2000 operations, exceeding the maximum of 1000.", 
> "grpc-status-details-bin"=>"\b\x03\x12%Request contains an invalid 
> argument.\x1A\x87\x01\
> nCtype.googleapis.com/google.ads.googleads.v0.errors.GoogleAdsFailure\x12@\n 
> >\n\x02\b\r\x128Received
>  
> 2000 operations, exceeding the maximum of 1000.", "request-id"=>
> "aIELZe9qUXmF1KoeDy2tTA"}
>
>
>
>
> On Wednesday, 8 August 2018 16:15:59 UTC-4, Don Mitchell wrote:
>>
>> Even though the beta Ads api uses a streaming protocol, it still has 
>> operation limits. For CampaignBudget.mutate_campaign_budgets (DELETE 
>> operation), it told me the limit is 1000. In general are the limits 5000 
>> per request as per the adwords limits (
>> https://developers.google.com/adwords/api/docs/appendix/limits)? For 
>> download, there doesn't seem to be a limit (not the 10K limit from 
>> Adwords). Can I get a definitive statement on the limits with the 
>> exceptions?
>>
>> Also, how does the api return operation validation failures when only a 
>> subset of operations on a request fail? There's no partial failure property 
>> in the result. Does it fail the whole request if just one operation is 
>> invalid? Does it silently fail?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/41251f0b-81f8-4aa4-8f5a-eb0250b33da9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ads (beta) api operation limits

2018-08-10 Thread Don Mitchell
[12:19:16] ERROR 
{"google.ads.googleads.v0.errors.googleadsfailure-bin"=>"\n>\n\x02\b\r\x128Received
 
2000 operations, exceeding the maximum of 1000.", "grpc-status-details-bin"
=>"\b\x03\x12%Request contains an invalid 
argument.\x1A\x87\x01\nCtype.googleapis.com/google.ads.googleads.v0.errors.GoogleAdsFailure\x12@\n>\n\x02\b\r\x128Received
 
2000 operations, exceeding the maximum of 1000.", "request-id"=>
"aIELZe9qUXmF1KoeDy2tTA"}




On Wednesday, 8 August 2018 16:15:59 UTC-4, Don Mitchell wrote:
>
> Even though the beta Ads api uses a streaming protocol, it still has 
> operation limits. For CampaignBudget.mutate_campaign_budgets (DELETE 
> operation), it told me the limit is 1000. In general are the limits 5000 
> per request as per the adwords limits (
> https://developers.google.com/adwords/api/docs/appendix/limits)? For 
> download, there doesn't seem to be a limit (not the 10K limit from 
> Adwords). Can I get a definitive statement on the limits with the 
> exceptions?
>
> Also, how does the api return operation validation failures when only a 
> subset of operations on a request fail? There's no partial failure property 
> in the result. Does it fail the whole request if just one operation is 
> invalid? Does it silently fail?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3d417dd8-c2ca-45f3-8b90-e0858e794e1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access a campaigns targetCPA

2018-08-10 Thread 华阳
Get an exception when trying to add "" as select field.

AdWordsApiException: Exception of type 
'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. 
The field name is not valid.. (Error: SelectorError.INVALID_FIELD_NAME, 
FieldPath: serviceSelector, Trigger: biddingStrategyConfiguration)


Selector selector = new Selector()
{
fields = new[] { 
"biddingStrategyConfiguration" },
predicates = new Predicate[] { 
Predicate.Equals(Campaign.FilterableFields.Status, "ENABLED"), },
paging = Paging.Default
};

在 2018年8月8日星期三 UTC-7下午11:39:23,Peter Oliquino (AdWords API Team)写道:

> Hi,
>
> Using the CampaignService.get(), you will need to include the 
> BiddingStrategyConfiguration 
> 
>  in 
> your selected fields then once retrieved through the Campaign object, 
> create an object of its type. You can then extract its BiddingScheme 
> 
>  that 
> would then allow you to identify whether it is a TargetCpaBiddingScheme 
> 
>  and 
> then get its TargetCpa 
> 
>  value.
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> On Thursday, August 9, 2018 at 12:55:27 PM UTC+8, CR EG wrote:
>>
>> Hey all!
>>
>> I am having some difficulty trying to pull the targetCPA for a specific 
>> campaign. Here is what I have, I am using the selector to pull the campaign 
>> that I need but when I look at the attributes returned it does not provide 
>> the bidding strategy details. 
>>
>> campaign_service = client.GetService('CampaignService', version='v201802')
>>
>> selector = {
>> 'fields': ['Name'],
>> 'predicates': {
>> 'field': 'Id',
>> 'operator': 'EQUALS',
>> 'values': campaignID
>> }
>> }
>>
>> campaign = campaign_service.get(selector)
>>
>>
>>
>> Here is What is returned
>>
>> {
>> 'totalNumEntries': 1,
>> 'Page.Type': 'CampaignPage',
>> 'entries': [
>> {
>> 'id': *,
>> 'campaignGroupId': None,
>> 'name': '***',
>> 'status': None,
>> 'servingStatus': None,
>> 'startDate': None,
>> 'endDate': None,
>> 'budget': None,
>> 'conversionOptimizerEligibility': None,
>> 'adServingOptimizationStatus': None,
>> 'frequencyCap': None,
>> 'settings': [],
>> 'advertisingChannelType': None,
>> 'advertisingChannelSubType': None,
>> 'networkSetting': None,
>> 'labels': [],
>> 'biddingStrategyConfiguration': None,
>> 'campaignTrialType': None,
>> 'baseCampaignId': None,
>> 'forwardCompatibilityMap': [],
>> 'trackingUrlTemplate': None,
>> 'finalUrlSuffix': None,
>> 'urlCustomParameters': None,
>> 'vanityPharma': None,
>> 'selectiveOptimization': None
>> }
>> ]
>> }
>>
>>
>> Anyone have any idea? 
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/da69dbdd-42cb-4344-bddd-a7949d1af22a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Definition of SEARCH_VOLUME and TARGETED_MONTHLY_SEARCHES

2018-08-10 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Kimiaki,

Thank you for your question. As seen in the table in this section 
,
 
the SEARCH_VOLUME attribute can be associated to the *average monthly 
searches* for a given keyword idea. On the other hand, the 
TARGETED_MONTHLY_SEARCHES should represent the *volume of searches* across 
a certain date range, usually in a span of 12 months.

I hope this helps and feel free to write back if you have additional 
clarifications.

Thanks and regards,
Peter
AdWords API Team

On Friday, August 10, 2018 at 3:55:45 PM UTC+8, Hashimoto wrote:
>
> Hi,
>
> What is difference between "SEARCH_VOLUME" and "TARGETED_MONTHLY_SEARCHES" 
> ? I know a follwing link. But I need more detail to understand descriptions 
> on this document. 
>
> https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.AttributeType
>
> API result of TARGETED_MONTHLY_SEARCHES is mean search volume in past 12 
> months. But what is SEARCH_VOLUME? Is this mean search volume in last month?
>
> Cheers,
> Kimiaki Hashimoto
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/83c9c997-7f2d-47a6-ad71-8370d9553ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Definition of SEARCH_VOLUME and TARGETED_MONTHLY_SEARCHES

2018-08-10 Thread Hashimoto
Hi,

What is difference between "SEARCH_VOLUME" and "TARGETED_MONTHLY_SEARCHES" 
? I know a follwing link. But I need more detail to understand descriptions 
on this document. 
https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.AttributeType

API result of TARGETED_MONTHLY_SEARCHES is mean search volume in past 12 
months. But what is SEARCH_VOLUME? Is this mean search volume in last month?

Cheers,
Kimiaki Hashimoto

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/434f0af7-b7f1-46b5-a33b-e4a5bc3c8135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting ERROR: GoogleAdsServerFault: Unmarshalling Error:[...]

2018-08-10 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Vivian,

Based on your codes, I noticed that you used an array values to 
conversionValue 

 which 
is supposedly a single double value only based on the guide. This might 
have caused the error. Also, I could see your post on the github issue 
tracker here . 
Could you clarify if you already tried using single values only? 

If the issue persist, could you provide your complete SOAP request and 
response logs when you encountered the error? Please reply via *Reply 
privately to author*. If you haven't enabled the SOAP logs yet, you can 
enable it by following this guide 

.

Thanks and regards,
Luis
AdWords API Team

On Friday, August 10, 2018 at 1:13:50 PM UTC+8, Vivian zhang wrote:
>
> Hello.
>
>
> I am trying to upload offline conversion data to Google Adwords through 
> Google API using Python
>
>
> However, I am encounter error:
> GoogleAdsServerFault: Unmarshalling Error: [0.0222 5.8944 
> 0.4278 ... 0.6444 0.0222 0.2333]
>
>
> To be more specific, here is the code and error looks like:
>
> client = adwords.AdWordsClient.LoadFromStorage("googleads.yaml")
> client.SetClientCustomerId('xxx-xxx-')
> offline_conversion_feed_service = 
> client.GetService('OfflineConversionFeedService', version='v201806')
> feed = {
> 'conversionName': conversion_name,
> 'conversionTime': conversion_time,
> 'conversionValue': conversion_value,
> 'googleClickId': click_id,
> }
>
> offline_conversion_operation = {
> 'operator': 'ADD',
> 'operand': feed
> }
>
> [
> To be sure, I print out the feed, and it looks like:
> {'conversionName': 'LTV',
> 'conversionTime': array(['20180808 170353 America/New_York',
> '20180808 165437 America/New_York',
> '20180808 212400 America/New_York', ...,
> '20180808 125331 America/New_York',
> '20180808 223200 America/New_York',
> '20180808 150408 America/New_York'], dtype=object),
> 'conversionValue': array([0.0222, 5.8944, 0.4278, ..., 
> 0.6444, 0.0222,
> 0.2333]),
> 'googleClickId': array(['EAIaIQobChMI1r6w-aze3AIVy5,
> 'EAIaIQobChMIkLqAvKve3wE',
> 'EAIaIQobChMg6GCh0OyAo1EAEYASAAEgJLcPD_BwE', ...,
> 'EAIaIQobChMI2F6AYKEAEYAyAAEgLiYvD_BwE',
> 'EAIaIQobCh2MSwF0EAEYASAAEgIPmfD_BwE',
> 'EAIaIQobCh3nPAkbEAEYASAAEgJanPD_BwE'],
> dtype=object)}
> ]
>
> Then I try to upload them through:
> offline_conversion_response = 
> offline_conversion_feed_service.mutate([offline_conversion_operation])
>
> With error message:
> --
>
> GoogleAdsServerFault Traceback (most recent call last)
> in ()
> > 1 offline_conversion_response = 
> offline_conversion_feed_service.mutate([offline_conversion_operation])
>
> /Users/vzhang/Documents/Env/default/lib/python2.7/site-packages/googleads/common.pyc
>  
> in MakeSoapRequest(*args)
> 1383 error_list = fault.errors or error_list
> 1384 raise googleads.errors.GoogleAdsServerFault(
> -> 1385 e.detail, errors=error_list, message=e.message)
> 1386 return MakeSoapRequest
> 1387
>
> GoogleAdsServerFault: Unmarshalling Error: [0.0222 5.8944 
> 0.4278 ... 0.6444 0.0222 0.2333]
>
> Can anyone let me know what's wrong with my code and how to fix it?
> 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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a17bf002-35e8-489a-b718-1aa988a2aa96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get "Cost" without interactions that can’t lead to conversions in AdWords API

2018-08-10 Thread Tiana S.
Hi Bharani,

Thanks for your reply! I sent a confidential reply with a screenshot. :)

Best,

Tiana

On Thursday, 9 August 2018 20:00:56 UTC+2, Bharani Cherukuri (AdWords API 
Team) wrote:
>
> Hello Tiana, 
>
> Could you please point me to the specific document that you're referring 
> to or the UI screenshot, so I can take a look? The fields Conv. value / 
> cost and Conv. value / click are currently not supported through the API. I 
> have shared your interest with the team. Please keep an eye on our blog 
>  for more 
> updates regarding this feature. 
>
> Thanks,
> Bharani, AdWords API Team
>
> On Thursday, August 9, 2018 at 7:41:23 AM UTC-4, Tiana S. wrote:
>>
>> Hi guys,
>>
>> As you don't provide a predefined metric to request "Conv. value / cost" 
>> in the Reporting API, we're calculating it ourselves by doing `Total Conv. 
>> Value / cost`. 
>> We've been using this calculation for a while, however, since recently we 
>> are noticing some discrepancies with the interface in some cases. Checking 
>> the definition again, we found that it now includes the following: 
>>
>>> The cost in this metric excludes interactions that can’t lead to 
>>> conversions, such as those that happen when you aren’t using conversion 
>>> tracking.
>>
>>
>> Is there anyway we can fetch that cost, so excluding the interactions 
>> that can't lead to conversions, so we can calculate a correct "Conv. value 
>> / cost"?
>> And if not, are there by any chance plans to add "Conv. value / cost" and 
>> "Conv. value / click" to the API?
>>
>> Thanks,
>>
>> Tiana
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f2812f4c-9625-4b62-9822-2e2abae69176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with AdsSoapClient

2018-08-10 Thread Назар Гойда
ok,thanks.  I'm gonna write there

четверг, 9 августа 2018 г., 20:59:38 UTC+3 пользователь Bharani Cherukuri 
(AdWords API Team) написал:
>
> Hello, 
>
> Based on the SOAP logs shared, there are quite a few empty search 
> parameters in your request. The error usually occurs when the 
> searchParameter value is getting null in your code. Please check this 
> related issue  on 
> Github. If you're still having an issue with this, we recommend that you 
> post your concern on the Github issue tracker 
>  so the library 
> owners will be able to take a look. 
>
> Thanks,
> Bharani, AdWords API Team
>
> On Thursday, August 9, 2018 at 5:14:44 AM UTC-4, Назар Гойда wrote:
>>
>> Hi,, i update lib for 201710 to 201806 and get error like this:
>> file:"C:\OpenServer\domains\stat.local.ua
>> \CoreSystem\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php"
>> line:153
>> message:"Unmarshalling Error: cvc-type.2: The type definition cannot be 
>> abstract for element ns1:searchParameters. "
>> type:"SoapFault"
>>
>> I call TargetingIdeaService. Pls help me to resolve this problem;
>> Version PHP 5.6
>>
>> on TargetingIdeaSelector i have this
>>
>>
>> object(Google\AdsApi\AdWords\v201806\o\TargetingIdeaSelector)#2306 (7) {
>>   ["searchParameters":protected]=>
>>   array(450) {
>> [0]=>
>> string(60) "seo продвижение интернет магазина"
>> [1]=>
>> string(26) "web продвижение"
>> [2]=>
>> string(37) "web продвижение сайта"
>> [3]=>
>> string(58) "web продвижение сайтов раскрутка"
>> [4]=>
>> string(22) "web раскрутка"
>> [5]=>
>> string(40) "yandex продвижение сайта"
>> [6]=>
>> string(36) "yandex раскрутка сайта"
>> [7]=>
>> string(44) "бизнес раскрутка сайтов"
>>   }
>>
>>   ["ideaType":protected]=>
>>   string(7) "KEYWORD"
>>   ["requestType":protected]=>
>>   string(5) "STATS"
>>   ["requestedAttributeTypes":protected]=>
>>   array(2) {
>> [0]=>
>> string(12) "KEYWORD_TEXT"
>> [1]=>
>> string(13) "SEARCH_VOLUME"
>>   }
>>   ["paging":protected]=>
>>   object(Google\AdsApi\AdWords\v201806\cm\Paging)#2305 (2) {
>> ["startIndex":protected]=>
>> int(0)
>> ["numberResults":protected]=>
>> int(500)
>>   }
>>   ["localeCode":protected]=>
>>   NULL
>>   ["currencyCode":protected]=>
>>   NULL
>> }
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/01bc0969-d2d5-41d7-9a67-52d38fd0c987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Passing a variable int KeywordIdeas

2018-08-10 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Stephen,

For service requests, we usually recommend that users use the supported client 
libraries  
instead 
for ease of usage. Since you are using a different approach, I would not be 
able to comment further. However, you may refer to this guide 
 on 
how API calls are structured and passed.

I hope this helps.

Thanks and regards,
Peter
AdWords API Team

On Friday, August 10, 2018 at 12:05:10 PM UTC+8, Stephen Barrett wrote:
>
> I'm working with the KeywordIdeas sample and I was wondering if there was 
> a way to pass a variable without it be $_POST? I'm using Ajax and I was 
> able to pass the post variable through the form's serialize function. My 
> ajax script is changing the $_POST into another variable. So I was 
> wondering how I can pass just a simple variable into KeywordIdeas without 
> it being a $_POST variable. (if that makes sense)
>
>
> Thanks in advance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1962bdd7-f77c-4287-9170-e4c69b6de142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.