Re: Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-24 Thread ntdmbot01

Hi,
I have atathced complete code the code start point is getListofAccounts. 
CustomerId is 429-320-4263
On Wednesday, November 23, 2016 at 11:47:18 AM UTC-6, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi,
>
> The DownloadCriteriaReport 
> 
>  Java 
> example demonstrates how to download a Criteria Performance Report using 
> the API. Could you modify this example to download Ad Performance Report 
> with the fields you require included in the report definition and let me 
> know if this is successful? If it isn't, please provide the complete report 
> definition used along with your clientCustomerId so I can further 
> troubleshoot. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/556a7ab2-b5a9-4220-b54c-7a0208a95b03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
package com.ntrs.ppc.googleAds;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Proxy;
import java.sql.ClientInfoStatus;
import java.util.ArrayList;
import java.util.List;

import org.mockito.asm.tree.IntInsnNode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import com.google.api.ads.adwords.axis.factory.AdWordsServices;
import com.google.api.ads.adwords.axis.utils.v201607.SelectorBuilder;
import com.google.api.ads.adwords.axis.v201603.cm.ReportDefinitionService;
import com.google.api.ads.adwords.axis.v201603.mcm.ManagedCustomerService;
import com.google.api.ads.adwords.axis.v201603.mcm.ManagedCustomerServiceError;
import com.google.api.ads.adwords.axis.v201607.cm.Ad;
import 
com.google.api.ads.adwords.axis.v201607.cm.AdCustomizerFeedServiceInterface;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroup;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroupAd;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroupAdPage;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroupAdServiceInterface;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroupPage;
import com.google.api.ads.adwords.axis.v201607.cm.AdGroupServiceInterface;
import com.google.api.ads.adwords.axis.v201607.cm.Campaign;
import com.google.api.ads.adwords.axis.v201607.cm.CampaignPage;
import com.google.api.ads.adwords.axis.v201607.cm.CampaignServiceInterface;
import com.google.api.ads.adwords.axis.v201607.cm.ExpandedTextAd;
import com.google.api.ads.adwords.axis.v201607.cm.Predicate;
import com.google.api.ads.adwords.axis.v201607.cm.PredicateOperator;
import com.google.api.ads.adwords.axis.v201607.cm.ReportDefinitionReportType;
import com.google.api.ads.adwords.axis.v201607.cm.Selector;
import com.google.api.ads.adwords.axis.v201607.cm.TextAd;
import com.google.api.ads.adwords.axis.v201607.mcm.ManagedCustomer;
import com.google.api.ads.adwords.axis.v201607.mcm.ManagedCustomerPage;
import 
com.google.api.ads.adwords.axis.v201607.mcm.ManagedCustomerServiceInterface;
import com.google.api.ads.adwords.lib.client.AdWordsSession;
import com.google.api.ads.adwords.lib.client.reporting.ReportingConfiguration;
import com.google.api.ads.adwords.lib.jaxb.v201607.DownloadFormat;
import com.google.api.ads.adwords.lib.jaxb.v201607.ReportDefinition;
import 
com.google.api.ads.adwords.lib.selectorfields.v201607.cm.AccountLabelField;
import com.google.api.ads.adwords.lib.selectorfields.v201607.cm.AdGroupAdField;
import com.google.api.ads.adwords.lib.selectorfields.v201607.cm.AdGroupField;
import com.google.api.ads.adwords.lib.selectorfields.v201607.cm.CampaignField;
import 
com.google.api.ads.adwords.lib.selectorfields.v201607.cm.CustomerFeedField;
import 
com.google.api.ads.adwords.lib.selectorfields.v201607.cm.ManagedCustomerField;
import com.google.api.ads.adwords.lib.utils.ReportDownloadResponse;
import com.google.api.ads.adwords.lib.utils.v201607.ReportDownloader;
import com.google.api.ads.comm

How to get keyword value

2016-11-24 Thread Darkcookie
Hello. I cant find how to get keyword value by keyword id. I'm getting 
keyword ID from AD_PERFORMANCE_REPORT(criterionID)  and keyword value from 
Google Analytics report. But how can i connect them?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/9e14bc4c-dd0b-46a8-94d9-7a9625b69b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Lots of Spurious Policy Violations for "Destination not working"

2016-11-24 Thread Dorian Kind
Hello,

first of all I want to apologize, this is a question that is not strictly 
about the Adwords API. However, in my experience I've been able to get more 
valuable information in this group than in the Google Advertiser Community.

So since a few months we've been increasingly experiencing the phenomenon 
that lots of our ads are being disapproved with a reason of "Destination 
not working" even though both final URL and final mobile URL work just 
fine. This is especially notable when creating a large number of new ads 
over the API, but sporadically also for ads that have been running for a 
long time but are now being disapproved for the same reason. When 
escalating to Adwords support, we are usually being told that while the 
URLs they check do work for them, the only thing they can do is re-submit 
the campaign for review, which usually doesn't help.

