Re: How to get a link to a page from an ad? use googleads-php-lib v201806

2018-09-11 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

You could see on this guide 

 all 
the available fields that you could retrieve to ExpandedTextAd object. Please 
take note that some URL fields are not supported as seen in the link. However, 
it appears on your second reply that you are receiving an error, thus, to 
further investigate this, could you provide the complete SOAP request and 
response logs when you encountered the error? Please reply via *Reply 
privately to author*.

Thanks and regards,
Luis
AdWords API Team

On Tuesday, September 11, 2018 at 10:59:10 AM UTC+8, Евгений Морозов wrote:
>
>
>
> вторник, 11 сентября 2018 г., 2:59:43 UTC+3 пользователь Евгений Морозов 
> написал:
>>
>> I found an example 
>> get-expanded-text-ads-in-an-ad-group.php 
>> 
>>
>> how to modify it to return a link to site page?
>>
>> example
>>
>>
>> class GetExpandedTextAds
>> {
>>
>> const AD_GROUP_ID = 'INSERT_AD_GROUP_ID_HERE';
>> const PAGE_LIMIT = 500;
>>
>> public static function runExample(
>> AdWordsServices $adWordsServices,
>> AdWordsSession $session,
>> $adGroupId
>> ) {
>> $adGroupAdService = $adWordsServices->get($session, 
>> AdGroupAdService::class);
>>
>> // Create a selector to select all ads for the specified ad group.
>> $selector = new Selector();
>> $selector->setFields(
>> ['Id', 'Status', 'HeadlinePart1', 'HeadlinePart2', 'Description']
>> );
>> $selector->setOrdering([new OrderBy('Id', SortOrder::ASCENDING)]);
>> $selector->setPredicates(
>> [
>> new Predicate('AdGroupId', PredicateOperator::IN, 
>> [$adGroupId]),
>> new Predicate(
>> 'AdType',
>> PredicateOperator::IN,
>> [AdType::EXPANDED_TEXT_AD]
>> ),
>> new Predicate(
>> 'Status',
>> PredicateOperator::IN,
>> [AdGroupAdStatus::ENABLED, AdGroupAdStatus::PAUSED]
>> )
>> ]
>> );
>> $selector->setPaging(new Paging(0, self::PAGE_LIMIT));
>>
>> $totalNumEntries = 0;
>> do {
>> // Retrieve ad group ads one page at a time, continuing to 
>> request pages
>> // until all ad group ads have been retrieved.
>> $page = $adGroupAdService->get($selector);
>>
>> // Print out some information for each ad group ad.
>> if ($page->getEntries() !== null) {
>> $totalNumEntries = $page->getTotalNumEntries();
>> foreach ($page->getEntries() as $adGroupAd) {
>> printf(
>> "Expanded text ad with ID %d, status '%s', and 
>> headline '%s - %s' was found.\n",
>> $adGroupAd->getAd()->getId(),
>> $adGroupAd->getStatus(),
>> $adGroupAd->getAd()->getHeadlinePart1(),
>> $adGroupAd->getAd()->getHeadlinePart2()
>> );
>> }
>> }
>>
>> $selector->getPaging()->setStartIndex(
>> $selector->getPaging()->getStartIndex() + self::PAGE_LIMIT
>> );
>> } while ($selector->getPaging()->getStartIndex() < $totalNumEntries);
>>
>> printf("Number of results found: %d\n", $totalNumEntries);
>> }
>>
>>
>> public static function main()
>> {
>> // Generate a refreshable OAuth2 credential for authentication.
>> $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();
>>
>> // Construct an API session configured from a properties file and the
>> // OAuth2 credentials above.
>> $session = (new 
>> AdWordsSessionBuilder())->fromFile()->withOAuth2Credential($oAuth2Credential)->build();
>> self::runExample(
>> new AdWordsServices(),
>> $session,
>> intval(self::AD_GROUP_ID)
>> );
>> }
>> }
>>
>> GetExpandedTextAds::main();
>>
>>
>> im add selectors
>>
>
> $selector->setFields(
> ['Id', 'Status', 'HeadlinePart1', 'HeadlinePart2', 
> 'Description', 'path1', 'path2', 'url', 'displayUrl', 'finalUrls', 
> 'finalMobileUrls', 'finalAppUrls', 'urlData']
> ); 
>
> result: error
>

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