Has anyone been experiencing the same?

Many thanks for any feedback and best regards,
Dorian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/b3f61de0-5962-4e04-a568-ae4e72bd2457%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get keyword value

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

To get the exact value of the keyword, you will need to generate the Keywords 
Performance Report 

 and 
get the Criteria 

 field. 
You may then match the Keywords Performance Report's Id 

 field 
to the CriterionId 

 field 
of the Ad Performance Report. As for the Google Analytics report fields 
available in the AdWords API reports, you may refer here 
.

Let me know if this works for you.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/600975cd-43aa-40d5-92f6-d6a7ba4709ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invalid grant when using Token Refresh

2016-11-24 Thread David B.
Hi,

Exactly the same issue since last week. Using the same package/library + 
credentials to connect on two applications :

- the first one is a cron script that operate spooled operations. Working 
fine and still ok. It runs every 30mn.
- the second is a web application : it works one time, and then invalid 
grant too. 

This couple of applications has been working for months but the web 
application is failing since last week.

I'm using this sample code to get a session :

// Generate a refreshable OAuth2 credential 
// and can be used in place of a service account.
Credential credential = new OfflineCredentials.Builder()
.forApi(OfflineCredentials.Api.ADWORDS)
.fromFile()
.build()
.generateCredential();

ReportingConfiguration reportingConfiguration
= new ReportingConfiguration.Builder()
.skipReportHeader(false)
.skipColumnHeader(false)
.skipReportSummary(false)
// Enable to allow rows with zero impressions to show.
.includeZeroImpressions(false)
.build();

AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(credential)
.withReportingConfiguration(reportingConfiguration)
.build();

- DB.

Le mardi 22 novembre 2016 15:44:32 UTC+1, Deepankar Biswas a écrit :
>
> Hi Josh
>
> I am facing this issue and its very strange.
>
> 1) The access is very much there and not revoked.
> 2) I refreshed the token today for my MCC account and it worked for the 
> first time and now again invalid grant.
>
> I took the dump of the AdWords user also and it has all valid data.
>
> Where should I look to fix this?
>
> On Monday, November 16, 2015 at 9:49:01 PM UTC+5:30, jnewm...@gmail.com 
> wrote:
>>
>> Hello,
>>
>> About 3 weeks ago we started seeing this error when we refresh the access 
>> token for many random accounts, {   "error" : "invalid_grant" }. We never 
>> had any problems refreshing access tokens up until now. Also, not all 
>> accounts are having problems refreshing their tokens; many refresh just 
>> fine. To temporarily fix the issue we have been reauthorizing each account, 
>> but other accounts start to have the same problem. The only information I 
>> could find on the forum is that the refresh token has manually been 
>> revoked, which doesn't make sense to me. I've read through the 
>> documentation at "
>> https://developers.google.com/adwords/api/docs/guides/authentication"; 
>> and it looks like our TokenUrl, AuthUrl and Scope are up to date. Any help 
>> is greatly appreciated, thanks.
>>
>> Get Authorization Code:
>>
>>
>> https://accounts.google.com/o/oauth2/auth?client_id=X&redirect_uri=XX&scope=
>> https://www.googleapis.com/auth/adwords
>> &response_type=code&access_type=offline&approval_prompt=force";
>>
>>
>>
>> Below is an example of the url and parameters we are using to retrieve 
>> initial access and refresh token:
>>
>>
>> https://www.googleapis.com/oauth2/v3/token?code=X&client_id=X&client_secret=X&grant_type=authorization_code&redirect_uri=
>>
>>
>>
>> Below is an example of the url and parameters we are using to refresh 
>> access tokens:
>>
>>
>> https://www.googleapis.com/oauth2/v3/token?refresh_token=X&client_id=X&client_secret=X&grant_type=refresh_token
>>
>
> *DISCLAIMER*: The information in this message is confidential and may be 
> legally privileged. It is intended solely for the addressee. Access to this 
> message by anyone else is unauthorized. If you are not the intended 
> recipient, any disclosure, copying, or distribution of the message, or any 
> action or omission taken by you in reliance on it, is prohibited and may be 
> unlawful. Please immediately contact the sender if you have received this 
> message in error. Further, this e-mail may contain viruses and all 
> reasonable precaution to minimize the risk arising there from is taken by 
> OfferGrid. OfferGrid is not liable for any damage sustained by you as a 
> result of any virus in this e-mail. All applicable virus checks should be 
> carried out by you before opening this e-mail or any attachment thereto.
> Thank you - *OfferGrid Networks (P) Ltd*.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 bec

Re: Lots of Spurious Policy Violations for "Destination not working"

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi Dorian,

Seeing that this concern (policy violations) is already beyond the AdWords 
API team's scope, I would recommend that you, instead, contact the AdWords 
Community Forum 
 
to 
get more details regarding the policy violations your account is 
experiencing.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/a90a4367-b6f3-44ea-8510-7b40e411da81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Frequently getting Stream closed error whe fetching ads for a Adgroup and for a given campaign

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

I am Shwetha's colleague and I will be providing the support in the 
meantime. Thank you for the information, however, I had to delete your most 
recent response as it contained sensitive information such as your customer 
ID. You may refer to our forum posting guidelines 

 for 
future posts.

Moving forward, I would like to ask if you have tried Shwetha's 
recommendation to try out the DownloadCriteriaReport 

 Java 
example of our client library and if you were successful in generating your 
report? Another point which I would like to confirm is if you are able to 
proceed in getting the report's response as a string in the below snippet 
of your code :

ReportDownloadResponse response = new 
ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);
response.saveToFile(reportFile);
//Kindly uncomment the following lines in your code
String responseString = response.getAsString();
System.out.println(responseString);

 

If your code is able to proceed beyond those lines, then you might want to 
check how you handle the "reportFile" using the BufferedReader. I hope this 
works and please let me know if the issue persists.


Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/07bd003f-f628-4fd2-962e-1419d3f49d28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Lots of Spurious Policy Violations for "Destination not working"

2016-11-24 Thread Zweitze
I haven't experienced this but I would proceed as follows:

- Check the logs on the webserver, look for all requests asking that URL. 
See whether the webserver responded 200.
- Don't forget to check the firewall which could have been denying access 
to certain users/ip addresses etc.
- If you use a Tracking Template look careful into that, make sure that it 
redirects to the final URL. I can imagine that Google will penalize after 
finding out requests are redirected to a different URL.

If HTTPS, are you using a well-known CA? Certain CAs are not trusted by all 
computers on the world. Note: I don't know which CAs Google trusts. BTW I 
don't think this is your issue, more a theoretical possibility.

Hope this helps.


On Thursday, November 24, 2016 at 9:23:17 AM UTC+1, Dorian Kind wrote:
>
> Hello,
>
> first of all I want to apologize, this is a question that is not strictly 
> about the Adwords API. However, in my experience I've been able to get more 
> valuable information in this group than in the Google Advertiser Community.
>
> So since a few months we've been increasingly experiencing the phenomenon 
> that lots of our ads are being disapproved with a reason of "Destination 
> not working" even though both final URL and final mobile URL work just 
> fine. This is especially notable when creating a large number of new ads 
> over the API, but sporadically also for ads that have been running for a 
> long time but are now being disapproved for the same reason. When 
> escalating to Adwords support, we are usually being told that while the 
> URLs they check do work for them, the only thing they can do is re-submit 
> the campaign for review, which usually doesn't help.
>
> Has anyone been experiencing the same?
>
> Many thanks for any feedback and best regards,
> Dorian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/2f769b7e-70ba-4846-bed7-1157f2cf618f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New ad customizers, no fallback ad necessary, does this mean 100% ad customizer ads is possible?

2016-11-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello,

If in the ad group, you have only ad customizers *with default values *and 
no other static ads, then yes, your ads for that ad group will be 100% from 
your customized ads.
In other words, the new feature enables you to fallback to *default value* 
instead 
of static ads.

About the 50% fallback, I doubt if this is the rule. 
Under circumstances that your ads are shown, incidentally, there might be 
many times where your customized ads can't be shown, e.g., due to the space 
limit.
If you would like to know more about this, I recommend to ask experts in 
AdWords 
Community 
. 
There are a lot of specialized people monitoring that forum as well.

Cheers,
Thanet, AdWords API Team

On Thursday, November 24, 2016 at 4:49:38 PM UTC+9, AvdV wrote:
>
> Hi,
>
> The question I have is basically in the title, we would like to be able to 
> use Countdown ads for 100% of our impressions instead of the forced 50/50 
> it used to be. This was because a fallback ad was mandatory and whatever we 
> did with rotation, it would always show 50% fallback and 50% countdown/ad 
> customizer. Now this fallback ad is no longer mandatory per 
> https://googleadsdeveloper.blogspot.nl/2016/11/customize-adwords-ads-with-ad.html
>  
> , does this mean the fallback static version of the ad won't be shown 50/50 
> with the dynamic feed based version?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/408d35dc-55ba-4a02-b63a-056fa736cc34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


What's the easiest way to view a TextAd With a known Label ID

2016-11-24 Thread Alan Coleman
Hello everyone,

I have a Label ID that I know is attached to x amount of Standard Text Ads 
in a campaign, I don't know what the TextAd or AdGroups IDs are.

I'd like to see 1 example of a TextAd from a campaign that has the known 
Label ID attached.