Re: Why is ConversionTrackerService not returning all conversion?

2018-09-11 Thread Stijn van Lieshout
Hi Dannison, 

I figured out what the issue is: Those 4 conversions that are not being 
returned were imported into Adwords from Google Analytics which the API 
apparently does not support. 

I found this thread 
 that 
confirms that currently, the API does not return Google Analytics imported 
conversions. In this thread, your colleagues said they would be looking 
into this shortcoming. Any updates on this? Workarounds? For 
the application that I'm building it is critical that I'm able to receive 
all conversions tracked. 

Thanks, 
Stijn

On Monday, 10 September 2018 11:07:04 UTC+2, Dannison Yao (AdWords API 
Team) wrote:
>
> Hi,
>
> So I can better investigate the issue you are encountering when retrieving 
> your ConversionTrackers 
> ,
>  
> could you provide to me your clientCustomerId and the complete SOAP request 
> and response that was generated when you made the service call? You may 
> send these to me via *Reply privately to author*.
>
> Regards,
> Dannison
> AdWords API Team
>
> On Monday, September 10, 2018 at 1:26:19 PM UTC+8, Stijn van Lieshout 
> wrote:
>>
>> I'm trying to use the ConversionTrackerService to retrieve all 
>> conversions tracked in an account. The problem is that - seemingly quite 
>> randomly - it seems to return only part of the conversions (6 out of 10). 
>> Has anyone here had similar experiences? Or might this be a bug I should 
>> report?
>>
>> Here is the definition I use to retrieve the conversions
>>
>> from googleads import adwords
>>
>> PAGE_SIZE = 100
>>
>> def get_conversions(client):
>> # Use ConversionTrackerService
>> conversion_tracker_service = client.GetService(
>> 'ConversionTrackerService', version='v201806') 
>>
>> # Construct selector and get all accounts.
>> offset = 0;
>> selector = {
>> 'fields': [
>> 'Name', 
>> 'Status',
>> 'Category', 
>> 'CountingType', 
>> 'DefaultRevenueValue'
>> ],
>> 'paging': {
>> 'startIndex': str(offset),
>> 'numberResults': str(PAGE_SIZE)
>> }
>> }
>>
>> result = []
>> more_pages = True
>> while more_pages:
>> page = conversion_tracker_service.get(selector)
>> if 'entries' in page:
>> for conversion in page['entries']:
>> result.append({
>> "name": conversion['name'], 
>> "status": conversion['status'], 
>> "category": conversion['category'],
>> "countingType": conversion['countingType'], 
>> "defaultRevenueValue": conversion[
>> 'defaultRevenueValue'],
>> })
>> else:
>> print 'No conversions were found.'
>>
>> offset += PAGE_SIZE
>> selector['paging']['startIndex'] = str(offset)
>> more_pages = offset < int(page['totalNumEntries'])
>>
>> return result
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b9696d4d-76b2-4880-8fec-3d2550c9481a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


When downloading GEO_performance_report , get ReportException: Problem sending data to report download server

2018-09-11 Thread 'lwy' via AdWords API and Google Ads API Forum
 I get this exception when I download GEO_PERFORMANCE_REPORT for one 
account. Other account's downloading process is ok.

I have tried to modify 'api.adwords.reportDownloadTimeout' to one hour in 
ads.properties, when i start the job and this exception came up after about 
4 minutes, so i think maybe i misunderstand 
'api.adwords.reportDownloadTimeout' config or it doesnot work.

i also tried to download GEO_PERFOEMACE_REPORT in campaign level,just 
download one campaign of this account for one time, and this problem 
doesn't solved.