Using the AdGroupAdService 

 
I can't simply look for an example of a TextAd with a  Label ID attached 
because 
the adGroupId field is required when getting a textAd 

.

So, do I have to use the following predicates with the AdGroupAdService 

 to 
return all of the TextAds in a campaign with my known Label ID and sort 
though the results myself?

 // Create predicates.
$selector->predicates[] = new Predicate('AdGroupId', 'IN', 
array($adgroupidarr));
$selector->predicates[] = new Predicate('labelId', 'CONTAINS_ANY', 
array($labelId));
$selector->predicates[] = new Predicate('AdType', 'IN', array('TEXT_AD'));

Since I don't know in which AdGroups my labelled TextAd exists, this would 
mean searching for, and returning all correctly labelled TextAds in every 
AdGroup in a campaign.

Am I correct in my approach? Or is there an easier way of finding an 
example of a TextAd with a known Label ID?

Many thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/dc351463-731d-4ea7-8474-ce99ba512aff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: update keyword's bidding not working

2016-11-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Wizard,

I can't reproduce the issue you've reported. Everything looks fine on my 
side.
I can set the *CpcBid*s by using both *AdGroupCriterionService* and 
*BatchJobService*.

Could you please double-check your code?
It looks like you *might* accidentally override the bids at ad group level 
somewhere in your code.
Could you remove $bid->cpcBidSource = 'CRITERION'; and try again, maybe, 
only on one keyword first?

Thanks in advance.

Best,
Thanet, AdWords API Team

On Thursday, November 24, 2016 at 4:35:39 PM UTC+9, Wizard Meccup wrote:
>
> However, when i try to set bids not using BatchJob, it works fine and all 
> bids are setted. What wrong with BatchJob?
>
>
> public function updateKeywordsBidSingle(array $keywordsData)
> {
> $return = array();
> try {
> foreach ($keywordsData as $key => $keywordData) {
> $adGroupCriterionService = 
> $this->getUser()->GetService('AdGroupCriterionService', self::API_VERSION);
>
> // Create ad group criterion.
> $adGroupCriterion = new BiddableAdGroupCriterion();
> $adGroupCriterion->adGroupId = $keywordData['adGroupId'];
> $adGroupCriterion->criterion = new Criterion($keywordData['id']);
>
> // Set bids (optional).
> $bid = new CpcBid();
> $bid->bid = new Money($this->calcMoney($keywordData['bid']));
> $biddingStrategyConfiguration = new 
> BiddingStrategyConfiguration();
> $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC';
> $biddingStrategyConfiguration->bids[] = $bid;
> $adGroupCriterion->biddingStrategyConfiguration = 
> $biddingStrategyConfiguration;
>
> // Create operation.
> $operation = new AdGroupCriterionOperation();
> $operation->operand = $adGroupCriterion;
> $operation->operator = self::OPERATOR_SET;
>
> $operations = array($operation);
>
> // Make the mutate request.
> $result = $adGroupCriterionService->mutate($operations);
>
> $return[$key] = $result->value[0];
> }
> } catch (Exception $e) {
> throw $e;
> }
>
> return $return;
> }
>
>
>
>
>
>
> среда, 23 ноября 2016 г., 18:22:23 UTC+3 пользователь Anthony Madrigal 
> написал:
>>
>> Hi,
>>
>> CpcBidSource and BiddingStrategySource are read-only fields so they will 
>> be ignored when using them. However, if you set the Cpc bids for keywords 
>> they should turn to CRITERION level, which is not happening like you said. 
>> Because of this, could you please provide me with the SOAP request and 
>> response for this API call and the adgroup Id and keyword Id that you are 
>> trying to set through *reply privately to author*?
>>
>> Thanks,
>> Anthony
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/e5394170-2102-424c-91ad-78e5713ce815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invalid grant when using Token Refresh

2016-11-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello David,

Is it possible for you to regenerate a refresh token and retry?
If you can't, could you please tell me your manager account that you're 
always using?

Thanks in advance.

Best,
Thanet, AdWords API Team

On Thursday, November 24, 2016 at 5:49:51 PM UTC+9, David B. wrote:
>
> Hi,
>
> Exactly the same issue since last week. Using the same package/library + 
> credentials to connect on two applications :
>
> - the first one is a cron script that operate spooled operations. Working 
> fine and still ok. It runs every 30mn.
> - the second is a web application : it works one time, and then invalid 
> grant too. 
>
> This couple of applications has been working for months but the web 
> application is failing since last week.
>
> I'm using this sample code to get a session :
>
> // Generate a refreshable OAuth2 credential 
> // and can be used in place of a service account.
> Credential credential = new OfflineCredentials.Builder()
> .forApi(OfflineCredentials.Api.ADWORDS)
> .fromFile()
> .build()
> .generateCredential();
>
> ReportingConfiguration reportingConfiguration
> = new ReportingConfiguration.Builder()
> .skipReportHeader(false)
> .skipColumnHeader(false)
> .skipReportSummary(false)
> // Enable to allow rows with zero impressions to show.
> .includeZeroImpressions(false)
> .build();
>
> AdWordsSession session = new AdWordsSession.Builder()
> .fromFile()
> .withOAuth2Credential(credential)
> .withReportingConfiguration(reportingConfiguration)
> .build();
>
> - DB.
>
> Le mardi 22 novembre 2016 15:44:32 UTC+1, Deepankar Biswas a écrit :
>>
>> Hi Josh
>>
>> I am facing this issue and its very strange.
>>
>> 1) The access is very much there and not revoked.
>> 2) I refreshed the token today for my MCC account and it worked for the 
>> first time and now again invalid grant.
>>
>> I took the dump of the AdWords user also and it has all valid data.
>>
>> Where should I look to fix this?
>>
>> On Monday, November 16, 2015 at 9:49:01 PM UTC+5:30, jnewm...@gmail.com 
>> wrote:
>>>
>>> Hello,
>>>
>>> About 3 weeks ago we started seeing this error when we refresh the 
>>> access token for many random accounts, {   "error" : "invalid_grant" }. We 
>>> never had any problems refreshing access tokens up until now. Also, not all 
>>> accounts are having problems refreshing their tokens; many refresh just 
>>> fine. To temporarily fix the issue we have been reauthorizing each account, 
>>> but other accounts start to have the same problem. The only information I 
>>> could find on the forum is that the refresh token has manually been 
>>> revoked, which doesn't make sense to me. I've read through the 
>>> documentation at "
>>> https://developers.google.com/adwords/api/docs/guides/authentication"; 
>>> and it looks like our TokenUrl, AuthUrl and Scope are up to date. Any help 
>>> is greatly appreciated, thanks.
>>>
>>> Get Authorization Code:
>>>
>>>
>>> https://accounts.google.com/o/oauth2/auth?client_id=X&redirect_uri=XX&scope=
>>> https://www.googleapis.com/auth/adwords
>>> &response_type=code&access_type=offline&approval_prompt=force";
>>>
>>>
>>>
>>> Below is an example of the url and parameters we are using to retrieve 
>>> initial access and refresh token:
>>>
>>>
>>> https://www.googleapis.com/oauth2/v3/token?code=X&client_id=X&client_secret=X&grant_type=authorization_code&redirect_uri=
>>>
>>>
>>>
>>> Below is an example of the url and parameters we are using to refresh 
>>> access tokens:
>>>
>>>
>>> https://www.googleapis.com/oauth2/v3/token?refresh_token=X&client_id=X&client_secret=X&grant_type=refresh_token
>>>
>>
>> *DISCLAIMER*: The information in this message is confidential and may be 
>> legally privileged. It is intended solely for the addressee. Access to this 
>> message by anyone else is unauthorized. If you are not the intended 
>> recipient, any disclosure, copying, or distribution of the message, or any 
>> action or omission taken by you in reliance on it, is prohibited and may be 
>> unlawful. Please immediately contact the sender if you have received this 
>> message in error. Further, this e-mail may contain viruses and all 
>> reasonable precaution to minimize the risk arising there from is taken by 
>> OfferGrid. OfferGrid is not liable for any damage sustained by you as a 
>> result of any virus in this e-mail. All applicable virus checks should be 
>> carried out by you before opening this e-mail or any attachment thereto.
>> Thank you - *OfferGrid Networks (P) Ltd*.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/

Re: Invalid grant when using Token Refresh

2016-11-24 Thread David B.
Hi,

I've just found what was wrong. The script was looking after the 
ads.properties file in the /root/ folder (which wasn't updated since I get 
a new refresh token - trying to debug something else ?)

So it looks ok for me right now.

Regards,

David