May I get any help understanding the reason for this problem? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/049643db-b966-4707-acbb-1fd1c80c5224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error when downloading geo_performance_report, problem sending data to report server

2018-09-11 Thread weiyu lu
i have tried to set 'api.adwords.reportDownloadTimeout=360' and it 
doesn't work.
i tried to shorten the data range and it also doesn't work. 
i set a timed task to download geo_performance_report everyday for about 6 
accounts and only one account have this issus everyday.
i'm so confused and wanna know what the issue is.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8af58eb4-ea9b-4a39-94d6-2e88772e3c1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get developer token

2018-09-11 Thread Denis Lukyanov
Hi Luis, 

any updates for this? Again: it gives me "403 Forbidden" every time I try 
the links you gave me (in incognito mode also) and the link in the Google 
Ads admin interface. How do people apply for API access I wonder?? 

On Friday, September 7, 2018 at 1:15:22 PM UTC+3, Luis Xander Talag 
(AdWords API Team) wrote:
>
> Hi Denis,
>
> Could you try and open this link 
>  in incognito mode to 
> apply for Basic Access?
>
> Let me know if it works.
>
> Regards,
> Luis
> AdWords API Team
>
> On Friday, September 7, 2018 at 5:17:01 PM UTC+8, Denis Lukyanov wrote:
>>
>> Hi Luis!
>>
>> I get "403 Forbidden" error when accessing a developer token application 
>> form: when I click "Apply for Basic Access" (http://take.ms/9iVZK), I 
>> get this: http://take.ms/5GyOa. I'm stuck with this, can you help me? 
>> Thanks!
>>
>> среда, 18 июля 2018 г., 8:12:24 UTC+3 пользователь Luis Xander Talag 
>> (AdWords API Team) написал:
>>>
>>> Hi Sreekanth,
>>>
>>> After creating your MCC account, you should request for basic access 
>>>  
>>> by 
>>> filling up and submitting this form 
>>>  for you to be able to 
>>> make API calls to your production account. The AdWords Compliance Team 
>>> should contact you within 2 business days for its status. Your developer 
>>> token can be found by logging in to Adwords UI using your MCC account then 
>>> got to  *Tools, billing, and settings* icon  and select *AdWords API 
>>> Center.*
>>>
>>> The next step would be to generate your OAuth2 credentials 
>>>  to 
>>> get your client ID, client secret and refresh token, then download a client 
>>> library . 
>>> Once your setup has been completed and basic access has been approved, you 
>>> may then be able to make calls using your production account. Feel free to 
>>> write back to me for anything you may need to clarify about the guides and 
>>> if there are any specific subjects you wish to learn about the AdWords API.
>>>
>>> Thanks and regards,
>>> Luis
>>> AdWords API Team
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3b4c9b7a-ada2-406a-91c8-4eaeb87ff14d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How i can set Ad Schedule criterion and date range to get Traffic Estimate?

2018-09-11 Thread Qaiser Javed
Hello,

I am using following code.In this code i want to set *ad schedule* and *date 
range* to get traffic estimation. Ad Schedule because only want to run 
campaign on Monday accordingly needs traffic estimates for Monday only, and 
date range because needs traffic estimates for next month October.

using (TrafficEstimatorService trafficEstimatorService =
(TrafficEstimatorService)user.GetService(
AdWordsService.v201806.TrafficEstimatorService))
{

// Create keywords. Refer to the TrafficEstimatorService 
documentation for the maximum
// number of keywords that can be passed in a single 
request.
//  
 
https://developers.google.com/adwords/api/docs/reference/latest/TrafficEstimatorService
Keyword keyword1 = new Keyword();
keyword1.text = "mars cruise";
keyword1.matchType = KeywordMatchType.BROAD;

Keyword keyword2 = new Keyword();
keyword2.text = "cheap cruise";
keyword2.matchType = KeywordMatchType.PHRASE;

Keyword keyword3 = new Keyword();
keyword3.text = "cruise";
keyword3.matchType = KeywordMatchType.EXACT;

Keyword[] keywords = new Keyword[] { keyword1, keyword2, 
keyword3 };

// Create a keyword estimate request for each keyword.
List keywordEstimateRequests = new 
List();

foreach (Keyword keyword in keywords)
{
KeywordEstimateRequest keywordEstimateRequest = new 
KeywordEstimateRequest();
keywordEstimateRequest.keyword = keyword;
keywordEstimateRequests.Add(keywordEstimateRequest);
}

// Create negative keywords.
Keyword negativeKeyword1 = new Keyword();
negativeKeyword1.text = "moon walk";
negativeKeyword1.matchType = KeywordMatchType.BROAD;

KeywordEstimateRequest negativeKeywordEstimateRequest = new 
KeywordEstimateRequest();
negativeKeywordEstimateRequest.keyword = negativeKeyword1;
negativeKeywordEstimateRequest.isNegative = true;
keywordEstimateRequests.Add(negativeKeywordEstimateRequest);

// Create ad group estimate requests.
AdGroupEstimateRequest adGroupEstimateRequest = new 
AdGroupEstimateRequest();
adGroupEstimateRequest.keywordEstimateRequests = 
keywordEstimateRequests.ToArray();
adGroupEstimateRequest.maxCpc = new Money();
adGroupEstimateRequest.maxCpc.microAmount = 100;

// Create campaign estimate requests.
CampaignEstimateRequest campaignEstimateRequest = new 
CampaignEstimateRequest();
campaignEstimateRequest.adGroupEstimateRequests = new 
AdGroupEstimateRequest[] {
adGroupEstimateRequest};

// Optional: Set additional criteria for filtering 
estimates.
// See 
http://code.google.com/apis/adwords/docs/appendix/countrycodes.html
// for a detailed list of country codes.
Location countryCriterion = new Location();
countryCriterion.id = 2840; //US

// See 
http://code.google.com/apis/adwords/docs/appendix/languagecodes.html
// for a detailed list of language codes.
Language languageCriterion = new Language();
languageCriterion.id = 1000; //en

campaignEstimateRequest.criteria = new Criterion[] { 
countryCriterion, languageCriterion };

try
{
// Create the selector.
TrafficEstimatorSelector selector = new 
TrafficEstimatorSelector()
{
campaignEstimateRequests = new 
CampaignEstimateRequest[] { campaignEstimateRequest },

// Optional: Request a list of campaign level 
estimates segmented by platform.
platformEstimateRequested = true
};

// Get traffic estimates.
TrafficEstimatorResult result = 
trafficEstimatorService.get(selector);

// Display traffic estimates.
if (result != null && result.campaignEstimates != null 
&&
result.campaignEstimates.Length > 0)
{
CampaignEstimate campaignEstimate = 
result.campaignEstimates[0];

// Display the campaign level estimates segmented 
by platform.
if (campaignEstimate.platformEstimates != null)
{
foreach (PlatformCampaignEstimate 
platformEstimate in
campaignEstimate.platform

Re: Getting ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE on Campaign Performance Report

2018-09-11 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tomas,

I just checked the health of our systems, and I don't see a widespread 
outage of any sort for report downloads with this error. Are you perhaps 
getting another error? If it's happening for one specific account or it's a 
slightly different error, then we take this offline and you can reply 
privately to author with the details. It may be localized to something in 
your world. At least you now have a sanity check of knowing that the whole 
system isn't down, which means whatever you're seeing must be on a smaller 
scale and fixable.

Cheers,
Nadine, AdWords API Team

On Tuesday, September 11, 2018 at 2:44:32 AM UTC-4, Tomas R wrote:
>
> And they are back again...
> Hope the new API will be feature complete soon.
>
> On Tuesday, September 4, 2018 at 10:50:06 PM UTC+2, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Greetings Community,
>>
>> The root cause was identified, and we've been working through resolving 
>> it and making sure this doesn't happen again. The errors have subsided 
>> significantly within the last hour, and they should disappear completely 
>> shortly. Thanks, all, for reporting this!
>>
>> Regards,
>> Nadine, AdWords API Team
>>
>> On Tuesday, September 4, 2018 at 4:26:08 PM UTC-4, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hello Folks,
>>>
>>> I've confirmed that I see the issue on our servers. It looks like the 
>>> storm of these error started at about 3 AM Pacific time. It's gotten a bit 
>>> better, but we are still working on it.
>>>
>>> Regards,
>>> Nadine, AdWords API Team
>>>
>>> On Tuesday, September 4, 2018 at 3:09:31 PM UTC-4, Nadine Sundquist 
>>> (AdWords API Team) wrote:

 Greetings!

 i recognize some API veterans on the line. Thanks everyone for chiming 
 in to move this really high to the top of the queue; I like it when I see 
 the community working together and not being passive. I'm looking into it. 
 I'll post here as I have more information.

 Regards,
 Nadine, AdWords API Team

 On Tuesday, September 4, 2018 at 2:50:54 PM UTC-4, Dana Gray wrote:
>
> Same here...for several days sporadically seeing this behavior
>
> On Tuesday, September 4, 2018 at 5:50:12 AM UTC-7, Yosi Kalmanson 
> wrote:
>>
>> Hello,
>>
>> In the last 24 hours I keep 
>> getting ReportDownloadError.ERROR_WRITING_REPORT_TO_FILE when trying to 
>> run Campaign Performance Report. If I run it 10 times in a sequence 
>> (with 
>> same parameters) so chances are that one time it will be successful. 
>>
>> What should I do?
>>
>> 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/48bebc7c-b01b-4497-a78e-d88e74eb84a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieve user Google Ads accounts using OAuth2 access_token

2018-09-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Torres, 

Could you please share the MCC ID along with the email address used for 
authentication, so I can take a look? You can reply back via Reply 
privately to author option. 

Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b932e821-560f-4b1b-8150-6d71b7d71a86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when downloading geo_performance_report, problem sending data to report server

2018-09-11 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi weiyu,

Could you please share the report definition along with the client customer 
id so that I can troubleshoot the issue? You can use 'Reply privately to 
author' option while responding. 

Thanks,
Milind, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f36d2f3f-6559-4172-9d81-9f64aecbb7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get the report fields from a report |ERROR| Request failed unexpectedly due to RemoteException: (404)Not Found

2018-09-11 Thread 'Shireen' via AdWords API and Google Ads API Forum
Hi, 
I am trying to get the cost field from CAMPAIGN_PERFORMANCE_REPORT but I am 
getting a RemoteException. While going through the stack trace, I found out 
that the exception was being thrown from 
ReportDefinitionField[] reportDefinitionFields =reportDefinitionService
.getReportFields(ReportDefinitionReportType.
CAMPAIGN_PERFORMANCE_REPORT); 

Well, I am not sure what causes this exception. Please find below the stack 
trace -

Request failed unexpectedly due to RemoteException: (404)Not Found
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (404)Not Found
 faultActor: 
 faultNode: 
 faultDetail: 
{}:return code:  404
No service was found.
{http://xml.apache.org/axis/}HttpErrorCode:404

(404)Not Found
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201607.cm.ReportDefinitionServiceSoapBindingStub.getReportFields(ReportDefinitionServiceSoapBindingStub.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:246)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy17.getReportFields(Unknown Source)
at AdwordsWrapperImpl.runExample(AdwordsWrapperImpl.java:97)
at AdwordsWrapperImpl.main(AdwordsWrapperImpl.java:58)

Thanks, 
Shireen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b53956ee-bc2b-4da3-bd91-e29e5e549949%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How i can set Ad Schedule criterion and date range to get Traffic Estimate?

2018-09-11 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Qaiser, 

You can also use the TrafficEstimatorService 

 to 
obtain information similar to the *Plan your budget and get forecasts* feature 
of the AdWords Keyword Planner . 
As you can see in the UI, not all criterion is supported in this service. 
Ad Schedule is not a supported criteria. You can only set Location and 
Language as criterion. Though date range is supported in UI, it is not 
possible to set this in the API. You could check this table 

 which 
shows the mapping between the UI and the API service for more clarity. 
Please let me know if you have any additional questions. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01290c0f-ef7b-4866-8a48-e4403941bf69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get the report fields from a report |ERROR| Request failed unexpectedly due to RemoteException: (404)Not Found

2018-09-11 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Shireen,

Could you please verify if you are making the API call against an already 
sunset version of the API? Please refer to this guide 
 to check 
currently available versions. If you are still facing any issue, please 
share the report definition 

 along 
with the client customer id. You can choose 'Reply privately to author' 
option while responding. 

Thanks,
Milind, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/34b05e07-707f-40a9-a62c-1af63a63184d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManagedCustomerService seems to be returning incorrect TestAccount for a couple of ManagedCustomers

2018-09-11 Thread Etleap Dev
Thank you for resolving the issue via private reply. For posterity, when 
the actual customer accounts were reviewed, it turned out the issue was 
that the campaign was a video campaign. At the moment, video campaigns 

 are 
only available in the AdWords API reports.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d30abca2-33b3-4f5b-a420-1e2998c4c0c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


FeedItemTarget not return existing device targeting

2018-09-11 Thread yhuang


1, go to adwords ,and verified it is mobile preferred.

[image: Screen Shot 2018-09-11 at 6.44.24 PM.png]

 with Feed id 41083103 and FeedItem id 11245594748


2, use FeedItemService to get FeedItemTargets, with filters on feedItem id 
and TargetType == CRITERION


3, Check criterion Id. I expect it is 30001 since the sitelink is mobile 
preferred. However It is null no matter the sitelink is set to be mobile 
preferred or not


[image: Screen Shot 2018-09-12 at 9.45.42 AM.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/c980ad6e-43d6-44b4-a037-7141a2cb7a5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemTarget not return existing device targeting

2018-09-11 Thread yhuang
I attach 2 screenshot here

On Wednesday, September 12, 2018 at 9:47:52 AM UTC+8, 
yhu...@marinsoftware.com wrote:
>
> 1, go to adwords ,and verified it is mobile preferred.
>
> [image: Screen Shot 2018-09-11 at 6.44.24 PM.png]
>
>  with Feed id 41083103 and FeedItem id 11245594748
>
>
> 2, use FeedItemService to get FeedItemTargets, with filters on feedItem id 
> and TargetType == CRITERION
>
>
> 3, Check criterion Id. I expect it is 30001 since the sitelink is mobile 
> preferred. However It is null no matter the sitelink is set to be mobile 
> preferred or not
>
>
> [image: Screen Shot 2018-09-12 at 9.45.42 AM.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/f4649747-450e-4fff-b8cf-9840fd6270f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How i can set Ad Schedule criterion and date range to get Traffic Estimate?

2018-09-11 Thread Qaiser Javed
Hi Sreelakshmi,

Thank you, Your answer resolve my query.

On Tuesday, September 11, 2018 at 11:30:20 PM UTC+5, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Qaiser, 
>
> You can also use the TrafficEstimatorService 
> 
>  to 
> obtain information similar to the *Plan your budget and get forecasts* 
> feature 
> of the AdWords Keyword Planner . 
> As you can see in the UI, not all criterion is supported in this service. 
> Ad Schedule is not a supported criteria. You can only set Location and 
> Language as criterion. Though date range is supported in UI, it is not 
> possible to set this in the API. You could check this table 
> 
>  which 
> shows the mapping between the UI and the API service for more clarity. 
> Please let me know if you have any additional questions. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27a75aa6-d4aa-4159-97d2-d93868bb0a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.