Le jeudi 24 novembre 2016 16:54:10 UTC+1, Thanet Knack Praneenararat 
(AdWords API Team) a écrit :
>
> Hello David,
>
> Is it possible for you to regenerate a refresh token and retry?
> If you can't, could you please tell me your manager account that you're 
> always using?
>
> Thanks in advance.
>
> Best,
> Thanet, AdWords API Team
>
> On Thursday, November 24, 2016 at 5:49:51 PM UTC+9, David B. wrote:
>>
>> Hi,
>>
>> Exactly the same issue since last week. Using the same package/library + 
>> credentials to connect on two applications :
>>
>> - the first one is a cron script that operate spooled operations. Working 
>> fine and still ok. It runs every 30mn.
>> - the second is a web application : it works one time, and then invalid 
>> grant too. 
>>
>> This couple of applications has been working for months but the web 
>> application is failing since last week.
>>
>> I'm using this sample code to get a session :
>>
>> // Generate a refreshable OAuth2 credential 
>> // and can be used in place of a service account.
>> Credential credential = new OfflineCredentials.Builder()
>> .forApi(OfflineCredentials.Api.ADWORDS)
>> .fromFile()
>> .build()
>> .generateCredential();
>>
>> ReportingConfiguration reportingConfiguration
>> = new ReportingConfiguration.Builder()
>> .skipReportHeader(false)
>> .skipColumnHeader(false)
>> .skipReportSummary(false)
>> // Enable to allow rows with zero impressions to show.
>> .includeZeroImpressions(false)
>> .build();
>>
>> AdWordsSession session = new AdWordsSession.Builder()
>> .fromFile()
>> .withOAuth2Credential(credential)
>> .withReportingConfiguration(reportingConfiguration)
>> .build();
>>
>> - DB.
>>
>> Le mardi 22 novembre 2016 15:44:32 UTC+1, Deepankar Biswas a écrit :
>>>
>>> Hi Josh
>>>
>>> I am facing this issue and its very strange.
>>>
>>> 1) The access is very much there and not revoked.
>>> 2) I refreshed the token today for my MCC account and it worked for the 
>>> first time and now again invalid grant.
>>>
>>> I took the dump of the AdWords user also and it has all valid data.
>>>
>>> Where should I look to fix this?
>>>
>>> On Monday, November 16, 2015 at 9:49:01 PM UTC+5:30, jnewm...@gmail.com 
>>> wrote:

 Hello,

 About 3 weeks ago we started seeing this error when we refresh the 
 access token for many random accounts, {   "error" : "invalid_grant" }. We 
 never had any problems refreshing access tokens up until now. Also, not 
 all 
 accounts are having problems refreshing their tokens; many refresh just 
 fine. To temporarily fix the issue we have been reauthorizing each 
 account, 
 but other accounts start to have the same problem. The only information I 
 could find on the forum is that the refresh token has manually been 
 revoked, which doesn't make sense to me. I've read through the 
 documentation at "
 https://developers.google.com/adwords/api/docs/guides/authentication"; 
 and it looks like our TokenUrl, AuthUrl and Scope are up to date. Any help 
 is greatly appreciated, thanks.

 Get Authorization Code:


 https://accounts.google.com/o/oauth2/auth?client_id=X&redirect_uri=XX&scope=
 https://www.googleapis.com/auth/adwords
 &response_type=code&access_type=offline&approval_prompt=force";



 Below is an example of the url and parameters we are using to retrieve 
 initial access and refresh token:


 https://www.googleapis.com/oauth2/v3/token?code=X&client_id=X&client_secret=X&grant_type=authorization_code&redirect_uri=



 Below is an example of the url and parameters we are using to refresh 
 access tokens:


 https://www.googleapis.com/oauth2/v3/token?refresh_token=X&client_id=X&client_secret=X&grant_type=refresh_token

>>>
>>> *DISCLAIMER*: The information in this message is confidential and may 
>>> be legally privileged. It is intended solely for the addressee. Access to 
>>> this message by anyone else is unauthorized. If you are not the intended 
>>> recipient, any disclosure, copying, or distribution of the message, or any 
>>> action or omission taken by you in reliance on it, is prohibited and may be 
>>> unlawful. Please immediately contact the sender if you have received this 
>>> message in error. Further, this e-mail may contain viruses and all 
>>> reasonable precaution to minimize the risk 

Re: Lots of Spurious Policy Violations for "Destination not working"

2016-11-24 Thread Dorian Kind
Zweitze,

thanks for your thoughts! Unfortunately this is an account that we manage 
for a client, so I do not have access to the webserver logs or firewall 
configuration. The URLs are plain HTTP, so that's probably also not the 
culprit.

Something I forgot to mention is that when I select a random one of these 
disapproved ads in the web interface and use the "Test" button, it 
consistently shows that URL does, indeed, work. As far as I know, this also 
checks for final URL mismatches like cross-domain redirects and the like.

Of course, the fact remains that the Adwords crawler for one reason or 
another could not access the landing page, but I find it curious that we're 
experiencing this in a much greater frequency than, say, a few months ago.

Thanks again and best regards,
Dorian

On Thursday, November 24, 2016 at 12:11:30 PM UTC+1, Zweitze wrote:
>
> I haven't experienced this but I would proceed as follows:
>
> - Check the logs on the webserver, look for all requests asking that URL. 
> See whether the webserver responded 200.
> - Don't forget to check the firewall which could have been denying access 
> to certain users/ip addresses etc.
> - If you use a Tracking Template look careful into that, make sure that it 
> redirects to the final URL. I can imagine that Google will penalize after 
> finding out requests are redirected to a different URL.
>
> If HTTPS, are you using a well-known CA? Certain CAs are not trusted by 
> all computers on the world. Note: I don't know which CAs Google trusts. BTW 
> I don't think this is your issue, more a theoretical possibility.
>
> Hope this helps.
>
>
> On Thursday, November 24, 2016 at 9:23:17 AM UTC+1, Dorian Kind wrote:
>>
>> Hello,
>>
>> first of all I want to apologize, this is a question that is not strictly 
>> about the Adwords API. However, in my experience I've been able to get more 
>> valuable information in this group than in the Google Advertiser Community.
>>
>> So since a few months we've been increasingly experiencing the phenomenon 
>> that lots of our ads are being disapproved with a reason of "Destination 
>> not working" even though both final URL and final mobile URL work just 
>> fine. This is especially notable when creating a large number of new ads 
>> over the API, but sporadically also for ads that have been running for a 
>> long time but are now being disapproved for the same reason. When 
>> escalating to Adwords support, we are usually being told that while the 
>> URLs they check do work for them, the only thing they can do is re-submit 
>> the campaign for review, which usually doesn't help.
>>
>> Has anyone been experiencing the same?
>>
>> Many thanks for any feedback and best regards,
>> Dorian
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/57601af5-3d9f-4625-b813-c627f8b49500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to set a Daily Budget to a keyword?

2016-11-24 Thread Jay Zou
I found that Adwords API has a function to set Daily Budget to a campaign. 

While I am figuring out a way to set Daily Budget to a keyword. Thinking 
about using Automate rules, but not sure if this is practical.

Any idea or comments are welcome. Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/2a48df06-008a-4827-b2d4-ab78f67854c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to set Daily Budget for a keyword?

2016-11-24 Thread Jay Zou
I found that there is a Daily Budget field in Adwords UI at campaign level.

Is there a way to set a Daily Budget for a keyword? Can we do it through 
Adwords API?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/5b4ed79e-bfff-44ce-998e-09260f7707af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What's the easiest way to view a TextAd With a known Label ID

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi Alan,

My apologies for the delay. Since the AdGroupIds are required, you could 
try and use first the GetAdGroups 

 PHP 
example in the client library and use its results in turn as predicates 
along with the labels 

 using 
the AdGroupAdService to get the TextAds you need. Let me know if this works 
for you.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/bc8dbe1e-78b5-472d-9a75-9c1fff388675%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to find some c# sample code for sending a Dynamic Remarketing csv file up to Google's AdWords system.

2016-11-24 Thread Justin


Hi Thanet and thank you kindly for your reply.


I've been quiet in the last few days because I've been trying to follow 
yours (and the above) advice in getting this to work.

So far -- i've made SOME progress, but still not there yet. (yeah - this is 
really taking a long time).

So this is what i've done and how far I've got and something is still not 
working for me :(

- Created a _TEST_ adwords campaign manager account and then a campaign.
- Create a Feed (Shared Library -> Business Data -> new Data Feed -> upload 
some fake data)





- Next I'm trying to do the first part of the GUIDE 
 
: Placeholder to Attribute Mapping.




Doing this, I can auth, I get back a FeedMappingService but the 
attributeMappingFields 
are NULL.

I've double checked my FeedId and my ClientId and they seem to be ok ... 
when i had the *manager-accountId* as my clientId, I got NO .entries 
before... so I _*feel like*_ these Id's are correct.

Is there any reason why the attributeMappingFields would be NULL? 

-J- (still attempting to get this working :/ )

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/2557e7dc-f376-4be9-a320-f384afd7cd54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Developer token approval

2016-11-24 Thread cdkseo . prod
Hi, 

We have created this account for accessing search volume related 
information using API. We are waiting for the Adwords team to approve 
account. However, it has been long time and did not receive any response. 
Could you please check and approve our developer token ?

Thanks, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/4259e853-6cb0-410d-abe5-23a00d53f8b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


retrieve keyword ideas in bulk - using AdWords API / TargetingIdeaService

2016-11-24 Thread javier . enciso

down votefavorite 


I've been able to setup an access to *Google Adwords API* to get *Keyword 
Ideas* from one seed keyword.

I need to go trough our DB to obtain keywords ideas to all the entries (to 
be used as meta tags...)

*Do I have to loop and access the API once for each keyword? Or is there 
any way to grab these in bulk mode?*

I've found info about *getBulkKeywordIdeas* but it's depecrated since 
v201409 [
https://developers.google.com/adwords/api/docs/reference/archived-release-notes]
 where 
it states:

TargetingIdeaService.getBulkKeywordIdeas was removed, use the get method 
instead

I can't figure out how to use the GET method in bulk mode - or if this is 
not intended to be used this way...

/thanks

/javier

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/5d046843-1dc1-42b0-a52e-1d0f90dc1701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get Reach from LocationCriterionService, calculated with considering Age and Gender

2016-11-24 Thread dmtrnstrnk
Hi,

I need to get Reach for certain location as in LocationCriterionService, 
but to have Reach calculated considering additional params as age and 
gender. Is it possible? 

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/4a685e7c-0612-4bb1-9e2c-1c447e10a826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get Location Reach calculated by additional params (Age, Gender)

2016-11-24 Thread dmtrnstrnk
Hi,

I need to get Reach for certain location as in LocationCriterionService, 
but to have Reach calculated considering additional params as age and 
gender. Is it possible? 

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/74438bfb-3afc-4f61-89b0-9a777099c197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I manage youtube reserved video ads through AdWords

2016-11-24 Thread Imanuel Leibovitch
I know I can run TrueView video ads through AdWords
but can I set up YouTube Reserved video ads (VAST ads served by 3rd party 
vendors) and view metrics for this ads in AdWords?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c1baca3a-5be7-4fe3-81b7-c9771e5ac9d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Reach from LocationCriterionService, calculated with considering Age and Gender

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi ,

This is currently not supported in the AdWords API as the Reach 

 field 
is currently only selectable and not filterable. You may follow our blog 
 for any 
updates or announcements regarding this feature.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/ccbf0b9b-1c09-4419-8dd2-685451aed5e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I manage youtube reserved video ads through AdWords

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi Imanuel,

Youtube Reserved Video Ads are currently not supported in the AdWords API. 
In the meantime, you may refer to our blog 
 for any 
updates or announcements regarding this feature.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c5b0db5d-8d72-43ca-9cc7-b244fd192800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developer token approval

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

This concern (developer token status and approvals) is better suited for 
the AdWords Compliance Team. You may get in touch with them by filling out 
this form .

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/85653681-cc47-4a5f-a9ad-5cdbe2984155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: retrieve keyword ideas in bulk - using AdWords API / TargetingIdeaService

2016-11-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi Javier,

The TargetingIdeaService.get 

 will 
still provide you your expected results. As mentioned in the document, 
however, you will also need to implement Paging 

 as 
large result require to be compressed through multiple calls using this 
method. You may refer to our targeting ideas guide 
 
and 
our GetKeywordIdeas 

 exampe 
(other languages are also available in the link) for more information. I 
hope this helps and please let me know if you have any other concerns.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/7f44a205-f6cb-4ded-9daa-e3e51bfe24a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to find some c# sample code for sending a Dynamic Remarketing csv file up to Google's AdWords system.

2016-11-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Justin,

Oh, that would be hard time for you during these days. 
You're almost there. Let's get through this together. :)

I see in your code, the selector requests *FeedId*, *Status* and 
*PlaceholderType*, which is not consistent with what's written in our guide:

 Selector selector = new SelectorBuilder()
.fields("AttributeFieldMappings")
.equals("FeedId", feedId.toString())
.equals("Status", FeedMappingStatus.ENABLED.getValue())
.equals("PlaceholderType", placeholderType.toString())
.build();


As you can see, the selector in our guide requests for *AttributeFieldMappings 
*as well.
The AdWords API selector mostly returns the fields that are requested 
explicitly only, so if you don't include this in your selector, of course, 
you will find that *AttributeFieldMappings* are null. :-)
Please try adding this field to the selector. I believe this will work.

Hope this helps.

Best,
Thanet, AdWords API Team

On Friday, November 25, 2016 at 3:04:06 PM UTC+9, Justin wrote:
>
> Hi Thanet and thank you kindly for your reply.
>
>
> I've been quiet in the last few days because I've been trying to follow 
> yours (and the above) advice in getting this to work.
>
> So far -- i've made SOME progress, but still not there yet. (yeah - this 
> is really taking a long time).
>
> So this is what i've done and how far I've got and something is still not 
> working for me :(
>
> - Created a _TEST_ adwords campaign manager account and then a campaign.
> - Create a Feed (Shared Library -> Business Data -> new Data Feed -> 
> upload some fake data)
>
>
>
> 
>
>
> - Next I'm trying to do the first part of the GUIDE 
>  
> : Placeholder to Attribute Mapping.
>
>
> 
>
>
> Doing this, I can auth, I get back a FeedMappingService but the 
> attributeMappingFields 
> are NULL.
>
> I've double checked my FeedId and my ClientId and they seem to be ok ... 
> when i had the *manager-accountId* as my clientId, I got NO .entries 
> before... so I _*feel like*_ these Id's are correct.
>
> Is there any reason why the attributeMappingFields would be NULL? 
>
> -J- (still attempting to get this working :/ )
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/12ad79ad-8b7d-456e-bbd8-5ba4cd727a8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Disassociate email from account

2016-11-24 Thread Ildar Khakimov
Hello

I'm trying to create a MCC account with an email address that used to be 
associated with an old adwords account. I have shut down the account and 
won't be re-activating it and would like to use that email as the MCC 
account.

How can I go about doing that?

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/7d257943-95f4-47ab-9d8c-e3a502585e9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.